source: src/Makefile.am@ a700c4

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

Removed Helpers.hpp, deleted Helpers.cpp and libMoleCuilderHelpers.la is history.

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