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