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