summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:20 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:20 +0000
commit3786bf0e01a61ad32f841881b0e926940bcf6715 (patch)
tree0b2203b6d68289cbffb6c8f4c31f57f4293282ea /Makefile
parent3b09b1c30b721b6fe1b63d49b9a9e67eff721206 (diff)
downloadlibcss-3786bf0e01a61ad32f841881b0e926940bcf6715.tar.gz
libcss-3786bf0e01a61ad32f841881b0e926940bcf6715.tar.bz2
Update to new NSBUILD infrastructure
svn path=/trunk/libcss/; revision=14004
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index abe1113..a77d199 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
# Extra installation rules
I := /include/libcss