summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-09-05 16:32:19 +0100
committerVincent Sanders <vince@kyllikki.org>2014-09-05 16:35:39 +0100
commit428e34a0df58ca1d0e8b1720eb1e634e9c1773f2 (patch)
tree1c5d45e2629078841e457d72cdecc4d1db5a398f /beos
parent4f530a3f8fff035006e2c9afbcfd233cd38a499a (diff)
downloadnetsurf-428e34a0df58ca1d0e8b1720eb1e634e9c1773f2.tar.gz
netsurf-428e34a0df58ca1d0e8b1720eb1e634e9c1773f2.tar.bz2
extend beos C++ flags
Diffstat (limited to 'beos')
-rw-r--r--beos/Makefile.target10
1 files changed, 9 insertions, 1 deletions
diff --git a/beos/Makefile.target b/beos/Makefile.target
index f8f329266..9a57b41cb 100644
--- a/beos/Makefile.target
+++ b/beos/Makefile.target
@@ -2,7 +2,6 @@
# BeOS target setup
# ----------------------------------------------------------------------------
-
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) ))
$(eval $(call feature_enabled,NSSVG,-DWITH_NS_SVG,-lsvgtiny,SVG (libsvgtiny)))
@@ -36,6 +35,10 @@ ifeq ($(HOST),beos)
-I/boot/home/config/include/hubbub \
-I/boot/home/config/include/libcss \
-I/boot/home/config/include/parserutils
+ CXXFLAGS += -I/boot/home/config/include \
+ -I/boot/home/config/include/hubbub \
+ -I/boot/home/config/include/libcss \
+ -I/boot/home/config/include/parserutils
ifneq ($(wildcard /boot/develop/lib/*/libzeta.so),)
LDFLAGS += -lzeta
endif
@@ -45,6 +48,10 @@ ifeq ($(HOST),beos)
-I/boot/common/include/hubbub \
-I/boot/common/include/libcss \
-I/boot/common/include/parserutils
+ CXXFLAGS += -I/boot/common/include \
+ -I/boot/common/include/hubbub \
+ -I/boot/common/include/libcss \
+ -I/boot/common/include/parserutils
NETLDFLAGS := -lnetwork
else
ifneq ($(wildcard /boot/develop/lib/*/libbind.so),)
@@ -69,6 +76,7 @@ endif
ifeq ($(HOST),beos)
CFLAGS += -I$(PREFIX)/include
+ CXXFLAGS += -I$(PREFIX)/include
LDFLAGS += -L$(PREFIX)/lib
$(eval $(call feature_enabled,BMP,-DWITH_BMP,-lnsbmp,BMP (libnsbmp)))
$(eval $(call feature_enabled,GIF,-DWITH_GIF,-lnsgif,GIF (libnsgif)))