summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:57 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:55:57 +0000
commitd4e35f20bc80504475be71e0805189ab861336e0 (patch)
treea93798ebf7daf2282f35bd3ede1cf3c1cd68579e /Makefile
parentcdf1c3ff4eafb04a6eb8be628cd296e8eb3b57bf (diff)
downloadlibnsgif-d4e35f20bc80504475be71e0805189ab861336e0.tar.gz
libnsgif-d4e35f20bc80504475be71e0805189ab861336e0.tar.bz2
Update to new NSBUILD infrastructure
svn path=/trunk/libnsgif/; revision=14009
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8d1f84..7eeefee 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,9 @@ COMPONENT_VERSION := 0.0.3
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
# Toolchain flags
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
@@ -24,7 +26,7 @@ else
CFLAGS := $(CFLAGS) -Dinline="__inline__"
endif
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
# Extra installation rules
I := /include