summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:17 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:17 +0000
commitf0525adcd70cec983dcb7a25a772bb82b34e65b7 (patch)
treef192f9399b1a0820b9a0d3c5eaf1484ad00cf735 /Makefile
parent90fa460dcbab22d6a59bd81a8c94ded8db704304 (diff)
downloadlibparserutils-f0525adcd70cec983dcb7a25a772bb82b34e65b7.tar.gz
libparserutils-f0525adcd70cec983dcb7a25a772bb82b34e65b7.tar.bz2
Update to new NSBUILD infrastructure
svn path=/trunk/libparserutils/; revision=14003
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4b9b541..a6b7976 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,11 @@ COMPONENT_VERSION := 0.1.1
COMPONENT_TYPE ?= lib-static
# Setup the tooling
-include build/makefiles/Makefile.tools
+PREFIX ?= /opt/netsurf
+NSSHARED ?= $(PREFIX)/share/netsurf-buildsystem
+include $(NSSHARED)/makefiles/Makefile.tools
-TESTRUNNER := $(PERL) build/testtools/testrunner.pl
+TESTRUNNER := $(PERL) $(NSTESTTOOLS)/testrunner.pl
# Toolchain flags
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
@@ -27,7 +29,7 @@ else
CFLAGS := $(CFLAGS) -Dinline="__inline__"
endif
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
# Extra installation rules
Is := include/parserutils