source: src/Makefile.am@ a58c16

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 a58c16 was a58c16, checked in by Frederik Heber <heber@…>, 10 years ago

Replaced World::getAllAtoms() by const version where possible.

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