| 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 | CacheableUnitTest \
|
|---|
| 8 | CloneUnitTest \
|
|---|
| 9 | CreatorUnitTest \
|
|---|
| 10 | FactoryUnitTest \
|
|---|
| 11 | ManipulableCloneUnitTest \
|
|---|
| 12 | ManipulablePrototypeFactoryUnitTest \
|
|---|
| 13 | PrototypeFactoryUnitTest \
|
|---|
| 14 | RegistryUnitTest \
|
|---|
| 15 | SingletonUnitTest
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | check_PROGRAMS += $(TESTS)
|
|---|
| 19 | noinst_PROGRAMS += $(TESTS)
|
|---|
| 20 |
|
|---|
| 21 | CacheableUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 22 | Patterns/unittests/CacheableUnitTest.cpp \
|
|---|
| 23 | Patterns/unittests/CacheableUnitTest.hpp
|
|---|
| 24 | nodist_CacheableUnitTest_SOURCES = \
|
|---|
| 25 | Patterns/Cachable.hpp \
|
|---|
| 26 | Patterns/Observer.hpp \
|
|---|
| 27 | Patterns/ObserverIterator.hpp
|
|---|
| 28 | CacheableUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 29 |
|
|---|
| 30 | CloneUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 31 | Patterns/unittests/CloneUnitTest.cpp \
|
|---|
| 32 | Patterns/unittests/CloneUnitTest.hpp \
|
|---|
| 33 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 34 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 35 | Patterns/unittests/stubs/CloneStub.cpp \
|
|---|
| 36 | Patterns/unittests/stubs/CloneStub.hpp
|
|---|
| 37 | nodist_CloneUnitTest_SOURCES = \
|
|---|
| 38 | Patterns/Clone.hpp
|
|---|
| 39 | CloneUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 40 |
|
|---|
| 41 | CreatorUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 42 | Patterns/unittests/CreatorUnitTest.cpp \
|
|---|
| 43 | Patterns/unittests/CreatorUnitTest.hpp \
|
|---|
| 44 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 45 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 46 | Patterns/unittests/stubs/CreatorStub.hpp
|
|---|
| 47 | nodist_CreatorUnitTest_SOURCES = \
|
|---|
| 48 | Patterns/Creator.hpp
|
|---|
| 49 | CreatorUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 50 |
|
|---|
| 51 | FactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 52 | Patterns/unittests/FactoryUnitTest.cpp \
|
|---|
| 53 | Patterns/unittests/FactoryUnitTest.hpp \
|
|---|
| 54 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 55 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 56 | Patterns/unittests/stubs/CreatorStub.hpp \
|
|---|
| 57 | Patterns/unittests/stubs/FactoryStub.hpp \
|
|---|
| 58 | Patterns/unittests/stubs/FactoryStub.cpp
|
|---|
| 59 | nodist_FactoryUnitTest_SOURCES = \
|
|---|
| 60 | Patterns/Factory.hpp \
|
|---|
| 61 | Patterns/FactoryTypeList.hpp \
|
|---|
| 62 | Patterns/Factory_impl.hpp
|
|---|
| 63 | FactoryUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 64 |
|
|---|
| 65 | ManipulableCloneUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 66 | Patterns/unittests/ManipulableCloneUnitTest.cpp \
|
|---|
| 67 | Patterns/unittests/ManipulableCloneUnitTest.hpp \
|
|---|
| 68 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 69 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 70 | Patterns/unittests/stubs/ManipulableCloneStub.cpp \
|
|---|
| 71 | Patterns/unittests/stubs/ManipulableCloneStub.hpp
|
|---|
| 72 | nodist_ManipulableCloneUnitTest_SOURCES = \
|
|---|
| 73 | Patterns/ManipulableClone.hpp
|
|---|
| 74 | ManipulableCloneUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 75 |
|
|---|
| 76 | ManipulablePrototypeFactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 77 | Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \
|
|---|
| 78 | Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \
|
|---|
| 79 | Patterns/unittests/stubs/ManipulableCloneStub.cpp \
|
|---|
| 80 | Patterns/unittests/stubs/ManipulableCloneStub.hpp \
|
|---|
| 81 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 82 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 83 | Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \
|
|---|
| 84 | Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp
|
|---|
| 85 | nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \
|
|---|
| 86 | Patterns/ManipulablePrototypeFactory.hpp \
|
|---|
| 87 | Patterns/FactoryTypeList.hpp \
|
|---|
| 88 | Patterns/ManipulablePrototypeFactory_impl.hpp
|
|---|
| 89 | ManipulablePrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 90 |
|
|---|
| 91 | PrototypeFactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 92 | Patterns/unittests/PrototypeFactoryUnitTest.cpp \
|
|---|
| 93 | Patterns/unittests/PrototypeFactoryUnitTest.hpp \
|
|---|
| 94 | Patterns/unittests/stubs/CloneStub.cpp \
|
|---|
| 95 | Patterns/unittests/stubs/CloneStub.hpp \
|
|---|
| 96 | Patterns/unittests/stubs/CommonStub.cpp \
|
|---|
| 97 | Patterns/unittests/stubs/CommonStub.hpp \
|
|---|
| 98 | Patterns/unittests/stubs/PrototypeFactoryStub.hpp \
|
|---|
| 99 | Patterns/unittests/stubs/PrototypeFactoryStub.cpp
|
|---|
| 100 | nodist_PrototypeFactoryUnitTest_SOURCES = \
|
|---|
| 101 | Patterns/PrototypeFactory.hpp \
|
|---|
| 102 | Patterns/FactoryTypeList.hpp \
|
|---|
| 103 | Patterns/PrototypeFactory_impl.hpp
|
|---|
| 104 | PrototypeFactoryUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 105 |
|
|---|
| 106 | RegistryUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 107 | Patterns/unittests/RegistryUnitTest.cpp \
|
|---|
| 108 | Patterns/unittests/RegistryUnitTest.hpp \
|
|---|
| 109 | Patterns/unittests/stubs/CommonNamedStub.cpp \
|
|---|
| 110 | Patterns/unittests/stubs/CommonNamedStub.hpp \
|
|---|
| 111 | Patterns/unittests/stubs/RegistryStub.cpp \
|
|---|
| 112 | Patterns/unittests/stubs/RegistryStub.hpp
|
|---|
| 113 | nodist_RegistryUnitTest_SOURCES = \
|
|---|
| 114 | Patterns/unittests/Registry.hpp \
|
|---|
| 115 | Patterns/unittests/Registry_impl.hpp
|
|---|
| 116 | RegistryUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 117 |
|
|---|
| 118 | SingletonUnitTest_SOURCES = unittests/UnitTestMain.cpp \
|
|---|
| 119 | Patterns/unittests/SingletonUnitTest.cpp \
|
|---|
| 120 | Patterns/unittests/SingletonUnitTest.hpp
|
|---|
| 121 | #nodist_SingletonUnitTest_SOURCES =
|
|---|
| 122 | SingletonUnitTest_LDADD = $(TESTLIBS)
|
|---|
| 123 |
|
|---|
| 124 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|