]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - Makefile
Update to new NSBUILD infrastructure
[libsvgtiny.git] / Makefile
index 2933bb03bc7d651b80e0a12fa41506b192714202..fe4cfe7b71f31aa46f934d6cc9fa6dda38e6a384 100644 (file)
--- 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
 
 TESTRUNNER := $(ECHO)
 
@@ -43,7 +45,7 @@ else
   LDFLAGS := $(CFLAGS) -lxml2
 endif
 
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
 
 # Extra installation rules
 I := /include