source: src/Patterns/unittests/Makefile.am@ 3a9cda

Last change on this file since 3a9cda was 09305f, checked in by Frederik Heber <heber@…>, 15 years ago

Moved BOOST_LDFLAGS from BOOST_LIB to AM_LDFLAGS.

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[a80f419]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[9098f9]4INCLUDES = -I$(top_srcdir)/src/Patterns -I$(top_srcdir)/src/Helpers
[a80f419]5
[09305f]6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_LDFLAGS)
[a80f419]7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
9
10TESTS = \
11 CacheableUnitTest \
[1afcbe]12 CloneUnitTest \
[746ff1]13 CreatorUnitTest \
14 FactoryUnitTest \
[8dd38e]15 ManipulableCloneUnitTest \
16 ManipulablePrototypeFactoryUnitTest \
[d3926b5]17 ObservedContainerUnitTest \
[a80f419]18 ObserverUnitTest \
[d76c105]19 PrototypeFactoryUnitTest \
[a80f419]20 RegistryUnitTest \
21 SingletonUnitTest
22
23
24check_PROGRAMS = $(TESTS)
25noinst_PROGRAMS = $(TESTS)
26
[09305f]27BOOST_LIB = $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
[a80f419]28TESTLIBS = \
[cdf2e4]29 ../../libCodePatterns-debug.la \
[a80f419]30 $(BOOST_LIB)
31
32CacheableUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
33 CacheableUnitTest.cpp \
[192c04]34 CacheableUnitTest.hpp
35nodist_CacheableUnitTest_SOURCES = \
[a80f419]36 ../Cachable.hpp \
37 ../Observer.hpp \
38 ../ObserverIterator.hpp
39CacheableUnitTest_LDADD = $(TESTLIBS)
40
[1afcbe]41CloneUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
42 CloneUnitTest.cpp \
43 CloneUnitTest.hpp \
44 stubs/CommonStub.cpp \
45 stubs/CommonStub.hpp \
46 stubs/CloneStub.cpp \
47 stubs/CloneStub.hpp
[192c04]48nodist_CloneUnitTest_SOURCES = \
49 ../Clone.hpp
[1afcbe]50CloneUnitTest_LDADD = $(TESTLIBS)
51
[746ff1]52CreatorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
53 CreatorUnitTest.cpp \
54 CreatorUnitTest.hpp \
[724564]55 stubs/CommonStub.cpp \
56 stubs/CommonStub.hpp \
57 stubs/CreatorStub.hpp
[192c04]58nodist_CreatorUnitTest_SOURCES = \
59 ../Creator.hpp
[746ff1]60CreatorUnitTest_LDADD = $(TESTLIBS)
61
62FactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
63 FactoryUnitTest.cpp \
64 FactoryUnitTest.hpp \
[724564]65 stubs/CommonStub.cpp \
66 stubs/CommonStub.hpp \
[746ff1]67 stubs/CreatorStub.hpp \
68 stubs/FactoryStub.hpp \
[192c04]69 stubs/FactoryStub.cpp
70nodist_FactoryUnitTest_SOURCES = \
[746ff1]71 ../Factory.hpp \
72 ../FactoryTypeList.hpp \
73 ../Factory_impl.hpp
74FactoryUnitTest_LDADD = $(TESTLIBS)
[8dd38e]75
76ManipulableCloneUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
77 ManipulableCloneUnitTest.cpp \
78 ManipulableCloneUnitTest.hpp \
79 stubs/CommonStub.cpp \
80 stubs/CommonStub.hpp \
81 stubs/ManipulableCloneStub.cpp \
82 stubs/ManipulableCloneStub.hpp
[192c04]83nodist_ManipulableCloneUnitTest_SOURCES = \
84 ../ManipulableClone.hpp
[8dd38e]85ManipulableCloneUnitTest_LDADD = $(TESTLIBS)
86
87ManipulablePrototypeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
88 ManipulablePrototypeFactoryUnitTest.cpp \
89 ManipulablePrototypeFactoryUnitTest.hpp \
90 stubs/ManipulableCloneStub.cpp \
91 stubs/ManipulableCloneStub.hpp \
92 stubs/CommonStub.cpp \
93 stubs/CommonStub.hpp \
94 stubs/ManipulablePrototypeFactoryStub.hpp \
[192c04]95 stubs/ManipulablePrototypeFactoryStub.cpp
96nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \
[8dd38e]97 ../ManipulablePrototypeFactory.hpp \
98 ../FactoryTypeList.hpp \
99 ../ManipulablePrototypeFactory_impl.hpp
100ManipulablePrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
[746ff1]101
[a80f419]102ObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
103 ObserverUnitTest.cpp \
[56d62f]104 ObserverUnitTest.hpp \
105 stubs/ObserverStub.cpp \
106 stubs/ObserverStub.hpp
[192c04]107nodist_ObserverUnitTest_SOURCES = \
[a80f419]108 ../Observer.hpp \
[d3926b5]109 ../ObserverContainer.hpp \
110 ../ObserverContainer_impl.hpp \
[a80f419]111 ../ObserverIterator.hpp
112ObserverUnitTest_LDADD = $(TESTLIBS)
113
[d3926b5]114ObservedContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
115 ObservedContainerUnitTest.cpp \
116 ObservedContainerUnitTest.hpp \
117 stubs/ObserverStub.cpp \
118 stubs/ObserverStub.hpp
119nodist_ObservedContainerUnitTest_SOURCES = \
120 ../ObserverContainer.hpp \
121 ../ObserverContainer_impl.hpp
122ObservedContainerUnitTest_LDADD = $(TESTLIBS)
123
[d76c105]124PrototypeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
125 PrototypeFactoryUnitTest.cpp \
126 PrototypeFactoryUnitTest.hpp \
127 stubs/CloneStub.cpp \
128 stubs/CloneStub.hpp \
129 stubs/CommonStub.cpp \
130 stubs/CommonStub.hpp \
131 stubs/PrototypeFactoryStub.hpp \
[192c04]132 stubs/PrototypeFactoryStub.cpp
133nodist_PrototypeFactoryUnitTest_SOURCES = \
[d76c105]134 ../PrototypeFactory.hpp \
135 ../FactoryTypeList.hpp \
136 ../PrototypeFactory_impl.hpp
137PrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
138
[a80f419]139RegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
140 RegistryUnitTest.cpp \
[fe056c]141 RegistryUnitTest.hpp \
142 stubs/CommonNamedStub.cpp \
143 stubs/CommonNamedStub.hpp \
144 stubs/RegistryStub.cpp \
145 stubs/RegistryStub.hpp
146nodist_RegistryUnitTest_SOURCES = \
147 Registry.hpp \
148 Registry_impl.hpp
149RegistryUnitTest_LDADD = $(TESTLIBS)
[a80f419]150
151SingletonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
152 SingletonUnitTest.cpp \
153 SingletonUnitTest.hpp
[192c04]154#nodist_SingletonUnitTest_SOURCES =
[a80f419]155SingletonUnitTest_LDADD = $(TESTLIBS)
156
157#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.