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