| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| 4 | MOSTLYCLEANFILES =
|
|---|
| 5 | lib_LTLIBRARIES =
|
|---|
| 6 | noinst_LTLIBRARIES =
|
|---|
| 7 | pyexec_LTLIBRARIES =
|
|---|
| 8 | BUILT_SOURCES =
|
|---|
| 9 | bin_PROGRAMS =
|
|---|
| 10 |
|
|---|
| 11 | include Actions/Makefile.am
|
|---|
| 12 | include Analysis/Makefile.am
|
|---|
| 13 | include Atom/Makefile.am
|
|---|
| 14 | include Element/Makefile.am
|
|---|
| 15 | include Filling/Makefile.am
|
|---|
| 16 | include Fragmentation/Makefile.am
|
|---|
| 17 | include Graph/Makefile.am
|
|---|
| 18 | include Helpers/Makefile.am
|
|---|
| 19 | include LinkedCell/Makefile.am
|
|---|
| 20 | include Parser/Makefile.am
|
|---|
| 21 | include RandomNumbers/Makefile.am
|
|---|
| 22 | include Shapes/Makefile.am
|
|---|
| 23 | include UIElements/Makefile.am
|
|---|
| 24 |
|
|---|
| 25 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
|---|
| 26 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
|---|
| 27 |
|
|---|
| 28 | BONDSOURCE = \
|
|---|
| 29 | Bond/bond.cpp \
|
|---|
| 30 | Bond/bond_observable.cpp \
|
|---|
| 31 | Bond/GraphEdge.cpp
|
|---|
| 32 |
|
|---|
| 33 | BONDHEADER = \
|
|---|
| 34 | Bond/bond.hpp \
|
|---|
| 35 | Bond/bond_observable.hpp \
|
|---|
| 36 | Bond/GraphEdge.hpp
|
|---|
| 37 |
|
|---|
| 38 | DESCRIPTORSOURCE = \
|
|---|
| 39 | Descriptors/AtomDescriptor.cpp \
|
|---|
| 40 | Descriptors/AtomIdDescriptor.cpp \
|
|---|
| 41 | Descriptors/AtomOfMoleculeDescriptor.cpp \
|
|---|
| 42 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
|---|
| 43 | Descriptors/AtomOrderDescriptor.cpp \
|
|---|
| 44 | Descriptors/AtomSelectionDescriptor.cpp \
|
|---|
| 45 | Descriptors/AtomShapeDescriptor.cpp \
|
|---|
| 46 | Descriptors/AtomTypeDescriptor.cpp \
|
|---|
| 47 | Descriptors/AtomsWithinDistanceOfDescriptor.cpp \
|
|---|
| 48 | Descriptors/MoleculeDescriptor.cpp \
|
|---|
| 49 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
|---|
| 50 | Descriptors/MoleculeIdDescriptor.cpp \
|
|---|
| 51 | Descriptors/MoleculeNameDescriptor.cpp \
|
|---|
| 52 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
|---|
| 53 | Descriptors/MoleculeOrderDescriptor.cpp \
|
|---|
| 54 | Descriptors/MoleculePtrDescriptor.cpp \
|
|---|
| 55 | Descriptors/MoleculeSelectionDescriptor.cpp
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 | DESCRIPTORHEADER = \
|
|---|
| 59 | Descriptors/AtomDescriptor.hpp \
|
|---|
| 60 | Descriptors/AtomIdDescriptor.hpp \
|
|---|
| 61 | Descriptors/AtomOfMoleculeDescriptor.hpp \
|
|---|
| 62 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
|---|
| 63 | Descriptors/AtomOrderDescriptor.hpp \
|
|---|
| 64 | Descriptors/AtomSelectionDescriptor.hpp \
|
|---|
| 65 | Descriptors/AtomShapeDescriptor.hpp \
|
|---|
| 66 | Descriptors/AtomTypeDescriptor.hpp \
|
|---|
| 67 | Descriptors/AtomsWithinDistanceOfDescriptor.hpp \
|
|---|
| 68 | Descriptors/DescriptorBase.hpp \
|
|---|
| 69 | Descriptors/MoleculeDescriptor.hpp \
|
|---|
| 70 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
|---|
| 71 | Descriptors/MoleculeIdDescriptor.hpp \
|
|---|
| 72 | Descriptors/MoleculeNameDescriptor.hpp \
|
|---|
| 73 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
|---|
| 74 | Descriptors/MoleculeOrderDescriptor.hpp \
|
|---|
| 75 | Descriptors/MoleculePtrDescriptor.hpp \
|
|---|
| 76 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
|---|
| 77 | Descriptors/SelectiveIterator.hpp
|
|---|
| 78 |
|
|---|
| 79 | DESCRIPTORIMPLHEADER = \
|
|---|
| 80 | Descriptors/AtomDescriptor_impl.hpp \
|
|---|
| 81 | Descriptors/AtomIdDescriptor_impl.hpp \
|
|---|
| 82 | Descriptors/AtomOfMoleculeDescriptor_impl.hpp \
|
|---|
| 83 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 84 | Descriptors/AtomOrderDescriptor_impl.hpp \
|
|---|
| 85 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
|---|
| 86 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
|---|
| 87 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
|---|
| 88 | Descriptors/AtomsWithinDistanceOfDescriptor_impl.hpp \
|
|---|
| 89 | Descriptors/DescriptorBase_impl.hpp \
|
|---|
| 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 \
|
|---|
| 97 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 98 | Descriptors/SelectiveIterator_impl.hpp
|
|---|
| 99 |
|
|---|
| 100 | DYNAMICSSOURCE = \
|
|---|
| 101 | Dynamics/MinimiseConstrainedPotential.cpp
|
|---|
| 102 |
|
|---|
| 103 | DYNAMICSHEADER = \
|
|---|
| 104 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
|---|
| 105 | Dynamics/MinimiseConstrainedPotential.hpp \
|
|---|
| 106 | Dynamics/OutputTemperature.hpp \
|
|---|
| 107 | Dynamics/VerletForceIntegration.hpp
|
|---|
| 108 |
|
|---|
| 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 \
|
|---|
| 116 | Thermostats/ThermoStatContainer.cpp \
|
|---|
| 117 | Thermostats/Woodcock.cpp
|
|---|
| 118 |
|
|---|
| 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 \
|
|---|
| 126 | Thermostats/ThermoStatContainer.hpp \
|
|---|
| 127 | Thermostats/Woodcock.hpp
|
|---|
| 128 |
|
|---|
| 129 | TESSELATIONSOURCE = \
|
|---|
| 130 | Tesselation/ApproximateShapeArea.cpp \
|
|---|
| 131 | Tesselation/ApproximateShapeVolume.cpp \
|
|---|
| 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
|
|---|
| 142 |
|
|---|
| 143 | TESSELATIONHEADER = \
|
|---|
| 144 | Tesselation/ApproximateShapeArea.hpp \
|
|---|
| 145 | Tesselation/ApproximateShapeVolume.hpp \
|
|---|
| 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
|
|---|
| 157 |
|
|---|
| 158 | MOLECUILDERSOURCE = \
|
|---|
| 159 | ${BONDSOURCE} \
|
|---|
| 160 | ${DESCRIPTORSOURCE} \
|
|---|
| 161 | ${DYNAMICSSOURCE} \
|
|---|
| 162 | ${THERMOSTATSOURCE} \
|
|---|
| 163 | ${TESSELATIONSOURCE} \
|
|---|
| 164 | AtomIdSet.cpp \
|
|---|
| 165 | Box.cpp \
|
|---|
| 166 | Box_BoundaryConditions.cpp \
|
|---|
| 167 | config.cpp \
|
|---|
| 168 | Formula.cpp \
|
|---|
| 169 | MoleculeLeafClass.cpp \
|
|---|
| 170 | moleculelist.cpp \
|
|---|
| 171 | molecule.cpp \
|
|---|
| 172 | molecule_geometry.cpp \
|
|---|
| 173 | molecule_graph.cpp \
|
|---|
| 174 | UIElements/UIFactory.cpp \
|
|---|
| 175 | version.c \
|
|---|
| 176 | World.cpp \
|
|---|
| 177 | WorldTime.cpp
|
|---|
| 178 |
|
|---|
| 179 | MOLECUILDERHEADER = \
|
|---|
| 180 | ${BONDHEADER} \
|
|---|
| 181 | ${DESCRIPTORHEADER} \
|
|---|
| 182 | ${DESCRIPTORIMPLHEADER} \
|
|---|
| 183 | ${DYNAMICSHEADER} \
|
|---|
| 184 | ${THERMOSTATHEADER} \
|
|---|
| 185 | ${TESSELATIONHEADER} \
|
|---|
| 186 | AtomIdSet.hpp \
|
|---|
| 187 | Box.hpp \
|
|---|
| 188 | Box_BoundaryConditions.hpp \
|
|---|
| 189 | config.hpp \
|
|---|
| 190 | Formula.hpp \
|
|---|
| 191 | IdPool.hpp \
|
|---|
| 192 | IdPool_impl.hpp \
|
|---|
| 193 | IdPool_policy.hpp \
|
|---|
| 194 | MoleculeLeafClass.hpp \
|
|---|
| 195 | MoleculeListClass.hpp \
|
|---|
| 196 | molecule.hpp \
|
|---|
| 197 | types.hpp \
|
|---|
| 198 | UIElements/UIFactory.hpp \
|
|---|
| 199 | version.h \
|
|---|
| 200 | World.hpp \
|
|---|
| 201 | World_calculations.hpp \
|
|---|
| 202 | WorldTime.hpp
|
|---|
| 203 |
|
|---|
| 204 | noinst_LTLIBRARIES += libMolecuilder.la
|
|---|
| 205 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
|---|
| 206 |
|
|---|
| 207 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
|---|
| 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.
|
|---|
| 217 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
|---|
| 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.
|
|---|
| 222 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
|---|
| 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.
|
|---|
| 235 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
|---|
| 236 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
|---|
| 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
|
|---|
| 243 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
|---|
| 244 |
|
|---|
| 245 |
|
|---|
| 246 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
|
|---|
| 247 |
|
|---|
| 248 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
|---|
| 249 | noinst_LIBRARIES = libmenu.a
|
|---|
| 250 | bin_PROGRAMS += molecuilder joiner analyzer
|
|---|
| 251 | EXTRA_PROGRAMS = unity
|
|---|
| 252 |
|
|---|
| 253 |
|
|---|
| 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
|
|---|
| 262 |
|
|---|
| 263 | moleculedir = $(extrastuffdir)/molecules
|
|---|
| 264 | molecule_DATA = \
|
|---|
| 265 | ${top_srcdir}/data/molecules/*.pdb
|
|---|
| 266 |
|
|---|
| 267 | if CONDPYTHON
|
|---|
| 268 | pyexec_LTLIBRARIES += pyMoleCuilder.la
|
|---|
| 269 | pyMoleCuilder_la_SOURCES = \
|
|---|
| 270 | cleanUp.cpp \
|
|---|
| 271 | cleanUp.hpp \
|
|---|
| 272 | Actions/Action_impl_python.hpp \
|
|---|
| 273 | Actions/GlobalListOfActions.hpp \
|
|---|
| 274 | Actions/ActionHistory.hpp \
|
|---|
| 275 | Actions/pyMoleCuilder.cpp
|
|---|
| 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)
|
|---|
| 283 | endif
|
|---|
| 284 |
|
|---|
| 285 |
|
|---|
| 286 | molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
|
|---|
| 287 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
|---|
| 288 | molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 289 | molecuilder_SOURCES = \
|
|---|
| 290 | builder.cpp \
|
|---|
| 291 | builder_init.cpp \
|
|---|
| 292 | builder_init.hpp \
|
|---|
| 293 | cleanUp.cpp \
|
|---|
| 294 | cleanUp.hpp
|
|---|
| 295 | molecuilder_LDADD = \
|
|---|
| 296 | libMolecuilderUI.la \
|
|---|
| 297 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 298 | ${CodePatterns_LIBS} \
|
|---|
| 299 | $(BOOST_THREAD_LIBS) \
|
|---|
| 300 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 301 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 302 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 303 | $(BOOST_FILESYSTEM_LIBS)
|
|---|
| 304 |
|
|---|
| 305 | #Stuff for building the GUI using Qt
|
|---|
| 306 | if CONDQTGUI
|
|---|
| 307 | bin_PROGRAMS += molecuildergui
|
|---|
| 308 | molecuildergui_SOURCES = \
|
|---|
| 309 | builder.cpp \
|
|---|
| 310 | builder_init.cpp \
|
|---|
| 311 | builder_init.hpp \
|
|---|
| 312 | cleanUp.cpp \
|
|---|
| 313 | cleanUp.hpp
|
|---|
| 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)
|
|---|
| 316 | molecuildergui_LDADD = \
|
|---|
| 317 | libMolecuilderQtUI.la \
|
|---|
| 318 | libMolecuilderUI.la \
|
|---|
| 319 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 320 | ${CodePatterns_LIBS} \
|
|---|
| 321 | $(BOOST_THREAD_LIBS) \
|
|---|
| 322 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 323 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 324 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 325 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 326 | $(GUI_LIBS)
|
|---|
| 327 | endif
|
|---|
| 328 |
|
|---|
| 329 | joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
|---|
| 330 | joiner_CXXFLAGS = $(AM_CPPFLAGS)
|
|---|
| 331 | joiner_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 332 | joiner_LDADD = \
|
|---|
| 333 | libMolecuilderFragmentation.la \
|
|---|
| 334 | libMolecuilderHelpers.la \
|
|---|
| 335 | libMolecuilderElement.la \
|
|---|
| 336 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 337 | ${CodePatterns_LIBS} \
|
|---|
| 338 | $(BOOST_THREAD_LIBS)
|
|---|
| 339 |
|
|---|
| 340 | analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
|
|---|
| 341 | analyzer_CXXFLAGS = $(AM_CPPFLAGS)
|
|---|
| 342 | analyzer_LDFLAGS = $(AM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 343 | analyzer_LDADD = \
|
|---|
| 344 | libMolecuilderFragmentation.la \
|
|---|
| 345 | libMolecuilderHelpers.la \
|
|---|
| 346 | libMolecuilderElement.la \
|
|---|
| 347 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 348 | ${CodePatterns_LIBS} \
|
|---|
| 349 | $(BOOST_THREAD_LIBS)
|
|---|
| 350 |
|
|---|
| 351 | unity_SOURCES = unity.cpp
|
|---|
| 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)
|
|---|
| 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)
|
|---|
| 361 |
|
|---|
| 362 |
|
|---|
| 363 | FORCE:
|
|---|
| 364 | $(srcdir)/.git-version: FORCE
|
|---|
| 365 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
|---|
| 366 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
|---|
| 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 |
|
|---|
| 373 | EXTRA_DIST = \
|
|---|
| 374 | $(srcdir)/.git-version \
|
|---|
| 375 | $(bondtable_DATA) \
|
|---|
| 376 | $(database_DATA) \
|
|---|
| 377 | $(molecule_DATA)
|
|---|
| 378 |
|
|---|
| 379 | $(srcdir)/version.c: $(srcdir)/.git-version
|
|---|
| 380 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
|---|
| 381 |
|
|---|
| 382 |
|
|---|
| 383 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
|---|
| 384 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
|---|
| 385 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
|---|
| 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 |
|
|---|
| 396 | MOSTLYCLEANFILES += unity.cpp
|
|---|
| 397 |
|
|---|