source: src/Makefile.am@ 901d87

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 901d87 was 4c6e70, checked in by Frederik Heber <heber@…>, 13 years ago

Added functors for calculating surface area and volume of a Shape.

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