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 -I$(top_srcdir)/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 | FRAGMENTATIONOPERATIONSSOURCE = \
|
---|
45 | Operations/AsyncOperation.cpp \
|
---|
46 | Operations/OperationQueue.cpp \
|
---|
47 | Operations/SyncOperation.cpp \
|
---|
48 | Operations/Controllers/CheckResultsOperation.cpp \
|
---|
49 | Operations/Controllers/GetNextJobIdOperation.cpp \
|
---|
50 | Operations/Controllers/ReceiveResultsOperation.cpp \
|
---|
51 | Operations/Controllers/RemoveAllWorkerOperation.cpp \
|
---|
52 | Operations/Controllers/SendJobsOperation.cpp \
|
---|
53 | Operations/Controllers/ShutdownOperation.cpp \
|
---|
54 | Operations/Servers/SendJobToWorkerOperation.cpp \
|
---|
55 | Operations/Servers/ShutdownWorkerOperation.cpp \
|
---|
56 | Operations/Workers/EnrollInPoolOperation.cpp \
|
---|
57 | Operations/Workers/ObtainJobOperation.cpp \
|
---|
58 | Operations/Workers/RemoveFromPoolOperation.cpp \
|
---|
59 | Operations/Workers/SubmitResultOperation.cpp
|
---|
60 |
|
---|
61 | FRAGMENTATIONOPERATIONSHEADER = \
|
---|
62 | ControllerChoices.hpp \
|
---|
63 | Operations/AsyncOperation.hpp \
|
---|
64 | Operations/Operation.hpp \
|
---|
65 | Operations/OperationQueue.hpp \
|
---|
66 | Operations/SyncOperation.hpp \
|
---|
67 | Operations/Controllers/CheckResultsOperation.hpp \
|
---|
68 | Operations/Controllers/GetNextJobIdOperation.hpp \
|
---|
69 | Operations/Controllers/ReceiveResultsOperation.hpp \
|
---|
70 | Operations/Controllers/RemoveAllWorkerOperation.hpp \
|
---|
71 | Operations/Controllers/SendJobsOperation.hpp \
|
---|
72 | Operations/Controllers/ShutdownOperation.hpp \
|
---|
73 | Operations/Servers/SendJobToWorkerOperation.hpp \
|
---|
74 | Operations/Servers/ShutdownWorkerOperation.hpp \
|
---|
75 | Operations/Workers/EnrollInPoolOperation.hpp \
|
---|
76 | Operations/Workers/ObtainJobOperation.hpp \
|
---|
77 | Operations/Workers/RemoveFromPoolOperation.hpp \
|
---|
78 | Operations/Workers/SubmitResultOperation.hpp \
|
---|
79 | WorkerChoices.hpp
|
---|
80 |
|
---|
81 | noinst_LTLIBRARIES += libMolecuilderFragmentationOperations.la
|
---|
82 | libMolecuilderFragmentationOperations_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
83 | nobase_libMolecuilderFragmentationOperations_la_include_HEADERS = $(FRAGMENTATIONOPERATIONSHEADER)
|
---|
84 | libMolecuilderFragmentationOperations_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
|
---|
85 | libMolecuilderFragmentationOperations_la_SOURCES = $(FRAGMENTATIONOPERATIONSSOURCE)
|
---|
86 |
|
---|
87 | FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
|
---|
88 | atexit.cpp \
|
---|
89 | GlobalJobId.cpp \
|
---|
90 | Listener.cpp \
|
---|
91 | WorkerAddress.cpp
|
---|
92 |
|
---|
93 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
94 | atexit.hpp \
|
---|
95 | GlobalJobId.hpp \
|
---|
96 | Listener.hpp \
|
---|
97 | WorkerAddress.hpp
|
---|
98 |
|
---|
99 | noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
|
---|
100 | libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
101 | nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
|
---|
102 | libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
103 | libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
|
---|
104 |
|
---|
105 | include unittests/Makefile.am
|
---|
106 |
|
---|
107 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
---|
108 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
109 |
|
---|
110 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
111 |
|
---|
112 | CONTROLLERSOURCE = \
|
---|
113 | FragmentController.cpp \
|
---|
114 | Operations/OperationRegistry.cpp
|
---|
115 |
|
---|
116 | CONTROLLERHEADER = \
|
---|
117 | Connection.hpp \
|
---|
118 | FragmentController.hpp \
|
---|
119 | Operations/OperationRegistry.hpp
|
---|
120 |
|
---|
121 | POOLWORKERSOURCE = \
|
---|
122 | Pool/PoolWorker.cpp
|
---|
123 |
|
---|
124 | POOLWORKERHEADER = \
|
---|
125 | Connection.hpp \
|
---|
126 | Pool/PoolWorker.hpp
|
---|
127 |
|
---|
128 | SERVERSOURCE = \
|
---|
129 | FragmentScheduler.cpp \
|
---|
130 | Pool/WorkerPool.cpp
|
---|
131 |
|
---|
132 | SERVERHEADER = \
|
---|
133 | Connection.hpp \
|
---|
134 | ControllerChoices.hpp \
|
---|
135 | FragmentScheduler.hpp \
|
---|
136 | Pool/WorkerPool.hpp
|
---|
137 |
|
---|
138 | Controller_SOURCES = $(CONTROLLERSOURCE) $(CONTROLLERHEADER) controller.cpp
|
---|
139 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
140 | Controller_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
141 | Controller_LDADD = \
|
---|
142 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
143 | libMolecuilderFragmentationOperations.la \
|
---|
144 | libMolecuilderFragmentJobs.la \
|
---|
145 | $(top_builddir)/src/libMolecuilderFragmentation.la \
|
---|
146 | $(top_builddir)/src/libMolecuilderHelpers.la \
|
---|
147 | $(BOOST_ASIO_LIBS) \
|
---|
148 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
149 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
150 | $(BOOST_THREAD_LIBS) \
|
---|
151 | $(BOOST_SYSTEM_LIBS) \
|
---|
152 | ${CodePatterns_LIBS}
|
---|
153 |
|
---|
154 | PoolWorker_SOURCES = $(POOLWORKERSOURCE) $(POOLWORKERHEADER) poolworker.cpp
|
---|
155 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
156 | PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(BOOST_ASIO_DEBUG)
|
---|
157 | PoolWorker_LDADD = \
|
---|
158 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
159 | libMolecuilderFragmentationOperations.la \
|
---|
160 | libMolecuilderFragmentJobs.la \
|
---|
161 | $(BOOST_ASIO_LIBS) \
|
---|
162 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
163 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
164 | $(BOOST_THREAD_LIBS) \
|
---|
165 | $(BOOST_SYSTEM_LIBS) \
|
---|
166 | ${CodePatterns_LIBS}
|
---|
167 |
|
---|
168 | Server_SOURCES = $(SERVERSOURCE) $(SERVERHEADER) Server.cpp
|
---|
169 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
170 | Server_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
171 | Server_LDADD = \
|
---|
172 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
173 | libMolecuilderFragmentationOperations.la \
|
---|
174 | libMolecuilderFragmentJobs.la \
|
---|
175 | $(BOOST_ASIO_LIBS) \
|
---|
176 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
177 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
178 | $(BOOST_THREAD_LIBS) \
|
---|
179 | $(BOOST_SYSTEM_LIBS) \
|
---|
180 | ${CodePatterns_LIBS}
|
---|
181 |
|
---|