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