summaryrefslogtreecommitdiff
path: root/src/sfnt/sfnt.c
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2000-07-08 00:41:13 +0000
committerDavid Turner <david@freetype.org>2000-07-08 00:41:13 +0000
commita90663f591e995bd148d7b45178c9d63a2b7eb93 (patch)
treedf5e607af7cbeeb5e594d505758dcbcb84e50973 /src/sfnt/sfnt.c
parent7404301024208b605b0e81268469ddf3bf4cd00a (diff)
downloadfreetype2-a90663f591e995bd148d7b45178c9d63a2b7eb93.tar.gz
vast clean-up of the sources in order to allow flat
directory compilation (by defining the FT_FLAT_COMPILE macro at compile time..) moved "freetype2/BUILD" to "freetype2/docs/BUILD"
Diffstat (limited to 'src/sfnt/sfnt.c')
-rw-r--r--src/sfnt/sfnt.c34
1 files changed, 28 insertions, 6 deletions
diff --git a/src/sfnt/sfnt.c b/src/sfnt/sfnt.c
index a9aa1826a..a87158d49 100644
--- a/src/sfnt/sfnt.c
+++ b/src/sfnt/sfnt.c
@@ -18,19 +18,41 @@
#define FT_MAKE_OPTION_SINGLE_OBJECT
-#include <ttload.c>
-#include <ttcmap.c>
-#include <sfobjs.c>
+#ifdef FT_FLAT_COMPILE
+
+#include "ttload.c"
+#include "ttcmap.c"
+#include "sfobjs.c"
#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
-#include <ttsbit.c>
+#include "ttsbit.c"
#endif
#ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
-#include <ttpost.c>
+#include "ttpost.c"
+#endif
+#include "sfdriver.c"
+
+
+#else /* FT_FLAT_COMPILE */
+
+#include <sfnt/ttload.c>
+#include <sfnt/ttcmap.c>
+#include <sfnt/sfobjs.c>
+
+#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
+#include <sfnt/ttsbit.c>
#endif
-#include <sfdriver.c>
+#ifdef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
+#include <sfnt/ttpost.c>
+#endif
+#include <sfnt/sfdriver.c>
+
+#endif /* FT_FLAT_COMPILE */
+
+
+
/* END */