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/SubmitResultOperation.cpp \
|
---|
56 | Controller/Commands/SyncOperation.cpp
|
---|
57 |
|
---|
58 | FRAGMENTATIONCOMMANDSHEADER = \
|
---|
59 | ControllerChoices.hpp \
|
---|
60 | Controller/Commands/AsyncOperation.hpp \
|
---|
61 | Controller/Commands/CheckResultsOperation.hpp \
|
---|
62 | Controller/Commands/EnrollInPoolOperation.hpp \
|
---|
63 | Controller/Commands/GetNextJobIdOperation.hpp \
|
---|
64 | Controller/Commands/ObtainJobOperation.hpp \
|
---|
65 | Controller/Commands/Operation.hpp \
|
---|
66 | Controller/Commands/ReceiveJobsOperation.hpp \
|
---|
67 | Controller/Commands/RemoveFromPoolOperation.hpp \
|
---|
68 | Controller/Commands/SendJobToWorkerOperation.hpp \
|
---|
69 | Controller/Commands/SendResultsOperation.hpp \
|
---|
70 | Controller/Commands/ShutdownOperation.hpp \
|
---|
71 | Controller/Commands/SubmitResultOperation.hpp \
|
---|
72 | Controller/Commands/SyncOperation.hpp \
|
---|
73 | WorkerChoices.hpp
|
---|
74 |
|
---|
75 | noinst_LTLIBRARIES += libMolecuilderFragmentationCommands.la
|
---|
76 | libMolecuilderFragmentationCommands_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
77 | nobase_libMolecuilderFragmentationCommands_la_include_HEADERS = $(FRAGMENTATIONCOMMANDSHEADER)
|
---|
78 | libMolecuilderFragmentationCommands_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
|
---|
79 | libMolecuilderFragmentationCommands_la_SOURCES = $(FRAGMENTATIONCOMMANDSSOURCE)
|
---|
80 |
|
---|
81 | FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
|
---|
82 | atexit.cpp \
|
---|
83 | GlobalJobId.cpp \
|
---|
84 | Listener.cpp \
|
---|
85 | WorkerAddress.cpp
|
---|
86 |
|
---|
87 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
88 | atexit.hpp \
|
---|
89 | GlobalJobId.hpp \
|
---|
90 | Listener.hpp \
|
---|
91 | WorkerAddress.hpp
|
---|
92 |
|
---|
93 | noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
|
---|
94 | libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
95 | nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
|
---|
96 | libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
97 | libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
|
---|
98 |
|
---|
99 | include unittests/Makefile.am
|
---|
100 |
|
---|
101 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
---|
102 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
103 |
|
---|
104 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
105 |
|
---|
106 | CONTROLLERSOURCE = \
|
---|
107 | Controller/CommandRegistry.cpp \
|
---|
108 | Controller/FragmentController.cpp
|
---|
109 |
|
---|
110 | CONTROLLERHEADER = \
|
---|
111 | Connection.hpp \
|
---|
112 | Controller/CommandRegistry.hpp \
|
---|
113 | Controller/FragmentController.hpp
|
---|
114 |
|
---|
115 | POOLWORKERSOURCE = \
|
---|
116 | Pool/PoolWorker.cpp
|
---|
117 |
|
---|
118 | POOLWORKERHEADER = \
|
---|
119 | Connection.hpp \
|
---|
120 | Pool/PoolWorker.hpp
|
---|
121 |
|
---|
122 | SERVERSOURCE = \
|
---|
123 | FragmentScheduler.cpp \
|
---|
124 | Pool/WorkerPool.cpp
|
---|
125 |
|
---|
126 | SERVERHEADER = \
|
---|
127 | Connection.hpp \
|
---|
128 | ControllerChoices.hpp \
|
---|
129 | FragmentScheduler.hpp \
|
---|
130 | Pool/WorkerPool.hpp
|
---|
131 |
|
---|
132 | Controller_SOURCES = $(CONTROLLERSOURCE) $(CONTROLLERHEADER) controller.cpp
|
---|
133 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
134 | Controller_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
135 | Controller_LDADD = \
|
---|
136 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
137 | libMolecuilderFragmentationCommands.la \
|
---|
138 | libMolecuilderFragmentJobs.la \
|
---|
139 | $(BOOST_ASIO_LIBS) \
|
---|
140 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
141 | $(BOOST_THREAD_LIBS) \
|
---|
142 | $(BOOST_SYSTEM_LIBS) \
|
---|
143 | ${CodePatterns_LIBS}
|
---|
144 |
|
---|
145 | PoolWorker_SOURCES = $(POOLWORKERSOURCE) $(POOLWORKERHEADER) poolworker.cpp
|
---|
146 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
147 | PoolWorker_CXXFLAGS = $(AM_CPPFLAGS) $(BOOST_ASIO_DEBUG)
|
---|
148 | PoolWorker_LDADD = \
|
---|
149 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
150 | libMolecuilderFragmentationCommands.la \
|
---|
151 | libMolecuilderFragmentJobs.la \
|
---|
152 | $(BOOST_ASIO_LIBS) \
|
---|
153 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
154 | $(BOOST_THREAD_LIBS) \
|
---|
155 | $(BOOST_SYSTEM_LIBS) \
|
---|
156 | ${CodePatterns_LIBS}
|
---|
157 |
|
---|
158 | Server_SOURCES = $(SERVERSOURCE) $(SERVERHEADER) Server.cpp
|
---|
159 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_ASIO_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS)
|
---|
160 | Server_CXXFLAGS = $(AM_CPPFLAGS)
|
---|
161 | Server_LDADD = \
|
---|
162 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
163 | libMolecuilderFragmentationCommands.la \
|
---|
164 | libMolecuilderFragmentJobs.la \
|
---|
165 | $(BOOST_ASIO_LIBS) \
|
---|
166 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
167 | $(BOOST_THREAD_LIBS) \
|
---|
168 | $(BOOST_SYSTEM_LIBS) \
|
---|
169 | ${CodePatterns_LIBS}
|
---|
170 |
|
---|