[084729c] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
| 4 | # NOTE that all paths are relative to ./src (because we get included there!)
|
---|
| 5 |
|
---|
| 6 | TESTS += \
|
---|
| 7 | AtomicInstanceUnitTest \
|
---|
| 8 | CacheableUnitTest \
|
---|
| 9 | CloneUnitTest \
|
---|
| 10 | CreatorUnitTest \
|
---|
| 11 | FactoryUnitTest \
|
---|
| 12 | ManipulableCloneUnitTest \
|
---|
| 13 | ManipulablePrototypeFactoryUnitTest \
|
---|
| 14 | ObservedValueUnitTest \
|
---|
| 15 | PrototypeFactoryUnitTest \
|
---|
| 16 | RegistryUnitTest \
|
---|
| 17 | SingletonUnitTest
|
---|
| 18 |
|
---|
| 19 | TESTSOURCES += \
|
---|
| 20 | ../Patterns/unittests/AtomicInstanceUnitTest.cpp \
|
---|
| 21 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
| 22 | ../Patterns/unittests/CloneUnitTest.cpp \
|
---|
| 23 | ../Patterns/unittests/CreatorUnitTest.cpp \
|
---|
| 24 | ../Patterns/unittests/FactoryUnitTest.cpp \
|
---|
| 25 | ../Patterns/unittests/ManipulableCloneUnitTest.cpp \
|
---|
| 26 | ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \
|
---|
| 27 | ../Patterns/unittests/ObservedValueUnitTest.cpp \
|
---|
| 28 | ../Patterns/unittests/PrototypeFactoryUnitTest.cpp \
|
---|
| 29 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
---|
| 30 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
| 31 | ../Patterns/unittests/stubs/Cacheable_threeNumbers.cpp \
|
---|
| 32 | ../Patterns/unittests/stubs/CloneStub.cpp \
|
---|
| 33 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 34 | ../Patterns/unittests/stubs/CommonNamedStub.cpp \
|
---|
| 35 | ../Patterns/unittests/stubs/FactoryStub.cpp \
|
---|
| 36 | ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
|
---|
| 37 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp \
|
---|
| 38 | ../Patterns/unittests/stubs/ObservedValue_threeNumbers.cpp \
|
---|
| 39 | ../Patterns/unittests/stubs/PrototypeFactoryStub.cpp \
|
---|
| 40 | ../Patterns/unittests/stubs/RegistryStub.cpp
|
---|
| 41 |
|
---|
| 42 | TESTHEADERS += \
|
---|
| 43 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
| 44 | ../Patterns/unittests/CloneUnitTest.hpp \
|
---|
| 45 | ../Patterns/unittests/CreatorUnitTest.hpp \
|
---|
| 46 | ../Patterns/unittests/FactoryUnitTest.hpp \
|
---|
| 47 | ../Patterns/unittests/ManipulableCloneUnitTest.hpp \
|
---|
| 48 | ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \
|
---|
| 49 | ../Patterns/unittests/ObservedValueUnitTest.hpp \
|
---|
| 50 | ../Patterns/unittests/PrototypeFactoryUnitTest.hpp \
|
---|
| 51 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
---|
| 52 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
| 53 | ../Patterns/unittests/stubs/Cacheable_threeNumbers.hpp \
|
---|
| 54 | ../Patterns/unittests/stubs/CloneStub.hpp \
|
---|
| 55 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 56 | ../Patterns/unittests/stubs/CommonNamedStub.hpp \
|
---|
| 57 | ../Patterns/unittests/stubs/CommonParametersStub.hpp \
|
---|
| 58 | ../Patterns/unittests/stubs/CreatorStub.hpp \
|
---|
| 59 | ../Patterns/unittests/stubs/FactoryStub.hpp \
|
---|
| 60 | ../Patterns/unittests/stubs/ManipulableCloneStub.hpp \
|
---|
| 61 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \
|
---|
| 62 | ../Patterns/unittests/stubs/PrototypeFactoryStub.hpp \
|
---|
| 63 | ../Patterns/unittests/stubs/FactoryStub.def \
|
---|
| 64 | ../Patterns/unittests/stubs/FactoryStub.undef \
|
---|
| 65 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.def \
|
---|
| 66 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.undef \
|
---|
| 67 | ../Patterns/unittests/stubs/ObservedValue_threeNumbers.hpp \
|
---|
| 68 | ../Patterns/unittests/stubs/PrototypeFactoryStub.def \
|
---|
| 69 | ../Patterns/unittests/stubs/PrototypeFactoryStub.undef \
|
---|
| 70 | ../Patterns/unittests/stubs/RegistryStub.hpp
|
---|
| 71 |
|
---|
| 72 | check_PROGRAMS += $(TESTS)
|
---|
| 73 | noinst_PROGRAMS += $(TESTS)
|
---|
| 74 |
|
---|
| 75 | AtomicInstanceUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 76 | ../Patterns/unittests/AtomicInstanceUnitTest.cpp \
|
---|
| 77 | ../Patterns/unittests/AtomicInstanceUnitTest.hpp
|
---|
| 78 | AtomicInstanceUnitTest_LDADD = \
|
---|
| 79 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 80 |
|
---|
| 81 | CacheableUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 82 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
| 83 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
| 84 | ../Patterns/unittests/stubs/Cacheable_threeNumbers.cpp \
|
---|
| 85 | ../Patterns/unittests/stubs/Cacheable_threeNumbers.hpp
|
---|
| 86 | nodist_CacheableUnitTest_SOURCES = \
|
---|
| 87 | $(top_srcdir)/src/CodePatterns/Cachable.hpp \
|
---|
| 88 | $(top_srcdir)/src/CodePatterns/Observer/Observer.hpp \
|
---|
| 89 | $(top_srcdir)/src/CodePatterns/Observer/ObserverIterator.hpp
|
---|
| 90 | CacheableUnitTest_LDADD = \
|
---|
| 91 | ../Observer/libcodepatterns-Observer-debug.la \
|
---|
| 92 | ../Patterns/libcodepatterns-Patterns-debug.la \
|
---|
| 93 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 94 |
|
---|
| 95 | CloneUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 96 | ../Patterns/unittests/CloneUnitTest.cpp \
|
---|
| 97 | ../Patterns/unittests/CloneUnitTest.hpp \
|
---|
| 98 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 99 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 100 | ../Patterns/unittests/stubs/CloneStub.cpp \
|
---|
| 101 | ../Patterns/unittests/stubs/CloneStub.hpp
|
---|
| 102 | nodist_CloneUnitTest_SOURCES = \
|
---|
| 103 | $(top_srcdir)/src/CodePatterns/Clone.hpp
|
---|
| 104 | CloneUnitTest_LDADD = \
|
---|
| 105 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 106 |
|
---|
| 107 | CreatorUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 108 | ../Patterns/unittests/CreatorUnitTest.cpp \
|
---|
| 109 | ../Patterns/unittests/CreatorUnitTest.hpp \
|
---|
| 110 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 111 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 112 | ../Patterns/unittests/stubs/CreatorStub.hpp
|
---|
| 113 | nodist_CreatorUnitTest_SOURCES = \
|
---|
| 114 | $(top_srcdir)/src/CodePatterns/Creator.hpp
|
---|
| 115 | CreatorUnitTest_LDADD = \
|
---|
| 116 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 117 |
|
---|
| 118 | FactoryUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 119 | ../Patterns/unittests/FactoryUnitTest.cpp \
|
---|
| 120 | ../Patterns/unittests/FactoryUnitTest.hpp \
|
---|
| 121 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 122 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 123 | ../Patterns/unittests/stubs/CreatorStub.hpp \
|
---|
| 124 | ../Patterns/unittests/stubs/FactoryStub.hpp \
|
---|
| 125 | ../Patterns/unittests/stubs/FactoryStub.cpp
|
---|
| 126 | nodist_FactoryUnitTest_SOURCES = \
|
---|
| 127 | $(top_srcdir)/src/CodePatterns/Factory.hpp \
|
---|
| 128 | $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
|
---|
| 129 | $(top_srcdir)/src/CodePatterns/Factory_impl.hpp
|
---|
| 130 | FactoryUnitTest_LDADD = \
|
---|
| 131 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 132 |
|
---|
| 133 | ManipulableCloneUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 134 | ../Patterns/unittests/ManipulableCloneUnitTest.cpp \
|
---|
| 135 | ../Patterns/unittests/ManipulableCloneUnitTest.hpp \
|
---|
| 136 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 137 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 138 | ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
|
---|
| 139 | ../Patterns/unittests/stubs/ManipulableCloneStub.hpp
|
---|
| 140 | nodist_ManipulableCloneUnitTest_SOURCES = \
|
---|
| 141 | $(top_srcdir)/src/CodePatterns/ManipulableClone.hpp
|
---|
| 142 | ManipulableCloneUnitTest_LDADD = \
|
---|
| 143 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 144 |
|
---|
| 145 | ManipulablePrototypeFactoryUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 146 | ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \
|
---|
| 147 | ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \
|
---|
| 148 | ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
|
---|
| 149 | ../Patterns/unittests/stubs/ManipulableCloneStub.hpp \
|
---|
| 150 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 151 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 152 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \
|
---|
| 153 | ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp
|
---|
| 154 | nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \
|
---|
| 155 | $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory.hpp \
|
---|
| 156 | $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
|
---|
| 157 | $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory_impl.hpp
|
---|
| 158 | ManipulablePrototypeFactoryUnitTest_LDADD = \
|
---|
| 159 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 160 |
|
---|
| 161 | ObservedValueUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 162 | ../Patterns/unittests/ObservedValueUnitTest.cpp \
|
---|
| 163 | ../Patterns/unittests/ObservedValueUnitTest.hpp \
|
---|
| 164 | ../Patterns/unittests/stubs/ObservedValue_threeNumbers.cpp \
|
---|
| 165 | ../Patterns/unittests/stubs/ObservedValue_threeNumbers.hpp
|
---|
| 166 | nodist_ObservedValueUnitTest_SOURCES = \
|
---|
| 167 | $(top_srcdir)/src/CodePatterns/ObservedValue.hpp \
|
---|
| 168 | $(top_srcdir)/src/CodePatterns/Observer/Observer.hpp
|
---|
| 169 | ObservedValueUnitTest_LDADD = \
|
---|
| 170 | ../Observer/libcodepatterns-Observer-debug.la \
|
---|
| 171 | ../Patterns/libcodepatterns-Patterns-debug.la \
|
---|
| 172 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 173 |
|
---|
| 174 | PrototypeFactoryUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 175 | ../Patterns/unittests/PrototypeFactoryUnitTest.cpp \
|
---|
| 176 | ../Patterns/unittests/PrototypeFactoryUnitTest.hpp \
|
---|
| 177 | ../Patterns/unittests/stubs/CloneStub.cpp \
|
---|
| 178 | ../Patterns/unittests/stubs/CloneStub.hpp \
|
---|
| 179 | ../Patterns/unittests/stubs/CommonStub.cpp \
|
---|
| 180 | ../Patterns/unittests/stubs/CommonStub.hpp \
|
---|
| 181 | ../Patterns/unittests/stubs/PrototypeFactoryStub.hpp \
|
---|
| 182 | ../Patterns/unittests/stubs/PrototypeFactoryStub.cpp
|
---|
| 183 | nodist_PrototypeFactoryUnitTest_SOURCES = \
|
---|
| 184 | $(top_srcdir)/src/CodePatterns/PrototypeFactory.hpp \
|
---|
| 185 | $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
|
---|
| 186 | $(top_srcdir)/src/CodePatterns/PrototypeFactory_impl.hpp
|
---|
| 187 | PrototypeFactoryUnitTest_LDADD = \
|
---|
| 188 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 189 |
|
---|
| 190 | RegistryUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 191 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
---|
| 192 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
---|
| 193 | ../Patterns/unittests/stubs/CommonNamedStub.cpp \
|
---|
| 194 | ../Patterns/unittests/stubs/CommonNamedStub.hpp \
|
---|
| 195 | ../Patterns/unittests/stubs/RegistryStub.cpp \
|
---|
| 196 | ../Patterns/unittests/stubs/RegistryStub.hpp
|
---|
| 197 | nodist_RegistryUnitTest_SOURCES = \
|
---|
| 198 | $(top_srcdir)/src/CodePatterns/Registry.hpp \
|
---|
| 199 | $(top_srcdir)/src/CodePatterns/Registry_impl.hpp
|
---|
| 200 | RegistryUnitTest_LDADD = \
|
---|
| 201 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 202 |
|
---|
| 203 | SingletonUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
| 204 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
| 205 | ../Patterns/unittests/SingletonUnitTest.hpp
|
---|
| 206 | #nodist_SingletonUnitTest_SOURCES =
|
---|
| 207 | SingletonUnitTest_LDADD = \
|
---|
| 208 | ../Helpers/libcodepatterns-Helpers-debug.la
|
---|
| 209 |
|
---|
| 210 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|