summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-01 15:57:50 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2014-05-01 15:57:50 (GMT)
commit11b5712919277a445fae5fc329559fcc09017097 (patch)
tree00ce566627fae68e8c51a0e491e2f312f4ff23db
parent4110cc7c8d38670c79793ea14de37a96887a7688 (diff)
downloadbuildsystem-11b5712919277a445fae5fc329559fcc09017097.tar.gz
buildsystem-11b5712919277a445fae5fc329559fcc09017097.tar.bz2
add tooling support for OpenBSD
-rw-r--r--makefiles/Makefile.tools15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index 5b76f23..334ee83 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -367,6 +367,17 @@ ifeq ($(TARGET),m5475_atari)
endif
endif
+# OpenBSD
+ifeq ($(TARGET),OpenBSD)
+ ifeq ($(HOST),OpenBSD)
+ CFLAGS := $(CFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/include
+ CXXFLAGS := $(CXXFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/includ
+ LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib -L/usr/local/lib
+
+ FLEX := gflex
+ endif
+endif
+
# Default prefix
PREFIX ?= /usr/local
@@ -420,6 +431,10 @@ TOUCH ?= touch
XSLTPROC ?= xsltproc
+FLEX ?= flex
+
+BISION ?= bison
+
###############################################################################
# Override defaulted tools
###############################################################################