diff options
author | scuri <scuri> | 2010-06-21 22:55:10 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-21 22:55:10 +0000 |
commit | 37a92b86d13e89d0dcec92be6d23ceced29dbc36 (patch) | |
tree | faff61ef668379212b4ed948934533c3f2fe308b /src/cd_ftgl.mak | |
parent | a124216ee05a5d63ea8fcdafcd050ad1fadf0b09 (diff) |
*** empty log message ***
Diffstat (limited to 'src/cd_ftgl.mak')
-rw-r--r-- | src/cd_ftgl.mak | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/cd_ftgl.mak b/src/cd_ftgl.mak new file mode 100644 index 0000000..fa0833d --- /dev/null +++ b/src/cd_ftgl.mak @@ -0,0 +1,63 @@ +PROJNAME = cd +LIBNAME = ftgl +OPT = YES + +ftglyph_sources = \ + FTGlyph/FTGlyph.cpp \ + FTGlyph/FTGlyphGlue.cpp \ + FTGlyph/FTBitmapGlyph.cpp \ + FTGlyph/FTBufferGlyph.cpp \ + FTGlyph/FTExtrudeGlyph.cpp \ + FTGlyph/FTOutlineGlyph.cpp \ + FTGlyph/FTPixmapGlyph.cpp \ + FTGlyph/FTPolygonGlyph.cpp \ + FTGlyph/FTTextureGlyph.cpp + +ftfont_sources = \ + FTFont/FTFont.cpp \ + FTFont/FTFontGlue.cpp \ + FTFont/FTBitmapFont.cpp \ + FTFont/FTBufferFont.cpp \ + FTFont/FTExtrudeFont.cpp \ + FTFont/FTOutlineFont.cpp \ + FTFont/FTPixmapFont.cpp \ + FTFont/FTPolygonFont.cpp \ + FTFont/FTTextureFont.cpp + +ftlayout_sources = \ + FTLayout/FTLayout.cpp \ + FTLayout/FTLayoutGlue.cpp \ + FTLayout/FTSimpleLayout.cpp + +libftgl_la_SOURCES = \ + FTBuffer.cpp \ + FTCharmap.cpp \ + FTContour.cpp \ + FTFace.cpp \ + FTGlyphContainer.cpp \ + FTLibrary.cpp \ + FTPoint.cpp \ + FTSize.cpp \ + FTVectoriser.cpp \ + $(ftglyph_sources) \ + $(ftfont_sources) \ + $(ftlayout_sources) +SRC := $(addprefix ftgl/, $(libftgl_la_SOURCES)) + +INCLUDES := ftgl freetype2 +DEFINES = FTGL_LIBRARY_STATIC +USE_OPENGL = Yes +LIBS = freetype + +ifneq ($(findstring dll, $(TEC_UNAME)), ) + DEFINES = FTGL_LIBRARY + SRC += cd_ftgl.rc +endif + +ifneq ($(findstring Win, $(TEC_SYSNAME)), ) + LIBS = freetype6 +endif + +ifneq ($(findstring cygw, $(TEC_UNAME)), ) + LIBS = freetype-6 +endif |