diff options
Diffstat (limited to 'src/sfnt/sfnt.c')
-rw-r--r-- | src/sfnt/sfnt.c | 34 |
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 */ |