1
2lib_LTLIBRARIES = libftgl.la
3
4libftgl_la_SOURCES = \
5    FTBuffer.cpp \
6    FTCharmap.cpp \
7    FTCharmap.h \
8    FTCharToGlyphIndexMap.h \
9    FTCleanup.cpp \
10    FTCleanup.h \
11    FTContour.cpp \
12    FTContour.h \
13    FTFace.cpp \
14    FTFace.h \
15    FTGL.cpp \
16    FTGlyphContainer.cpp \
17    FTGlyphContainer.h \
18    FTInternals.h \
19    FTLibrary.cpp \
20    FTLibrary.h \
21    FTList.h \
22    FTPoint.cpp \
23    FTSize.cpp \
24    FTSize.h \
25    FTVector.h \
26    FTVectoriser.cpp \
27    FTVectoriser.h \
28    FTUnicode.h \
29    $(ftglyph_sources) \
30    $(ftfont_sources) \
31    $(ftlayout_sources) \
32    $(ftgl_headers) \
33    $(NULL)
34libftgl_la_CPPFLAGS = -IFTGlyph -IFTFont -IFTLayout
35libftgl_la_CXXFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS)
36libftgl_la_LDFLAGS = \
37        -no-undefined -version-number $(LT_VERSION)
38libftgl_la_LIBADD = \
39	$(FT2_LIBS) $(GL_LIBS)
40
41# automake 1.6.3, as included in XCode 3.4.1 on MacOS 10.4, uses
42# AM_CPPFLAGS where newer automake versions use libftgl_la_CPPFLAGS.
43# Setting AM_CPPFLAGS this way is a no-op for automake 1.10.
44AM_CPPFLAGS = $(libftgl_la_CPPFLAGS)
45
46ftgldir = $(includedir)/FTGL
47ftgl_HEADERS = $(ftgl_headers)
48
49ftgl_headers = \
50    FTGL/ftgl.h \
51    FTGL/FTLibrary.h \
52    FTGL/FTBBox.h \
53    FTGL/FTBuffer.h \
54    FTGL/FTPoint.h \
55    FTGL/FTGlyph.h \
56    FTGL/FTBitmapGlyph.h \
57    FTGL/FTBufferGlyph.h \
58    FTGL/FTExtrdGlyph.h \
59    FTGL/FTOutlineGlyph.h \
60    FTGL/FTPixmapGlyph.h \
61    FTGL/FTPolyGlyph.h \
62    FTGL/FTTextureGlyph.h \
63    FTGL/FTFont.h \
64    FTGL/FTGLBitmapFont.h \
65    FTGL/FTBufferFont.h \
66    FTGL/FTGLExtrdFont.h \
67    FTGL/FTGLOutlineFont.h \
68    FTGL/FTGLPixmapFont.h \
69    FTGL/FTGLPolygonFont.h \
70    FTGL/FTGLTextureFont.h \
71    FTGL/FTLayout.h \
72    FTGL/FTSimpleLayout.h \
73    FTGL/FTTriangleExtractorGlyph.h \
74    FTGL/FTGLTriangleExtractorFont.h \
75    ${NULL}
76
77ftglyph_sources = \
78    FTGlyph/FTGlyph.cpp \
79    FTGlyph/FTGlyphImpl.h \
80    FTGlyph/FTGlyphGlue.cpp \
81    FTGlyph/FTBitmapGlyph.cpp \
82    FTGlyph/FTBitmapGlyphImpl.h \
83    FTGlyph/FTBufferGlyph.cpp \
84    FTGlyph/FTBufferGlyphImpl.h \
85    FTGlyph/FTExtrudeGlyph.cpp \
86    FTGlyph/FTExtrudeGlyphImpl.h \
87    FTGlyph/FTOutlineGlyph.cpp \
88    FTGlyph/FTOutlineGlyphImpl.h \
89    FTGlyph/FTPixmapGlyph.cpp \
90    FTGlyph/FTPixmapGlyphImpl.h \
91    FTGlyph/FTPolygonGlyph.cpp \
92    FTGlyph/FTPolygonGlyphImpl.h \
93    FTGlyph/FTTextureGlyph.cpp \
94    FTGlyph/FTTextureGlyphImpl.h \
95    FTGlyph/FTTriangleExtractorGlyph.cpp \
96    FTGlyph/FTTriangleExtractorGlyphImpl.h \
97    $(NULL)
98
99ftfont_sources = \
100    FTFont/FTFont.cpp \
101    FTFont/FTFontImpl.h \
102    FTFont/FTFontGlue.cpp \
103    FTFont/FTBitmapFont.cpp \
104    FTFont/FTBitmapFontImpl.h \
105    FTFont/FTBufferFont.cpp \
106    FTFont/FTBufferFontImpl.h \
107    FTFont/FTExtrudeFont.cpp \
108    FTFont/FTExtrudeFontImpl.h \
109    FTFont/FTOutlineFont.cpp \
110    FTFont/FTOutlineFontImpl.h \
111    FTFont/FTPixmapFont.cpp \
112    FTFont/FTPixmapFontImpl.h \
113    FTFont/FTPolygonFont.cpp \
114    FTFont/FTPolygonFontImpl.h \
115    FTFont/FTTextureFont.cpp \
116    FTFont/FTTextureFontImpl.h \
117    FTFont/FTTriangleExtractorFont.cpp \
118    FTFont/FTTriangleExtractorFontImpl.h \
119    $(NULL)
120
121ftlayout_sources = \
122    FTLayout/FTLayout.cpp \
123    FTLayout/FTLayoutImpl.h \
124    FTLayout/FTLayoutGlue.cpp \
125    FTLayout/FTSimpleLayout.cpp \
126    FTLayout/FTSimpleLayoutImpl.h \
127    $(NULL)
128
129MAINTAINERCLEANFILES = Makefile.in
130
131NULL =
132