source: src/Makefile.am@ c1d78c

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

Moved all Controller.., ..Options, and .._main() files over to JobMarket.

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