summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-02 22:08:03 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2011-01-02 22:08:03 (GMT)
commitcad96b5b8f2281a9b6cdebdb3985a05548e155e8 (patch)
treefc5bcedcec6969065d27772f5df542aea06241d0
parentf3a77d3c00c095a53f37aa7efb39d56168799596 (diff)
downloadlibrufl-cad96b5b8f2281a9b6cdebdb3985a05548e155e8.tar.gz
librufl-cad96b5b8f2281a9b6cdebdb3985a05548e155e8.tar.bz2
Only build strfuncs.c if Norcroft is the toolchainreleases/0.0.1
svn path=/trunk/rufl/; revision=11185
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e8a7509..2c29500 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,11 @@
# Sources
DIR_SOURCES := rufl_character_set_test.c rufl_decompose.c rufl_dump_state.c \
rufl_find.c rufl_init.c rufl_invalidate_cache.c \
- rufl_metrics.c rufl_paint.c rufl_quit.c strfuncs.c
+ rufl_metrics.c rufl_paint.c rufl_quit.c
+
+ifeq ($(toolchain),norcroft)
+ DIR_SOURCES := $(DIR_SOURCES) strfuncs.c
+endif
SOURCES := $(SOURCES) $(BUILDDIR)/rufl_glyph_map.c