[efc3cb] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[455573] | 4 | MOSTLYCLEANFILES =
|
---|
| 5 | lib_LTLIBRARIES =
|
---|
| 6 | noinst_LTLIBRARIES =
|
---|
[2d31e1] | 7 | pyexec_LTLIBRARIES =
|
---|
[aee2da] | 8 | BUILT_SOURCES =
|
---|
[bd8788] | 9 | bin_PROGRAMS =
|
---|
[fd4d5e] | 10 | EXTRA_DIST =
|
---|
[455573] | 11 |
|
---|
| 12 | include Actions/Makefile.am
|
---|
[9b5a2c] | 13 | include Analysis/Makefile.am
|
---|
[6f0841] | 14 | include Atom/Makefile.am
|
---|
[3bdb6d] | 15 | include Element/Makefile.am
|
---|
[0d57cbe] | 16 | include Filling/Makefile.am
|
---|
[d9a032] | 17 | include Fragmentation/Makefile.am
|
---|
[fbf143] | 18 | include Fragmentation/Summation/Containers/Makefile.am
|
---|
| 19 | include Fragmentation/Summation/Converter/Makefile.am
|
---|
[e920061] | 20 | include Fragmentation/Summation/Makefile.am
|
---|
[fbf143] | 21 | include Fragmentation/Summation/SetValues/Makefile.am
|
---|
[66cfc7] | 22 | include FunctionApproximation/Makefile.am
|
---|
[455573] | 23 | include Graph/Makefile.am
|
---|
[2fadb6f] | 24 | include Helpers/Makefile.am
|
---|
[004d5c] | 25 |
|
---|
| 26 | if CONDJOBMARKET
|
---|
[ffe057] | 27 | include Fragmentation/Automation/Makefile.am
|
---|
[cc5db5] | 28 | include Jobs/Makefile.am
|
---|
[004d5c] | 29 | endif
|
---|
| 30 |
|
---|
[7e3f11a] | 31 | if CONDPYTHON
|
---|
| 32 | include Python/Makefile.am
|
---|
| 33 | endif
|
---|
| 34 |
|
---|
[91f592] | 35 | include LinkedCell/Makefile.am
|
---|
[8453b3] | 36 | include Parameters/Makefile.am
|
---|
[455573] | 37 | include Parser/Makefile.am
|
---|
[6bb72a] | 38 | include Potentials/Makefile.am
|
---|
[455573] | 39 | include RandomNumbers/Makefile.am
|
---|
| 40 | include Shapes/Makefile.am
|
---|
| 41 | include UIElements/Makefile.am
|
---|
[5079a0] | 42 |
|
---|
[a10cc0] | 43 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
|
---|
[a0064e] | 44 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
---|
[d5240d] | 45 |
|
---|
[129204] | 46 | BONDSOURCE = \
|
---|
| 47 | Bond/bond.cpp \
|
---|
[3f7587] | 48 | Bond/bond_observable.cpp \
|
---|
[af9be32] | 49 | Bond/BondInfo.cpp \
|
---|
[129204] | 50 | Bond/GraphEdge.cpp
|
---|
| 51 |
|
---|
| 52 | BONDHEADER = \
|
---|
| 53 | Bond/bond.hpp \
|
---|
[3f7587] | 54 | Bond/bond_observable.hpp \
|
---|
[af9be32] | 55 | Bond/BondInfo.hpp \
|
---|
[129204] | 56 | Bond/GraphEdge.hpp
|
---|
[efc3cb] | 57 |
|
---|
[c42e60] | 58 | DESCRIPTORSOURCE = \
|
---|
| 59 | Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 60 | Descriptors/AtomIdDescriptor.cpp \
|
---|
[b49568] | 61 | Descriptors/AtomOfMoleculeDescriptor.cpp \
|
---|
[c42e60] | 62 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
---|
[61c364] | 63 | Descriptors/AtomOrderDescriptor.cpp \
|
---|
[48dcbd] | 64 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
[6d858c] | 65 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
[efc3cb] | 66 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
[7afb77] | 67 | Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
|
---|
[efc3cb] | 68 | Descriptors/MoleculeDescriptor.cpp \
|
---|
[6e7147] | 69 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
[e05826] | 70 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
[e6317b] | 71 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
[c42e60] | 72 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
---|
[92d756] | 73 | Descriptors/MoleculeOrderDescriptor.cpp \
|
---|
[cf0ca1] | 74 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
| 75 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[57adc7] | 76 |
|
---|
[75ac0c] | 77 |
|
---|
[c42e60] | 78 | DESCRIPTORHEADER = \
|
---|
| 79 | Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 80 | Descriptors/AtomIdDescriptor.hpp \
|
---|
[b49568] | 81 | Descriptors/AtomOfMoleculeDescriptor.hpp \
|
---|
[c42e60] | 82 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
---|
[61c364] | 83 | Descriptors/AtomOrderDescriptor.hpp \
|
---|
[48dcbd] | 84 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
[6d858c] | 85 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
[efc3cb] | 86 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
[7afb77] | 87 | Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
|
---|
[36f507] | 88 | Descriptors/DescriptorBase.hpp \
|
---|
[efc3cb] | 89 | Descriptors/MoleculeDescriptor.hpp \
|
---|
[6e7147] | 90 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
[e30ce8] | 91 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
[31b09e] | 92 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
[c42e60] | 93 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
---|
[92d756] | 94 | Descriptors/MoleculeOrderDescriptor.hpp \
|
---|
[cf0ca1] | 95 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
[36f507] | 96 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
---|
[feb5d0] | 97 | Descriptors/SelectiveConstIterator.hpp \
|
---|
[36f507] | 98 | Descriptors/SelectiveIterator.hpp
|
---|
[c42e60] | 99 |
|
---|
| 100 | DESCRIPTORIMPLHEADER = \
|
---|
| 101 | Descriptors/AtomDescriptor_impl.hpp \
|
---|
| 102 | Descriptors/AtomIdDescriptor_impl.hpp \
|
---|
[b49568] | 103 | Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
|
---|
[c42e60] | 104 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
---|
[61c364] | 105 | Descriptors/AtomOrderDescriptor_impl.hpp \
|
---|
[c42e60] | 106 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
---|
| 107 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
---|
| 108 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
---|
[7afb77] | 109 | Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
|
---|
[36f507] | 110 | Descriptors/DescriptorBase_impl.hpp \
|
---|
[c42e60] | 111 | Descriptors/MoleculeDescriptor_impl.hpp \
|
---|
| 112 | Descriptors/MoleculeFormulaDescriptor_impl.hpp \
|
---|
| 113 | Descriptors/MoleculeIdDescriptor_impl.hpp \
|
---|
| 114 | Descriptors/MoleculeNameDescriptor_impl.hpp \
|
---|
| 115 | Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
|
---|
| 116 | Descriptors/MoleculeOrderDescriptor_impl.hpp \
|
---|
| 117 | Descriptors/MoleculePtrDescriptor_impl.hpp \
|
---|
[36f507] | 118 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
---|
[feb5d0] | 119 | Descriptors/SelectiveConstIterator_impl.hpp \
|
---|
[36f507] | 120 | Descriptors/SelectiveIterator_impl.hpp
|
---|
[3f9eba] | 121 |
|
---|
[9e23a3] | 122 | DYNAMICSSOURCE = \
|
---|
| 123 | Dynamics/MinimiseConstrainedPotential.cpp
|
---|
| 124 |
|
---|
| 125 | DYNAMICSHEADER = \
|
---|
[20943b] | 126 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
---|
[8009ce] | 127 | Dynamics/MinimiseConstrainedPotential.hpp \
|
---|
[435065] | 128 | Dynamics/OutputTemperature.hpp \
|
---|
| 129 | Dynamics/VerletForceIntegration.hpp
|
---|
[9e23a3] | 130 |
|
---|
[194649] | 131 | THERMOSTATSOURCE = \
|
---|
| 132 | Thermostats/Berendsen.cpp \
|
---|
| 133 | Thermostats/GaussianThermostat.cpp \
|
---|
| 134 | Thermostats/Langevin.cpp \
|
---|
| 135 | Thermostats/NoseHoover.cpp \
|
---|
| 136 | Thermostats/NoThermostat.cpp \
|
---|
| 137 | Thermostats/Thermostat.cpp \
|
---|
[ab26c3] | 138 | Thermostats/ThermoStatContainer.cpp \
|
---|
[194649] | 139 | Thermostats/Woodcock.cpp
|
---|
[d193a2] | 140 |
|
---|
[194649] | 141 | THERMOSTATHEADER = \
|
---|
| 142 | Thermostats/Berendsen.hpp \
|
---|
| 143 | Thermostats/GaussianThermostat.hpp \
|
---|
| 144 | Thermostats/Langevin.hpp \
|
---|
| 145 | Thermostats/NoseHoover.hpp \
|
---|
| 146 | Thermostats/NoThermostat.hpp \
|
---|
| 147 | Thermostats/Thermostat.hpp \
|
---|
[262ecc] | 148 | Thermostats/ThermoStatContainer.hpp \
|
---|
[194649] | 149 | Thermostats/Woodcock.hpp
|
---|
[d193a2] | 150 |
|
---|
[d74077] | 151 | TESSELATIONSOURCE = \
|
---|
[4c6e70] | 152 | Tesselation/ApproximateShapeArea.cpp \
|
---|
| 153 | Tesselation/ApproximateShapeVolume.cpp \
|
---|
[d127c8] | 154 | Tesselation/boundary.cpp \
|
---|
| 155 | Tesselation/BoundaryLineSet.cpp \
|
---|
| 156 | Tesselation/BoundaryPointSet.cpp \
|
---|
| 157 | Tesselation/BoundaryPolygonSet.cpp \
|
---|
| 158 | Tesselation/BoundaryTriangleSet.cpp \
|
---|
| 159 | Tesselation/CandidateForTesselation.cpp \
|
---|
| 160 | Tesselation/ellipsoid.cpp \
|
---|
| 161 | Tesselation/tesselation.cpp \
|
---|
| 162 | Tesselation/tesselationhelpers.cpp \
|
---|
| 163 | Tesselation/triangleintersectionlist.cpp
|
---|
[d74077] | 164 |
|
---|
| 165 | TESSELATIONHEADER = \
|
---|
[4c6e70] | 166 | Tesselation/ApproximateShapeArea.hpp \
|
---|
| 167 | Tesselation/ApproximateShapeVolume.hpp \
|
---|
[d127c8] | 168 | Tesselation/boundary.hpp \
|
---|
| 169 | Tesselation/BoundaryLineSet.hpp \
|
---|
| 170 | Tesselation/BoundaryMaps.hpp \
|
---|
| 171 | Tesselation/BoundaryPointSet.hpp \
|
---|
| 172 | Tesselation/BoundaryPolygonSet.hpp \
|
---|
| 173 | Tesselation/BoundaryTriangleSet.hpp \
|
---|
| 174 | Tesselation/CandidateForTesselation.hpp \
|
---|
| 175 | Tesselation/ellipsoid.hpp \
|
---|
| 176 | Tesselation/tesselation.hpp \
|
---|
| 177 | Tesselation/tesselationhelpers.hpp \
|
---|
| 178 | Tesselation/triangleintersectionlist.hpp
|
---|
[d74077] | 179 |
|
---|
[255971] | 180 | MOLECUILDERSOURCE = \
|
---|
[129204] | 181 | ${BONDSOURCE} \
|
---|
[efc3cb] | 182 | ${DESCRIPTORSOURCE} \
|
---|
[9e23a3] | 183 | ${DYNAMICSSOURCE} \
|
---|
[194649] | 184 | ${THERMOSTATSOURCE} \
|
---|
[d74077] | 185 | ${TESSELATIONSOURCE} \
|
---|
[87ec81] | 186 | Shapes/ShapeFactory.cpp \
|
---|
[5e6534] | 187 | AtomIdSet.cpp \
|
---|
[83c09a] | 188 | Box.cpp \
|
---|
[dd067a] | 189 | Box_BoundaryConditions.cpp \
|
---|
[efc3cb] | 190 | config.cpp \
|
---|
[6f43ab] | 191 | Formula.cpp \
|
---|
[d3abb1] | 192 | MoleculeLeafClass.cpp \
|
---|
[efc3cb] | 193 | moleculelist.cpp \
|
---|
| 194 | molecule.cpp \
|
---|
| 195 | molecule_geometry.cpp \
|
---|
| 196 | molecule_graph.cpp \
|
---|
[112f90] | 197 | UIElements/UIFactory.cpp \
|
---|
[9cd9ab] | 198 | version.c \
|
---|
[f649de] | 199 | World.cpp \
|
---|
| 200 | WorldTime.cpp
|
---|
[5f612ee] | 201 |
|
---|
[255971] | 202 | MOLECUILDERHEADER = \
|
---|
[129204] | 203 | ${BONDHEADER} \
|
---|
[efc3cb] | 204 | ${DESCRIPTORHEADER} \
|
---|
[c42e60] | 205 | ${DESCRIPTORIMPLHEADER} \
|
---|
[9e23a3] | 206 | ${DYNAMICSHEADER} \
|
---|
[194649] | 207 | ${THERMOSTATHEADER} \
|
---|
[d74077] | 208 | ${TESSELATIONHEADER} \
|
---|
[87ec81] | 209 | Shapes/ShapeFactory.hpp \
|
---|
[5e6534] | 210 | AtomIdSet.hpp \
|
---|
[83c09a] | 211 | Box.hpp \
|
---|
[dd067a] | 212 | Box_BoundaryConditions.hpp \
|
---|
[efc3cb] | 213 | config.hpp \
|
---|
[6f43ab] | 214 | Formula.hpp \
|
---|
[3e4fb6] | 215 | IdPool.hpp \
|
---|
| 216 | IdPool_impl.hpp \
|
---|
[a292f6] | 217 | IdPool_policy.hpp \
|
---|
[d3abb1] | 218 | MoleculeLeafClass.hpp \
|
---|
[262ecc] | 219 | MoleculeListClass.hpp \
|
---|
[efc3cb] | 220 | molecule.hpp \
|
---|
[36f507] | 221 | types.hpp \
|
---|
[112f90] | 222 | UIElements/UIFactory.hpp \
|
---|
[9cd9ab] | 223 | version.h \
|
---|
[6bb605] | 224 | World.hpp \
|
---|
[8544a33] | 225 | World_calculations.hpp \
|
---|
[f649de] | 226 | WorldTime.hpp
|
---|
[3027f8] | 227 |
|
---|
[455573] | 228 | noinst_LTLIBRARIES += libMolecuilder.la
|
---|
[e5bf2b] | 229 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
---|
[353326] | 230 | libMolecuilder_la_LDFLAGS = \
|
---|
| 231 | $(AM_LDFLAGS) \
|
---|
| 232 | $(CodePatterns_LDFLAGS) \
|
---|
| 233 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
| 234 | $(BOOST_THREAD_LDFLAGS)
|
---|
| 235 | libMolecuilder_la_LIBADD = \
|
---|
| 236 | libMolecuilderShapes.la \
|
---|
| 237 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
| 238 | ${CodePatterns_LIBS} \
|
---|
| 239 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 240 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 241 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 242 | $(BOOST_SYSTEM_LIBS) \
|
---|
| 243 | $(BOOST_THREAD_LIBS)
|
---|
[255971] | 244 |
|
---|
[e5bf2b] | 245 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
[255971] | 246 |
|
---|
| 247 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 248 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 249 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 250 | ## and the variable name derived from that.
|
---|
| 251 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 252 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 253 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 254 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[9cd9ab] | 255 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
---|
[255971] | 256 |
|
---|
| 257 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 258 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 259 | ## that all version information is kept in one place.
|
---|
[455573] | 260 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
[255971] | 261 |
|
---|
| 262 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 263 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 264 | ## into this header file describes the target platform the installed library
|
---|
| 265 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 266 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 267 | ## Hierarchy Standard (FHS).
|
---|
| 268 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 269 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 270 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 271 | ## configuration header file is generated at configure time and should not be
|
---|
| 272 | ## shipped with the source tarball.
|
---|
[e5bf2b] | 273 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 274 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
[255971] | 275 |
|
---|
| 276 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 277 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 278 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 279 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 280 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
[acbe1b] | 281 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
---|
[255971] | 282 |
|
---|
[ef9df36] | 283 |
|
---|
[a10cc0] | 284 | INCLUDES = \
|
---|
| 285 | -I$(top_srcdir)/src/unittests \
|
---|
| 286 | -I$(top_srcdir)/src/Actions \
|
---|
| 287 | -I$(top_srcdir)/src/UIElements \
|
---|
[004d5c] | 288 | -I$(top_srcdir)/LinearAlgebra/src
|
---|
[ef9df36] | 289 |
|
---|
[004d5c] | 290 | bin_PROGRAMS += molecuilder joiner analyzer
|
---|
[796aa6] | 291 | EXTRA_PROGRAMS = unity
|
---|
[04488a] | 292 |
|
---|
[b1d8092] | 293 |
|
---|
[936a02] | 294 | extrastuffdir = $(datadir)/@PACKAGE@/data
|
---|
| 295 | databasedir = $(extrastuffdir)/databases
|
---|
| 296 | database_DATA = \
|
---|
| 297 | ${top_srcdir}/data/databases/*.db
|
---|
| 298 |
|
---|
| 299 | bondtabledir = $(extrastuffdir)/bondtables
|
---|
| 300 | bondtable_DATA = \
|
---|
| 301 | ${top_srcdir}/data/bondtables/*.dat
|
---|
[b1d8092] | 302 |
|
---|
[936a02] | 303 | moleculedir = $(extrastuffdir)/molecules
|
---|
| 304 | molecule_DATA = \
|
---|
| 305 | ${top_srcdir}/data/molecules/*.pdb
|
---|
[b1d8092] | 306 |
|
---|
[c015b3] | 307 | if CONDPYTHON
|
---|
[693a80] | 308 | pyexec_LTLIBRARIES += pyMoleCuilder.la
|
---|
[949953] | 309 | pyMoleCuilder_la_SOURCES = \
|
---|
| 310 | cleanUp.cpp \
|
---|
| 311 | cleanUp.hpp \
|
---|
[48d3c0] | 312 | Actions/Action_impl_python.hpp \
|
---|
| 313 | Actions/GlobalListOfActions.hpp \
|
---|
[cc6e5c] | 314 | Actions/ActionHistory.hpp
|
---|
[693a80] | 315 | pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
|
---|
[785218] | 316 | pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
|
---|
[693a80] | 317 | pyMoleCuilder_la_LIBADD = \
|
---|
[eb0d77] | 318 | libMolecuilderUI.la
|
---|
| 319 | pyMoleCuilder_la_LIBADD += \
|
---|
[785218] | 320 | $(BOOST_PYTHON_LIBS) \
|
---|
[693a80] | 321 | ${CodePatterns_LIBS} \
|
---|
| 322 | -l$(PYTHON_LIB)
|
---|
[c015b3] | 323 | endif
|
---|
[693a80] | 324 |
|
---|
[715085] | 325 |
|
---|
[7e3f11a] | 326 |
|
---|
[14de8e1] | 327 | molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
| 328 | #molecuilder_CPPFLAGS += -DNO_CACHING
|
---|
| 329 | molecuilder_LDFLAGS = \
|
---|
| 330 | $(AM_LDFLAGS) \
|
---|
| 331 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
| 332 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
| 333 | $(BOOST_RANDOM_LDFLAGS) \
|
---|
| 334 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
| 335 | $(BOOST_THREAD_LDFLAGS)
|
---|
[949953] | 336 | molecuilder_SOURCES = \
|
---|
| 337 | builder.cpp \
|
---|
| 338 | builder_init.cpp \
|
---|
[7e3f11a] | 339 | builder_init.hpp
|
---|
[952f38] | 340 | molecuilder_LDADD = \
|
---|
[eb0d77] | 341 | libMolecuilderUI.la
|
---|
| 342 | molecuilder_LDADD += \
|
---|
[bf4b9f] | 343 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[a0064e] | 344 | ${CodePatterns_LIBS} \
|
---|
[79de12] | 345 | $(BOOST_THREAD_LIBS) \
|
---|
| 346 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 347 | $(BOOST_RANDOM_LIBS) \
|
---|
[37ce5d] | 348 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 349 | $(BOOST_SYSTEM_LIBS)
|
---|
[14de8e1] | 350 |
|
---|
| 351 | if CONDPYTHON
|
---|
| 352 | molecuilder_SOURCES += \
|
---|
| 353 | Actions/Action_impl_python.hpp \
|
---|
| 354 | Actions/GlobalListOfActions.hpp
|
---|
| 355 | molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
---|
| 356 | molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
---|
| 357 | molecuilder_LDADD += \
|
---|
| 358 | $(BOOST_PYTHON_LIBS) \
|
---|
| 359 | ${CodePatterns_LIBS} \
|
---|
| 360 | -l$(PYTHON_LIB)
|
---|
| 361 | endif
|
---|
[b1d8092] | 362 |
|
---|
[4cf323d] | 363 | #Stuff for building the GUI using Qt
|
---|
[c015b3] | 364 | if CONDQTGUI
|
---|
| 365 | bin_PROGRAMS += molecuildergui
|
---|
[949953] | 366 | molecuildergui_SOURCES = \
|
---|
| 367 | builder.cpp \
|
---|
| 368 | builder_init.cpp \
|
---|
| 369 | builder_init.hpp \
|
---|
[7e3f11a] | 370 | Python/PythonScripting.hpp
|
---|
[14de8e1] | 371 | molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
|
---|
| 372 | molecuildergui_LDFLAGS = \
|
---|
| 373 | $(AM_LDFLAGS) \
|
---|
| 374 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
---|
| 375 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
---|
| 376 | $(BOOST_SYSTEM_LDFLAGS) \
|
---|
| 377 | $(BOOST_THREAD_LDFLAGS)
|
---|
[952f38] | 378 | molecuildergui_LDADD = \
|
---|
[455573] | 379 | libMolecuilderQtUI.la \
|
---|
[eb0d77] | 380 | libMolecuilderUI.la
|
---|
| 381 | molecuildergui_LDADD += \
|
---|
[bf4b9f] | 382 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[a0064e] | 383 | ${CodePatterns_LIBS} \
|
---|
[79de12] | 384 | $(BOOST_THREAD_LIBS) \
|
---|
| 385 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 386 | $(BOOST_RANDOM_LIBS) \
|
---|
| 387 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
[37ce5d] | 388 | $(BOOST_SYSTEM_LIBS) \
|
---|
[455573] | 389 | $(GUI_LIBS)
|
---|
[14de8e1] | 390 |
|
---|
| 391 | if CONDPYTHON
|
---|
| 392 | molecuildergui_SOURCES += \
|
---|
| 393 | Actions/Action_impl_python.hpp \
|
---|
| 394 | Actions/GlobalListOfActions.hpp
|
---|
| 395 | molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
---|
| 396 | molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
---|
| 397 | molecuildergui_LDADD += \
|
---|
| 398 | $(BOOST_PYTHON_LIBS) \
|
---|
| 399 | ${CodePatterns_LIBS} \
|
---|
| 400 | -l$(PYTHON_LIB)
|
---|
| 401 | endif
|
---|
| 402 |
|
---|
[c015b3] | 403 | endif
|
---|
[b1d8092] | 404 |
|
---|
[3bdb6d] | 405 | joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
---|
[14de8e1] | 406 | joiner_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
[3b5fca] | 407 | joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
[255971] | 408 | joiner_LDADD = \
|
---|
[a9b86d] | 409 | libMolecuilderFragmentation.la \
|
---|
[fbf143] | 410 | libMolecuilderFragmentation_KeysetsContainer.la \
|
---|
[2fadb6f] | 411 | libMolecuilderHelpers.la \
|
---|
[3bdb6d] | 412 | libMolecuilderElement.la \
|
---|
[bf4b9f] | 413 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[a0064e] | 414 | ${CodePatterns_LIBS} \
|
---|
[79de12] | 415 | $(BOOST_THREAD_LIBS)
|
---|
[b1d8092] | 416 |
|
---|
[3bdb6d] | 417 | analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
---|
[14de8e1] | 418 | analyzer_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
[3b5fca] | 419 | analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
[255971] | 420 | analyzer_LDADD = \
|
---|
[a9b86d] | 421 | libMolecuilderFragmentation.la \
|
---|
[fbf143] | 422 | libMolecuilderFragmentation_KeysetsContainer.la \
|
---|
[2fadb6f] | 423 | libMolecuilderHelpers.la \
|
---|
[3bdb6d] | 424 | libMolecuilderElement.la \
|
---|
[bf4b9f] | 425 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[a0064e] | 426 | ${CodePatterns_LIBS} \
|
---|
[79de12] | 427 | $(BOOST_THREAD_LIBS)
|
---|
[14de469] | 428 |
|
---|
[004d5c] | 429 | if CONDJOBMARKET
|
---|
[cc5db5] | 430 | CONTROLLERSOURCE = \
|
---|
[fd4d5e] | 431 | controller_MPQCCommandJob.cpp \
|
---|
[7da5cd] | 432 | ControllerOptions_MPQCCommandJob.cpp
|
---|
[cc5db5] | 433 |
|
---|
| 434 | CONTROLLERHEADER = \
|
---|
[fd4d5e] | 435 | controller_MPQCCommandJob.hpp \
|
---|
[7da5cd] | 436 | ControllerOptions_MPQCCommandJob.hpp
|
---|
| 437 |
|
---|
[fd4d5e] | 438 |
|
---|
| 439 | noinst_LTLIBRARIES += libFragmentationAutomationController.la
|
---|
| 440 | libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
|
---|
| 441 | nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
|
---|
| 442 | libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
|
---|
[004d5c] | 443 | libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
[fd4d5e] | 444 | libFragmentationAutomationController_la_LIBADD = \
|
---|
[004d5c] | 445 | ${JobMarket_Controller_LIBS} \
|
---|
| 446 | $(JobMarket_LIBS)
|
---|
[cc5db5] | 447 |
|
---|
[fd4d5e] | 448 | bin_PROGRAMS += Controller PoolWorker Server
|
---|
| 449 |
|
---|
[7da5cd] | 450 | Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
|
---|
[4d4ef8] | 451 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
[14de8e1] | 452 | Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
[cc5db5] | 453 | Controller_LDADD = \
|
---|
[7da5cd] | 454 | libFragmentationAutomationController.la \
|
---|
[fe0355] | 455 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
---|
[a10cc0] | 456 | libMolecuilderFragmentation.la \
|
---|
[049d4a] | 457 | libMolecuilderJobs.la \
|
---|
| 458 | libMolecuilderFragmentationSummation.la \
|
---|
[353326] | 459 | libMolecuilderFragmentation_KeysetsContainer.la \
|
---|
[a10cc0] | 460 | libMolecuilderHelpers.la \
|
---|
[004d5c] | 461 | $(JobMarket_Controller_LIBS) \
|
---|
| 462 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[4d4ef8] | 463 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
[7da5cd] | 464 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 465 | ${CodePatterns_LIBS}
|
---|
[fd4d5e] | 466 |
|
---|
[7da5cd] | 467 | PoolWorker_SOURCES = poolworker.cpp
|
---|
[4d4ef8] | 468 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
[14de8e1] | 469 | PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
[cc5db5] | 470 | PoolWorker_LDADD = \
|
---|
[004d5c] | 471 | libMolecuilderJobs.la \
|
---|
[fbf143] | 472 | libMolecuilderFragmentationSummation.la \
|
---|
[004d5c] | 473 | ${JobMarket_PoolWorker_LIBS} \
|
---|
| 474 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[4d4ef8] | 475 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 476 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
[7da5cd] | 477 | ${CodePatterns_LIBS}
|
---|
[fd4d5e] | 478 |
|
---|
[7da5cd] | 479 | Server_SOURCES = Server.cpp
|
---|
[4d4ef8] | 480 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
---|
[14de8e1] | 481 | Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
---|
[cc5db5] | 482 | Server_LDADD = \
|
---|
[004d5c] | 483 | libMolecuilderJobs.la \
|
---|
[fbf143] | 484 | libMolecuilderFragmentationSummation.la \
|
---|
[004d5c] | 485 | ${JobMarket_Server_LIBS} \
|
---|
| 486 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[4d4ef8] | 487 | $(BOOST_SERIALIZATION_LIBS) \
|
---|
| 488 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
[7da5cd] | 489 | ${CodePatterns_LIBS}
|
---|
[004d5c] | 490 | endif
|
---|
[cc5db5] | 491 |
|
---|
[455573] | 492 | unity_SOURCES = unity.cpp
|
---|
[14de8e1] | 493 | unity_CPPFLAGS = $(AM_CPPFLAGS)
|
---|
[3b5fca] | 494 | unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
---|
[79de12] | 495 | unity_LDADD = \
|
---|
| 496 | ${CodePatterns_LIBS} \
|
---|
| 497 | $(BOOST_THREAD_LIBS) \
|
---|
| 498 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
| 499 | $(BOOST_RANDOM_LIBS) \
|
---|
[37ce5d] | 500 | $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 501 | $(BOOST_SYSTEM_LIBS)
|
---|
[455573] | 502 |
|
---|
[65b6e0] | 503 |
|
---|
[a8eb4a] | 504 | FORCE:
|
---|
| 505 | $(srcdir)/.git-version: FORCE
|
---|
[f8be39] | 506 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
| 507 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 508 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 509 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 510 | else \
|
---|
| 511 | rm -f .git-version-t; \
|
---|
| 512 | fi
|
---|
| 513 |
|
---|
[fd4d5e] | 514 | EXTRA_DIST += \
|
---|
[936a02] | 515 | $(srcdir)/.git-version \
|
---|
| 516 | $(bondtable_DATA) \
|
---|
| 517 | $(database_DATA) \
|
---|
| 518 | $(molecule_DATA)
|
---|
[a8eb4a] | 519 |
|
---|
| 520 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
[5f8660a] | 521 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
[a8eb4a] | 522 |
|
---|
[b8d1aeb] | 523 |
|
---|
[d223d5] | 524 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
| 525 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
[b0b086] | 526 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
[d223d5] | 527 | done; \
|
---|
| 528 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
| 529 | olddir=$$PWD;\
|
---|
| 530 | cd $$directory && make unity.cpp;\
|
---|
| 531 | cd $$olddir;\
|
---|
| 532 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
| 533 | done;\
|
---|
| 534 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
| 535 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
| 536 |
|
---|
[455573] | 537 | MOSTLYCLEANFILES += unity.cpp
|
---|
[1ee3b8d] | 538 |
|
---|