summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:35 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:35 +0000
commita256763c038714124858954cc3c4fc024191dfdd (patch)
tree7c2a9c16636df2ffc16543a679ccd51d7c80dd3c /Makefile
parent000431750fcf86530dba7bae151f8cd56d192bb1 (diff)
downloadlibhubbub-a256763c038714124858954cc3c4fc024191dfdd.tar.gz
libhubbub-a256763c038714124858954cc3c4fc024191dfdd.tar.bz2
Update to new NSBUILD infrastructure
svn path=/trunk/hubbub/; revision=14006
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 425c0bf..396bd76 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,11 @@ COMPONENT_VERSION := 0.1.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
-TESTRUNNER := $(PERL) build/testtools/testrunner.pl
+TESTRUNNER := $(PERL) $(NSTESTTOOLS)/testrunner.pl
# Toolchain flags
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
@@ -39,7 +41,7 @@ ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
endif
endif
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
ifeq ($(WANT_TEST),yes)
# We require the presence of libjson -- http://oss.metaparadigm.com/json-c/