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