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