build: directly avoid SUBDIRS on no tests
[adg.git] / src / cpml / tests / Makefile.am
blob951c2e5b8e5df7a50c520cc85b33c2bcd0af24e8
1 include $(top_srcdir)/build/Makefile.am.common
4 AM_CPPFLAGS=                    -I$(top_srcdir)/src \
5                                 -I$(top_srcdir)/src/tests
6 AM_CFLAGS=                      $(CAIRO_CFLAGS) \
7                                 $(GOBJECT_CFLAGS)
8 LDADD=                          $(top_builddir)/src/cpml/libcpml-1.la \
9                                 $(top_builddir)/src/tests/libadgtest.la
12 TEST_PROGS+=                    test-pair$(EXEEXT)
13 test_pair_SOURCES=              test-pair.c
15 TEST_PROGS+=                    test-extents$(EXEEXT)
16 test_extents_SOURCES=           test-extents.c
18 TEST_PROGS+=                    test-segment$(EXEEXT)
19 test_segment_SOURCES=           test-segment.c
21 TEST_PROGS+=                    test-primitive$(EXEEXT)
22 test_primitive_SOURCES=         test-primitive.c
24 TEST_PROGS+=                    test-gobject$(EXEEXT)
25 test_gobject_SOURCES=           test-gobject.c
28 LDADD+=                         $(CAIRO_LIBS) \
29                                 $(GOBJECT_LIBS)
32 # targets
33 check_PROGRAMS=                 $(TEST_PROGS)
36 # Possibly remove files created on test coverage builds
37 mostlyclean-local:
38         -rm -f *.gcda *gcno