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