source: src/Makefile.am@ a275b3

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 a275b3 was 61c364, checked in by Frederik Heber <heber@…>, 13 years ago

Added AtomOrderDescription along with SelectionAtomByOrder.

  • Property mode set to 100644
File size: 13.0 KB
RevLine 
[efc3cb]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[455573]4MOSTLYCLEANFILES =
5lib_LTLIBRARIES =
6noinst_LTLIBRARIES =
[2d31e1]7pyexec_LTLIBRARIES =
[aee2da]8BUILT_SOURCES =
[bd8788]9bin_PROGRAMS =
[455573]10
11include Actions/Makefile.am
[9b5a2c]12include Analysis/Makefile.am
[6f0841]13include Atom/Makefile.am
[3bdb6d]14include Element/Makefile.am
[0d57cbe]15include Filling/Makefile.am
[d9a032]16include Fragmentation/Makefile.am
[455573]17include Graph/Makefile.am
[2fadb6f]18include Helpers/Makefile.am
[91f592]19include LinkedCell/Makefile.am
[455573]20include Parser/Makefile.am
21include RandomNumbers/Makefile.am
22include Shapes/Makefile.am
23include UIElements/Makefile.am
[5079a0]24
[f08ae7]25AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
[a0064e]26AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
[d5240d]27
[129204]28BONDSOURCE = \
29 Bond/bond.cpp \
[3f7587]30 Bond/bond_observable.cpp \
[129204]31 Bond/GraphEdge.cpp
32
33BONDHEADER = \
34 Bond/bond.hpp \
[3f7587]35 Bond/bond_observable.hpp \
[129204]36 Bond/GraphEdge.hpp
[efc3cb]37
[c42e60]38DESCRIPTORSOURCE = \
39 Descriptors/AtomDescriptor.cpp \
[efc3cb]40 Descriptors/AtomIdDescriptor.cpp \
[b49568]41 Descriptors/AtomOfMoleculeDescriptor.cpp \
[c42e60]42 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
[61c364]43 Descriptors/AtomOrderDescriptor.cpp \
[48dcbd]44 Descriptors/AtomSelectionDescriptor.cpp \
[6d858c]45 Descriptors/AtomShapeDescriptor.cpp \
[efc3cb]46 Descriptors/AtomTypeDescriptor.cpp \
[7afb77]47 Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
[efc3cb]48 Descriptors/MoleculeDescriptor.cpp \
[6e7147]49 Descriptors/MoleculeFormulaDescriptor.cpp \
[e05826]50 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]51 Descriptors/MoleculeNameDescriptor.cpp \
[c42e60]52 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
[92d756]53 Descriptors/MoleculeOrderDescriptor.cpp \
[cf0ca1]54 Descriptors/MoleculePtrDescriptor.cpp \
55 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]56
[75ac0c]57
[c42e60]58DESCRIPTORHEADER = \
59 Descriptors/AtomDescriptor.hpp \
[efc3cb]60 Descriptors/AtomIdDescriptor.hpp \
[b49568]61 Descriptors/AtomOfMoleculeDescriptor.hpp \
[c42e60]62 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
[61c364]63 Descriptors/AtomOrderDescriptor.hpp \
[48dcbd]64 Descriptors/AtomSelectionDescriptor.hpp \
[6d858c]65 Descriptors/AtomShapeDescriptor.hpp \
[efc3cb]66 Descriptors/AtomTypeDescriptor.hpp \
[7afb77]67 Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
[36f507]68 Descriptors/DescriptorBase.hpp \
[efc3cb]69 Descriptors/MoleculeDescriptor.hpp \
[6e7147]70 Descriptors/MoleculeFormulaDescriptor.hpp \
[e30ce8]71 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]72 Descriptors/MoleculeNameDescriptor.hpp \
[c42e60]73 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
[92d756]74 Descriptors/MoleculeOrderDescriptor.hpp \
[cf0ca1]75 Descriptors/MoleculePtrDescriptor.hpp \
[36f507]76 Descriptors/MoleculeSelectionDescriptor.hpp \
77 Descriptors/SelectiveIterator.hpp
[c42e60]78
79DESCRIPTORIMPLHEADER = \
80 Descriptors/AtomDescriptor_impl.hpp \
81 Descriptors/AtomIdDescriptor_impl.hpp \
[b49568]82 Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
[c42e60]83 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
[61c364]84 Descriptors/AtomOrderDescriptor_impl.hpp \
[c42e60]85 Descriptors/AtomSelectionDescriptor_impl.hpp \
86 Descriptors/AtomShapeDescriptor_impl.hpp \
87 Descriptors/AtomTypeDescriptor_impl.hpp \
[7afb77]88 Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
[36f507]89 Descriptors/DescriptorBase_impl.hpp \
[c42e60]90 Descriptors/MoleculeDescriptor_impl.hpp \
91 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
92 Descriptors/MoleculeIdDescriptor_impl.hpp \
93 Descriptors/MoleculeNameDescriptor_impl.hpp \
94 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
95 Descriptors/MoleculeOrderDescriptor_impl.hpp \
96 Descriptors/MoleculePtrDescriptor_impl.hpp \
[36f507]97 Descriptors/MoleculeSelectionDescriptor_impl.hpp \
98 Descriptors/SelectiveIterator_impl.hpp
[3f9eba]99
[9e23a3]100DYNAMICSSOURCE = \
101 Dynamics/MinimiseConstrainedPotential.cpp
102
103DYNAMICSHEADER = \
[20943b]104 Dynamics/LinearInterpolationBetweenSteps.hpp \
[8009ce]105 Dynamics/MinimiseConstrainedPotential.hpp \
[435065]106 Dynamics/OutputTemperature.hpp \
107 Dynamics/VerletForceIntegration.hpp
[9e23a3]108
[194649]109THERMOSTATSOURCE = \
110 Thermostats/Berendsen.cpp \
111 Thermostats/GaussianThermostat.cpp \
112 Thermostats/Langevin.cpp \
113 Thermostats/NoseHoover.cpp \
114 Thermostats/NoThermostat.cpp \
115 Thermostats/Thermostat.cpp \
[ab26c3]116 Thermostats/ThermoStatContainer.cpp \
[194649]117 Thermostats/Woodcock.cpp
[d193a2]118
[194649]119THERMOSTATHEADER = \
120 Thermostats/Berendsen.hpp \
121 Thermostats/GaussianThermostat.hpp \
122 Thermostats/Langevin.hpp \
123 Thermostats/NoseHoover.hpp \
124 Thermostats/NoThermostat.hpp \
125 Thermostats/Thermostat.hpp \
[262ecc]126 Thermostats/ThermoStatContainer.hpp \
[194649]127 Thermostats/Woodcock.hpp
[d193a2]128
[d74077]129TESSELATIONSOURCE = \
[4c6e70]130 Tesselation/ApproximateShapeArea.cpp \
131 Tesselation/ApproximateShapeVolume.cpp \
[d127c8]132 Tesselation/boundary.cpp \
133 Tesselation/BoundaryLineSet.cpp \
134 Tesselation/BoundaryPointSet.cpp \
135 Tesselation/BoundaryPolygonSet.cpp \
136 Tesselation/BoundaryTriangleSet.cpp \
137 Tesselation/CandidateForTesselation.cpp \
138 Tesselation/ellipsoid.cpp \
139 Tesselation/tesselation.cpp \
140 Tesselation/tesselationhelpers.cpp \
141 Tesselation/triangleintersectionlist.cpp
[d74077]142
143TESSELATIONHEADER = \
[4c6e70]144 Tesselation/ApproximateShapeArea.hpp \
145 Tesselation/ApproximateShapeVolume.hpp \
[d127c8]146 Tesselation/boundary.hpp \
147 Tesselation/BoundaryLineSet.hpp \
148 Tesselation/BoundaryMaps.hpp \
149 Tesselation/BoundaryPointSet.hpp \
150 Tesselation/BoundaryPolygonSet.hpp \
151 Tesselation/BoundaryTriangleSet.hpp \
152 Tesselation/CandidateForTesselation.hpp \
153 Tesselation/ellipsoid.hpp \
154 Tesselation/tesselation.hpp \
155 Tesselation/tesselationhelpers.hpp \
156 Tesselation/triangleintersectionlist.hpp
[d74077]157
[255971]158MOLECUILDERSOURCE = \
[129204]159 ${BONDSOURCE} \
[efc3cb]160 ${DESCRIPTORSOURCE} \
[9e23a3]161 ${DYNAMICSSOURCE} \
[194649]162 ${THERMOSTATSOURCE} \
[d74077]163 ${TESSELATIONSOURCE} \
[5e6534]164 AtomIdSet.cpp \
[83c09a]165 Box.cpp \
[dd067a]166 Box_BoundaryConditions.cpp \
[efc3cb]167 config.cpp \
[6f43ab]168 Formula.cpp \
[d3abb1]169 MoleculeLeafClass.cpp \
[efc3cb]170 moleculelist.cpp \
171 molecule.cpp \
172 molecule_geometry.cpp \
173 molecule_graph.cpp \
[112f90]174 UIElements/UIFactory.cpp \
[9cd9ab]175 version.c \
[f649de]176 World.cpp \
177 WorldTime.cpp
[5f612ee]178
[255971]179MOLECUILDERHEADER = \
[129204]180 ${BONDHEADER} \
[efc3cb]181 ${DESCRIPTORHEADER} \
[c42e60]182 ${DESCRIPTORIMPLHEADER} \
[9e23a3]183 ${DYNAMICSHEADER} \
[194649]184 ${THERMOSTATHEADER} \
[d74077]185 ${TESSELATIONHEADER} \
[5e6534]186 AtomIdSet.hpp \
[83c09a]187 Box.hpp \
[dd067a]188 Box_BoundaryConditions.hpp \
[efc3cb]189 config.hpp \
[6f43ab]190 Formula.hpp \
[3e4fb6]191 IdPool.hpp \
192 IdPool_impl.hpp \
[a292f6]193 IdPool_policy.hpp \
[d3abb1]194 MoleculeLeafClass.hpp \
[262ecc]195 MoleculeListClass.hpp \
[efc3cb]196 molecule.hpp \
[36f507]197 types.hpp \
[112f90]198 UIElements/UIFactory.hpp \
[9cd9ab]199 version.h \
[6bb605]200 World.hpp \
[8544a33]201 World_calculations.hpp \
[f649de]202 WorldTime.hpp
[3027f8]203
[455573]204noinst_LTLIBRARIES += libMolecuilder.la
[e5bf2b]205libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
[255971]206
[e5bf2b]207nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
[255971]208
209## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
210## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
211## will therefore be treated as if it were literally part of the target name,
212## and the variable name derived from that.
213## The file extension .cc is recognized by Automake, and makes it produce
214## rules which invoke the C++ compiler to produce a libtool object file (.lo)
215## from each source file. Note that it is not necessary to list header files
216## which are already listed elsewhere in a _HEADERS variable assignment.
[9cd9ab]217libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
[255971]218
219## Instruct libtool to include ABI version information in the generated shared
220## library file (.so). The library ABI version is defined in configure.ac, so
221## that all version information is kept in one place.
[455573]222#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
[255971]223
224## The generated configuration header is installed in its own subdirectory of
225## $(libdir). The reason for this is that the configuration information put
226## into this header file describes the target platform the installed library
227## has been built for. Thus the file must not be installed into a location
228## intended for architecture-independent files, as defined by the Filesystem
229## Hierarchy Standard (FHS).
230## The nodist_ prefix instructs Automake to not generate rules for including
231## the listed files in the distribution on 'make dist'. Files that are listed
232## in _HEADERS variables are normally included in the distribution, but the
233## configuration header file is generated at configure time and should not be
234## shipped with the source tarball.
[e5bf2b]235libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
236nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[255971]237
238## Install the generated pkg-config file (.pc) into the expected location for
239## architecture-dependent package configuration information. Occasionally,
240## pkg-config files are also used for architecture-independent data packages,
241## in which case the correct install location would be $(datadir)/pkgconfig.
242pkgconfigdir = $(libdir)/pkgconfig
[acbe1b]243pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[255971]244
[ef9df36]245
[455573]246INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
[ef9df36]247
[936a02]248libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[255971]249noinst_LIBRARIES = libmenu.a
[c015b3]250bin_PROGRAMS += molecuilder joiner analyzer
[796aa6]251EXTRA_PROGRAMS = unity
[04488a]252
[b1d8092]253
[936a02]254extrastuffdir = $(datadir)/@PACKAGE@/data
255databasedir = $(extrastuffdir)/databases
256database_DATA = \
257 ${top_srcdir}/data/databases/*.db
258
259bondtabledir = $(extrastuffdir)/bondtables
260bondtable_DATA = \
261 ${top_srcdir}/data/bondtables/*.dat
[b1d8092]262
[936a02]263moleculedir = $(extrastuffdir)/molecules
264molecule_DATA = \
265 ${top_srcdir}/data/molecules/*.pdb
[b1d8092]266
[c015b3]267if CONDPYTHON
[693a80]268pyexec_LTLIBRARIES += pyMoleCuilder.la
[949953]269pyMoleCuilder_la_SOURCES = \
270 cleanUp.cpp \
271 cleanUp.hpp \
[48d3c0]272 Actions/Action_impl_python.hpp \
273 Actions/GlobalListOfActions.hpp \
274 Actions/ActionHistory.hpp \
[949953]275 Actions/pyMoleCuilder.cpp
[693a80]276pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
277pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared
278pyMoleCuilder_la_LIBADD = \
279 libMolecuilderUI.la \
280 $(BOOST_PYTHON_LDFLAGS) $(BOOST_PYTHON_LIBS) \
281 ${CodePatterns_LIBS} \
282 -l$(PYTHON_LIB)
[c015b3]283endif
[693a80]284
[715085]285
[fec381]286molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
[4d9c01]287#molecuilder_CXXFLAGS += -DNO_CACHING
[79de12]288molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[949953]289molecuilder_SOURCES = \
290 builder.cpp \
291 builder_init.cpp \
292 builder_init.hpp \
293 cleanUp.cpp \
294 cleanUp.hpp
[952f38]295molecuilder_LDADD = \
[455573]296 libMolecuilderUI.la \
[bf4b9f]297 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]298 ${CodePatterns_LIBS} \
[79de12]299 $(BOOST_THREAD_LIBS) \
300 $(BOOST_PROGRAM_OPTIONS_LIBS) \
301 $(BOOST_RANDOM_LIBS) \
302 $(BOOST_SYSTEM_LIBS) \
303 $(BOOST_FILESYSTEM_LIBS)
[b1d8092]304
[4cf323d]305#Stuff for building the GUI using Qt
[c015b3]306if CONDQTGUI
307bin_PROGRAMS += molecuildergui
[949953]308molecuildergui_SOURCES = \
309 builder.cpp \
310 builder_init.cpp \
311 builder_init.hpp \
312 cleanUp.cpp \
313 cleanUp.hpp
[79de12]314molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
315molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[952f38]316molecuildergui_LDADD = \
[455573]317 libMolecuilderQtUI.la \
318 libMolecuilderUI.la \
[bf4b9f]319 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]320 ${CodePatterns_LIBS} \
[79de12]321 $(BOOST_THREAD_LIBS) \
322 $(BOOST_PROGRAM_OPTIONS_LIBS) \
323 $(BOOST_RANDOM_LIBS) \
324 $(BOOST_SYSTEM_LIBS) \
325 $(BOOST_FILESYSTEM_LIBS) \
[455573]326 $(GUI_LIBS)
[c015b3]327endif
[b1d8092]328
[3bdb6d]329joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]330joiner_CXXFLAGS = $(AM_CPPFLAGS)
331joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]332joiner_LDADD = \
[a9b86d]333 libMolecuilderFragmentation.la \
[2fadb6f]334 libMolecuilderHelpers.la \
[3bdb6d]335 libMolecuilderElement.la \
[bf4b9f]336 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]337 ${CodePatterns_LIBS} \
[79de12]338 $(BOOST_THREAD_LIBS)
[b1d8092]339
[3bdb6d]340analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
[3b5fca]341analyzer_CXXFLAGS = $(AM_CPPFLAGS)
342analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[255971]343analyzer_LDADD = \
[a9b86d]344 libMolecuilderFragmentation.la \
[2fadb6f]345 libMolecuilderHelpers.la \
[3bdb6d]346 libMolecuilderElement.la \
[bf4b9f]347 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[a0064e]348 ${CodePatterns_LIBS} \
[79de12]349 $(BOOST_THREAD_LIBS)
[14de469]350
[455573]351unity_SOURCES = unity.cpp
[3b5fca]352unity_CXXFLAGS = $(AM_CPPFLAGS)
353unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
[79de12]354unity_LDADD = \
355 ${CodePatterns_LIBS} \
356 $(BOOST_THREAD_LIBS) \
357 $(BOOST_PROGRAM_OPTIONS_LIBS) \
358 $(BOOST_RANDOM_LIBS) \
359 $(BOOST_SYSTEM_LIBS) \
360 $(BOOST_FILESYSTEM_LIBS)
[455573]361
[65b6e0]362
[a8eb4a]363FORCE:
364$(srcdir)/.git-version: FORCE
[f8be39]365 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
366 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]367 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
368 mv -f .git-version-t $(srcdir)/.git-version; \
369 else \
370 rm -f .git-version-t; \
371 fi
372
[936a02]373EXTRA_DIST = \
374 $(srcdir)/.git-version \
375 $(bondtable_DATA) \
376 $(database_DATA) \
377 $(molecule_DATA)
[a8eb4a]378
379$(srcdir)/version.c: $(srcdir)/.git-version
[5f8660a]380 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
[a8eb4a]381
[b8d1aeb]382
[d223d5]383unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
384 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
[b0b086]385 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
[d223d5]386 done; \
387 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
388 olddir=$$PWD;\
389 cd $$directory && make unity.cpp;\
390 cd $$olddir;\
391 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
392 done;\
393 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
394 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
395
[455573]396MOSTLYCLEANFILES += unity.cpp
[1ee3b8d]397
Note: See TracBrowser for help on using the repository browser.