source: src/Makefile.am@ 76096d

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 76096d was 049d4a, checked in by Frederik Heber <heber@…>, 11 years ago

FIX: libMolecuilderUI's dependencies are now completely satisfied.

  • we checked all shared libs it depends on and brought them in correct order.
  • molecuilder, molecuildergui, and controller's LDADDs changed accordingly.
  • FIX: libMolecuilderJobs's Makefile.am lacked the usual comment stuff at the end which resulted in undefined refs to VMGJob. Missing version info seemed to be the culprit.
  • Property mode set to 100644
File size: 17.1 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4MOSTLYCLEANFILES =
5lib_LTLIBRARIES =
6noinst_LTLIBRARIES =
7pyexec_LTLIBRARIES =
8BUILT_SOURCES =
9bin_PROGRAMS =
10EXTRA_DIST =
11
12include Actions/Makefile.am
13include Analysis/Makefile.am
14include Atom/Makefile.am
15include Element/Makefile.am
16include Filling/Makefile.am
17include Fragmentation/Makefile.am
18include Fragmentation/Summation/Containers/Makefile.am
19include Fragmentation/Summation/Converter/Makefile.am
20include Fragmentation/Summation/Makefile.am
21include Fragmentation/Summation/SetValues/Makefile.am
22include FunctionApproximation/Makefile.am
23include Graph/Makefile.am
24include Helpers/Makefile.am
25
26if CONDJOBMARKET
27include Fragmentation/Automation/Makefile.am
28include Jobs/Makefile.am
29endif
30
31include LinkedCell/Makefile.am
32include Parameters/Makefile.am
33include Parser/Makefile.am
34include Potentials/Makefile.am
35include RandomNumbers/Makefile.am
36include Shapes/Makefile.am
37include UIElements/Makefile.am
38
39AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
40AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
41
42BONDSOURCE = \
43 Bond/bond.cpp \
44 Bond/bond_observable.cpp \
45 Bond/BondInfo.cpp \
46 Bond/GraphEdge.cpp
47
48BONDHEADER = \
49 Bond/bond.hpp \
50 Bond/bond_observable.hpp \
51 Bond/BondInfo.hpp \
52 Bond/GraphEdge.hpp
53
54DESCRIPTORSOURCE = \
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
74DESCRIPTORHEADER = \
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
96DESCRIPTORIMPLHEADER = \
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
118DYNAMICSSOURCE = \
119 Dynamics/MinimiseConstrainedPotential.cpp
120
121DYNAMICSHEADER = \
122 Dynamics/LinearInterpolationBetweenSteps.hpp \
123 Dynamics/MinimiseConstrainedPotential.hpp \
124 Dynamics/OutputTemperature.hpp \
125 Dynamics/VerletForceIntegration.hpp
126
127THERMOSTATSOURCE = \
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
137THERMOSTATHEADER = \
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
147TESSELATIONSOURCE = \
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
161TESSELATIONHEADER = \
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
176MOLECUILDERSOURCE = \
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
197MOLECUILDERHEADER = \
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
222noinst_LTLIBRARIES += libMolecuilder.la
223libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
224libMolecuilder_la_LDFLAGS = \
225 $(AM_LDFLAGS) \
226 $(CodePatterns_LDFLAGS) \
227 $(BOOST_SYSTEM_LDFLAGS) \
228 $(BOOST_THREAD_LDFLAGS)
229libMolecuilder_la_LIBADD = \
230 libMolecuilderShapes.la \
231 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
232 ${CodePatterns_LIBS} \
233 $(BOOST_SERIALIZATION_LIBS) \
234 $(BOOST_PROGRAM_OPTIONS_LIBS) \
235 $(BOOST_FILESYSTEM_LIBS) \
236 $(BOOST_SYSTEM_LIBS) \
237 $(BOOST_THREAD_LIBS)
238
239nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
240
241## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
242## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
243## will therefore be treated as if it were literally part of the target name,
244## and the variable name derived from that.
245## The file extension .cc is recognized by Automake, and makes it produce
246## rules which invoke the C++ compiler to produce a libtool object file (.lo)
247## from each source file. Note that it is not necessary to list header files
248## which are already listed elsewhere in a _HEADERS variable assignment.
249libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
250
251## Instruct libtool to include ABI version information in the generated shared
252## library file (.so). The library ABI version is defined in configure.ac, so
253## that all version information is kept in one place.
254#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
255
256## The generated configuration header is installed in its own subdirectory of
257## $(libdir). The reason for this is that the configuration information put
258## into this header file describes the target platform the installed library
259## has been built for. Thus the file must not be installed into a location
260## intended for architecture-independent files, as defined by the Filesystem
261## Hierarchy Standard (FHS).
262## The nodist_ prefix instructs Automake to not generate rules for including
263## the listed files in the distribution on 'make dist'. Files that are listed
264## in _HEADERS variables are normally included in the distribution, but the
265## configuration header file is generated at configure time and should not be
266## shipped with the source tarball.
267libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
268nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
269
270## Install the generated pkg-config file (.pc) into the expected location for
271## architecture-dependent package configuration information. Occasionally,
272## pkg-config files are also used for architecture-independent data packages,
273## in which case the correct install location would be $(datadir)/pkgconfig.
274pkgconfigdir = $(libdir)/pkgconfig
275pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
276
277
278INCLUDES = \
279 -I$(top_srcdir)/src/unittests \
280 -I$(top_srcdir)/src/Actions \
281 -I$(top_srcdir)/src/UIElements \
282 -I$(top_srcdir)/LinearAlgebra/src
283
284bin_PROGRAMS += molecuilder joiner analyzer
285EXTRA_PROGRAMS = unity
286
287
288extrastuffdir = $(datadir)/@PACKAGE@/data
289databasedir = $(extrastuffdir)/databases
290database_DATA = \
291 ${top_srcdir}/data/databases/*.db
292
293bondtabledir = $(extrastuffdir)/bondtables
294bondtable_DATA = \
295 ${top_srcdir}/data/bondtables/*.dat
296
297moleculedir = $(extrastuffdir)/molecules
298molecule_DATA = \
299 ${top_srcdir}/data/molecules/*.pdb
300
301if CONDPYTHON
302pyexec_LTLIBRARIES += pyMoleCuilder.la
303pyMoleCuilder_la_SOURCES = \
304 cleanUp.cpp \
305 cleanUp.hpp \
306 Actions/Action_impl_python.hpp \
307 Actions/GlobalListOfActions.hpp \
308 Actions/ActionHistory.hpp \
309 Actions/pyMoleCuilder.cpp
310pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
311pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
312pyMoleCuilder_la_LIBADD = \
313 libMolecuilderUI.la
314pyMoleCuilder_la_LIBADD += \
315 $(BOOST_PYTHON_LIBS) \
316 ${CodePatterns_LIBS} \
317 -l$(PYTHON_LIB)
318endif
319
320
321molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
322#molecuilder_CPPFLAGS += -DNO_CACHING
323molecuilder_LDFLAGS = \
324 $(AM_LDFLAGS) \
325 $(BOOST_FILESYSTEM_LDFLAGS) \
326 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
327 $(BOOST_RANDOM_LDFLAGS) \
328 $(BOOST_SYSTEM_LDFLAGS) \
329 $(BOOST_THREAD_LDFLAGS)
330molecuilder_SOURCES = \
331 builder.cpp \
332 builder_init.cpp \
333 builder_init.hpp \
334 PythonScripting.hpp
335molecuilder_LDADD = \
336 libMolecuilderUI.la
337molecuilder_LDADD += \
338 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
339 ${CodePatterns_LIBS} \
340 $(BOOST_THREAD_LIBS) \
341 $(BOOST_PROGRAM_OPTIONS_LIBS) \
342 $(BOOST_RANDOM_LIBS) \
343 $(BOOST_FILESYSTEM_LIBS) \
344 $(BOOST_SYSTEM_LIBS)
345
346if CONDPYTHON
347molecuilder_SOURCES += \
348 Actions/Action_impl_python.hpp \
349 Actions/GlobalListOfActions.hpp
350molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
351molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
352molecuilder_LDADD += \
353 $(BOOST_PYTHON_LIBS) \
354 ${CodePatterns_LIBS} \
355 -l$(PYTHON_LIB)
356endif
357
358#Stuff for building the GUI using Qt
359if CONDQTGUI
360bin_PROGRAMS += molecuildergui
361molecuildergui_SOURCES = \
362 builder.cpp \
363 builder_init.cpp \
364 builder_init.hpp \
365 PythonScripting.hpp
366molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
367molecuildergui_LDFLAGS = \
368 $(AM_LDFLAGS) \
369 $(BOOST_FILESYSTEM_LDFLAGS) \
370 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
371 $(BOOST_SYSTEM_LDFLAGS) \
372 $(BOOST_THREAD_LDFLAGS)
373molecuildergui_LDADD = \
374 libMolecuilderQtUI.la \
375 libMolecuilderUI.la
376molecuildergui_LDADD += \
377 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
378 ${CodePatterns_LIBS} \
379 $(BOOST_THREAD_LIBS) \
380 $(BOOST_PROGRAM_OPTIONS_LIBS) \
381 $(BOOST_RANDOM_LIBS) \
382 $(BOOST_FILESYSTEM_LIBS) \
383 $(BOOST_SYSTEM_LIBS) \
384 $(GUI_LIBS)
385
386if CONDPYTHON
387molecuildergui_SOURCES += \
388 Actions/Action_impl_python.hpp \
389 Actions/GlobalListOfActions.hpp
390molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
391molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
392molecuildergui_LDADD += \
393 $(BOOST_PYTHON_LIBS) \
394 ${CodePatterns_LIBS} \
395 -l$(PYTHON_LIB)
396endif
397
398endif
399
400joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
401joiner_CPPFLAGS = $(AM_CPPFLAGS)
402joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
403joiner_LDADD = \
404 libMolecuilderFragmentation.la \
405 libMolecuilderFragmentation_KeysetsContainer.la \
406 libMolecuilderHelpers.la \
407 libMolecuilderElement.la \
408 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
409 ${CodePatterns_LIBS} \
410 $(BOOST_THREAD_LIBS)
411
412analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
413analyzer_CPPFLAGS = $(AM_CPPFLAGS)
414analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
415analyzer_LDADD = \
416 libMolecuilderFragmentation.la \
417 libMolecuilderFragmentation_KeysetsContainer.la \
418 libMolecuilderHelpers.la \
419 libMolecuilderElement.la \
420 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
421 ${CodePatterns_LIBS} \
422 $(BOOST_THREAD_LIBS)
423
424if CONDJOBMARKET
425CONTROLLERSOURCE = \
426 controller_MPQCCommandJob.cpp \
427 ControllerOptions_MPQCCommandJob.cpp
428
429CONTROLLERHEADER = \
430 controller_MPQCCommandJob.hpp \
431 ControllerOptions_MPQCCommandJob.hpp
432
433
434noinst_LTLIBRARIES += libFragmentationAutomationController.la
435libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
436nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
437libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
438 libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
439libFragmentationAutomationController_la_LIBADD = \
440 ${JobMarket_Controller_LIBS} \
441 $(JobMarket_LIBS)
442
443bin_PROGRAMS += Controller PoolWorker Server
444
445Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
446Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
447Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
448Controller_LDADD = \
449 libFragmentationAutomationController.la \
450 libMolecuilderFragmentation_getFromKeysetStub.la \
451 libMolecuilderFragmentation.la \
452 libMolecuilderJobs.la \
453 libMolecuilderFragmentationSummation.la \
454 libMolecuilderFragmentation_KeysetsContainer.la \
455 libMolecuilderHelpers.la \
456 $(JobMarket_Controller_LIBS) \
457 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
458 $(BOOST_SERIALIZATION_LIBS) \
459 $(BOOST_PROGRAM_OPTIONS_LIBS) \
460 ${CodePatterns_LIBS}
461
462PoolWorker_SOURCES = poolworker.cpp
463PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
464PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
465PoolWorker_LDADD = \
466 libMolecuilderJobs.la \
467 libMolecuilderFragmentationSummation.la \
468 ${JobMarket_PoolWorker_LIBS} \
469 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
470 $(BOOST_SERIALIZATION_LIBS) \
471 $(BOOST_PROGRAM_OPTIONS_LIBS) \
472 ${CodePatterns_LIBS}
473
474Server_SOURCES = Server.cpp
475Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
476Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
477Server_LDADD = \
478 libMolecuilderJobs.la \
479 libMolecuilderFragmentationSummation.la \
480 ${JobMarket_Server_LIBS} \
481 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
482 $(BOOST_SERIALIZATION_LIBS) \
483 $(BOOST_PROGRAM_OPTIONS_LIBS) \
484 ${CodePatterns_LIBS}
485endif
486
487unity_SOURCES = unity.cpp
488unity_CPPFLAGS = $(AM_CPPFLAGS)
489unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
490unity_LDADD = \
491 ${CodePatterns_LIBS} \
492 $(BOOST_THREAD_LIBS) \
493 $(BOOST_PROGRAM_OPTIONS_LIBS) \
494 $(BOOST_RANDOM_LIBS) \
495 $(BOOST_FILESYSTEM_LIBS) \
496 $(BOOST_SYSTEM_LIBS)
497
498
499FORCE:
500$(srcdir)/.git-version: FORCE
501 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
502 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
503 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
504 mv -f .git-version-t $(srcdir)/.git-version; \
505 else \
506 rm -f .git-version-t; \
507 fi
508
509EXTRA_DIST += \
510 $(srcdir)/.git-version \
511 $(bondtable_DATA) \
512 $(database_DATA) \
513 $(molecule_DATA)
514
515$(srcdir)/version.c: $(srcdir)/.git-version
516 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
517
518
519unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
520 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
521 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
522 done; \
523 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
524 olddir=$$PWD;\
525 cd $$directory && make unity.cpp;\
526 cd $$olddir;\
527 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
528 done;\
529 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
530 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
531
532MOSTLYCLEANFILES += unity.cpp
533
Note: See TracBrowser for help on using the repository browser.