diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 10:12:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 10:12:09 +0000 |
commit | 36a451d571f6af0b220e7cc43c6eb278fce88135 (patch) | |
tree | e0bfa63584a16c2ba58989cdb7aa414338f039cd /src | |
parent | 65ba8bdea7cbe493934ebd9624f3b9af70e40033 (diff) | |
download | ttf2f-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')
-rw-r--r-- | src/Makefile | 8 | ||||
-rw-r--r-- | src/toolbox.c (renamed from src/main.c) | 0 |
2 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 diff --git a/src/main.c b/src/toolbox.c index 5de9982..5de9982 100644 --- a/src/main.c +++ b/src/toolbox.c |