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 -I$(top_srcdir)/src
|
---|
5 |
|
---|
6 | MOSTLYCLEANFILES =
|
---|
7 | bin_PROGRAMS =
|
---|
8 | TESTS =
|
---|
9 | check_PROGRAMS =
|
---|
10 | noinst_PROGRAMS =
|
---|
11 | noinst_LTLIBRARIES =
|
---|
12 | lib_LTLIBRARIES =
|
---|
13 |
|
---|
14 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
15 | # Also indentation by a single tab
|
---|
16 |
|
---|
17 | FRAGMENTJOBSSOURCE = \
|
---|
18 | FragmentQueue.cpp \
|
---|
19 | JobId.cpp \
|
---|
20 | Jobs/FragmentJob.cpp \
|
---|
21 | Jobs/SystemCommandJob.cpp \
|
---|
22 | Results/FragmentResult.cpp
|
---|
23 |
|
---|
24 | FRAGMENTJOBSHEADER = \
|
---|
25 | FragmentQueue.hpp \
|
---|
26 | JobId.hpp \
|
---|
27 | Jobs/FragmentJob.hpp \
|
---|
28 | Jobs/SystemCommandJob.hpp \
|
---|
29 | Results/FragmentResult.hpp
|
---|
30 |
|
---|
31 | noinst_LTLIBRARIES += libMolecuilderFragmentJobs.la
|
---|
32 | libMolecuilderFragmentJobs_la_includedir = $(includedir)/MoleCuilder/Fragmentation/Automation/
|
---|
33 | nobase_libMolecuilderFragmentJobs_la_include_HEADERS = $(FRAGMENTJOBSHEADER)
|
---|
34 | libMolecuilderFragmentJobs_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
35 | libMolecuilderFragmentJobs_la_LDFLAGS = $(AM_LDFLAGS)
|
---|
36 | libMolecuilderFragmentJobs_la_SOURCES = $(FRAGMENTJOBSSOURCE)
|
---|
37 | libMolecuilderFragmentJobs_la_LIBADD = \
|
---|
38 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
39 | $(BOOST_IOSTREAMS_LDFLAGS) $(BOOST_IOSTREAMS_LIBS)
|
---|
40 |
|
---|
41 | FRAGMENTATIONOPERATIONSSOURCE = \
|
---|
42 | Operations/AsyncOperation.cpp \
|
---|
43 | Operations/OperationQueue.cpp \
|
---|
44 | Operations/OperationRegistry.cpp \
|
---|
45 | Operations/SyncOperation.cpp \
|
---|
46 | Operations/Controllers/CheckResultsOperation.cpp \
|
---|
47 | Operations/Controllers/GetNextJobIdOperation.cpp \
|
---|
48 | Operations/Controllers/ReceiveResultsOperation.cpp \
|
---|
49 | Operations/Controllers/RemoveAllWorkerOperation.cpp \
|
---|
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 = \
|
---|
60 | ControllerChoices.hpp \
|
---|
61 | Operations/AsyncOperation.hpp \
|
---|
62 | Operations/Operation.hpp \
|
---|
63 | Operations/OperationQueue.hpp \
|
---|
64 | Operations/OperationRegistry.hpp \
|
---|
65 | Operations/SyncOperation.hpp \
|
---|
66 | Operations/Controllers/CheckResultsOperation.hpp \
|
---|
67 | Operations/Controllers/GetNextJobIdOperation.hpp \
|
---|
68 | Operations/Controllers/ReceiveResultsOperation.hpp \
|
---|
69 | Operations/Controllers/RemoveAllWorkerOperation.hpp \
|
---|
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 \
|
---|
78 | WorkerChoices.hpp
|
---|
79 |
|
---|
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)
|
---|
85 |
|
---|
86 | FRAGMENTATIONAUTOMATIONHELPERSOURCE = \
|
---|
87 | atexit.cpp \
|
---|
88 | GlobalJobId.cpp \
|
---|
89 | Listener.cpp \
|
---|
90 | WorkerAddress.cpp
|
---|
91 |
|
---|
92 | FRAGMENTATIONAUTOMATIONHELPERHEADER = \
|
---|
93 | atexit.hpp \
|
---|
94 | ExitflagContainer.hpp \
|
---|
95 | GlobalJobId.hpp \
|
---|
96 | Listener.hpp \
|
---|
97 | WorkerAddress.hpp
|
---|
98 |
|
---|
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)
|
---|
104 |
|
---|
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 |
|
---|
175 | include unittests/Makefile.am
|
---|
176 |
|
---|