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