source: src/Makefile.am@ ca2cfa

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 Candidate_v1.7.0 Candidate_v1.7.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 ca2cfa was bf4b9f, checked in by Frederik Heber <heber@…>, 15 years ago

Moved LinearAlgebra from folder src/ into distinct sub-package.

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