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