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