summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 18:17:04 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 18:17:04 +0000
commit3e0d4f191535e95cf46eda876dca465dfcf657a5 (patch)
tree78ec59c41d6df10eefd0b17cb5d1e95f70a6c155 /example
parent48a501324b99668a3a19ec18b6ba80c10adad348 (diff)
downloadbuildsystem-3e0d4f191535e95cf46eda876dca465dfcf657a5.tar.gz
buildsystem-3e0d4f191535e95cf46eda876dca465dfcf657a5.tar.bz2
Initial rework to have Makefile.tools find itself and set NSBUILD
svn path=/trunk/tools/buildsystem/; revision=13996
Diffstat (limited to 'example')
-rw-r--r--example/Makefile2
-rw-r--r--example/src1/Makefile2
-rw-r--r--example/src2/Makefile2
-rw-r--r--example/test/Makefile2
-rw-r--r--example/test2/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/example/Makefile b/example/Makefile
index 492c255..582fb69 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -9,7 +9,7 @@ COMPONENT_VERSION := 0.0.1
include build/makefiles/Makefile.tools
# Grab the core makefile
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
# Add extra install rules for our pkg-config control file and the library itself
INSTALL_ITEMS := $(INSTALL_ITEMS) /lib/pkgconfig:lib$(COMPONENT).pc.in
diff --git a/example/src1/Makefile b/example/src1/Makefile
index f986d31..7787e4b 100644
--- a/example/src1/Makefile
+++ b/example/src1/Makefile
@@ -4,4 +4,4 @@ DIR_SOURCES := foo.c
DIR_INSTALL_ITEMS := /include:foo.h
# Grab the core makefile
-include build/makefiles/Makefile.subdir
+include $(NSBUILD)/Makefile.subdir
diff --git a/example/src2/Makefile b/example/src2/Makefile
index 2fc4c9e..e25d124 100644
--- a/example/src2/Makefile
+++ b/example/src2/Makefile
@@ -1,4 +1,4 @@
# Sources in this directory
DIR_SOURCES := bar.c
-include build/makefiles/Makefile.subdir
+include $(NSBUILD)/Makefile.subdir
diff --git a/example/test/Makefile b/example/test/Makefile
index a91e328..cb84c94 100644
--- a/example/test/Makefile
+++ b/example/test/Makefile
@@ -1,4 +1,4 @@
# Test sources in this directory
DIR_TEST_SOURCES := foo.c
-include build/makefiles/Makefile.subdir
+include $(NSBUILD)/Makefile.subdir
diff --git a/example/test2/Makefile b/example/test2/Makefile
index a91e328..cb84c94 100644
--- a/example/test2/Makefile
+++ b/example/test2/Makefile
@@ -1,4 +1,4 @@
# Test sources in this directory
DIR_TEST_SOURCES := foo.c
-include build/makefiles/Makefile.subdir
+include $(NSBUILD)/Makefile.subdir