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