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