source: src/Patterns/unittests/Makefile.am@ 1d77e1a

Last change on this file since 1d77e1a was a80f419, checked in by Frederik Heber <heber@…>, 15 years ago

First version.

Everything was extracted from project MoleCuilder and adapted such that it
runs on its own (i.e. new configure.ac, Makefile.am structure, stuff for
libtool versioning, ...)

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
9
10TESTS = \
11 CacheableUnitTest \
12 ObserverUnitTest \
13 RegistryUnitTest \
14 SingletonUnitTest
15
16
17check_PROGRAMS = $(TESTS)
18noinst_PROGRAMS = $(TESTS)
19
20BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
21TESTLIBS = \
22 ../../libCodePatterns-@CODEPATTERNS_API_VERSION@.la \
23 $(BOOST_LIB)
24
25CacheableUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
26 CacheableUnitTest.cpp \
27 CacheableUnitTest.hpp \
28 ../Cachable.hpp \
29 ../Observer.cpp \
30 ../Observer.hpp \
31 ../ObserverIterator.hpp
32CacheableUnitTest_LDADD = $(TESTLIBS)
33
34ObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
35 ObserverUnitTest.cpp \
36 ObserverUnitTest.hpp \
37 ../Observer.cpp \
38 ../Observer.hpp \
39 ../ObserverIterator.hpp
40ObserverUnitTest_LDADD = $(TESTLIBS)
41
42RegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
43 RegistryUnitTest.cpp \
44 RegistryUnitTest.hpp
45#RegistryUnitTest_LDADD = $(TESTLIBS)
46
47SingletonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
48 SingletonUnitTest.cpp \
49 SingletonUnitTest.hpp
50SingletonUnitTest_LDADD = $(TESTLIBS)
51
52#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.