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