| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| 4 | MOSTLYCLEANFILES =
|
|---|
| 5 | lib_LTLIBRARIES =
|
|---|
| 6 | noinst_LTLIBRARIES =
|
|---|
| 7 | pyexec_LTLIBRARIES =
|
|---|
| 8 | BUILT_SOURCES =
|
|---|
| 9 | bin_PROGRAMS =
|
|---|
| 10 | EXTRA_DIST =
|
|---|
| 11 |
|
|---|
| 12 | include Actions/Makefile.am
|
|---|
| 13 | include Analysis/Makefile.am
|
|---|
| 14 | include Atom/Makefile.am
|
|---|
| 15 | include Element/Makefile.am
|
|---|
| 16 | include Filling/Makefile.am
|
|---|
| 17 | include Fragmentation/Makefile.am
|
|---|
| 18 | include Fragmentation/Summation/Containers/Makefile.am
|
|---|
| 19 | include Fragmentation/Summation/Converter/Makefile.am
|
|---|
| 20 | include Fragmentation/Summation/Makefile.am
|
|---|
| 21 | include Fragmentation/Summation/SetValues/Makefile.am
|
|---|
| 22 | include FunctionApproximation/Makefile.am
|
|---|
| 23 | include Graph/Makefile.am
|
|---|
| 24 | include Helpers/Makefile.am
|
|---|
| 25 |
|
|---|
| 26 | if CONDJOBMARKET
|
|---|
| 27 | include Fragmentation/Automation/Makefile.am
|
|---|
| 28 | include Jobs/Makefile.am
|
|---|
| 29 | endif
|
|---|
| 30 |
|
|---|
| 31 | include LinkedCell/Makefile.am
|
|---|
| 32 | include Parameters/Makefile.am
|
|---|
| 33 | include Parser/Makefile.am
|
|---|
| 34 | include Potentials/Makefile.am
|
|---|
| 35 | include RandomNumbers/Makefile.am
|
|---|
| 36 | include Shapes/Makefile.am
|
|---|
| 37 | include UIElements/Makefile.am
|
|---|
| 38 |
|
|---|
| 39 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} ${CodePatterns_LDFLAGS}
|
|---|
| 40 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
|---|
| 41 |
|
|---|
| 42 | BONDSOURCE = \
|
|---|
| 43 | Bond/bond.cpp \
|
|---|
| 44 | Bond/bond_observable.cpp \
|
|---|
| 45 | Bond/BondInfo.cpp \
|
|---|
| 46 | Bond/GraphEdge.cpp
|
|---|
| 47 |
|
|---|
| 48 | BONDHEADER = \
|
|---|
| 49 | Bond/bond.hpp \
|
|---|
| 50 | Bond/bond_observable.hpp \
|
|---|
| 51 | Bond/BondInfo.hpp \
|
|---|
| 52 | Bond/GraphEdge.hpp
|
|---|
| 53 |
|
|---|
| 54 | DESCRIPTORSOURCE = \
|
|---|
| 55 | Descriptors/AtomDescriptor.cpp \
|
|---|
| 56 | Descriptors/AtomIdDescriptor.cpp \
|
|---|
| 57 | Descriptors/AtomOfMoleculeDescriptor.cpp \
|
|---|
| 58 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
|---|
| 59 | Descriptors/AtomOrderDescriptor.cpp \
|
|---|
| 60 | Descriptors/AtomSelectionDescriptor.cpp \
|
|---|
| 61 | Descriptors/AtomShapeDescriptor.cpp \
|
|---|
| 62 | Descriptors/AtomTypeDescriptor.cpp \
|
|---|
| 63 | Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
|
|---|
| 64 | Descriptors/MoleculeDescriptor.cpp \
|
|---|
| 65 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
|---|
| 66 | Descriptors/MoleculeIdDescriptor.cpp \
|
|---|
| 67 | Descriptors/MoleculeNameDescriptor.cpp \
|
|---|
| 68 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
|---|
| 69 | Descriptors/MoleculeOrderDescriptor.cpp \
|
|---|
| 70 | Descriptors/MoleculePtrDescriptor.cpp \
|
|---|
| 71 | Descriptors/MoleculeSelectionDescriptor.cpp
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 | DESCRIPTORHEADER = \
|
|---|
| 75 | Descriptors/AtomDescriptor.hpp \
|
|---|
| 76 | Descriptors/AtomIdDescriptor.hpp \
|
|---|
| 77 | Descriptors/AtomOfMoleculeDescriptor.hpp \
|
|---|
| 78 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
|---|
| 79 | Descriptors/AtomOrderDescriptor.hpp \
|
|---|
| 80 | Descriptors/AtomSelectionDescriptor.hpp \
|
|---|
| 81 | Descriptors/AtomShapeDescriptor.hpp \
|
|---|
| 82 | Descriptors/AtomTypeDescriptor.hpp \
|
|---|
| 83 | Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
|
|---|
| 84 | Descriptors/DescriptorBase.hpp \
|
|---|
| 85 | Descriptors/MoleculeDescriptor.hpp \
|
|---|
| 86 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
|---|
| 87 | Descriptors/MoleculeIdDescriptor.hpp \
|
|---|
| 88 | Descriptors/MoleculeNameDescriptor.hpp \
|
|---|
| 89 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
|---|
| 90 | Descriptors/MoleculeOrderDescriptor.hpp \
|
|---|
| 91 | Descriptors/MoleculePtrDescriptor.hpp \
|
|---|
| 92 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
|---|
| 93 | Descriptors/SelectiveIterator.hpp
|
|---|
| 94 |
|
|---|
| 95 | DESCRIPTORIMPLHEADER = \
|
|---|
| 96 | Descriptors/AtomDescriptor_impl.hpp \
|
|---|
| 97 | Descriptors/AtomIdDescriptor_impl.hpp \
|
|---|
| 98 | Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
|
|---|
| 99 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 100 | Descriptors/AtomOrderDescriptor_impl.hpp \
|
|---|
| 101 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
|---|
| 102 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
|---|
| 103 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
|---|
| 104 | Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
|
|---|
| 105 | Descriptors/DescriptorBase_impl.hpp \
|
|---|
| 106 | Descriptors/MoleculeDescriptor_impl.hpp \
|
|---|
| 107 | Descriptors/MoleculeFormulaDescriptor_impl.hpp \
|
|---|
| 108 | Descriptors/MoleculeIdDescriptor_impl.hpp \
|
|---|
| 109 | Descriptors/MoleculeNameDescriptor_impl.hpp \
|
|---|
| 110 | Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
|
|---|
| 111 | Descriptors/MoleculeOrderDescriptor_impl.hpp \
|
|---|
| 112 | Descriptors/MoleculePtrDescriptor_impl.hpp \
|
|---|
| 113 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 114 | Descriptors/SelectiveIterator_impl.hpp
|
|---|
| 115 |
|
|---|
| 116 | DYNAMICSSOURCE = \
|
|---|
| 117 | Dynamics/MinimiseConstrainedPotential.cpp
|
|---|
| 118 |
|
|---|
| 119 | DYNAMICSHEADER = \
|
|---|
| 120 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
|---|
| 121 | Dynamics/MinimiseConstrainedPotential.hpp \
|
|---|
| 122 | Dynamics/OutputTemperature.hpp \
|
|---|
| 123 | Dynamics/VerletForceIntegration.hpp
|
|---|
| 124 |
|
|---|
| 125 | THERMOSTATSOURCE = \
|
|---|
| 126 | Thermostats/Berendsen.cpp \
|
|---|
| 127 | Thermostats/GaussianThermostat.cpp \
|
|---|
| 128 | Thermostats/Langevin.cpp \
|
|---|
| 129 | Thermostats/NoseHoover.cpp \
|
|---|
| 130 | Thermostats/NoThermostat.cpp \
|
|---|
| 131 | Thermostats/Thermostat.cpp \
|
|---|
| 132 | Thermostats/ThermoStatContainer.cpp \
|
|---|
| 133 | Thermostats/Woodcock.cpp
|
|---|
| 134 |
|
|---|
| 135 | THERMOSTATHEADER = \
|
|---|
| 136 | Thermostats/Berendsen.hpp \
|
|---|
| 137 | Thermostats/GaussianThermostat.hpp \
|
|---|
| 138 | Thermostats/Langevin.hpp \
|
|---|
| 139 | Thermostats/NoseHoover.hpp \
|
|---|
| 140 | Thermostats/NoThermostat.hpp \
|
|---|
| 141 | Thermostats/Thermostat.hpp \
|
|---|
| 142 | Thermostats/ThermoStatContainer.hpp \
|
|---|
| 143 | Thermostats/Woodcock.hpp
|
|---|
| 144 |
|
|---|
| 145 | TESSELATIONSOURCE = \
|
|---|
| 146 | Tesselation/ApproximateShapeArea.cpp \
|
|---|
| 147 | Tesselation/ApproximateShapeVolume.cpp \
|
|---|
| 148 | Tesselation/boundary.cpp \
|
|---|
| 149 | Tesselation/BoundaryLineSet.cpp \
|
|---|
| 150 | Tesselation/BoundaryPointSet.cpp \
|
|---|
| 151 | Tesselation/BoundaryPolygonSet.cpp \
|
|---|
| 152 | Tesselation/BoundaryTriangleSet.cpp \
|
|---|
| 153 | Tesselation/CandidateForTesselation.cpp \
|
|---|
| 154 | Tesselation/ellipsoid.cpp \
|
|---|
| 155 | Tesselation/tesselation.cpp \
|
|---|
| 156 | Tesselation/tesselationhelpers.cpp \
|
|---|
| 157 | Tesselation/triangleintersectionlist.cpp
|
|---|
| 158 |
|
|---|
| 159 | TESSELATIONHEADER = \
|
|---|
| 160 | Tesselation/ApproximateShapeArea.hpp \
|
|---|
| 161 | Tesselation/ApproximateShapeVolume.hpp \
|
|---|
| 162 | Tesselation/boundary.hpp \
|
|---|
| 163 | Tesselation/BoundaryLineSet.hpp \
|
|---|
| 164 | Tesselation/BoundaryMaps.hpp \
|
|---|
| 165 | Tesselation/BoundaryPointSet.hpp \
|
|---|
| 166 | Tesselation/BoundaryPolygonSet.hpp \
|
|---|
| 167 | Tesselation/BoundaryTriangleSet.hpp \
|
|---|
| 168 | Tesselation/CandidateForTesselation.hpp \
|
|---|
| 169 | Tesselation/ellipsoid.hpp \
|
|---|
| 170 | Tesselation/tesselation.hpp \
|
|---|
| 171 | Tesselation/tesselationhelpers.hpp \
|
|---|
| 172 | Tesselation/triangleintersectionlist.hpp
|
|---|
| 173 |
|
|---|
| 174 | MOLECUILDERSOURCE = \
|
|---|
| 175 | ${BONDSOURCE} \
|
|---|
| 176 | ${DESCRIPTORSOURCE} \
|
|---|
| 177 | ${DYNAMICSSOURCE} \
|
|---|
| 178 | ${THERMOSTATSOURCE} \
|
|---|
| 179 | ${TESSELATIONSOURCE} \
|
|---|
| 180 | AtomIdSet.cpp \
|
|---|
| 181 | Box.cpp \
|
|---|
| 182 | Box_BoundaryConditions.cpp \
|
|---|
| 183 | config.cpp \
|
|---|
| 184 | Formula.cpp \
|
|---|
| 185 | MoleculeLeafClass.cpp \
|
|---|
| 186 | moleculelist.cpp \
|
|---|
| 187 | molecule.cpp \
|
|---|
| 188 | molecule_geometry.cpp \
|
|---|
| 189 | molecule_graph.cpp \
|
|---|
| 190 | UIElements/UIFactory.cpp \
|
|---|
| 191 | version.c \
|
|---|
| 192 | World.cpp \
|
|---|
| 193 | WorldTime.cpp
|
|---|
| 194 |
|
|---|
| 195 | MOLECUILDERHEADER = \
|
|---|
| 196 | ${BONDHEADER} \
|
|---|
| 197 | ${DESCRIPTORHEADER} \
|
|---|
| 198 | ${DESCRIPTORIMPLHEADER} \
|
|---|
| 199 | ${DYNAMICSHEADER} \
|
|---|
| 200 | ${THERMOSTATHEADER} \
|
|---|
| 201 | ${TESSELATIONHEADER} \
|
|---|
| 202 | AtomIdSet.hpp \
|
|---|
| 203 | Box.hpp \
|
|---|
| 204 | Box_BoundaryConditions.hpp \
|
|---|
| 205 | config.hpp \
|
|---|
| 206 | Formula.hpp \
|
|---|
| 207 | IdPool.hpp \
|
|---|
| 208 | IdPool_impl.hpp \
|
|---|
| 209 | IdPool_policy.hpp \
|
|---|
| 210 | MoleculeLeafClass.hpp \
|
|---|
| 211 | MoleculeListClass.hpp \
|
|---|
| 212 | molecule.hpp \
|
|---|
| 213 | types.hpp \
|
|---|
| 214 | UIElements/UIFactory.hpp \
|
|---|
| 215 | version.h \
|
|---|
| 216 | World.hpp \
|
|---|
| 217 | World_calculations.hpp \
|
|---|
| 218 | WorldTime.hpp
|
|---|
| 219 |
|
|---|
| 220 | noinst_LTLIBRARIES += libMolecuilder.la
|
|---|
| 221 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
|---|
| 222 |
|
|---|
| 223 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
|---|
| 224 |
|
|---|
| 225 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
|---|
| 226 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
|---|
| 227 | ## will therefore be treated as if it were literally part of the target name,
|
|---|
| 228 | ## and the variable name derived from that.
|
|---|
| 229 | ## The file extension .cc is recognized by Automake, and makes it produce
|
|---|
| 230 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
|---|
| 231 | ## from each source file. Note that it is not necessary to list header files
|
|---|
| 232 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
|---|
| 233 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
|---|
| 234 |
|
|---|
| 235 | ## Instruct libtool to include ABI version information in the generated shared
|
|---|
| 236 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
|---|
| 237 | ## that all version information is kept in one place.
|
|---|
| 238 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
|---|
| 239 |
|
|---|
| 240 | ## The generated configuration header is installed in its own subdirectory of
|
|---|
| 241 | ## $(libdir). The reason for this is that the configuration information put
|
|---|
| 242 | ## into this header file describes the target platform the installed library
|
|---|
| 243 | ## has been built for. Thus the file must not be installed into a location
|
|---|
| 244 | ## intended for architecture-independent files, as defined by the Filesystem
|
|---|
| 245 | ## Hierarchy Standard (FHS).
|
|---|
| 246 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
|---|
| 247 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
|---|
| 248 | ## in _HEADERS variables are normally included in the distribution, but the
|
|---|
| 249 | ## configuration header file is generated at configure time and should not be
|
|---|
| 250 | ## shipped with the source tarball.
|
|---|
| 251 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
|---|
| 252 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
|---|
| 253 |
|
|---|
| 254 | ## Install the generated pkg-config file (.pc) into the expected location for
|
|---|
| 255 | ## architecture-dependent package configuration information. Occasionally,
|
|---|
| 256 | ## pkg-config files are also used for architecture-independent data packages,
|
|---|
| 257 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
|---|
| 258 | pkgconfigdir = $(libdir)/pkgconfig
|
|---|
| 259 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
|---|
| 260 |
|
|---|
| 261 |
|
|---|
| 262 | INCLUDES = \
|
|---|
| 263 | -I$(top_srcdir)/src/unittests \
|
|---|
| 264 | -I$(top_srcdir)/src/Actions \
|
|---|
| 265 | -I$(top_srcdir)/src/UIElements \
|
|---|
| 266 | -I$(top_srcdir)/LinearAlgebra/src
|
|---|
| 267 |
|
|---|
| 268 | bin_PROGRAMS += molecuilder joiner analyzer
|
|---|
| 269 | EXTRA_PROGRAMS = unity
|
|---|
| 270 |
|
|---|
| 271 |
|
|---|
| 272 | extrastuffdir = $(datadir)/@PACKAGE@/data
|
|---|
| 273 | databasedir = $(extrastuffdir)/databases
|
|---|
| 274 | database_DATA = \
|
|---|
| 275 | ${top_srcdir}/data/databases/*.db
|
|---|
| 276 |
|
|---|
| 277 | bondtabledir = $(extrastuffdir)/bondtables
|
|---|
| 278 | bondtable_DATA = \
|
|---|
| 279 | ${top_srcdir}/data/bondtables/*.dat
|
|---|
| 280 |
|
|---|
| 281 | moleculedir = $(extrastuffdir)/molecules
|
|---|
| 282 | molecule_DATA = \
|
|---|
| 283 | ${top_srcdir}/data/molecules/*.pdb
|
|---|
| 284 |
|
|---|
| 285 | if CONDPYTHON
|
|---|
| 286 | pyexec_LTLIBRARIES += pyMoleCuilder.la
|
|---|
| 287 | pyMoleCuilder_la_SOURCES = \
|
|---|
| 288 | cleanUp.cpp \
|
|---|
| 289 | cleanUp.hpp \
|
|---|
| 290 | Actions/Action_impl_python.hpp \
|
|---|
| 291 | Actions/GlobalListOfActions.hpp \
|
|---|
| 292 | Actions/ActionHistory.hpp \
|
|---|
| 293 | Actions/pyMoleCuilder.cpp
|
|---|
| 294 | pyMoleCuilder_la_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} -I$(PYTHON_INCLUDE_DIR)
|
|---|
| 295 | pyMoleCuilder_la_LDFLAGS = -module -avoid-version -shared $(BOOST_PYTHON_LDFLAGS)
|
|---|
| 296 | pyMoleCuilder_la_LIBADD = \
|
|---|
| 297 | libMolecuilderUI.la
|
|---|
| 298 | if CONDJOBMARKET
|
|---|
| 299 | pyMoleCuilder_la_LIBADD += \
|
|---|
| 300 | libMolecuilderJobs.la
|
|---|
| 301 | endif
|
|---|
| 302 | pyMoleCuilder_la_LIBADD += \
|
|---|
| 303 | $(BOOST_PYTHON_LIBS) \
|
|---|
| 304 | ${CodePatterns_LIBS} \
|
|---|
| 305 | -l$(PYTHON_LIB)
|
|---|
| 306 | endif
|
|---|
| 307 |
|
|---|
| 308 |
|
|---|
| 309 | molecuilder_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 310 | #molecuilder_CPPFLAGS += -DNO_CACHING
|
|---|
| 311 | molecuilder_LDFLAGS = \
|
|---|
| 312 | $(AM_LDFLAGS) \
|
|---|
| 313 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
|---|
| 314 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
|---|
| 315 | $(BOOST_RANDOM_LDFLAGS) \
|
|---|
| 316 | $(BOOST_SYSTEM_LDFLAGS) \
|
|---|
| 317 | $(BOOST_THREAD_LDFLAGS)
|
|---|
| 318 | molecuilder_SOURCES = \
|
|---|
| 319 | builder.cpp \
|
|---|
| 320 | builder_init.cpp \
|
|---|
| 321 | builder_init.hpp \
|
|---|
| 322 | cleanUp.cpp \
|
|---|
| 323 | cleanUp.hpp \
|
|---|
| 324 | PythonScripting.hpp
|
|---|
| 325 | molecuilder_LDADD = \
|
|---|
| 326 | libMolecuilderUI.la
|
|---|
| 327 | if CONDJOBMARKET
|
|---|
| 328 | molecuilder_LDADD += \
|
|---|
| 329 | libMolecuilderJobs.la
|
|---|
| 330 | endif
|
|---|
| 331 | molecuilder_LDADD += \
|
|---|
| 332 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 333 | ${CodePatterns_LIBS} \
|
|---|
| 334 | $(BOOST_THREAD_LIBS) \
|
|---|
| 335 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 336 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 337 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 338 | $(BOOST_SYSTEM_LIBS)
|
|---|
| 339 |
|
|---|
| 340 | if CONDPYTHON
|
|---|
| 341 | molecuilder_SOURCES += \
|
|---|
| 342 | Actions/Action_impl_python.hpp \
|
|---|
| 343 | Actions/GlobalListOfActions.hpp
|
|---|
| 344 | molecuilder_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
|---|
| 345 | molecuilder_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
|---|
| 346 | molecuilder_LDADD += \
|
|---|
| 347 | $(BOOST_PYTHON_LIBS) \
|
|---|
| 348 | ${CodePatterns_LIBS} \
|
|---|
| 349 | -l$(PYTHON_LIB)
|
|---|
| 350 | endif
|
|---|
| 351 |
|
|---|
| 352 | #Stuff for building the GUI using Qt
|
|---|
| 353 | if CONDQTGUI
|
|---|
| 354 | bin_PROGRAMS += molecuildergui
|
|---|
| 355 | molecuildergui_SOURCES = \
|
|---|
| 356 | builder.cpp \
|
|---|
| 357 | builder_init.cpp \
|
|---|
| 358 | builder_init.hpp \
|
|---|
| 359 | cleanUp.cpp \
|
|---|
| 360 | cleanUp.hpp \
|
|---|
| 361 | PythonScripting.hpp
|
|---|
| 362 | molecuildergui_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
|
|---|
| 363 | molecuildergui_LDFLAGS = \
|
|---|
| 364 | $(AM_LDFLAGS) \
|
|---|
| 365 | $(BOOST_FILESYSTEM_LDFLAGS) \
|
|---|
| 366 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
|
|---|
| 367 | $(BOOST_SYSTEM_LDFLAGS) \
|
|---|
| 368 | $(BOOST_THREAD_LDFLAGS)
|
|---|
| 369 | molecuildergui_LDADD = \
|
|---|
| 370 | libMolecuilderQtUI.la \
|
|---|
| 371 | libMolecuilderUI.la
|
|---|
| 372 | if CONDJOBMARKET
|
|---|
| 373 | molecuildergui_LDADD += \
|
|---|
| 374 | libMolecuilderJobs.la
|
|---|
| 375 | endif
|
|---|
| 376 | molecuildergui_LDADD += \
|
|---|
| 377 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 378 | ${CodePatterns_LIBS} \
|
|---|
| 379 | $(BOOST_THREAD_LIBS) \
|
|---|
| 380 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 381 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 382 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 383 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 384 | $(GUI_LIBS)
|
|---|
| 385 |
|
|---|
| 386 | if CONDPYTHON
|
|---|
| 387 | molecuildergui_SOURCES += \
|
|---|
| 388 | Actions/Action_impl_python.hpp \
|
|---|
| 389 | Actions/GlobalListOfActions.hpp
|
|---|
| 390 | molecuildergui_CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
|
|---|
| 391 | molecuildergui_LDFLAGS += $(BOOST_PYTHON_LDFLAGS)
|
|---|
| 392 | molecuildergui_LDADD += \
|
|---|
| 393 | $(BOOST_PYTHON_LIBS) \
|
|---|
| 394 | ${CodePatterns_LIBS} \
|
|---|
| 395 | -l$(PYTHON_LIB)
|
|---|
| 396 | endif
|
|---|
| 397 |
|
|---|
| 398 | endif
|
|---|
| 399 |
|
|---|
| 400 | joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
|---|
| 401 | joiner_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 402 | joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 403 | joiner_LDADD = \
|
|---|
| 404 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
|---|
| 405 | libMolecuilderFragmentation.la \
|
|---|
| 406 | libMolecuilderFragmentation_KeysetsContainer.la \
|
|---|
| 407 | libMolecuilderHelpers.la \
|
|---|
| 408 | libMolecuilderElement.la \
|
|---|
| 409 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 410 | ${CodePatterns_LIBS} \
|
|---|
| 411 | $(BOOST_THREAD_LIBS)
|
|---|
| 412 |
|
|---|
| 413 | analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
|---|
| 414 | analyzer_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 415 | analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 416 | analyzer_LDADD = \
|
|---|
| 417 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
|---|
| 418 | libMolecuilderFragmentation.la \
|
|---|
| 419 | libMolecuilderFragmentation_KeysetsContainer.la \
|
|---|
| 420 | libMolecuilderHelpers.la \
|
|---|
| 421 | libMolecuilderElement.la \
|
|---|
| 422 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 423 | ${CodePatterns_LIBS} \
|
|---|
| 424 | $(BOOST_THREAD_LIBS)
|
|---|
| 425 |
|
|---|
| 426 | if CONDJOBMARKET
|
|---|
| 427 | CONTROLLERSOURCE = \
|
|---|
| 428 | controller_MPQCCommandJob.cpp \
|
|---|
| 429 | ControllerOptions_MPQCCommandJob.cpp
|
|---|
| 430 |
|
|---|
| 431 | CONTROLLERHEADER = \
|
|---|
| 432 | controller_MPQCCommandJob.hpp \
|
|---|
| 433 | ControllerOptions_MPQCCommandJob.hpp
|
|---|
| 434 |
|
|---|
| 435 |
|
|---|
| 436 | noinst_LTLIBRARIES += libFragmentationAutomationController.la
|
|---|
| 437 | libFragmentationAutomationController_la_includedir = $(includedir)/MoleCuilder/JobMarket
|
|---|
| 438 | nobase_libFragmentationAutomationController_la_include_HEADERS = $(CONTROLLERHEADER)
|
|---|
| 439 | libFragmentationAutomationController_la_SOURCES = $(CONTROLLERSOURCE)
|
|---|
| 440 | libFragmentationAutomationController_la_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
|---|
| 441 | libFragmentationAutomationController_la_LIBADD = \
|
|---|
| 442 | ${JobMarket_Controller_LIBS} \
|
|---|
| 443 | $(JobMarket_LIBS)
|
|---|
| 444 |
|
|---|
| 445 | bin_PROGRAMS += Controller PoolWorker Server
|
|---|
| 446 |
|
|---|
| 447 | Controller_SOURCES = controller.cpp controller_AddOn_MPQCCommandJob.cpp
|
|---|
| 448 | Controller_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
|---|
| 449 | Controller_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
|---|
| 450 | Controller_LDADD = \
|
|---|
| 451 | libFragmentationAutomationController.la \
|
|---|
| 452 | libMolecuilderJobs.la \
|
|---|
| 453 | libMolecuilderFragmentationSummation.la \
|
|---|
| 454 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
|---|
| 455 | libMolecuilderFragmentation.la \
|
|---|
| 456 | libMolecuilderHelpers.la \
|
|---|
| 457 | $(JobMarket_Controller_LIBS) \
|
|---|
| 458 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 459 | $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| 460 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 461 | ${CodePatterns_LIBS}
|
|---|
| 462 |
|
|---|
| 463 | PoolWorker_SOURCES = poolworker.cpp
|
|---|
| 464 | PoolWorker_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
|---|
| 465 | PoolWorker_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
|---|
| 466 | PoolWorker_LDADD = \
|
|---|
| 467 | libMolecuilderJobs.la \
|
|---|
| 468 | libMolecuilderFragmentationSummation.la \
|
|---|
| 469 | ${JobMarket_PoolWorker_LIBS} \
|
|---|
| 470 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 471 | $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| 472 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 473 | ${CodePatterns_LIBS}
|
|---|
| 474 |
|
|---|
| 475 | Server_SOURCES = Server.cpp
|
|---|
| 476 | Server_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) ${CodePatterns_LDFLAGS}
|
|---|
| 477 | Server_CPPFLAGS = $(AM_CPPFLAGS) $(JobMarket_CFLAGS)
|
|---|
| 478 | Server_LDADD = \
|
|---|
| 479 | libMolecuilderJobs.la \
|
|---|
| 480 | libMolecuilderFragmentationSummation.la \
|
|---|
| 481 | ${JobMarket_Server_LIBS} \
|
|---|
| 482 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 483 | $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| 484 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 485 | ${CodePatterns_LIBS}
|
|---|
| 486 | endif
|
|---|
| 487 |
|
|---|
| 488 | if CONDLEVMAR
|
|---|
| 489 | bin_PROGRAMS += LevMartester
|
|---|
| 490 | LevMartester_SOURCES = LevMartester.cpp
|
|---|
| 491 | LevMartester_CPPFLAGS = $(AM_CPPFLAGS) $(LEVMAR_CPPFLAGS)
|
|---|
| 492 | LevMartester_LDFLAGS = $(AM_LDFLAGS) $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) ${CodePatterns_LDFLAGS} $(LEVMAR_LDFLAGS)
|
|---|
| 493 | LevMartester_LDADD = \
|
|---|
| 494 | libMolecuilderPotentials.la \
|
|---|
| 495 | libMolecuilderFunctionApproximation.la \
|
|---|
| 496 | libMolecuilderFragmentation.la \
|
|---|
| 497 | libMolecuilderFragmentation_getFromKeysetStub.la \
|
|---|
| 498 | libMolecuilderFragmentationSetValues.la \
|
|---|
| 499 | libMolecuilderHelpers.la \
|
|---|
| 500 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 501 | $(BOOST_SERIALIZATION_LIBS) \
|
|---|
| 502 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 503 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 504 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 505 | ${CodePatterns_LIBS} \
|
|---|
| 506 | $(LEVMAR_LIBS) \
|
|---|
| 507 | $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
|
|---|
| 508 | endif
|
|---|
| 509 |
|
|---|
| 510 | unity_SOURCES = unity.cpp
|
|---|
| 511 | unity_CPPFLAGS = $(AM_CPPFLAGS)
|
|---|
| 512 | unity_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 513 | unity_LDADD = \
|
|---|
| 514 | ${CodePatterns_LIBS} \
|
|---|
| 515 | $(BOOST_THREAD_LIBS) \
|
|---|
| 516 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 517 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 518 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 519 | $(BOOST_SYSTEM_LIBS)
|
|---|
| 520 |
|
|---|
| 521 |
|
|---|
| 522 | FORCE:
|
|---|
| 523 | $(srcdir)/.git-version: FORCE
|
|---|
| 524 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
|---|
| 525 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
|---|
| 526 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
|---|
| 527 | mv -f .git-version-t $(srcdir)/.git-version; \
|
|---|
| 528 | else \
|
|---|
| 529 | rm -f .git-version-t; \
|
|---|
| 530 | fi
|
|---|
| 531 |
|
|---|
| 532 | EXTRA_DIST += \
|
|---|
| 533 | $(srcdir)/.git-version \
|
|---|
| 534 | $(bondtable_DATA) \
|
|---|
| 535 | $(database_DATA) \
|
|---|
| 536 | $(molecule_DATA)
|
|---|
| 537 |
|
|---|
| 538 | $(srcdir)/version.c: $(srcdir)/.git-version
|
|---|
| 539 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
|---|
| 540 |
|
|---|
| 541 |
|
|---|
| 542 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
|---|
| 543 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
|---|
| 544 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
|---|
| 545 | done; \
|
|---|
| 546 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
|---|
| 547 | olddir=$$PWD;\
|
|---|
| 548 | cd $$directory && make unity.cpp;\
|
|---|
| 549 | cd $$olddir;\
|
|---|
| 550 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
|---|
| 551 | done;\
|
|---|
| 552 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
|---|
| 553 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
|---|
| 554 |
|
|---|
| 555 | MOSTLYCLEANFILES += unity.cpp
|
|---|
| 556 |
|
|---|