1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | MOSTLYCLEANFILES =
|
---|
5 | bin_PROGRAMS =
|
---|
6 | TESTS =
|
---|
7 | check_PROGRAMS =
|
---|
8 | noinst_PROGRAMS =
|
---|
9 | noinst_LTLIBRARIES =
|
---|
10 | lib_LTLIBRARIES =
|
---|
11 |
|
---|
12 | AM_LDFLAGS = ${CodePatterns_LDFLAGS} $(CPPUNIT_LDFLAGS) -ldl
|
---|
13 | AM_CPPFLAGS = -I$(top_srcdir)/src $(CPPUNIT_CFLAGS) $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS}
|
---|
14 |
|
---|
15 | FRAGMENTATIONAUTOMATIONTESTSSOURCES = \
|
---|
16 | FragmentJobUnitTest.cpp \
|
---|
17 | FragmentResultUnitTest.cpp \
|
---|
18 | FragmentQueueUnitTest.cpp \
|
---|
19 | OperationQueueUnitTest.cpp \
|
---|
20 | SystemCommandJobUnitTest.cpp \
|
---|
21 | WorkerAddressUnitTest.cpp \
|
---|
22 | WorkerPoolUnitTest.cpp
|
---|
23 |
|
---|
24 | FRAGMENTATIONAUTOMATIONTESTSHEADERS = \
|
---|
25 | FragmentJobUnitTest.hpp \
|
---|
26 | FragmentResultUnitTest.hpp \
|
---|
27 | FragmentQueueUnitTest.hpp \
|
---|
28 | OperationQueueUnitTest.hpp \
|
---|
29 | SystemCommandJobUnitTest.hpp \
|
---|
30 | WorkerAddressUnitTest.hpp \
|
---|
31 | WorkerPoolUnitTest.hpp
|
---|
32 |
|
---|
33 | FRAGMENTATIONAUTOMATIONTESTS = \
|
---|
34 | FragmentJobUnitTest \
|
---|
35 | FragmentResultUnitTest \
|
---|
36 | FragmentQueueUnitTest \
|
---|
37 | OperationQueueUnitTest \
|
---|
38 | SystemCommandJobUnitTest \
|
---|
39 | WorkerAddressUnitTest \
|
---|
40 | WorkerPoolUnitTest
|
---|
41 |
|
---|
42 |
|
---|
43 | TESTS += $(FRAGMENTATIONAUTOMATIONTESTS)
|
---|
44 | check_PROGRAMS += $(FRAGMENTATIONAUTOMATIONTESTS)
|
---|
45 | noinst_PROGRAMS += $(FRAGMENTATIONAUTOMATIONTESTS)
|
---|
46 |
|
---|
47 | FRAGMENTATIONAUTOMATIONLIBS = \
|
---|
48 | ../JobMarket/libJobMarketJobs.la \
|
---|
49 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
|
---|
50 | $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS) \
|
---|
51 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
|
---|
52 | ${CodePatterns_LIBS} \
|
---|
53 | $(CPPUNIT_LIBS)
|
---|
54 |
|
---|
55 | FragmentJobUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
56 | FragmentJobUnitTest.cpp \
|
---|
57 | FragmentJobUnitTest.hpp \
|
---|
58 | stubs/FragmentResultStub.cpp \
|
---|
59 | stubs/FragmentJobStub.cpp \
|
---|
60 | stubs/FragmentJobStub.hpp
|
---|
61 | FragmentJobUnitTest_LDADD = \
|
---|
62 | ${FRAGMENTATIONAUTOMATIONLIBS}
|
---|
63 |
|
---|
64 | FragmentQueueUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
65 | FragmentQueueUnitTest.cpp \
|
---|
66 | FragmentQueueUnitTest.hpp \
|
---|
67 | stubs/FragmentJobStub.cpp \
|
---|
68 | stubs/FragmentJobStub.hpp \
|
---|
69 | stubs/ObserverStub.cpp \
|
---|
70 | stubs/ObserverStub.hpp
|
---|
71 | FragmentQueueUnitTest_LDADD = \
|
---|
72 | ${FRAGMENTATIONAUTOMATIONLIBS}
|
---|
73 |
|
---|
74 | FragmentResultUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
75 | FragmentResultUnitTest.cpp \
|
---|
76 | FragmentResultUnitTest.hpp
|
---|
77 | FragmentResultUnitTest_LDADD = \
|
---|
78 | ${FRAGMENTATIONAUTOMATIONLIBS}
|
---|
79 |
|
---|
80 | OperationQueueUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
81 | OperationQueueUnitTest.cpp \
|
---|
82 | OperationQueueUnitTest.hpp \
|
---|
83 | stubs/AsyncOperationStub.hpp
|
---|
84 | OperationQueueUnitTest_LDADD = \
|
---|
85 | ../JobMarket/libJobMarketOperations.la \
|
---|
86 | ../JobMarket/libJobMarketJobs.la \
|
---|
87 | ../JobMarket/libJobMarketHelper.la \
|
---|
88 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
|
---|
89 | ${CodePatterns_LIBS} \
|
---|
90 | $(CPPUNIT_LIBS)
|
---|
91 |
|
---|
92 | SystemCommandJobUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
93 | SystemCommandJobUnitTest.cpp \
|
---|
94 | SystemCommandJobUnitTest.hpp
|
---|
95 | SystemCommandJobUnitTest_LDADD = \
|
---|
96 | ${FRAGMENTATIONAUTOMATIONLIBS} \
|
---|
97 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS) \
|
---|
98 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS)
|
---|
99 |
|
---|
100 | WorkerAddressUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
101 | WorkerAddressUnitTest.cpp \
|
---|
102 | WorkerAddressUnitTest.hpp
|
---|
103 | WorkerAddressUnitTest_LDADD = \
|
---|
104 | ../JobMarket/libJobMarketHelper.la \
|
---|
105 | ${FRAGMENTATIONAUTOMATIONLIBS}
|
---|
106 |
|
---|
107 | WorkerPoolUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
108 | WorkerPoolUnitTest.cpp \
|
---|
109 | WorkerPoolUnitTest.hpp \
|
---|
110 | stubs/ObserverStub.cpp \
|
---|
111 | stubs/ObserverStub.hpp
|
---|
112 | WorkerPoolUnitTest_LDADD = \
|
---|
113 | ../JobMarket/libJobMarketPool.la \
|
---|
114 | ../JobMarket/libJobMarketHelper.la \
|
---|
115 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
|
---|
116 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
|
---|
117 | ${CodePatterns_LIBS} \
|
---|
118 | $(CPPUNIT_LIBS)
|
---|
119 |
|
---|
120 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|