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