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
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src/Patterns -I$(top_srcdir)/src/Helpers
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_LDFLAGS)
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8AM_CPPFLAGS = ${BOOST_CPPFLAGS}
9
10TESTS = \
11 CacheableUnitTest \
12 CloneUnitTest \
13 CreatorUnitTest \
14 FactoryUnitTest \
15 ManipulableCloneUnitTest \
16 ManipulablePrototypeFactoryUnitTest \
17 ObservedContainerUnitTest \
18 ObserverUnitTest \
19 PrototypeFactoryUnitTest \
20 RegistryUnitTest \
21 SingletonUnitTest
22
23
24check_PROGRAMS = $(TESTS)
25noinst_PROGRAMS = $(TESTS)
26
27BOOST_LIB = $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
28TESTLIBS = \
29 ../../libCodePatterns-debug.la \
30 $(BOOST_LIB)
31
32CacheableUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
33 CacheableUnitTest.cpp \
34 CacheableUnitTest.hpp
35nodist_CacheableUnitTest_SOURCES = \
36 ../Cachable.hpp \
37 ../Observer.hpp \
38 ../ObserverIterator.hpp
39CacheableUnitTest_LDADD = $(TESTLIBS)
40
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
48nodist_CloneUnitTest_SOURCES = \
49 ../Clone.hpp
50CloneUnitTest_LDADD = $(TESTLIBS)
51
52CreatorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
53 CreatorUnitTest.cpp \
54 CreatorUnitTest.hpp \
55 stubs/CommonStub.cpp \
56 stubs/CommonStub.hpp \
57 stubs/CreatorStub.hpp
58nodist_CreatorUnitTest_SOURCES = \
59 ../Creator.hpp
60CreatorUnitTest_LDADD = $(TESTLIBS)
61
62FactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
63 FactoryUnitTest.cpp \
64 FactoryUnitTest.hpp \
65 stubs/CommonStub.cpp \
66 stubs/CommonStub.hpp \
67 stubs/CreatorStub.hpp \
68 stubs/FactoryStub.hpp \
69 stubs/FactoryStub.cpp
70nodist_FactoryUnitTest_SOURCES = \
71 ../Factory.hpp \
72 ../FactoryTypeList.hpp \
73 ../Factory_impl.hpp
74FactoryUnitTest_LDADD = $(TESTLIBS)
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
83nodist_ManipulableCloneUnitTest_SOURCES = \
84 ../ManipulableClone.hpp
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 \
95 stubs/ManipulablePrototypeFactoryStub.cpp
96nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \
97 ../ManipulablePrototypeFactory.hpp \
98 ../FactoryTypeList.hpp \
99 ../ManipulablePrototypeFactory_impl.hpp
100ManipulablePrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
101
102ObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
103 ObserverUnitTest.cpp \
104 ObserverUnitTest.hpp \
105 stubs/ObserverStub.cpp \
106 stubs/ObserverStub.hpp
107nodist_ObserverUnitTest_SOURCES = \
108 ../Observer.hpp \
109 ../ObserverContainer.hpp \
110 ../ObserverContainer_impl.hpp \
111 ../ObserverIterator.hpp
112ObserverUnitTest_LDADD = $(TESTLIBS)
113
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
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 \
132 stubs/PrototypeFactoryStub.cpp
133nodist_PrototypeFactoryUnitTest_SOURCES = \
134 ../PrototypeFactory.hpp \
135 ../FactoryTypeList.hpp \
136 ../PrototypeFactory_impl.hpp
137PrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
138
139RegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
140 RegistryUnitTest.cpp \
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)
150
151SingletonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
152 SingletonUnitTest.cpp \
153 SingletonUnitTest.hpp
154#nodist_SingletonUnitTest_SOURCES =
155SingletonUnitTest_LDADD = $(TESTLIBS)
156
157#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.