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