Edit

kc3-lang/ftgl/src/Makefile.am

Branch :

  • Show log

    Commit

  • Author : sammy
    Date : 2009-07-19 15:06:37
    Hash : 6533eff4
    Message : Provide support for automake 1.6.3 as included in XCode 3.4.1 on MacOS 10.4, which uses AM_CPPFLAGS where automake 1.10 uses libftgl_la_CPPFLAGS. Patch courtesy of Bzflag's developer bullet_catcher for SF bug 2117545.

  • src/Makefile.am
  • lib_LTLIBRARIES = libftgl.la
    
    libftgl_la_SOURCES = \
        FTBuffer.cpp \
        FTCharmap.cpp \
        FTCharmap.h \
        FTCharToGlyphIndexMap.h \
        FTContour.cpp \
        FTContour.h \
        FTFace.cpp \
        FTFace.h \
        FTGlyphContainer.cpp \
        FTGlyphContainer.h \
        FTInternals.h \
        FTLibrary.cpp \
        FTLibrary.h \
        FTList.h \
        FTPoint.cpp \
        FTSize.cpp \
        FTSize.h \
        FTVector.h \
        FTVectoriser.cpp \
        FTVectoriser.h \
        FTUnicode.h \
        $(ftglyph_sources) \
        $(ftfont_sources) \
        $(ftlayout_sources) \
        $(ftgl_headers) \
        $(NULL)
    libftgl_la_CPPFLAGS = -IFTGlyph -IFTFont -IFTLayout
    libftgl_la_CXXFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS)
    libftgl_la_LDFLAGS = \
            -no-undefined -version-number $(LT_VERSION)
    libftgl_la_LIBADD = \
    	$(FT2_LIBS) $(GL_LIBS)
    
    # automake 1.6.3, as included in XCode 3.4.1 on MacOS 10.4, uses
    # AM_CPPFLAGS where newer automake versions use libftgl_la_CPPFLAGS.
    # Setting AM_CPPFLAGS this way is a no-op for automake 1.10.
    AM_CPPFLAGS = $(libftgl_la_CPPFLAGS)
    
    ftgldir = $(includedir)/FTGL
    ftgl_HEADERS = $(ftgl_headers)
    
    ftgl_headers = \
        FTGL/ftgl.h \
        FTGL/FTBBox.h \
        FTGL/FTBuffer.h \
        FTGL/FTPoint.h \
        FTGL/FTGlyph.h \
        FTGL/FTBitmapGlyph.h \
        FTGL/FTBufferGlyph.h \
        FTGL/FTExtrdGlyph.h \
        FTGL/FTOutlineGlyph.h \
        FTGL/FTPixmapGlyph.h \
        FTGL/FTPolyGlyph.h \
        FTGL/FTTextureGlyph.h \
        FTGL/FTFont.h \
        FTGL/FTGLBitmapFont.h \
        FTGL/FTBufferFont.h \
        FTGL/FTGLExtrdFont.h \
        FTGL/FTGLOutlineFont.h \
        FTGL/FTGLPixmapFont.h \
        FTGL/FTGLPolygonFont.h \
        FTGL/FTGLTextureFont.h \
        FTGL/FTLayout.h \
        FTGL/FTSimpleLayout.h \
        ${NULL}
    
    ftglyph_sources = \
        FTGlyph/FTGlyph.cpp \
        FTGlyph/FTGlyphImpl.h \
        FTGlyph/FTGlyphGlue.cpp \
        FTGlyph/FTBitmapGlyph.cpp \
        FTGlyph/FTBitmapGlyphImpl.h \
        FTGlyph/FTBufferGlyph.cpp \
        FTGlyph/FTBufferGlyphImpl.h \
        FTGlyph/FTExtrudeGlyph.cpp \
        FTGlyph/FTExtrudeGlyphImpl.h \
        FTGlyph/FTOutlineGlyph.cpp \
        FTGlyph/FTOutlineGlyphImpl.h \
        FTGlyph/FTPixmapGlyph.cpp \
        FTGlyph/FTPixmapGlyphImpl.h \
        FTGlyph/FTPolygonGlyph.cpp \
        FTGlyph/FTPolygonGlyphImpl.h \
        FTGlyph/FTTextureGlyph.cpp \
        FTGlyph/FTTextureGlyphImpl.h \
        $(NULL)
    
    ftfont_sources = \
        FTFont/FTFont.cpp \
        FTFont/FTFontImpl.h \
        FTFont/FTFontGlue.cpp \
        FTFont/FTBitmapFont.cpp \
        FTFont/FTBitmapFontImpl.h \
        FTFont/FTBufferFont.cpp \
        FTFont/FTBufferFontImpl.h \
        FTFont/FTExtrudeFont.cpp \
        FTFont/FTExtrudeFontImpl.h \
        FTFont/FTOutlineFont.cpp \
        FTFont/FTOutlineFontImpl.h \
        FTFont/FTPixmapFont.cpp \
        FTFont/FTPixmapFontImpl.h \
        FTFont/FTPolygonFont.cpp \
        FTFont/FTPolygonFontImpl.h \
        FTFont/FTTextureFont.cpp \
        FTFont/FTTextureFontImpl.h \
        $(NULL)
    
    ftlayout_sources = \
        FTLayout/FTLayout.cpp \
        FTLayout/FTLayoutImpl.h \
        FTLayout/FTLayoutGlue.cpp \
        FTLayout/FTSimpleLayout.cpp \
        FTLayout/FTSimpleLayoutImpl.h \
        $(NULL)
    
    NULL =