| [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 \
 | 
|---|
 | 13 |         PrototypeFactoryUnitTest \
 | 
|---|
 | 14 |         RegistryUnitTest \
 | 
|---|
 | 15 |         SingletonUnitTest
 | 
|---|
| [a80f419] | 16 | 
 | 
|---|
| [3324cf] | 17 | TESTSOURCES += \
 | 
|---|
| [9b8fa4] | 18 |         ../Patterns/unittests/CacheableUnitTest.cpp \
 | 
|---|
 | 19 |         ../Patterns/unittests/CloneUnitTest.cpp \
 | 
|---|
 | 20 |         ../Patterns/unittests/CreatorUnitTest.cpp \
 | 
|---|
 | 21 |         ../Patterns/unittests/FactoryUnitTest.cpp \
 | 
|---|
 | 22 |         ../Patterns/unittests/ManipulableCloneUnitTest.cpp \
 | 
|---|
 | 23 |         ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \
 | 
|---|
 | 24 |         ../Patterns/unittests/PrototypeFactoryUnitTest.cpp \
 | 
|---|
 | 25 |         ../Patterns/unittests/RegistryUnitTest.cpp \
 | 
|---|
 | 26 |         ../Patterns/unittests/SingletonUnitTest.cpp \
 | 
|---|
 | 27 |         ../Patterns/unittests/stubs/CloneStub.cpp \
 | 
|---|
 | 28 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 29 |         ../Patterns/unittests/stubs/CommonNamedStub.cpp \
 | 
|---|
 | 30 |         ../Patterns/unittests/stubs/FactoryStub.cpp \
 | 
|---|
 | 31 |         ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
 | 
|---|
 | 32 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp \
 | 
|---|
 | 33 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.cpp \
 | 
|---|
 | 34 |         ../Patterns/unittests/stubs/RegistryStub.cpp
 | 
|---|
| [3324cf] | 35 | 
 | 
|---|
 | 36 | TESTHEADERS += \
 | 
|---|
| [9b8fa4] | 37 |         ../Patterns/unittests/CacheableUnitTest.hpp \
 | 
|---|
 | 38 |         ../Patterns/unittests/CloneUnitTest.hpp \
 | 
|---|
 | 39 |         ../Patterns/unittests/CreatorUnitTest.hpp \
 | 
|---|
 | 40 |         ../Patterns/unittests/FactoryUnitTest.hpp \
 | 
|---|
 | 41 |         ../Patterns/unittests/ManipulableCloneUnitTest.hpp \
 | 
|---|
 | 42 |         ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \
 | 
|---|
 | 43 |         ../Patterns/unittests/PrototypeFactoryUnitTest.hpp \
 | 
|---|
 | 44 |         ../Patterns/unittests/RegistryUnitTest.hpp \
 | 
|---|
 | 45 |         ../Patterns/unittests/SingletonUnitTest.hpp \
 | 
|---|
 | 46 |         ../Patterns/unittests/stubs/CloneStub.hpp \
 | 
|---|
 | 47 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 48 |         ../Patterns/unittests/stubs/CommonNamedStub.hpp \
 | 
|---|
 | 49 |         ../Patterns/unittests/stubs/CommonParametersStub.hpp \
 | 
|---|
 | 50 |         ../Patterns/unittests/stubs/CreatorStub.hpp \
 | 
|---|
 | 51 |         ../Patterns/unittests/stubs/FactoryStub.hpp \
 | 
|---|
 | 52 |         ../Patterns/unittests/stubs/ManipulableCloneStub.hpp \
 | 
|---|
 | 53 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \
 | 
|---|
 | 54 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.hpp \
 | 
|---|
 | 55 |         ../Patterns/unittests/stubs/FactoryStub.def \
 | 
|---|
 | 56 |         ../Patterns/unittests/stubs/FactoryStub.undef \
 | 
|---|
 | 57 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.def \
 | 
|---|
 | 58 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.undef \
 | 
|---|
 | 59 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.def \
 | 
|---|
 | 60 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.undef \
 | 
|---|
 | 61 |         ../Patterns/unittests/stubs/RegistryStub.hpp
 | 
|---|
| [a80f419] | 62 | 
 | 
|---|
| [2ed1a0] | 63 | check_PROGRAMS += $(TESTS) 
 | 
|---|
 | 64 | noinst_PROGRAMS += $(TESTS)
 | 
|---|
| [a80f419] | 65 | 
 | 
|---|
| [3324cf] | 66 | CacheableUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 67 |         ../Patterns/unittests/CacheableUnitTest.cpp \
 | 
|---|
 | 68 |         ../Patterns/unittests/CacheableUnitTest.hpp
 | 
|---|
| [192c04] | 69 | nodist_CacheableUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 70 |         $(top_srcdir)/src/CodePatterns/Cachable.hpp \
 | 
|---|
 | 71 |         $(top_srcdir)/src/CodePatterns/Observer/Observer.hpp \
 | 
|---|
 | 72 |         $(top_srcdir)/src/CodePatterns/Observer/ObserverIterator.hpp
 | 
|---|
| [3324cf] | 73 | CacheableUnitTest_LDADD = \
 | 
|---|
| [9b8fa4] | 74 |         ../Observer/libCodePatterns-Observer-debug.la \
 | 
|---|
| [3324cf] | 75 |         ../Patterns/libCodePatterns-Patterns-debug.la \
 | 
|---|
| [e46aa0] | 76 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [a80f419] | 77 | 
 | 
|---|
| [3324cf] | 78 | CloneUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 79 |         ../Patterns/unittests/CloneUnitTest.cpp \
 | 
|---|
 | 80 |         ../Patterns/unittests/CloneUnitTest.hpp \
 | 
|---|
 | 81 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 82 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 83 |         ../Patterns/unittests/stubs/CloneStub.cpp \
 | 
|---|
 | 84 |         ../Patterns/unittests/stubs/CloneStub.hpp
 | 
|---|
| [192c04] | 85 | nodist_CloneUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 86 |         $(top_srcdir)/src/CodePatterns/Clone.hpp
 | 
|---|
| [3324cf] | 87 | CloneUnitTest_LDADD = \
 | 
|---|
 | 88 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [1afcbe] | 89 | 
 | 
|---|
| [3324cf] | 90 | CreatorUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 91 |         ../Patterns/unittests/CreatorUnitTest.cpp \
 | 
|---|
 | 92 |         ../Patterns/unittests/CreatorUnitTest.hpp \
 | 
|---|
 | 93 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 94 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 95 |         ../Patterns/unittests/stubs/CreatorStub.hpp
 | 
|---|
| [192c04] | 96 | nodist_CreatorUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 97 |         $(top_srcdir)/src/CodePatterns/Creator.hpp
 | 
|---|
| [3324cf] | 98 | CreatorUnitTest_LDADD = \
 | 
|---|
 | 99 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [746ff1] | 100 | 
 | 
|---|
| [3324cf] | 101 | FactoryUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 102 |         ../Patterns/unittests/FactoryUnitTest.cpp \
 | 
|---|
 | 103 |         ../Patterns/unittests/FactoryUnitTest.hpp \
 | 
|---|
 | 104 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 105 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 106 |         ../Patterns/unittests/stubs/CreatorStub.hpp \
 | 
|---|
 | 107 |         ../Patterns/unittests/stubs/FactoryStub.hpp \
 | 
|---|
 | 108 |         ../Patterns/unittests/stubs/FactoryStub.cpp
 | 
|---|
| [192c04] | 109 | nodist_FactoryUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 110 |         $(top_srcdir)/src/CodePatterns/Factory.hpp \
 | 
|---|
 | 111 |         $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
 | 
|---|
 | 112 |         $(top_srcdir)/src/CodePatterns/Factory_impl.hpp
 | 
|---|
| [3324cf] | 113 | FactoryUnitTest_LDADD = \
 | 
|---|
 | 114 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [8dd38e] | 115 | 
 | 
|---|
| [3324cf] | 116 | ManipulableCloneUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 117 |         ../Patterns/unittests/ManipulableCloneUnitTest.cpp \
 | 
|---|
 | 118 |         ../Patterns/unittests/ManipulableCloneUnitTest.hpp \
 | 
|---|
 | 119 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 120 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 121 |         ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
 | 
|---|
 | 122 |         ../Patterns/unittests/stubs/ManipulableCloneStub.hpp
 | 
|---|
| [192c04] | 123 | nodist_ManipulableCloneUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 124 |         $(top_srcdir)/src/CodePatterns/ManipulableClone.hpp
 | 
|---|
| [3324cf] | 125 | ManipulableCloneUnitTest_LDADD = \
 | 
|---|
 | 126 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [8dd38e] | 127 | 
 | 
|---|
| [3324cf] | 128 | ManipulablePrototypeFactoryUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 129 |         ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \
 | 
|---|
 | 130 |         ../Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \
 | 
|---|
 | 131 |         ../Patterns/unittests/stubs/ManipulableCloneStub.cpp \
 | 
|---|
 | 132 |         ../Patterns/unittests/stubs/ManipulableCloneStub.hpp \
 | 
|---|
 | 133 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 134 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 135 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \
 | 
|---|
 | 136 |         ../Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp
 | 
|---|
| [192c04] | 137 | nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 138 |         $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory.hpp \
 | 
|---|
 | 139 |         $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
 | 
|---|
 | 140 |         $(top_srcdir)/src/CodePatterns/ManipulablePrototypeFactory_impl.hpp
 | 
|---|
| [3324cf] | 141 | ManipulablePrototypeFactoryUnitTest_LDADD = \
 | 
|---|
 | 142 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [746ff1] | 143 | 
 | 
|---|
| [3324cf] | 144 | PrototypeFactoryUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 145 |         ../Patterns/unittests/PrototypeFactoryUnitTest.cpp \
 | 
|---|
 | 146 |         ../Patterns/unittests/PrototypeFactoryUnitTest.hpp \
 | 
|---|
 | 147 |         ../Patterns/unittests/stubs/CloneStub.cpp \
 | 
|---|
 | 148 |         ../Patterns/unittests/stubs/CloneStub.hpp \
 | 
|---|
 | 149 |         ../Patterns/unittests/stubs/CommonStub.cpp \
 | 
|---|
 | 150 |         ../Patterns/unittests/stubs/CommonStub.hpp \
 | 
|---|
 | 151 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.hpp \
 | 
|---|
 | 152 |         ../Patterns/unittests/stubs/PrototypeFactoryStub.cpp
 | 
|---|
| [192c04] | 153 | nodist_PrototypeFactoryUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 154 |         $(top_srcdir)/src/CodePatterns/PrototypeFactory.hpp \
 | 
|---|
 | 155 |         $(top_srcdir)/src/CodePatterns/FactoryTypeList.hpp \
 | 
|---|
 | 156 |         $(top_srcdir)/src/CodePatterns/PrototypeFactory_impl.hpp
 | 
|---|
| [3324cf] | 157 | PrototypeFactoryUnitTest_LDADD = \
 | 
|---|
 | 158 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [d76c105] | 159 | 
 | 
|---|
| [3324cf] | 160 | RegistryUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 161 |         ../Patterns/unittests/RegistryUnitTest.cpp \
 | 
|---|
 | 162 |         ../Patterns/unittests/RegistryUnitTest.hpp \
 | 
|---|
 | 163 |         ../Patterns/unittests/stubs/CommonNamedStub.cpp \
 | 
|---|
 | 164 |         ../Patterns/unittests/stubs/CommonNamedStub.hpp \
 | 
|---|
 | 165 |         ../Patterns/unittests/stubs/RegistryStub.cpp \
 | 
|---|
 | 166 |         ../Patterns/unittests/stubs/RegistryStub.hpp
 | 
|---|
| [fe056c] | 167 | nodist_RegistryUnitTest_SOURCES = \
 | 
|---|
| [9b8fa4] | 168 |         $(top_srcdir)/src/CodePatterns/Registry.hpp \
 | 
|---|
 | 169 |         $(top_srcdir)/src/CodePatterns/Registry_impl.hpp
 | 
|---|
| [3324cf] | 170 | RegistryUnitTest_LDADD = \
 | 
|---|
 | 171 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [a80f419] | 172 | 
 | 
|---|
| [3324cf] | 173 | SingletonUnitTest_SOURCES = UnitTestMain.cpp \
 | 
|---|
 | 174 |         ../Patterns/unittests/SingletonUnitTest.cpp \
 | 
|---|
 | 175 |         ../Patterns/unittests/SingletonUnitTest.hpp
 | 
|---|
| [192c04] | 176 | #nodist_SingletonUnitTest_SOURCES =
 | 
|---|
| [3324cf] | 177 | SingletonUnitTest_LDADD = \
 | 
|---|
 | 178 |         ../Helpers/libCodePatterns-Helpers-debug.la
 | 
|---|
| [a80f419] | 179 | 
 | 
|---|
 | 180 | #AUTOMAKE_OPTIONS = parallel-tests
 | 
|---|