Fix: Headers are now installed.
[libsex.git] / tests / Makefile.am
blob162e4bf734b3097852d32d6143b37eb04d59064a
1 if can_run_tests
3 SUBDIRS = framework src
5 check_PROGRAMS = tests
7 TESTS = tests
8 tests_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) $(CPPUNIT_CFLAGS)
9 tests_CXXFLAGS = $(CPPUNIT_LIBS)
10 tests_SOURCES = main.cxx testRegistry.cxx
11 tests_LDADD = \
12         $(top_srcdir)/src/$(PACKAGE).la \
13         framework/libframework.la \
14         src/libtest.la
16 else
18 check:
19         @echo "-------------------------------------------------"
20         @echo " Cannot run tests."
21         @echo " Check \"config.log\" for more information."
22         @echo "-------------------------------------------------"
23         @exit 1
25 endif