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