[d0b3aca] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[cc276e] | 4 | INCLUDES = -I$(top_srcdir)/LinearAlgebra/src
|
---|
| 5 |
|
---|
[d0b3aca] | 6 | MOSTLYCLEANFILES =
|
---|
| 7 | bin_PROGRAMS =
|
---|
[b5ebb5] | 8 | TESTS =
|
---|
| 9 | check_PROGRAMS =
|
---|
| 10 | noinst_PROGRAMS =
|
---|
[cde0fe] | 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 \
|
---|
[f0834d] | 18 | JobId.cpp \
|
---|
[7670865] | 19 | Jobs/FragmentJob.cpp \
|
---|
[cc276e] | 20 | Jobs/MPQCCommandJob.cpp \
|
---|
| 21 | Jobs/MPQCCommandJob_MPQCData.cpp \
|
---|
[d920b9] | 22 | Jobs/SystemCommandJob.cpp \
|
---|
[7670865] | 23 | Results/FragmentResult.cpp
|
---|
[cde0fe] | 24 |
|
---|
| 25 | FRAGMENTJOBSHEADER = \
|
---|
| 26 | FragmentQueue.hpp \
|
---|
[f0834d] | 27 | JobId.hpp \
|
---|
[7670865] | 28 | Jobs/FragmentJob.hpp \
|
---|
[cc276e] | 29 | Jobs/MPQCCommandJob.hpp \
|
---|
| 30 | Jobs/MPQCCommandJob_MPQCData.hpp \
|
---|
[d920b9] | 31 | Jobs/SystemCommandJob.hpp \
|
---|
[7670865] | 32 | Results/FragmentResult.hpp
|
---|
[cde0fe] | 33 |
|
---|
| 34 | noinst_LTLIBRARIES += libMolecuilderFragmentJobs.la
|
---|
| 35 | libMolecuilderFragmentJobs_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
[1dc209] | 36 | nobase_libMolecuilderFragmentJobs_la_include_HEADERS = $(FRAGMENTJOBSHEADER)
|
---|
[cc276e] | 37 | libMolecuilderFragmentJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
| 38 | libMolecuilderFragmentJobs_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
[1dc209] | 39 | libMolecuilderFragmentJobs_la_SOURCES = $(FRAGMENTJOBSSOURCE)
|
---|
[d920b9] | 40 | libMolecuilderFragmentJobs_la_LIBADD = \
|
---|
| 41 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 42 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS)
|
---|
[cde0fe] | 43 |
|
---|
[8d7917] | 44 | FRAGMENTATIONCOMMANDSSOURCE = \
|
---|
[f98c8e] | 45 | Controller/Commands/AsyncOperation.cpp \
|
---|
[167b63] | 46 | Controller/Commands/CheckResultsOperation.cpp \
|
---|
[41c1b7] | 47 | Controller/Commands/EnrollInPoolOperation.cpp \
|
---|
[d1dbfc] | 48 | Controller/Commands/GetNextJobIdOperation.cpp \
|
---|
[41c1b7] | 49 | Controller/Commands/ObtainJobOperation.cpp \
|
---|
[167b63] | 50 | Controller/Commands/ReceiveJobsOperation.cpp \
|
---|
[a8f54b6] | 51 | Controller/Commands/RemoveFromPoolOperation.cpp \
|
---|
[41c1b7] | 52 | Controller/Commands/SendJobToWorkerOperation.cpp \
|
---|
[167b63] | 53 | Controller/Commands/SendResultsOperation.cpp \
|
---|
[ff60cfa] | 54 | Controller/Commands/ShutdownOperation.cpp \
|
---|
[701bbc] | 55 | Controller/Commands/SubmitResultOperation.cpp \
|
---|
| 56 | Controller/Commands/SyncOperation.cpp
|
---|
[cde0fe] | 57 |
|
---|
[8d7917] | 58 | FRAGMENTATIONCOMMANDSHEADER = \
|
---|
[1dc209] | 59 | ControllerChoices.hpp \
|
---|
[f98c8e] | 60 | Controller/Commands/AsyncOperation.hpp \
|
---|
[167b63] | 61 | Controller/Commands/CheckResultsOperation.hpp \
|
---|
[41c1b7] | 62 | Controller/Commands/EnrollInPoolOperation.hpp \
|
---|
[d1dbfc] | 63 | Controller/Commands/GetNextJobIdOperation.hpp \
|
---|
[41c1b7] | 64 | Controller/Commands/ObtainJobOperation.hpp \
|
---|
[701bbc] | 65 | Controller/Commands/Operation.hpp \
|
---|
[167b63] | 66 | Controller/Commands/ReceiveJobsOperation.hpp \
|
---|
[a8f54b6] | 67 | Controller/Commands/RemoveFromPoolOperation.hpp \
|
---|
[41c1b7] | 68 | Controller/Commands/SendJobToWorkerOperation.hpp \
|
---|
[167b63] | 69 | Controller/Commands/SendResultsOperation.hpp \
|
---|
[ff60cfa] | 70 | Controller/Commands/ShutdownOperation.hpp \
|
---|
[701bbc] | 71 | Controller/Commands/SubmitResultOperation.hpp \
|
---|
[a8f54b6] | 72 | Controller/Commands/SyncOperation.hpp \
|
---|
| 73 | WorkerChoices.hpp
|
---|
[8d7917] | 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 \
|
---|
[41c1b7] | 83 | GlobalJobId.cpp \
|
---|
| 84 | Listener.cpp \
|
---|
| 85 | WorkerAddress.cpp
|
---|
[8d7917] | 86 |
|
---|
| 87 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
| 88 | atexit.hpp \
|
---|
[41c1b7] | 89 | GlobalJobId.hpp \
|
---|
| 90 | Listener.hpp \
|
---|
| 91 | WorkerAddress.hpp
|
---|
[cde0fe] | 92 |
|
---|
[8d7917] | 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)
|
---|
[b5ebb5] | 98 |
|
---|
| 99 | include unittests/Makefile.am
|
---|
[d0b3aca] | 100 |
|
---|
| 101 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
---|
| 102 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
| 103 |
|
---|
[41c1b7] | 104 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
[db03d9] | 105 |
|
---|
[8d7917] | 106 | CONTROLLERSOURCE = \
|
---|
| 107 | Controller/CommandRegistry.cpp \
|
---|
| 108 | Controller/FragmentController.cpp
|
---|
[db03d9] | 109 |
|
---|
| 110 | CONTROLLERHEADER = \
|
---|
[8d7917] | 111 | Connection.hpp \
|
---|
| 112 | Controller/CommandRegistry.hpp \
|
---|
| 113 | Controller/FragmentController.hpp
|
---|
[d0b3aca] | 114 |
|
---|
[41c1b7] | 115 | POOLWORKERSOURCE = \
|
---|
| 116 | Pool/PoolWorker.cpp
|
---|
| 117 |
|
---|
| 118 | POOLWORKERHEADER = \
|
---|
| 119 | Connection.hpp \
|
---|
| 120 | Pool/PoolWorker.hpp
|
---|
| 121 |
|
---|
[b05673] | 122 | SERVERSOURCE = \
|
---|
[8036b7] | 123 | FragmentScheduler.cpp \
|
---|
[41c1b7] | 124 | Pool/WorkerPool.cpp
|
---|
[b05673] | 125 |
|
---|
| 126 | SERVERHEADER = \
|
---|
[af3aed] | 127 | Connection.hpp \
|
---|
[778abb] | 128 | ControllerChoices.hpp \
|
---|
[8036b7] | 129 | FragmentScheduler.hpp \
|
---|
[41c1b7] | 130 | Pool/WorkerPool.hpp
|
---|
[b05673] | 131 |
|
---|
[7ca772] | 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 = \
|
---|
[8d7917] | 136 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
| 137 | libMolecuilderFragmentationCommands.la \
|
---|
[1dc209] | 138 | libMolecuilderFragmentJobs.la \
|
---|
[db03d9] | 139 | $(BOOST_ASIO_LIBS) \
|
---|
| 140 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 141 | $(BOOST_THREAD_LIBS) \
|
---|
| 142 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 143 | ${CodePatterns_LIBS}
|
---|
| 144 |
|
---|
[41c1b7] | 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 = \
|
---|
[8d7917] | 149 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
| 150 | libMolecuilderFragmentationCommands.la \
|
---|
[1dc209] | 151 | libMolecuilderFragmentJobs.la \
|
---|
[72eaf7f] | 152 | $(BOOST_ASIO_LIBS) \
|
---|
| 153 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
[d0b3aca] | 154 | $(BOOST_THREAD_LIBS) \
|
---|
[72eaf7f] | 155 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 156 | ${CodePatterns_LIBS}
|
---|
| 157 |
|
---|
[41c1b7] | 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 = \
|
---|
[8d7917] | 162 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
| 163 | libMolecuilderFragmentationCommands.la \
|
---|
[1dc209] | 164 | libMolecuilderFragmentJobs.la \
|
---|
[d0b3aca] | 165 | $(BOOST_ASIO_LIBS) \
|
---|
[72eaf7f] | 166 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 167 | $(BOOST_THREAD_LIBS) \
|
---|
| 168 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 169 | ${CodePatterns_LIBS}
|
---|
[d0b3aca] | 170 |
|
---|