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