1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | INCLUDES = -I$(top_srcdir)/LinearAlgebra/src
|
---|
5 |
|
---|
6 | MOSTLYCLEANFILES =
|
---|
7 | bin_PROGRAMS =
|
---|
8 | TESTS =
|
---|
9 | check_PROGRAMS =
|
---|
10 | noinst_PROGRAMS =
|
---|
11 | noinst_LTLIBRARIES =
|
---|
12 |
|
---|
13 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
14 | # Also indentation by a single tab
|
---|
15 |
|
---|
16 | FRAGMENTJOBSSOURCE = \
|
---|
17 | FragmentQueue.cpp \
|
---|
18 | JobId.cpp \
|
---|
19 | Jobs/FragmentJob.cpp \
|
---|
20 | Jobs/MPQCCommandJob.cpp \
|
---|
21 | Jobs/MPQCCommandJob_MPQCData.cpp \
|
---|
22 | Jobs/SystemCommandJob.cpp \
|
---|
23 | Results/FragmentResult.cpp
|
---|
24 |
|
---|
25 | FRAGMENTJOBSHEADER = \
|
---|
26 | FragmentQueue.hpp \
|
---|
27 | JobId.hpp \
|
---|
28 | Jobs/FragmentJob.hpp \
|
---|
29 | Jobs/MPQCCommandJob.hpp \
|
---|
30 | Jobs/MPQCCommandJob_MPQCData.hpp \
|
---|
31 | Jobs/SystemCommandJob.hpp \
|
---|
32 | Results/FragmentResult.hpp
|
---|
33 |
|
---|
34 | noinst_LTLIBRARIES += libMolecuilderFragmentJobs.la
|
---|
35 | libMolecuilderFragmentJobs_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
36 | nobase_libMolecuilderFragmentJobs_la_include_HEADERS = $(FRAGMENTJOBSHEADER)
|
---|
37 | libMolecuilderFragmentJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
38 | libMolecuilderFragmentJobs_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
39 | libMolecuilderFragmentJobs_la_SOURCES = $(FRAGMENTJOBSSOURCE)
|
---|
40 | libMolecuilderFragmentJobs_la_LIBADD = \
|
---|
41 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
42 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS)
|
---|
43 |
|
---|
44 | FRAGMENTATIONCOMMANDSSOURCE = \
|
---|
45 | Controller/Commands/AsyncOperation.cpp \
|
---|
46 | Controller/Commands/CheckResultsOperation.cpp \
|
---|
47 | Controller/Commands/EnrollInPoolOperation.cpp \
|
---|
48 | Controller/Commands/GetNextJobIdOperation.cpp \
|
---|
49 | Controller/Commands/ObtainJobOperation.cpp \
|
---|
50 | Controller/Commands/ReceiveJobsOperation.cpp \
|
---|
51 | Controller/Commands/RemoveFromPoolOperation.cpp \
|
---|
52 | Controller/Commands/SendJobToWorkerOperation.cpp \
|
---|
53 | Controller/Commands/SendResultsOperation.cpp \
|
---|
54 | Controller/Commands/ShutdownOperation.cpp \
|
---|
55 | Controller/Commands/ShutdownWorkerOperation.cpp \
|
---|
56 | Controller/Commands/SubmitResultOperation.cpp \
|
---|
57 | Controller/Commands/SyncOperation.cpp
|
---|
58 |
|
---|
59 | FRAGMENTATIONCOMMANDSHEADER = \
|
---|
60 | ControllerChoices.hpp \
|
---|
61 | Controller/Commands/AsyncOperation.hpp \
|
---|
62 | Controller/Commands/CheckResultsOperation.hpp \
|
---|
63 | Controller/Commands/EnrollInPoolOperation.hpp \
|
---|
64 | Controller/Commands/GetNextJobIdOperation.hpp \
|
---|
65 | Controller/Commands/ObtainJobOperation.hpp \
|
---|
66 | Controller/Commands/Operation.hpp \
|
---|
67 | Controller/Commands/ReceiveJobsOperation.hpp \
|
---|
68 | Controller/Commands/RemoveFromPoolOperation.hpp \
|
---|
69 | Controller/Commands/SendJobToWorkerOperation.hpp \
|
---|
70 | Controller/Commands/SendResultsOperation.hpp \
|
---|
71 | Controller/Commands/ShutdownOperation.hpp \
|
---|
72 | Controller/Commands/ShutdownWorkerOperation.hpp \
|
---|
73 | Controller/Commands/SubmitResultOperation.hpp \
|
---|
74 | Controller/Commands/SyncOperation.hpp \
|
---|
75 | WorkerChoices.hpp
|
---|
76 |
|
---|
77 | noinst_LTLIBRARIES += libMolecuilderFragmentationCommands.la
|
---|
78 | libMolecuilderFragmentationCommands_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
79 | nobase_libMolecuilderFragmentationCommands_la_include_HEADERS = $(FRAGMENTATIONCOMMANDSHEADER)
|
---|
80 | libMolecuilderFragmentationCommands_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
|
---|
81 | libMolecuilderFragmentationCommands_la_SOURCES = $(FRAGMENTATIONCOMMANDSSOURCE)
|
---|
82 |
|
---|
83 | FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
|
---|
84 | atexit.cpp \
|
---|
85 | GlobalJobId.cpp \
|
---|
86 | Listener.cpp \
|
---|
87 | WorkerAddress.cpp
|
---|
88 |
|
---|
89 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
90 | atexit.hpp \
|
---|
91 | GlobalJobId.hpp \
|
---|
92 | Listener.hpp \
|
---|
93 | WorkerAddress.hpp
|
---|
94 |
|
---|
95 | noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
|
---|
96 | libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
97 | nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
|
---|
98 | libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
99 | libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
|
---|
100 |
|
---|
101 | include unittests/Makefile.am
|
---|
102 |
|
---|
103 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
---|
104 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
105 |
|
---|
106 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
107 |
|
---|
108 | CONTROLLERSOURCE = \
|
---|
109 | Controller/CommandRegistry.cpp \
|
---|
110 | Controller/FragmentController.cpp
|
---|
111 |
|
---|
112 | CONTROLLERHEADER = \
|
---|
113 | Connection.hpp \
|
---|
114 | Controller/CommandRegistry.hpp \
|
---|
115 | Controller/FragmentController.hpp
|
---|
116 |
|
---|
117 | POOLWORKERSOURCE = \
|
---|
118 | Pool/PoolWorker.cpp
|
---|
119 |
|
---|
120 | POOLWORKERHEADER = \
|
---|
121 | Connection.hpp \
|
---|
122 | Pool/PoolWorker.hpp
|
---|
123 |
|
---|
124 | SERVERSOURCE = \
|
---|
125 | FragmentScheduler.cpp \
|
---|
126 | Pool/WorkerPool.cpp
|
---|
127 |
|
---|
128 | SERVERHEADER = \
|
---|
129 | Connection.hpp \
|
---|
130 | ControllerChoices.hpp \
|
---|
131 | FragmentScheduler.hpp \
|
---|
132 | Pool/WorkerPool.hpp
|
---|
133 |
|
---|
134 | Controller_SOURCES = $(CONTROLLERSOURCE) $(CONTROLLERHEADER) controller.cpp
|
---|
135 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
136 | Controller_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
137 | Controller_LDADD = \
|
---|
138 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
139 | libMolecuilderFragmentationCommands.la \
|
---|
140 | libMolecuilderFragmentJobs.la \
|
---|
141 | $(BOOST_ASIO_LIBS) \
|
---|
142 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
143 | $(BOOST_THREAD_LIBS) \
|
---|
144 | $(BOOST_SYSTEM_LIBS) \
|
---|
145 | ${CodePatterns_LIBS}
|
---|
146 |
|
---|
147 | PoolWorker_SOURCES = $(POOLWORKERSOURCE) $(POOLWORKERHEADER) poolworker.cpp
|
---|
148 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
149 | PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(BOOST_ASIO_DEBUG)
|
---|
150 | PoolWorker_LDADD = \
|
---|
151 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
152 | libMolecuilderFragmentationCommands.la \
|
---|
153 | libMolecuilderFragmentJobs.la \
|
---|
154 | $(BOOST_ASIO_LIBS) \
|
---|
155 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
156 | $(BOOST_THREAD_LIBS) \
|
---|
157 | $(BOOST_SYSTEM_LIBS) \
|
---|
158 | ${CodePatterns_LIBS}
|
---|
159 |
|
---|
160 | Server_SOURCES = $(SERVERSOURCE) $(SERVERHEADER) Server.cpp
|
---|
161 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
162 | Server_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
163 | Server_LDADD = \
|
---|
164 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
165 | libMolecuilderFragmentationCommands.la \
|
---|
166 | libMolecuilderFragmentJobs.la \
|
---|
167 | $(BOOST_ASIO_LIBS) \
|
---|
168 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
169 | $(BOOST_THREAD_LIBS) \
|
---|
170 | $(BOOST_SYSTEM_LIBS) \
|
---|
171 | ${CodePatterns_LIBS}
|
---|
172 |
|
---|