[d0b3aca] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[d7bb9b1] | 4 | INCLUDES = -I$(top_srcdir)/LinearAlgebra/src -I$(top_srcdir)/src
|
---|
[cc276e] | 5 |
|
---|
[d0b3aca] | 6 | MOSTLYCLEANFILES =
|
---|
| 7 | bin_PROGRAMS =
|
---|
[b5ebb5] | 8 | TESTS =
|
---|
| 9 | check_PROGRAMS =
|
---|
| 10 | noinst_PROGRAMS =
|
---|
[cde0fe] | 11 | noinst_LTLIBRARIES =
|
---|
[fd4d5e] | 12 | lib_LTLIBRARIES =
|
---|
[cde0fe] | 13 |
|
---|
| 14 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 15 | # Also indentation by a single tab
|
---|
| 16 |
|
---|
| 17 | FRAGMENTJOBSSOURCE = \
|
---|
| 18 | FragmentQueue.cpp \
|
---|
[f0834d] | 19 | JobId.cpp \
|
---|
[7670865] | 20 | Jobs/FragmentJob.cpp \
|
---|
[d920b9] | 21 | Jobs/SystemCommandJob.cpp \
|
---|
[7670865] | 22 | Results/FragmentResult.cpp
|
---|
[cde0fe] | 23 |
|
---|
| 24 | FRAGMENTJOBSHEADER = \
|
---|
| 25 | FragmentQueue.hpp \
|
---|
[f0834d] | 26 | JobId.hpp \
|
---|
[7670865] | 27 | Jobs/FragmentJob.hpp \
|
---|
[d920b9] | 28 | Jobs/SystemCommandJob.hpp \
|
---|
[7670865] | 29 | Results/FragmentResult.hpp
|
---|
[cde0fe] | 30 |
|
---|
| 31 | noinst_LTLIBRARIES += libMolecuilderFragmentJobs.la
|
---|
| 32 | libMolecuilderFragmentJobs_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
[1dc209] | 33 | nobase_libMolecuilderFragmentJobs_la_include_HEADERS = $(FRAGMENTJOBSHEADER)
|
---|
[cc276e] | 34 | libMolecuilderFragmentJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
| 35 | libMolecuilderFragmentJobs_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
[1dc209] | 36 | libMolecuilderFragmentJobs_la_SOURCES = $(FRAGMENTJOBSSOURCE)
|
---|
[d920b9] | 37 | libMolecuilderFragmentJobs_la_LIBADD = \
|
---|
| 38 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 39 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS)
|
---|
[cde0fe] | 40 |
|
---|
[50d095] | 41 | FRAGMENTATIONOPERATIONSSOURCE = \
|
---|
| 42 | Operations/AsyncOperation.cpp \
|
---|
[f45c08] | 43 | Operations/OperationQueue.cpp \
|
---|
[fd4d5e] | 44 | Operations/OperationRegistry.cpp \
|
---|
[50d095] | 45 | Operations/SyncOperation.cpp \
|
---|
| 46 | Operations/Controllers/CheckResultsOperation.cpp \
|
---|
| 47 | Operations/Controllers/GetNextJobIdOperation.cpp \
|
---|
| 48 | Operations/Controllers/ReceiveResultsOperation.cpp \
|
---|
[b15c4f] | 49 | Operations/Controllers/RemoveAllWorkerOperation.cpp \
|
---|
[50d095] | 50 | Operations/Controllers/SendJobsOperation.cpp \
|
---|
| 51 | Operations/Controllers/ShutdownOperation.cpp \
|
---|
| 52 | Operations/Servers/SendJobToWorkerOperation.cpp \
|
---|
| 53 | Operations/Servers/ShutdownWorkerOperation.cpp \
|
---|
| 54 | Operations/Workers/EnrollInPoolOperation.cpp \
|
---|
| 55 | Operations/Workers/ObtainJobOperation.cpp \
|
---|
| 56 | Operations/Workers/RemoveFromPoolOperation.cpp \
|
---|
| 57 | Operations/Workers/SubmitResultOperation.cpp
|
---|
| 58 |
|
---|
| 59 | FRAGMENTATIONOPERATIONSHEADER = \
|
---|
[1dc209] | 60 | ControllerChoices.hpp \
|
---|
[50d095] | 61 | Operations/AsyncOperation.hpp \
|
---|
| 62 | Operations/Operation.hpp \
|
---|
[f45c08] | 63 | Operations/OperationQueue.hpp \
|
---|
[fd4d5e] | 64 | Operations/OperationRegistry.hpp \
|
---|
[50d095] | 65 | Operations/SyncOperation.hpp \
|
---|
| 66 | Operations/Controllers/CheckResultsOperation.hpp \
|
---|
| 67 | Operations/Controllers/GetNextJobIdOperation.hpp \
|
---|
| 68 | Operations/Controllers/ReceiveResultsOperation.hpp \
|
---|
[b15c4f] | 69 | Operations/Controllers/RemoveAllWorkerOperation.hpp \
|
---|
[50d095] | 70 | Operations/Controllers/SendJobsOperation.hpp \
|
---|
| 71 | Operations/Controllers/ShutdownOperation.hpp \
|
---|
| 72 | Operations/Servers/SendJobToWorkerOperation.hpp \
|
---|
| 73 | Operations/Servers/ShutdownWorkerOperation.hpp \
|
---|
| 74 | Operations/Workers/EnrollInPoolOperation.hpp \
|
---|
| 75 | Operations/Workers/ObtainJobOperation.hpp \
|
---|
| 76 | Operations/Workers/RemoveFromPoolOperation.hpp \
|
---|
| 77 | Operations/Workers/SubmitResultOperation.hpp \
|
---|
[a8f54b6] | 78 | WorkerChoices.hpp
|
---|
[8d7917] | 79 |
|
---|
[50d095] | 80 | noinst_LTLIBRARIES += libMolecuilderFragmentationOperations.la
|
---|
| 81 | libMolecuilderFragmentationOperations_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
| 82 | nobase_libMolecuilderFragmentationOperations_la_include_HEADERS = $(FRAGMENTATIONOPERATIONSHEADER)
|
---|
| 83 | libMolecuilderFragmentationOperations_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(BOOST_ASIO_DEBUG)
|
---|
| 84 | libMolecuilderFragmentationOperations_la_SOURCES = $(FRAGMENTATIONOPERATIONSSOURCE)
|
---|
[8d7917] | 85 |
|
---|
| 86 | FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
|
---|
| 87 | atexit.cpp \
|
---|
[41c1b7] | 88 | GlobalJobId.cpp \
|
---|
| 89 | Listener.cpp \
|
---|
| 90 | WorkerAddress.cpp
|
---|
[8d7917] | 91 |
|
---|
| 92 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
| 93 | atexit.hpp \
|
---|
[d57585] | 94 | ExitflagContainer.hpp \
|
---|
[41c1b7] | 95 | GlobalJobId.hpp \
|
---|
| 96 | Listener.hpp \
|
---|
| 97 | WorkerAddress.hpp
|
---|
[cde0fe] | 98 |
|
---|
[8d7917] | 99 | noinst_LTLIBRARIES += libMolecuilderFragmentationAutomationHelper.la
|
---|
| 100 | libMolecuilderFragmentationAutomationHelper_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
| 101 | nobase_libMolecuilderFragmentationAutomationHelper_la_include_HEADERS = $(FRAGMENTATIONAUTOMATIONHELPERHEADER)
|
---|
| 102 | libMolecuilderFragmentationAutomationHelper_la_CXXFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
| 103 | libMolecuilderFragmentationAutomationHelper_la_SOURCES = $(FRAGMENTATIONAUTOMATIONHELPERSOURCE)
|
---|
[b5ebb5] | 104 |
|
---|
[fd4d5e] | 105 |
|
---|
| 106 | lib_LTLIBRARIES += libFragmentationAutomation.la
|
---|
| 107 | # make libtool link with C++ linker
|
---|
| 108 | nodist_EXTRA_libFragmentationAutomation_la_SOURCES = dummy.cpp
|
---|
| 109 | libFragmentationAutomation_la_includedir = $(includedir)/MoleCuilder/FragmentationAutomation/
|
---|
| 110 | libFragmentationAutomation_la_LIBADD = \
|
---|
| 111 | libMolecuilderFragmentJobs.la \
|
---|
| 112 | libMolecuilderFragmentationOperations.la \
|
---|
| 113 | libMolecuilderFragmentationAutomationHelper.la \
|
---|
| 114 | $(BOOST_ASIO_LDFLAGS) $(BOOST_ASIO_LIBS) \
|
---|
| 115 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 116 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 117 | $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS) \
|
---|
| 118 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS) \
|
---|
| 119 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 120 | $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
|
---|
| 121 | ${CodePatterns_LIBS}
|
---|
| 122 | nobase_libFragmentationAutomation_la_include_HEADERS = \
|
---|
| 123 | $(JOBSHEADER) \
|
---|
| 124 | $(OPERATIONSHEADER) \
|
---|
| 125 | $(HELPERHEADER) \
|
---|
| 126 | $(CONTROLLERHEADER) \
|
---|
| 127 | $(POOLWORKERHEADER) \
|
---|
| 128 | $(SERVERHEADER) \
|
---|
| 129 | $(WORKERHEADER)
|
---|
| 130 |
|
---|
| 131 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 132 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 133 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 134 | ## and the variable name derived from that.
|
---|
| 135 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 136 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 137 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 138 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
| 139 | libFragmentationAutomation_la_SOURCES =
|
---|
| 140 |
|
---|
| 141 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 142 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 143 | ## that all version information is kept in one place.
|
---|
| 144 | libFragmentationAutomation_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 145 |
|
---|
| 146 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 147 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 148 | ## into this header file describes the target platform the installed library
|
---|
| 149 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 150 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 151 | ## Hierarchy Standard (FHS).
|
---|
| 152 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 153 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 154 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 155 | ## configuration header file is generated at configure time and should not be
|
---|
| 156 | ## shipped with the source tarball.
|
---|
| 157 | libFragmentationAutomation_libincludedir = $(includedir)/Fragmentation/Automation
|
---|
| 158 | nobase_libFragmentationAutomation_libinclude_HEADERS = \
|
---|
| 159 | $(JOBSHEADER) \
|
---|
| 160 | $(OPERATIONSHEADER) \
|
---|
| 161 | $(HELPERHEADER) \
|
---|
| 162 | $(CONTROLLERHEADER) \
|
---|
| 163 | $(POOLWORKERHEADER) \
|
---|
| 164 | $(SERVERHEADER) \
|
---|
| 165 | $(WORKERHEADER) \
|
---|
| 166 | $(top_builddir)/libmolecuilder_config.h
|
---|
| 167 |
|
---|
| 168 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 169 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 170 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 171 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 172 | #pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 173 | #pkgconfig_DATA = $(top_builddir)/molecuilder.pc $(top_builddir)/molecuilder-debug.pc
|
---|
| 174 |
|
---|
[b5ebb5] | 175 | include unittests/Makefile.am
|
---|
[d0b3aca] | 176 |
|
---|