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