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