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