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