From 37a92b86d13e89d0dcec92be6d23ceced29dbc36 Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 21 Jun 2010 22:55:10 +0000 Subject: *** empty log message *** --- src/cd_ftgl.mak | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/cd_ftgl.mak (limited to 'src/cd_ftgl.mak') 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 -- cgit v1.2.3