source: src/Makefile.am@ b1b413

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

FIX: Removed out-dated libmenu.a in src/Makefile.am.

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