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