Set up project framework (autotools + CppUnit).
[libsex.git] / tests / Makefile.am
blob6ad6524153089d89ce447eb5bdd5af50e08b00dc
1 if can_run_tests
3 SUBDIRS = 
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_LDADD = $(top_srcdir)/src/$(PACKAGE).la
11 tests_SOURCES = main.cxx testRegistry.cxx
13 else
15 check:
16         @echo "-------------------------------------------------"
17         @echo " Cannot run tests."
18         @echo " Check \"config.log\" for more information."
19         @echo "-------------------------------------------------"
20         @exit 1
22 endif