[efc3cb] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[952f38] | 4 | SUBDIRS = Actions Exceptions Helpers LinearAlgebra Parser UIElements
|
---|
[5079a0] | 5 |
|
---|
[efc3cb] | 6 | ATOMSOURCE = \
|
---|
| 7 | atom.cpp \
|
---|
[e41c48] | 8 | AtomicInfo.cpp \
|
---|
[efc3cb] | 9 | atom_atominfo.cpp \
|
---|
| 10 | atom_bondedparticle.cpp \
|
---|
| 11 | atom_bondedparticleinfo.cpp \
|
---|
| 12 | atom_graphnode.cpp \
|
---|
| 13 | atom_graphnodeinfo.cpp \
|
---|
| 14 | atom_particleinfo.cpp \
|
---|
| 15 | atom_trajectoryparticle.cpp \
|
---|
| 16 | atom_trajectoryparticleinfo.cpp
|
---|
| 17 | ATOMHEADER = \
|
---|
| 18 | atom.hpp \
|
---|
[e41c48] | 19 | AtomicInfo.hpp \
|
---|
[efc3cb] | 20 | atom_atominfo.hpp \
|
---|
| 21 | atom_bondedparticle.hpp \
|
---|
| 22 | atom_bondedparticleinfo.hpp \
|
---|
| 23 | atom_graphnode.hpp \
|
---|
| 24 | atom_graphnodeinfo.hpp \
|
---|
| 25 | atom_particleinfo.hpp \
|
---|
| 26 | atom_trajectoryparticle.hpp \
|
---|
| 27 | atom_trajectoryparticleinfo.hpp
|
---|
| 28 |
|
---|
| 29 | ANALYSISSOURCE = \
|
---|
| 30 | analysis_bonds.cpp \
|
---|
| 31 | analysis_correlation.cpp
|
---|
| 32 | ANALYSISHEADER = \
|
---|
| 33 | analysis_bonds.hpp \
|
---|
| 34 | analysis_correlation.hpp
|
---|
[96c961] | 35 |
|
---|
[5079a0] | 36 | ACTIONSSOURCE = \
|
---|
| 37 | Actions/Action.cpp \
|
---|
[efc3cb] | 38 | Actions/ActionHistory.cpp \
|
---|
| 39 | Actions/ActionRegistry.cpp \
|
---|
| 40 | Actions/ActionSequence.cpp \
|
---|
[e4afb4] | 41 | Actions/ActionTraits.cpp \
|
---|
[efc3cb] | 42 | Actions/ErrorAction.cpp \
|
---|
| 43 | Actions/MakroAction.cpp \
|
---|
| 44 | Actions/ManipulateAtomsProcess.cpp \
|
---|
| 45 | Actions/MethodAction.cpp \
|
---|
[e4afb4] | 46 | Actions/OptionRegistry.cpp \
|
---|
| 47 | Actions/OptionTrait.cpp \
|
---|
[efc3cb] | 48 | Actions/Process.cpp
|
---|
| 49 |
|
---|
[5079a0] | 50 | ACTIONSHEADER = \
|
---|
| 51 | Actions/Action.hpp \
|
---|
[efc3cb] | 52 | Actions/ActionHistory.hpp \
|
---|
| 53 | Actions/ActionRegistry.hpp \
|
---|
| 54 | Actions/ActionSequence.hpp \
|
---|
[e4afb4] | 55 | Actions/ActionTraits.hpp \
|
---|
[efc3cb] | 56 | Actions/Calculation.hpp \
|
---|
| 57 | Actions/Calculation_impl.hpp \
|
---|
| 58 | Actions/ErrorAction.hpp \
|
---|
| 59 | Actions/MakroAction.hpp \
|
---|
| 60 | Actions/ManipulateAtomsProcess.hpp \
|
---|
| 61 | Actions/MethodAction.hpp \
|
---|
[e4afb4] | 62 | Actions/OptionRegistry.hpp \
|
---|
| 63 | Actions/OptionTrait.hpp \
|
---|
[efc3cb] | 64 | Actions/Process.hpp
|
---|
[456341] | 65 |
|
---|
[efc3cb] | 66 |
|
---|
| 67 | PATTERNSOURCE = \
|
---|
| 68 | Patterns/Observer.cpp
|
---|
| 69 | PATTERNHEADER = \
|
---|
| 70 | Patterns/Cacheable.hpp \
|
---|
| 71 | Patterns/Observer.hpp \
|
---|
| 72 | Patterns/Singleton.hpp
|
---|
[997784] | 73 |
|
---|
| 74 | SHAPESOURCE = \
|
---|
[e38447] | 75 | Shapes/BaseShapes.cpp \
|
---|
[e09b70] | 76 | Shapes/Shape.cpp \
|
---|
| 77 | Shapes/ShapeOps.cpp
|
---|
[997784] | 78 | SHAPEHEADER = \
|
---|
[e38447] | 79 | Shapes/BaseShapes.hpp \
|
---|
[e09b70] | 80 | Shapes/Shape.hpp \
|
---|
| 81 | Shapes/ShapeOps.hpp
|
---|
[3027f8] | 82 |
|
---|
[d193a2] | 83 |
|
---|
[57adc7] | 84 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 85 | Descriptors/AtomIdDescriptor.cpp \
|
---|
[48dcbd] | 86 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
[6d858c] | 87 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
[efc3cb] | 88 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
| 89 | Descriptors/MoleculeDescriptor.cpp \
|
---|
[6e7147] | 90 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
[e05826] | 91 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
[e6317b] | 92 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
[cf0ca1] | 93 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
| 94 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[57adc7] | 95 |
|
---|
[75ac0c] | 96 |
|
---|
[57adc7] | 97 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 98 | Descriptors/AtomIdDescriptor.hpp \
|
---|
[48dcbd] | 99 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
[6d858c] | 100 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
[efc3cb] | 101 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
| 102 | Descriptors/MoleculeDescriptor.hpp \
|
---|
[6e7147] | 103 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
[e30ce8] | 104 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
[31b09e] | 105 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
[cf0ca1] | 106 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
| 107 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[194649] | 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/Woodcock.cpp
|
---|
[d193a2] | 117 |
|
---|
[194649] | 118 | THERMOSTATHEADER = \
|
---|
| 119 | Thermostats/Berendsen.hpp \
|
---|
| 120 | Thermostats/GaussianThermostat.hpp \
|
---|
| 121 | Thermostats/Langevin.hpp \
|
---|
| 122 | Thermostats/NoseHoover.hpp \
|
---|
| 123 | Thermostats/NoThermostat.hpp \
|
---|
| 124 | Thermostats/Thermostat.hpp \
|
---|
| 125 | Thermostats/Woodcock.hpp
|
---|
[d193a2] | 126 |
|
---|
[d74077] | 127 | TESSELATIONSOURCE = \
|
---|
| 128 | BoundaryLineSet.cpp \
|
---|
| 129 | BoundaryPointSet.cpp \
|
---|
| 130 | BoundaryPolygonSet.cpp \
|
---|
| 131 | BoundaryTriangleSet.cpp \
|
---|
| 132 | CandidateForTesselation.cpp \
|
---|
| 133 | PointCloud.cpp \
|
---|
| 134 | tesselation.cpp \
|
---|
[8f4df1] | 135 | tesselationhelpers.cpp \
|
---|
[d74077] | 136 | TesselPoint.cpp
|
---|
| 137 |
|
---|
| 138 | TESSELATIONHEADER = \
|
---|
| 139 | BoundaryLineSet.hpp \
|
---|
| 140 | BoundaryPointSet.hpp \
|
---|
| 141 | BoundaryPolygonSet.hpp \
|
---|
| 142 | BoundaryTriangleSet.hpp \
|
---|
| 143 | CandidateForTesselation.hpp \
|
---|
| 144 | PointCloud.hpp \
|
---|
| 145 | tesselation.hpp \
|
---|
[8f4df1] | 146 | tesselationhelpers.hpp \
|
---|
[d74077] | 147 | TesselPoint.hpp
|
---|
| 148 |
|
---|
[255971] | 149 | MOLECUILDERSOURCE = \
|
---|
[efc3cb] | 150 | ${ANALYSISSOURCE} \
|
---|
[5079a0] | 151 | ${ACTIONSSOURCE} \
|
---|
[efc3cb] | 152 | ${ATOMSOURCE} \
|
---|
| 153 | ${PATTERNSOURCE} \
|
---|
[997784] | 154 | ${SHAPESOURCE} \
|
---|
[efc3cb] | 155 | ${DESCRIPTORSOURCE} \
|
---|
[194649] | 156 | ${THERMOSTATSOURCE} \
|
---|
[d74077] | 157 | ${TESSELATIONSOURCE} \
|
---|
[efc3cb] | 158 | bond.cpp \
|
---|
| 159 | bondgraph.cpp \
|
---|
| 160 | boundary.cpp \
|
---|
[83c09a] | 161 | Box.cpp \
|
---|
[efc3cb] | 162 | config.cpp \
|
---|
[88104f] | 163 | ConfigFileBuffer.cpp \
|
---|
[88b400] | 164 | defs.cpp \
|
---|
[efc3cb] | 165 | element.cpp \
|
---|
[5079a0] | 166 | elements_db.cpp \
|
---|
[efc3cb] | 167 | ellipsoid.cpp \
|
---|
[6f43ab] | 168 | Formula.cpp \
|
---|
[efc3cb] | 169 | graph.cpp \
|
---|
| 170 | leastsquaremin.cpp \
|
---|
| 171 | linkedcell.cpp \
|
---|
| 172 | moleculelist.cpp \
|
---|
| 173 | molecule.cpp \
|
---|
| 174 | molecule_dynamics.cpp \
|
---|
| 175 | molecule_fragmentation.cpp \
|
---|
| 176 | molecule_geometry.cpp \
|
---|
| 177 | molecule_graph.cpp \
|
---|
| 178 | molecule_pointcloud.cpp \
|
---|
| 179 | parser.cpp \
|
---|
| 180 | periodentafel.cpp \
|
---|
[a3fded] | 181 | ThermoStatContainer.cpp \
|
---|
[efc3cb] | 182 | triangleintersectionlist.cpp \
|
---|
[112f90] | 183 | UIElements/UIFactory.cpp \
|
---|
[efc3cb] | 184 | World.cpp
|
---|
[5f612ee] | 185 |
|
---|
[255971] | 186 | MOLECUILDERHEADER = \
|
---|
[efc3cb] | 187 | ${ANALYSISHEADER} \
|
---|
[5079a0] | 188 | ${ACTIONSHEADER} \
|
---|
[efc3cb] | 189 | ${ATOMHEADER} \
|
---|
| 190 | ${PATTERNHEADER} \
|
---|
[997784] | 191 | ${SHAPEHEADER} \
|
---|
[efc3cb] | 192 | ${DESCRIPTORHEADER} \
|
---|
[194649] | 193 | ${THERMOSTATHEADER} \
|
---|
[d74077] | 194 | ${TESSELATIONHEADER} \
|
---|
[efc3cb] | 195 | bond.hpp \
|
---|
| 196 | bondgraph.hpp \
|
---|
| 197 | boundary.hpp \
|
---|
[83c09a] | 198 | Box.hpp \
|
---|
[efc3cb] | 199 | config.hpp \
|
---|
[88104f] | 200 | ConfigFileBuffer.hpp \
|
---|
[efc3cb] | 201 | defs.hpp \
|
---|
| 202 | element.hpp \
|
---|
[5079a0] | 203 | elements_db.hpp \
|
---|
[efc3cb] | 204 | ellipsoid.hpp \
|
---|
[6f43ab] | 205 | Formula.hpp \
|
---|
[efc3cb] | 206 | graph.hpp \
|
---|
| 207 | leastsquaremin.hpp \
|
---|
| 208 | linkedcell.hpp \
|
---|
| 209 | lists.hpp \
|
---|
| 210 | molecule.hpp \
|
---|
| 211 | parser.hpp \
|
---|
| 212 | periodentafel.hpp \
|
---|
| 213 | stackclass.hpp \
|
---|
[a3fded] | 214 | ThermoStatContainer.hpp \
|
---|
[efc3cb] | 215 | triangleintersectionlist.hpp \
|
---|
[112f90] | 216 | UIElements/UIFactory.hpp \
|
---|
[efc3cb] | 217 | World.hpp
|
---|
[3027f8] | 218 |
|
---|
[255971] | 219 | lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
|
---|
| 220 | libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
| 221 | libMolecuilder_LIBS = \
|
---|
| 222 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 223 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
| 224 |
|
---|
| 225 | # UIElements/libMolecuilderUI.a \
|
---|
| 226 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 227 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 228 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 229 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 230 | $(BOOST_LIB) \
|
---|
| 231 | ${BOOST_THREAD_LIB}
|
---|
| 232 |
|
---|
| 233 | nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
| 234 |
|
---|
| 235 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 236 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 237 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 238 | ## and the variable name derived from that.
|
---|
| 239 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 240 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 241 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 242 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[d223d5] | 243 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
|
---|
[255971] | 244 |
|
---|
| 245 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 246 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 247 | ## that all version information is kept in one place.
|
---|
| 248 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 249 |
|
---|
| 250 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 251 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 252 | ## into this header file describes the target platform the installed library
|
---|
| 253 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 254 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 255 | ## Hierarchy Standard (FHS).
|
---|
| 256 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 257 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 258 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 259 | ## configuration header file is generated at configure time and should not be
|
---|
| 260 | ## shipped with the source tarball.
|
---|
| 261 | libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
|
---|
| 262 | nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 263 |
|
---|
| 264 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 265 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 266 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 267 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 268 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 269 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
|
---|
| 270 |
|
---|
[ef9df36] | 271 |
|
---|
[e4decc] | 272 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[b1d8092] | 273 | GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
|
---|
[5079a0] | 274 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
|
---|
[ef9df36] | 275 |
|
---|
[255971] | 276 | noinst_LIBRARIES = libmenu.a
|
---|
[04488a] | 277 | bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
|
---|
[796aa6] | 278 | EXTRA_PROGRAMS = unity
|
---|
[04488a] | 279 |
|
---|
[14de469] | 280 | molecuilderdir = ${bindir}
|
---|
[b1d8092] | 281 |
|
---|
[9fe36b] | 282 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
---|
[b1d8092] | 283 |
|
---|
[6ac7ee] | 284 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
[b1d8092] | 285 |
|
---|
[4d9c01] | 286 | molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
|
---|
| 287 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
---|
[9fe36b] | 288 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
---|
[861874] | 289 | molecuilder_SOURCES = builder.cpp
|
---|
[952f38] | 290 | molecuilder_LDADD = \
|
---|
[b37436] | 291 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 292 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 293 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 294 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 295 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 296 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 297 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 298 | $(BOOST_LIB)
|
---|
[b1d8092] | 299 |
|
---|
[4cf323d] | 300 | #Stuff for building the GUI using Qt
|
---|
[1e0861] | 301 | molecuildergui_SOURCES = builder.cpp
|
---|
[379b7e] | 302 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
---|
[cef1d7] | 303 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
---|
[b1d8092] | 304 |
|
---|
[d223d5] | 305 | unity_SOURCES = unity.cpp
|
---|
[e4decc] | 306 | unity_LDADD = $(BOOST_LIB)
|
---|
[796aa6] | 307 |
|
---|
[952f38] | 308 | molecuildergui_LDADD = \
|
---|
[b37436] | 309 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[1e0861] | 310 | UIElements/libMolecuilderQtUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 311 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 312 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 313 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 314 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 315 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 316 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 317 | $(BOOST_LIB) \
|
---|
| 318 | ${GUI_LIBS}
|
---|
[b1d8092] | 319 |
|
---|
[255971] | 320 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
---|
| 321 | joiner_LDADD = \
|
---|
[9ee38b] | 322 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 323 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 324 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 325 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 326 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 327 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 328 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 329 | $(BOOST_LIB)
|
---|
[b1d8092] | 330 |
|
---|
[255971] | 331 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
---|
| 332 | analyzer_LDADD = \
|
---|
[9ee38b] | 333 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 334 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 335 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 336 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 337 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 338 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 339 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 340 | $(BOOST_LIB)
|
---|
[14de469] | 341 |
|
---|
[c111db] | 342 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
[65b6e0] | 343 |
|
---|
[a8eb4a] | 344 | FORCE:
|
---|
| 345 | $(srcdir)/.git-version: FORCE
|
---|
[f8be39] | 346 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
| 347 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 348 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 349 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 350 | else \
|
---|
| 351 | rm -f .git-version-t; \
|
---|
| 352 | fi
|
---|
| 353 |
|
---|
| 354 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 355 |
|
---|
| 356 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
[5f8660a] | 357 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
[a8eb4a] | 358 |
|
---|
[b8d1aeb] | 359 |
|
---|
[d223d5] | 360 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
[b0b086] | 361 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
---|
[d223d5] | 362 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
[b0b086] | 363 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
[d223d5] | 364 | done; \
|
---|
| 365 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
| 366 | olddir=$$PWD;\
|
---|
| 367 | cd $$directory && make unity.cpp;\
|
---|
| 368 | cd $$olddir;\
|
---|
| 369 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
| 370 | done;\
|
---|
| 371 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
| 372 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
| 373 |
|
---|
| 374 | MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
|
---|
| 375 |
|
---|