summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 10:12:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 10:12:09 +0000
commit36a451d571f6af0b220e7cc43c6eb278fce88135 (patch)
treee0bfa63584a16c2ba58989cdb7aa414338f039cd /src/Makefile
parent65ba8bdea7cbe493934ebd9624f3b9af70e40033 (diff)
downloadttf2f-36a451d571f6af0b220e7cc43c6eb278fce88135.tar.gz
ttf2f-36a451d571f6af0b220e7cc43c6eb278fce88135.tar.bz2
Build-time selectable frontend -- defaults to CLI.
svn path=/trunk/tools/ttf2f/; revision=7438
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0bd3fb2..2a26d4e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,10 @@
# Sources
-DIR_SOURCES := cli.c encoding.c ft.c glyphs.c intmetrics.c outlines.c utils.c
+DIR_SOURCES := encoding.c ft.c glyphs.c intmetrics.c outlines.c utils.c
+
+ifeq ($(FRONTEND),cli)
+DIR_SOURCES := $(DIR_SOURCES) cli.c
+else
+DIR_SOURCES := $(DIR_SOURCES) toolbox.c
+endif
include build/makefiles/Makefile.subdir