source: src/Makefile.am@ 8b58ac

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 8b58ac was 4adfba, checked in by Frederik Heber <heber@…>, 12 years ago

LibMolecuilderJobsGrid is now a distinct convenience library, however included in libMolecuilderJobs.

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