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