1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | MOSTLYCLEANFILES =
|
---|
5 | lib_LTLIBRARIES =
|
---|
6 | noinst_LTLIBRARIES =
|
---|
7 | pyexec_LTLIBRARIES =
|
---|
8 | BUILT_SOURCES =
|
---|
9 | bin_PROGRAMS =
|
---|
10 | EXTRA_DIST =
|
---|
11 |
|
---|
12 | include Actions/Makefile.am
|
---|
13 | include Analysis/Makefile.am
|
---|
14 | include Atom/Makefile.am
|
---|
15 | include Element/Makefile.am
|
---|
16 | include Filling/Makefile.am
|
---|
17 | include Fragmentation/Makefile.am
|
---|
18 | include Fragmentation/Automation/Makefile.am
|
---|
19 | include Fragmentation/Summation/Containers/Makefile.am
|
---|
20 | include Fragmentation/Summation/Converter/Makefile.am
|
---|
21 | include Fragmentation/Summation/Makefile.am
|
---|
22 | include Fragmentation/Summation/SetValues/Makefile.am
|
---|
23 | include FunctionApproximation/Makefile.am
|
---|
24 | include Graph/Makefile.am
|
---|
25 | include Helpers/Makefile.am
|
---|
26 | include Jobs/Makefile.am
|
---|
27 |
|
---|
28 | if CONDPYTHON
|
---|
29 | include Python/Makefile.am
|
---|
30 | endif
|
---|
31 |
|
---|
32 | include LinkedCell/Makefile.am
|
---|
33 | include Parameters/Makefile.am
|
---|
34 | include Parser/Makefile.am
|
---|
35 | include Potentials/Makefile.am
|
---|
36 | include RandomNumbers/Makefile.am
|
---|
37 | include Shapes/Makefile.am
|
---|
38 | include Tesselation/Makefile.am
|
---|
39 | include UIElements/Makefile.am
|
---|
40 |
|
---|
41 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
|
---|
42 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
43 |
|
---|
44 | BONDSOURCE = \
|
---|
45 | Bond/bond.cpp \
|
---|
46 | Bond/bond_observable.cpp \
|
---|
47 | Bond/BondInfo.cpp \
|
---|
48 | Bond/GraphEdge.cpp
|
---|
49 |
|
---|
50 | BONDHEADER = \
|
---|
51 | Bond/bond.hpp \
|
---|
52 | Bond/bond_observable.hpp \
|
---|
53 | Bond/BondInfo.hpp \
|
---|
54 | Bond/GraphEdge.hpp
|
---|
55 |
|
---|
56 | DESCRIPTORSOURCE = \
|
---|
57 | Descriptors/AtomDescriptor.cpp \
|
---|
58 | Descriptors/AtomIdDescriptor.cpp \
|
---|
59 | Descriptors/AtomOfMoleculeDescriptor.cpp \
|
---|
60 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
---|
61 | Descriptors/AtomOrderDescriptor.cpp \
|
---|
62 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
63 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
64 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
65 | Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
|
---|
66 | Descriptors/MoleculeDescriptor.cpp \
|
---|
67 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
68 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
69 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
70 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
---|
71 | Descriptors/MoleculeOrderDescriptor.cpp \
|
---|
72 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
73 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
74 |
|
---|
75 |
|
---|
76 | DESCRIPTORHEADER = \
|
---|
77 | Descriptors/AtomDescriptor.hpp \
|
---|
78 | Descriptors/AtomIdDescriptor.hpp \
|
---|
79 | Descriptors/AtomOfMoleculeDescriptor.hpp \
|
---|
80 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
---|
81 | Descriptors/AtomOrderDescriptor.hpp \
|
---|
82 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
83 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
84 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
85 | Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
|
---|
86 | Descriptors/DescriptorBase.hpp \
|
---|
87 | Descriptors/MoleculeDescriptor.hpp \
|
---|
88 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
89 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
90 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
91 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
---|
92 | Descriptors/MoleculeOrderDescriptor.hpp \
|
---|
93 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
94 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
---|
95 | Descriptors/SelectiveConstIterator.hpp \
|
---|
96 | Descriptors/SelectiveIterator.hpp
|
---|
97 |
|
---|
98 | DESCRIPTORIMPLHEADER = \
|
---|
99 | Descriptors/AtomDescriptor_impl.hpp \
|
---|
100 | Descriptors/AtomIdDescriptor_impl.hpp \
|
---|
101 | Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
|
---|
102 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
---|
103 | Descriptors/AtomOrderDescriptor_impl.hpp \
|
---|
104 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
---|
105 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
---|
106 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
---|
107 | Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
|
---|
108 | Descriptors/DescriptorBase_impl.hpp \
|
---|
109 | Descriptors/MoleculeDescriptor_impl.hpp \
|
---|
110 | Descriptors/MoleculeFormulaDescriptor_impl.hpp \
|
---|
111 | Descriptors/MoleculeIdDescriptor_impl.hpp \
|
---|
112 | Descriptors/MoleculeNameDescriptor_impl.hpp \
|
---|
113 | Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
|
---|
114 | Descriptors/MoleculeOrderDescriptor_impl.hpp \
|
---|
115 | Descriptors/MoleculePtrDescriptor_impl.hpp \
|
---|
116 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
---|
117 | Descriptors/SelectiveConstIterator_impl.hpp \
|
---|
118 | Descriptors/SelectiveIterator_impl.hpp
|
---|
119 |
|
---|
120 | DYNAMICSSOURCE = \
|
---|
121 | Dynamics/MinimiseConstrainedPotential.cpp
|
---|
122 |
|
---|
123 | DYNAMICSHEADER = \
|
---|
124 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
---|
125 | Dynamics/MinimiseConstrainedPotential.hpp \
|
---|
126 | Dynamics/OutputTemperature.hpp \
|
---|
127 | Dynamics/VerletForceIntegration.hpp
|
---|
128 |
|
---|
129 | THERMOSTATSOURCE = \
|
---|
130 | Thermostats/Berendsen.cpp \
|
---|
131 | Thermostats/GaussianThermostat.cpp \
|
---|
132 | Thermostats/Langevin.cpp \
|
---|
133 | Thermostats/NoseHoover.cpp \
|
---|
134 | Thermostats/NoThermostat.cpp \
|
---|
135 | Thermostats/Thermostat.cpp \
|
---|
136 | Thermostats/ThermoStatContainer.cpp \
|
---|
137 | Thermostats/Woodcock.cpp
|
---|
138 |
|
---|
139 | THERMOSTATHEADER = \
|
---|
140 | Thermostats/Berendsen.hpp \
|
---|
141 | Thermostats/GaussianThermostat.hpp \
|
---|
142 | Thermostats/Langevin.hpp \
|
---|
143 | Thermostats/NoseHoover.hpp \
|
---|
144 | Thermostats/NoThermostat.hpp \
|
---|
145 | Thermostats/Thermostat.hpp \
|
---|
146 | Thermostats/ThermoStatContainer.hpp \
|
---|
147 | Thermostats/Woodcock.hpp
|
---|
148 |
|
---|
149 | MOLECUILDERSOURCE = \
|
---|
150 | ${BONDSOURCE} \
|
---|
151 | ${DESCRIPTORSOURCE} \
|
---|
152 | ${DYNAMICSSOURCE} \
|
---|
153 | ${THERMOSTATSOURCE} \
|
---|
154 | Shapes/ShapeFactory.cpp \
|
---|
155 | AtomIdSet.cpp \
|
---|
156 | Box.cpp \
|
---|
157 | Box_BoundaryConditions.cpp \
|
---|
158 | config.cpp \
|
---|
159 | Formula.cpp \
|
---|
160 | MoleculeLeafClass.cpp \
|
---|
161 | moleculelist.cpp \
|
---|
162 | molecule.cpp \
|
---|
163 | molecule_geometry.cpp \
|
---|
164 | molecule_graph.cpp \
|
---|
165 | UIElements/UIFactory.cpp \
|
---|
166 | version.c \
|
---|
167 | World.cpp \
|
---|
168 | WorldTime.cpp
|
---|
169 |
|
---|
170 | MOLECUILDERHEADER = \
|
---|
171 | ${BONDHEADER} \
|
---|
172 | ${DESCRIPTORHEADER} \
|
---|
173 | ${DESCRIPTORIMPLHEADER} \
|
---|
174 | ${DYNAMICSHEADER} \
|
---|
175 | ${THERMOSTATHEADER} \
|
---|
176 | Shapes/ShapeFactory.hpp \
|
---|
177 | AtomIdSet.hpp \
|
---|
178 | Box.hpp \
|
---|
179 | Box_BoundaryConditions.hpp \
|
---|
180 | config.hpp \
|
---|
181 | Formula.hpp \
|
---|
182 | IdPool.hpp \
|
---|
183 | IdPool_impl.hpp \
|
---|
184 | IdPool_policy.hpp \
|
---|
185 | MoleculeLeafClass.hpp \
|
---|
186 | MoleculeListClass.hpp \
|
---|
187 | molecule.hpp \
|
---|
188 | types.hpp \
|
---|
189 | UIElements/UIFactory.hpp \
|
---|
190 | version.h \
|
---|
191 | World.hpp \
|
---|
192 | World_calculations.hpp \
|
---|
193 | WorldTime.hpp
|
---|
194 |
|
---|
195 | noinst_LTLIBRARIES += libMolecuilder.la
|
---|
196 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
---|
197 | libMolecuilder_la_LDFLAGS = \
|
---|
198 | $(AM_LDFLAGS) \
|
---|
199 | $(CodePatterns_LDFLAGS) \
|
---|
200 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
201 | $(BOOST_THREAD_LDFLAGS)
|
---|
202 | libMolecuilder_la_LIBADD = \
|
---|
203 | libMolecuilderTesselation.la \
|
---|
204 | libMolecuilderShapes.la \
|
---|
205 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
206 | ${CodePatterns_LIBS} \
|
---|
207 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
208 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
209 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
210 | $(BOOST_SYSTEM_LIBS) \
|
---|
211 | $(BOOST_THREAD_LIBS)
|
---|
212 |
|
---|
213 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
214 |
|
---|
215 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
216 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
217 | ## will therefore be treated as if it were literally part of the target name,
|
---|
218 | ## and the variable name derived from that.
|
---|
219 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
220 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
221 | ## from each source file. Note that it is not necessary to list header files
|
---|
222 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
223 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
---|
224 |
|
---|
225 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
226 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
227 | ## that all version information is kept in one place.
|
---|
228 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
229 |
|
---|
230 | ## The generated configuration header is installed in its own subdirectory of
|
---|
231 | ## $(libdir). The reason for this is that the configuration information put
|
---|
232 | ## into this header file describes the target platform the installed library
|
---|
233 | ## has been built for. Thus the file must not be installed into a location
|
---|
234 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
235 | ## Hierarchy Standard (FHS).
|
---|
236 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
237 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
238 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
239 | ## configuration header file is generated at configure time and should not be
|
---|
240 | ## shipped with the source tarball.
|
---|
241 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
---|
242 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
243 |
|
---|
244 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
245 | ## architecture-dependent package configuration information. Occasionally,
|
---|
246 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
247 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
248 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
249 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
250 |
|
---|
251 |
|
---|
252 | INCLUDES = \
|
---|
253 | -I$(top_srcdir)/src/unittests \
|
---|
254 | -I$(top_srcdir)/src/Actions \
|
---|
255 | -I$(top_srcdir)/src/UIElements \
|
---|
256 | -I$(top_srcdir)/LinearAlgebra/src
|
---|
257 |
|
---|
258 | bin_PROGRAMS += molecuilder
|
---|
259 | EXTRA_PROGRAMS = unity
|
---|
260 |
|
---|
261 |
|
---|
262 | extrastuffdir = $(datadir)/@PACKAGE@/data
|
---|
263 | databasedir = $(extrastuffdir)/databases
|
---|
264 | database_DATA = \
|
---|
265 | ${top_srcdir}/data/databases/*.db
|
---|
266 |
|
---|
267 | bondtabledir = $(extrastuffdir)/bondtables
|
---|
268 | bondtable_DATA = \
|
---|
269 | ${top_srcdir}/data/bondtables/*.dat
|
---|
270 |
|
---|
271 | moleculedir = $(extrastuffdir)/molecules
|
---|
272 | molecule_DATA = \
|
---|
273 | ${top_srcdir}/data/molecules/*.pdb
|
---|
274 |
|
---|
275 | if CONDPYTHON
|
---|
276 | pyexec_LTLIBRARIES += pyMoleCuilder.la
|
---|
277 | pyMoleCuilder_la_SOURCES = \
|
---|
278 | cleanUp.cpp \
|
---|
279 | cleanUp.hpp \
|
---|
280 | Actions/Action_impl_python.hpp \
|
---|
281 | Actions/GlobalListOfActions.hpp \
|
---|
282 | Actions/ActionHistory.hpp
|
---|
283 | pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} $(JobMarket_CFLAGS) -I$(PYTHON_INCLUDE_DIR)
|
---|
284 | pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
|
---|
285 | pyMoleCuilder_la_LIBADD = \
|
---|
286 | libMolecuilderUI.la
|
---|
287 | pyMoleCuilder_la_LIBADD += \
|
---|
288 | $(BOOST_PYTHON_LIBS) \
|
---|
289 | ${CodePatterns_LIBS} \
|
---|
290 | -l$(PYTHON_LIB)
|
---|
291 | endif
|
---|
292 |
|
---|
293 |
|
---|
294 |
|
---|
295 | molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
296 | #molecuilder_CPPFLAGS += -DNO_CACHING
|
---|
297 | molecuilder_LDFLAGS = \
|
---|
298 | $(AM_LDFLAGS) \
|
---|
299 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
300 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
301 | $(BOOST_RANDOM_LDFLAGS) \
|
---|
302 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
303 | $(BOOST_THREAD_LDFLAGS)
|
---|
304 | molecuilder_SOURCES = \
|
---|
305 | builder.cpp \
|
---|
306 | builder_init.cpp \
|
---|
307 | builder_init.hpp
|
---|
308 | molecuilder_LDADD = \
|
---|
309 | libMolecuilderUI.la
|
---|
310 | molecuilder_LDADD += \
|
---|
311 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
312 | ${CodePatterns_LIBS} \
|
---|
313 | $(BOOST_THREAD_LIBS) \
|
---|
314 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
315 | $(BOOST_RANDOM_LIBS) \
|
---|
316 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
317 | $(BOOST_SYSTEM_LIBS)
|
---|
318 |
|
---|
319 | if CONDPYTHON
|
---|
320 | molecuilder_SOURCES += \
|
---|
321 | Actions/Action_impl_python.hpp \
|
---|
322 | Actions/GlobalListOfActions.hpp
|
---|
323 | molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
---|
324 | molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
---|
325 | molecuilder_LDADD += \
|
---|
326 | $(BOOST_PYTHON_LIBS) \
|
---|
327 | ${CodePatterns_LIBS} \
|
---|
328 | -l$(PYTHON_LIB)
|
---|
329 | endif
|
---|
330 |
|
---|
331 | #Stuff for building the GUI using Qt
|
---|
332 | if CONDQTGUI
|
---|
333 | bin_PROGRAMS += molecuildergui
|
---|
334 | molecuildergui_SOURCES = \
|
---|
335 | builder.cpp \
|
---|
336 | builder_init.cpp \
|
---|
337 | builder_init.hpp \
|
---|
338 | Python/PythonScripting.hpp
|
---|
339 | molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
|
---|
340 | molecuildergui_LDFLAGS = \
|
---|
341 | $(AM_LDFLAGS) \
|
---|
342 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
343 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
344 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
345 | $(BOOST_THREAD_LDFLAGS)
|
---|
346 | molecuildergui_LDADD = \
|
---|
347 | libMolecuilderQtUI.la \
|
---|
348 | libMolecuilderUI.la
|
---|
349 | molecuildergui_LDADD += \
|
---|
350 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
351 | ${CodePatterns_LIBS} \
|
---|
352 | $(BOOST_THREAD_LIBS) \
|
---|
353 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
354 | $(BOOST_RANDOM_LIBS) \
|
---|
355 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
356 | $(BOOST_SYSTEM_LIBS) \
|
---|
357 | $(GUI_LIBS)
|
---|
358 |
|
---|
359 | if CONDPYTHON
|
---|
360 | molecuildergui_SOURCES += \
|
---|
361 | Actions/Action_impl_python.hpp \
|
---|
362 | Actions/GlobalListOfActions.hpp
|
---|
363 | molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
---|
364 | molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
---|
365 | molecuildergui_LDADD += \
|
---|
366 | $(BOOST_PYTHON_LIBS) \
|
---|
367 | ${CodePatterns_LIBS} \
|
---|
368 | -l$(PYTHON_LIB)
|
---|
369 | endif
|
---|
370 |
|
---|
371 | endif
|
---|
372 |
|
---|
373 | if CONDJOBMARKET
|
---|
374 | CONTROLLERSOURCE = \
|
---|
375 | controller_MPQCCommandJob.cpp \
|
---|
376 | ControllerOptions_MPQCCommandJob.cpp
|
---|
377 |
|
---|
378 | CONTROLLERHEADER = \
|
---|
379 | controller_MPQCCommandJob.hpp \
|
---|
380 | ControllerOptions_MPQCCommandJob.hpp
|
---|
381 |
|
---|
382 |
|
---|
383 | noinst_LTLIBRARIES += libFragmentationAutomationController.la
|
---|
384 | libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
|
---|
385 | nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
|
---|
386 | libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
|
---|
387 | libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
388 | libFragmentationAutomationController_la_LIBADD = \
|
---|
389 | ${JobMarket_Controller_LIBS} \
|
---|
390 | $(JobMarket_LIBS)
|
---|
391 |
|
---|
392 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
393 |
|
---|
394 | Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
|
---|
395 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
396 | Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
397 | Controller_LDADD = \
|
---|
398 | libFragmentationAutomationController.la \
|
---|
399 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
---|
400 | libMolecuilderFragmentation.la \
|
---|
401 | libMolecuilderJobs.la \
|
---|
402 | libMolecuilderFragmentationSummation.la \
|
---|
403 | libMolecuilderFragmentation_KeysetsContainer.la \
|
---|
404 | libMolecuilderHelpers.la \
|
---|
405 | $(JobMarket_Controller_LIBS) \
|
---|
406 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
407 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
408 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
409 | ${CodePatterns_LIBS}
|
---|
410 |
|
---|
411 | PoolWorker_SOURCES = poolworker.cpp
|
---|
412 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
413 | PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
414 | PoolWorker_LDADD = \
|
---|
415 | libMolecuilderJobs.la \
|
---|
416 | libMolecuilderFragmentationSummation.la \
|
---|
417 | ${JobMarket_PoolWorker_LIBS} \
|
---|
418 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
419 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
420 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
421 | ${CodePatterns_LIBS}
|
---|
422 |
|
---|
423 | Server_SOURCES = Server.cpp
|
---|
424 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
425 | Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
426 | Server_LDADD = \
|
---|
427 | libMolecuilderJobs.la \
|
---|
428 | libMolecuilderFragmentationSummation.la \
|
---|
429 | ${JobMarket_Server_LIBS} \
|
---|
430 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
431 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
432 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
433 | ${CodePatterns_LIBS}
|
---|
434 | endif
|
---|
435 |
|
---|
436 | unity_SOURCES = unity.cpp
|
---|
437 | unity_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
438 | unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
439 | unity_LDADD = \
|
---|
440 | ${CodePatterns_LIBS} \
|
---|
441 | $(BOOST_THREAD_LIBS) \
|
---|
442 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
443 | $(BOOST_RANDOM_LIBS) \
|
---|
444 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
445 | $(BOOST_SYSTEM_LIBS)
|
---|
446 |
|
---|
447 |
|
---|
448 | FORCE:
|
---|
449 | $(srcdir)/.git-version: FORCE
|
---|
450 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
451 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
452 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
453 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
454 | else \
|
---|
455 | rm -f .git-version-t; \
|
---|
456 | fi
|
---|
457 |
|
---|
458 | EXTRA_DIST += \
|
---|
459 | $(srcdir)/.git-version \
|
---|
460 | $(bondtable_DATA) \
|
---|
461 | $(database_DATA) \
|
---|
462 | $(molecule_DATA)
|
---|
463 |
|
---|
464 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
465 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
466 |
|
---|
467 |
|
---|
468 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
469 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
470 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
471 | done; \
|
---|
472 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
473 | olddir=$$PWD;\
|
---|
474 | cd $$directory && make unity.cpp;\
|
---|
475 | cd $$olddir;\
|
---|
476 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
477 | done;\
|
---|
478 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
479 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
480 |
|
---|
481 | MOSTLYCLEANFILES += unity.cpp
|
---|
482 |
|
---|