summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: c18d97589636c4c016d63fde350fd4eb77ec7d74 (plain)
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
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

test_surface_CPPFLAGS=-DPNG_STREAM_FILE=\"$(srcdir)/png-stream-test.png\"

else

#don't build anything
TESTS=

endif

#Where to find the header files needed by the source files:
INCLUDES =  -I$(top_srcdir) @CAIROMM_CFLAGS@

#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