|
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 |
|
|---|
| 4 | INCLUDES = -I$(top_srcdir)/src
|
|---|
| 5 |
|
|---|
| 6 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
|---|
| 7 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
|---|
| 8 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
|---|
| 9 |
|
|---|
| 10 | TESTS = \
|
|---|
| 11 | CacheableUnitTest \
|
|---|
| 12 | ObserverUnitTest \
|
|---|
| 13 | RegistryUnitTest \
|
|---|
| 14 | SingletonUnitTest
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | check_PROGRAMS = $(TESTS)
|
|---|
| 18 | noinst_PROGRAMS = $(TESTS)
|
|---|
| 19 |
|
|---|
| 20 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
|---|
| 21 | TESTLIBS = \
|
|---|
| 22 | ../../libCodePatterns-@CODEPATTERNS_API_VERSION@.la \
|
|---|
| 23 | $(BOOST_LIB)
|
|---|
| 24 |
|
|---|
| 25 | CacheableUnitTest_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
|
|---|
| 32 | CacheableUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 33 |
|
|---|
| 34 | ObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 35 | ObserverUnitTest.cpp \
|
|---|
| 36 | ObserverUnitTest.hpp \
|
|---|
| 37 | ../Observer.cpp \
|
|---|
| 38 | ../Observer.hpp \
|
|---|
| 39 | ../ObserverIterator.hpp
|
|---|
| 40 | ObserverUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 41 |
|
|---|
| 42 | RegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 43 | RegistryUnitTest.cpp \
|
|---|
| 44 | RegistryUnitTest.hpp
|
|---|
| 45 | #RegistryUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 46 |
|
|---|
| 47 | SingletonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 48 | SingletonUnitTest.cpp \
|
|---|
| 49 | SingletonUnitTest.hpp
|
|---|
| 50 | SingletonUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 51 |
|
|---|
| 52 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.