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