From d4e35f20bc80504475be71e0805189ab861336e0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 29 Jun 2012 19:55:57 +0000 Subject: Update to new NSBUILD infrastructure svn path=/trunk/libnsgif/; revision=14009 --- Makefile | 6 ++++-- src/Makefile | 2 +- 2 files changed, 5 insertions(+), 3 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 diff --git a/src/Makefile b/src/Makefile index 2a6f584..0fa4dc6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ # Sources DIR_SOURCES := libnsgif.c -include build/makefiles/Makefile.subdir +include $(NSBUILD)/Makefile.subdir -- cgit v1.2.3