source: src/Makefile.am@ 97a858

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 97a858 was 37ce5d, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Switched SYSTEM and FILESYSTEM libs in LDADD in src/Makefile.am.

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