1if AUTOTESTS 2 3# build automated 'tests' 4TESTS=test-context test-font-face test-surface test-scaled-font test-font-options test-matrix test-user-font 5noinst_PROGRAMS = $(TESTS) 6test_context_SOURCES=test-context.cc 7test_font_face_SOURCES=test-font-face.cc 8test_user_font_SOURCES=test-user-font.cc 9test_surface_SOURCES=test-surface.cc 10test_scaled_font_SOURCES=test-scaled-font.cc 11test_font_options_SOURCES=test-font-options.cc 12test_matrix_SOURCES=test-matrix.cc 13 14test_surface_CPPFLAGS=-DPNG_STREAM_FILE=\"$(srcdir)/png-stream-test.png\" 15 16else 17 18#don't build anything 19TESTS= 20 21endif 22 23#Where to find the header files needed by the source files: 24INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@ 25 26#The libraries that the executable needs to link against: 27LIBS = $(top_builddir)/cairomm/libcairomm-1.0.la @LIBS@ @CAIROMM_LIBS@ @BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB@ 28 29EXTRA_DIST=png-stream-test.png 30DISTCLEANFILES=test.ps test.pdf 31