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