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