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