source: src/Makefile.am@ 06aedc

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 06aedc was dda246, checked in by Frederik Heber <heber@…>, 14 years ago

Made Helpers into commodity library to prevent double inclusion.

  • This is also preparatory for Makefile refactoring.
  • 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
[e5bf2b]4SUBDIRS = \
[dda246]5 Helpers \
[e5bf2b]6 Exceptions \
[1ee3b8d]7 RandomNumbers \
[e5bf2b]8 Parser \
9 LinearAlgebra \
10 Shapes \
[53d6b2]11 Graph \
[e5bf2b]12 Actions \
13 UIElements
[5079a0]14
[dda246]15AM_LDFLAGS = -ldl
[a0064e]16AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
[d5240d]17
[efc3cb]18ATOMSOURCE = \
19 atom.cpp \
[e41c48]20 AtomicInfo.cpp \
[efc3cb]21 atom_atominfo.cpp \
22 atom_bondedparticle.cpp \
23 atom_bondedparticleinfo.cpp \
24 atom_graphnode.cpp \
25 atom_graphnodeinfo.cpp \
[6625c3]26 atom_particleinfo.cpp
[efc3cb]27ATOMHEADER = \
28 atom.hpp \
[e41c48]29 AtomicInfo.hpp \
[efc3cb]30 atom_atominfo.hpp \
31 atom_bondedparticle.hpp \
32 atom_bondedparticleinfo.hpp \
33 atom_graphnode.hpp \
34 atom_graphnodeinfo.hpp \
[6625c3]35 atom_particleinfo.hpp
[efc3cb]36
37ANALYSISSOURCE = \
38 analysis_bonds.cpp \
39 analysis_correlation.cpp
40ANALYSISHEADER = \
41 analysis_bonds.hpp \
42 analysis_correlation.hpp
[96c961]43
[5079a0]44ACTIONSSOURCE = \
45 Actions/Action.cpp \
[efc3cb]46 Actions/ActionHistory.cpp \
47 Actions/ActionRegistry.cpp \
48 Actions/ActionSequence.cpp \
[e4afb4]49 Actions/ActionTraits.cpp \
[efc3cb]50 Actions/ErrorAction.cpp \
51 Actions/MakroAction.cpp \
52 Actions/ManipulateAtomsProcess.cpp \
53 Actions/MethodAction.cpp \
[e4afb4]54 Actions/OptionRegistry.cpp \
55 Actions/OptionTrait.cpp \
[efc3cb]56 Actions/Process.cpp
57
[5079a0]58ACTIONSHEADER = \
59 Actions/Action.hpp \
[efc3cb]60 Actions/ActionHistory.hpp \
61 Actions/ActionRegistry.hpp \
62 Actions/ActionSequence.hpp \
[e4afb4]63 Actions/ActionTraits.hpp \
[efc3cb]64 Actions/Calculation.hpp \
65 Actions/Calculation_impl.hpp \
66 Actions/ErrorAction.hpp \
67 Actions/MakroAction.hpp \
68 Actions/ManipulateAtomsProcess.hpp \
69 Actions/MethodAction.hpp \
[e4afb4]70 Actions/OptionRegistry.hpp \
71 Actions/OptionTrait.hpp \
[efc3cb]72 Actions/Process.hpp
[456341]73
[129204]74BONDSOURCE = \
75 Bond/bond.cpp \
76 Bond/GraphEdge.cpp
77
78BONDHEADER = \
79 Bond/bond.hpp \
80 Bond/GraphEdge.hpp
[efc3cb]81
[c42e60]82DESCRIPTORSOURCE = \
83 Descriptors/AtomDescriptor.cpp \
[efc3cb]84 Descriptors/AtomIdDescriptor.cpp \
[c42e60]85 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
[48dcbd]86 Descriptors/AtomSelectionDescriptor.cpp \
[6d858c]87 Descriptors/AtomShapeDescriptor.cpp \
[efc3cb]88 Descriptors/AtomTypeDescriptor.cpp \
89 Descriptors/MoleculeDescriptor.cpp \
[6e7147]90 Descriptors/MoleculeFormulaDescriptor.cpp \
[e05826]91 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]92 Descriptors/MoleculeNameDescriptor.cpp \
[c42e60]93 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
[92d756]94 Descriptors/MoleculeOrderDescriptor.cpp \
[cf0ca1]95 Descriptors/MoleculePtrDescriptor.cpp \
96 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]97
[75ac0c]98
[c42e60]99DESCRIPTORHEADER = \
100 Descriptors/AtomDescriptor.hpp \
[efc3cb]101 Descriptors/AtomIdDescriptor.hpp \
[c42e60]102 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
[48dcbd]103 Descriptors/AtomSelectionDescriptor.hpp \
[6d858c]104 Descriptors/AtomShapeDescriptor.hpp \
[efc3cb]105 Descriptors/AtomTypeDescriptor.hpp \
106 Descriptors/MoleculeDescriptor.hpp \
[6e7147]107 Descriptors/MoleculeFormulaDescriptor.hpp \
[e30ce8]108 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]109 Descriptors/MoleculeNameDescriptor.hpp \
[c42e60]110 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
[92d756]111 Descriptors/MoleculeOrderDescriptor.hpp \
[cf0ca1]112 Descriptors/MoleculePtrDescriptor.hpp \
[c42e60]113 Descriptors/MoleculeSelectionDescriptor.hpp
114
115DESCRIPTORIMPLHEADER = \
116 Descriptors/AtomDescriptor_impl.hpp \
117 Descriptors/AtomIdDescriptor_impl.hpp \
118 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
119 Descriptors/AtomSelectionDescriptor_impl.hpp \
120 Descriptors/AtomShapeDescriptor_impl.hpp \
121 Descriptors/AtomTypeDescriptor_impl.hpp \
122 Descriptors/MoleculeDescriptor_impl.hpp \
123 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
124 Descriptors/MoleculeIdDescriptor_impl.hpp \
125 Descriptors/MoleculeNameDescriptor_impl.hpp \
126 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
127 Descriptors/MoleculeOrderDescriptor_impl.hpp \
128 Descriptors/MoleculePtrDescriptor_impl.hpp \
129 Descriptors/MoleculeSelectionDescriptor_impl.hpp
[3f9eba]130
[9e23a3]131DYNAMICSSOURCE = \
132 Dynamics/MinimiseConstrainedPotential.cpp
133
134DYNAMICSHEADER = \
[20943b]135 Dynamics/LinearInterpolationBetweenSteps.hpp \
[8009ce]136 Dynamics/MinimiseConstrainedPotential.hpp \
[435065]137 Dynamics/OutputTemperature.hpp \
138 Dynamics/VerletForceIntegration.hpp
[9e23a3]139
[632508]140GRAPHSOURCE = \
141 Graph/BondGraph.cpp
142
143GRAPHHEADER = \
144 Graph/BondGraph.hpp
145
[194649]146THERMOSTATSOURCE = \
147 Thermostats/Berendsen.cpp \
148 Thermostats/GaussianThermostat.cpp \
149 Thermostats/Langevin.cpp \
150 Thermostats/NoseHoover.cpp \
151 Thermostats/NoThermostat.cpp \
152 Thermostats/Thermostat.cpp \
153 Thermostats/Woodcock.cpp
[d193a2]154
[194649]155THERMOSTATHEADER = \
156 Thermostats/Berendsen.hpp \
157 Thermostats/GaussianThermostat.hpp \
158 Thermostats/Langevin.hpp \
159 Thermostats/NoseHoover.hpp \
160 Thermostats/NoThermostat.hpp \
161 Thermostats/Thermostat.hpp \
162 Thermostats/Woodcock.hpp
[d193a2]163
[d74077]164TESSELATIONSOURCE = \
165 BoundaryLineSet.cpp \
166 BoundaryPointSet.cpp \
167 BoundaryPolygonSet.cpp \
168 BoundaryTriangleSet.cpp \
169 CandidateForTesselation.cpp \
170 tesselation.cpp \
[8f4df1]171 tesselationhelpers.cpp \
[d74077]172 TesselPoint.cpp
173
174TESSELATIONHEADER = \
175 BoundaryLineSet.hpp \
176 BoundaryPointSet.hpp \
177 BoundaryPolygonSet.hpp \
178 BoundaryTriangleSet.hpp \
179 CandidateForTesselation.hpp \
[34c43a]180 IPointCloud.hpp \
181 PointCloudAdaptor.hpp \
[d74077]182 tesselation.hpp \
[8f4df1]183 tesselationhelpers.hpp \
[d74077]184 TesselPoint.hpp
185
[255971]186MOLECUILDERSOURCE = \
[efc3cb]187 ${ANALYSISSOURCE} \
[5079a0]188 ${ACTIONSSOURCE} \
[efc3cb]189 ${ATOMSOURCE} \
[129204]190 ${BONDSOURCE} \
[efc3cb]191 ${DESCRIPTORSOURCE} \
[9e23a3]192 ${DYNAMICSSOURCE} \
[632508]193 ${GRAPHSOURCE} \
[3f9eba]194 ${RANDOMSOURCE} \
[194649]195 ${THERMOSTATSOURCE} \
[d74077]196 ${TESSELATIONSOURCE} \
[efc3cb]197 boundary.cpp \
[83c09a]198 Box.cpp \
[efc3cb]199 config.cpp \
[88104f]200 ConfigFileBuffer.cpp \
[efc3cb]201 element.cpp \
[5079a0]202 elements_db.cpp \
[efc3cb]203 ellipsoid.cpp \
[6f43ab]204 Formula.cpp \
[efc3cb]205 graph.cpp \
206 linkedcell.cpp \
207 moleculelist.cpp \
208 molecule.cpp \
209 molecule_fragmentation.cpp \
210 molecule_geometry.cpp \
211 molecule_graph.cpp \
212 parser.cpp \
213 periodentafel.cpp \
[a3fded]214 ThermoStatContainer.cpp \
[efc3cb]215 triangleintersectionlist.cpp \
[112f90]216 UIElements/UIFactory.cpp \
[f649de]217 World.cpp \
218 WorldTime.cpp
[5f612ee]219
[255971]220MOLECUILDERHEADER = \
[efc3cb]221 ${ANALYSISHEADER} \
[5079a0]222 ${ACTIONSHEADER} \
[efc3cb]223 ${ATOMHEADER} \
[129204]224 ${BONDHEADER} \
[efc3cb]225 ${DESCRIPTORHEADER} \
[c42e60]226 ${DESCRIPTORIMPLHEADER} \
[9e23a3]227 ${DYNAMICSHEADER} \
[632508]228 ${GRAPHHEADER} \
[3f9eba]229 ${RANDOMSOURCE} \
[194649]230 ${THERMOSTATHEADER} \
[d74077]231 ${TESSELATIONHEADER} \
[efc3cb]232 boundary.hpp \
[83c09a]233 Box.hpp \
[efc3cb]234 config.hpp \
[88104f]235 ConfigFileBuffer.hpp \
[efc3cb]236 element.hpp \
[5079a0]237 elements_db.hpp \
[efc3cb]238 ellipsoid.hpp \
[6f43ab]239 Formula.hpp \
[efc3cb]240 graph.hpp \
241 linkedcell.hpp \
242 molecule.hpp \
243 parser.hpp \
244 periodentafel.hpp \
[a3fded]245 ThermoStatContainer.hpp \
[efc3cb]246 triangleintersectionlist.hpp \
[112f90]247 UIElements/UIFactory.hpp \
[6bb605]248 World.hpp \
[f649de]249 WorldTime.hpp
[3027f8]250
[acbe1b]251lib_LTLIBRARIES = libMolecuilder.la
[e5bf2b]252libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
253libMolecuilder_la_LIBADD = \
[acbe1b]254 LinearAlgebra/libMolecuilderLinearAlgebra.la \
[e73ad9a]255 Graph/libMolecuilderGraph.la \
[dda246]256 Helpers/libMolecuilderHelpers.la \
[a0064e]257 ${CodePatterns_LIBS} \
[255971]258 ${BOOST_PROGRAM_OPTIONS_LIB}
259
[e5bf2b]260nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
[255971]261
262## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
263## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
264## will therefore be treated as if it were literally part of the target name,
265## and the variable name derived from that.
266## The file extension .cc is recognized by Automake, and makes it produce
267## rules which invoke the C++ compiler to produce a libtool object file (.lo)
268## from each source file. Note that it is not necessary to list header files
269## which are already listed elsewhere in a _HEADERS variable assignment.
[acbe1b]270libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
[255971]271
272## Instruct libtool to include ABI version information in the generated shared
273## library file (.so). The library ABI version is defined in configure.ac, so
274## that all version information is kept in one place.
[acbe1b]275libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
[255971]276
277## The generated configuration header is installed in its own subdirectory of
278## $(libdir). The reason for this is that the configuration information put
279## into this header file describes the target platform the installed library
280## has been built for. Thus the file must not be installed into a location
281## intended for architecture-independent files, as defined by the Filesystem
282## Hierarchy Standard (FHS).
283## The nodist_ prefix instructs Automake to not generate rules for including
284## the listed files in the distribution on 'make dist'. Files that are listed
285## in _HEADERS variables are normally included in the distribution, but the
286## configuration header file is generated at configure time and should not be
287## shipped with the source tarball.
[e5bf2b]288libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
289nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
[255971]290
291## Install the generated pkg-config file (.pc) into the expected location for
292## architecture-dependent package configuration information. Occasionally,
293## pkg-config files are also used for architecture-independent data packages,
294## in which case the correct install location would be $(datadir)/pkgconfig.
295pkgconfigdir = $(libdir)/pkgconfig
[acbe1b]296pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
[255971]297
[ef9df36]298
[d5240d]299BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
[5079a0]300INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
[ef9df36]301
[255971]302noinst_LIBRARIES = libmenu.a
[e828c0]303bin_PROGRAMS = molecuilder molecuildergui joiner analyzer SubspaceFactorizer
[796aa6]304EXTRA_PROGRAMS = unity
[04488a]305
[14de469]306molecuilderdir = ${bindir}
[b1d8092]307
[9fe36b]308libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[b1d8092]309
[6ac7ee]310molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
[b1d8092]311
[e828c0]312SubspaceFactorizer_CXXFLAGS = $(BOOST_CPPFLAGS)
[dda246]313SubspaceFactorizer_SOURCES = SubspaceFactorizer.cpp
[e828c0]314SubspaceFactorizer_LDADD = \
[acbe1b]315 LinearAlgebra/libMolecuilderLinearAlgebra.la \
316 Exceptions/libMolecuilderExceptions.la \
[dda246]317 Helpers/libMolecuilderHelpers.la \
[a0064e]318 ${CodePatterns_LIBS} \
[e828c0]319 $(GSLLIB) \
320 $(BOOST_LIB)
321
[4d9c01]322molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
323#molecuilder_CXXFLAGS += -DNO_CACHING
[9fe36b]324molecuilder_LDFLAGS = $(BOOST_LIB)
[f4d063]325molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
[952f38]326molecuilder_LDADD = \
[acbe1b]327 UIElements/libMolecuilderUI.la \
328 Actions/libMolecuilderActions.la \
[53d6b2]329 Graph/libMolecuilderGraph.la \
[acbe1b]330 libMolecuilder.la \
331 Parser/libMolecuilderParser.la \
[6d2207]332 Shapes/libMolecuilderShapes.la \
[acbe1b]333 LinearAlgebra/libMolecuilderLinearAlgebra.la \
334 Exceptions/libMolecuilderExceptions.la \
[1ee3b8d]335 RandomNumbers/libMolecuilderRandomNumbers.la \
[dda246]336 Helpers/libMolecuilderHelpers.la \
[a0064e]337 ${CodePatterns_LIBS} \
[e4decc]338 $(BOOST_LIB)
[b1d8092]339
[4cf323d]340#Stuff for building the GUI using Qt
[f4d063]341molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
[d5240d]342molecuildergui_CXXFLAGS = $(BOOST_CPPFLAGS) -DUSE_GUI_QT
343molecuildergui_LDFLAGS = $(BOOST_LIB)
[b1d8092]344
[d223d5]345unity_SOURCES = unity.cpp
[e4decc]346unity_LDADD = $(BOOST_LIB)
[796aa6]347
[952f38]348molecuildergui_LDADD = \
[acbe1b]349 UIElements/libMolecuilderUI.la \
350 UIElements/libMolecuilderQtUI.la \
351 Actions/libMolecuilderActions.la \
[53d6b2]352 Graph/libMolecuilderGraph.la \
[acbe1b]353 libMolecuilder.la \
354 Parser/libMolecuilderParser.la \
[6d2207]355 Shapes/libMolecuilderShapes.la \
[acbe1b]356 LinearAlgebra/libMolecuilderLinearAlgebra.la \
357 Exceptions/libMolecuilderExceptions.la \
[1ee3b8d]358 RandomNumbers/libMolecuilderRandomNumbers.la \
[dda246]359 Helpers/libMolecuilderHelpers.la \
[a0064e]360 ${CodePatterns_LIBS} \
[952f38]361 $(BOOST_LIB) \
362 ${GUI_LIBS}
[b1d8092]363
[255971]364joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
365joiner_LDADD = \
[acbe1b]366 UIElements/libMolecuilderUI.la \
367 Actions/libMolecuilderActions.la \
[53d6b2]368 Graph/libMolecuilderGraph.la \
[acbe1b]369 libMolecuilder.la \
370 Parser/libMolecuilderParser.la \
[6d2207]371 Shapes/libMolecuilderShapes.la \
[acbe1b]372 LinearAlgebra/libMolecuilderLinearAlgebra.la \
373 Exceptions/libMolecuilderExceptions.la \
[1ee3b8d]374 RandomNumbers/libMolecuilderRandomNumbers.la \
[dda246]375 Helpers/libMolecuilderHelpers.la \
[a0064e]376 ${CodePatterns_LIBS} \
[e4decc]377 $(BOOST_LIB)
[b1d8092]378
[255971]379analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
380analyzer_LDADD = \
[acbe1b]381 UIElements/libMolecuilderUI.la \
382 Actions/libMolecuilderActions.la \
[53d6b2]383 Graph/libMolecuilderGraph.la \
[acbe1b]384 libMolecuilder.la \
385 Parser/libMolecuilderParser.la \
[6d2207]386 Shapes/libMolecuilderShapes.la \
[acbe1b]387 LinearAlgebra/libMolecuilderLinearAlgebra.la \
388 Exceptions/libMolecuilderExceptions.la \
[1ee3b8d]389 RandomNumbers/libMolecuilderRandomNumbers.la \
[dda246]390 Helpers/libMolecuilderHelpers.la \
[a0064e]391 ${CodePatterns_LIBS} \
[e4decc]392 $(BOOST_LIB)
[14de469]393
[c111db]394#EXTRA_DIST = ${molecuilder_DATA}
[65b6e0]395
[a8eb4a]396FORCE:
397$(srcdir)/.git-version: FORCE
[f8be39]398 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
399 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]400 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
401 mv -f .git-version-t $(srcdir)/.git-version; \
402 else \
403 rm -f .git-version-t; \
404 fi
405
406EXTRA_DIST = $(srcdir)/.git-version
407
408$(srcdir)/version.c: $(srcdir)/.git-version
[5f8660a]409 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
[a8eb4a]410
[b8d1aeb]411
[d223d5]412unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
[b0b086]413 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
[d223d5]414 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
[b0b086]415 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
[d223d5]416 done; \
417 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
418 olddir=$$PWD;\
419 cd $$directory && make unity.cpp;\
420 cd $$olddir;\
421 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
422 done;\
423 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
424 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
425
[1ee3b8d]426MOSTLYCLEANFILES = unity.cpp
427
Note: See TracBrowser for help on using the repository browser.