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