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