1 2if HAVE_CPPUNIT 3if HAVE_GLUT 4cppunit_tests = CTest CXXTest 5endif 6endif 7 8noinst_PROGRAMS = $(cppunit_tests) 9TESTS = $(cppunit_tests) 10 11CXXTest_SOURCES = \ 12 $(DEACTIVATED) \ 13 CXXTest.cpp \ 14 Fontdefs.h \ 15 FTBBox-Test.cpp \ 16 FTBitmapFont-Test.cpp \ 17 FTBitmapGlyph-Test.cpp \ 18 FTCharmap-Test.cpp \ 19 FTCharToGlyphIndexMap-Test.cpp \ 20 FTContour-Test.cpp \ 21 FTExtrudeFont-Test.cpp \ 22 FTExtrudeGlyph-Test.cpp \ 23 FTFace-Test.cpp \ 24 FTFont-Test.cpp \ 25 FTGlyph-Test.cpp \ 26 FTGlyphContainer-Test.cpp \ 27 FTlayout-Test.cpp \ 28 FTLibrary-Test.cpp \ 29 FTList-Test.cpp \ 30 FTMesh-Test.cpp \ 31 FTOutlineFont-Test.cpp \ 32 FTOutlineGlyph-Test.cpp \ 33 FTPixmapFont-Test.cpp \ 34 FTPixmapGlyph-Test.cpp \ 35 FTPoint-Test.cpp \ 36 FTPolygonFont-Test.cpp \ 37 FTPolygonGlyph-Test.cpp \ 38 FTSize-Test.cpp \ 39 FTTesselation-Test.cpp \ 40 FTTextureFont-Test.cpp \ 41 FTTextureGlyph-Test.cpp \ 42 FTVectoriser-Test.cpp \ 43 FTVector-Test.cpp \ 44 HPGCalc_afm.cpp \ 45 HPGCalc_pfb.cpp \ 46 $(NULL) 47 48AM_CPPFLAGS = \ 49 $(FT2_CPPFLAGS) \ 50 -I$(top_srcdir)/src \ 51 -I$(top_srcdir)/src/FTFont \ 52 -I$(top_srcdir)/src/FTGlyph \ 53 -I$(top_srcdir)/src/FTLayout \ 54 $(NULL) 55 56CXXTest_CXXFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS) 57CXXTest_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) -lcppunit 58CXXTest_LDADD = ../src/libftgl.la 59 60CTest_SOURCES = \ 61 CTest.c \ 62 $(NULL) 63CTest_CPPFLAGS = \ 64 -I$(top_srcdir)/include \ 65 -I$(top_srcdir)/src \ 66 -I$(top_srcdir)/src/FTGlyph \ 67 -I$(top_srcdir)/src/FTFont \ 68 -I$(top_srcdir)/src/FTLayout 69CTest_CFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS) 70CTest_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) 71CTest_LDADD = ../src/libftgl.la 72 73MAINTAINERCLEANFILES = Makefile.in 74 75NULL = 76 77