source: src/Makefile.am@ d8821e

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

Removed (very) old joiner and analyzer programs.

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