summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:42 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:42 +0000
commit3526f1b2ccbb0fb8d2bb1fc344294f28f47e2222 (patch)
tree9641d9520d65b3a1161cc2382252aa08ed864211 /Makefile
parentf070149c281dcec73ebe74147fb217676ebad852 (diff)
downloadlibnsfb-3526f1b2ccbb0fb8d2bb1fc344294f28f47e2222.tar.gz
libnsfb-3526f1b2ccbb0fb8d2bb1fc344294f28f47e2222.tar.bz2
Update to new NSBUILD infrastructure
svn path=/trunk/libnsfb/; revision=14007
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9dd1ead..1fd4d47 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,9 @@ COMPONENT_VERSION := 0.0.2
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
# Reevaluate when used, as BUILDDIR won't be defined yet
TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT)
@@ -78,7 +80,7 @@ endif
TESTLDFLAGS := -lm -Wl,--whole-archive -l$(COMPONENT) -Wl,--no-whole-archive $(TESTLDFLAGS)
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include