[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 \
|
---|
| 41 | Actions/ErrorAction.cpp \
|
---|
| 42 | Actions/MakroAction.cpp \
|
---|
| 43 | Actions/ManipulateAtomsProcess.cpp \
|
---|
| 44 | Actions/MethodAction.cpp \
|
---|
| 45 | Actions/Process.cpp
|
---|
| 46 |
|
---|
[5079a0] | 47 | ACTIONSHEADER = \
|
---|
| 48 | Actions/Action.hpp \
|
---|
[efc3cb] | 49 | Actions/ActionHistory.hpp \
|
---|
| 50 | Actions/ActionRegistry.hpp \
|
---|
| 51 | Actions/ActionSequence.hpp \
|
---|
| 52 | Actions/Calculation.hpp \
|
---|
| 53 | Actions/Calculation_impl.hpp \
|
---|
| 54 | Actions/ErrorAction.hpp \
|
---|
| 55 | Actions/MakroAction.hpp \
|
---|
| 56 | Actions/ManipulateAtomsProcess.hpp \
|
---|
[97ebf8] | 57 | Actions/MapOfActions.hpp \
|
---|
[efc3cb] | 58 | Actions/MethodAction.hpp \
|
---|
| 59 | Actions/Process.hpp
|
---|
[456341] | 60 |
|
---|
[efc3cb] | 61 |
|
---|
| 62 | PATTERNSOURCE = \
|
---|
| 63 | Patterns/Observer.cpp
|
---|
| 64 | PATTERNHEADER = \
|
---|
| 65 | Patterns/Cacheable.hpp \
|
---|
| 66 | Patterns/Observer.hpp \
|
---|
| 67 | Patterns/Singleton.hpp
|
---|
[997784] | 68 |
|
---|
| 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 |
|
---|
[57adc7] | 79 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 80 | Descriptors/AtomIdDescriptor.cpp \
|
---|
[48dcbd] | 81 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
[6d858c] | 82 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
[efc3cb] | 83 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
| 84 | Descriptors/MoleculeDescriptor.cpp \
|
---|
[6e7147] | 85 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
[e05826] | 86 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
[e6317b] | 87 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
[cf0ca1] | 88 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
| 89 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[57adc7] | 90 |
|
---|
[75ac0c] | 91 |
|
---|
[57adc7] | 92 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 93 | Descriptors/AtomIdDescriptor.hpp \
|
---|
[48dcbd] | 94 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
[6d858c] | 95 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
[efc3cb] | 96 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
| 97 | Descriptors/MoleculeDescriptor.hpp \
|
---|
[6e7147] | 98 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
[e30ce8] | 99 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
[31b09e] | 100 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
[cf0ca1] | 101 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
| 102 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[194649] | 103 |
|
---|
| 104 | THERMOSTATSOURCE = \
|
---|
| 105 | Thermostats/Berendsen.cpp \
|
---|
| 106 | Thermostats/GaussianThermostat.cpp \
|
---|
| 107 | Thermostats/Langevin.cpp \
|
---|
| 108 | Thermostats/NoseHoover.cpp \
|
---|
| 109 | Thermostats/NoThermostat.cpp \
|
---|
| 110 | Thermostats/Thermostat.cpp \
|
---|
| 111 | Thermostats/Woodcock.cpp
|
---|
[d193a2] | 112 |
|
---|
[194649] | 113 | THERMOSTATHEADER = \
|
---|
| 114 | Thermostats/Berendsen.hpp \
|
---|
| 115 | Thermostats/GaussianThermostat.hpp \
|
---|
| 116 | Thermostats/Langevin.hpp \
|
---|
| 117 | Thermostats/NoseHoover.hpp \
|
---|
| 118 | Thermostats/NoThermostat.hpp \
|
---|
| 119 | Thermostats/Thermostat.hpp \
|
---|
| 120 | Thermostats/Woodcock.hpp
|
---|
[d193a2] | 121 |
|
---|
[4cf323d] | 122 | QTUIMOC_HEADER = UIElements/Qt4/QtDialog.hpp \
|
---|
| 123 | UIElements/Qt4/QtMainWindow.hpp \
|
---|
| 124 | UIElements/Menu/Qt4/QtMenu.hpp \
|
---|
| 125 | UIElements/Views/Qt4/QtWorldView.hpp \
|
---|
| 126 | UIElements/Views/Qt4/GLMoleculeView.hpp \
|
---|
| 127 | UIElements/Views/Qt4/QtMoleculeView.hpp \
|
---|
| 128 | UIElements/Views/Qt4/QtStatusBar.hpp
|
---|
[67c75b] | 129 |
|
---|
[d193a2] | 130 | QTUISOURCE = allmocs.moc.cpp \
|
---|
[8df74d] | 131 | UIElements/Qt4/Pipe/AtomQtQueryPipe.cpp \
|
---|
| 132 | UIElements/Qt4/Pipe/AtomsQtQueryPipe.cpp \
|
---|
| 133 | UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp \
|
---|
| 134 | UIElements/Qt4/Pipe/BoxQtQueryPipe.cpp \
|
---|
| 135 | UIElements/Qt4/Pipe/DoubleQtQueryPipe.cpp \
|
---|
| 136 | UIElements/Qt4/Pipe/ElementsQtQueryPipe.cpp \
|
---|
| 137 | UIElements/Qt4/Pipe/EmptyQtQueryPipe.cpp \
|
---|
| 138 | UIElements/Qt4/Pipe/ElementQtQueryPipe.cpp \
|
---|
| 139 | UIElements/Qt4/Pipe/FileQtQueryPipe.cpp \
|
---|
| 140 | UIElements/Qt4/Pipe/IntQtQueryPipe.cpp \
|
---|
| 141 | UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp \
|
---|
| 142 | UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp \
|
---|
| 143 | UIElements/Qt4/Pipe/StringQtQueryPipe.cpp \
|
---|
| 144 | UIElements/Qt4/Pipe/VectorQtQueryPipe.cpp \
|
---|
| 145 | UIElements/Qt4/Pipe/VectorsQtQueryPipe.cpp \
|
---|
| 146 | UIElements/Qt4/Query/AtomQtQuery.cpp \
|
---|
| 147 | UIElements/Qt4/Query/AtomsQtQuery.cpp \
|
---|
| 148 | UIElements/Qt4/Query/BooleanQtQuery.cpp \
|
---|
| 149 | UIElements/Qt4/Query/BoxQtQuery.cpp \
|
---|
| 150 | UIElements/Qt4/Query/DoubleQtQuery.cpp \
|
---|
| 151 | UIElements/Qt4/Query/DoublesQtQuery.cpp \
|
---|
| 152 | UIElements/Qt4/Query/ElementQtQuery.cpp \
|
---|
| 153 | UIElements/Qt4/Query/ElementsQtQuery.cpp \
|
---|
| 154 | UIElements/Qt4/Query/EmptyQtQuery.cpp \
|
---|
| 155 | UIElements/Qt4/Query/FileQtQuery.cpp \
|
---|
| 156 | UIElements/Qt4/Query/IntQtQuery.cpp \
|
---|
| 157 | UIElements/Qt4/Query/IntsQtQuery.cpp \
|
---|
| 158 | UIElements/Qt4/Query/MoleculeQtQuery.cpp \
|
---|
| 159 | UIElements/Qt4/Query/MoleculesQtQuery.cpp \
|
---|
| 160 | UIElements/Qt4/Query/StringQtQuery.cpp \
|
---|
| 161 | UIElements/Qt4/Query/StringsQtQuery.cpp \
|
---|
| 162 | UIElements/Qt4/Query/VectorQtQuery.cpp \
|
---|
| 163 | UIElements/Qt4/Query/VectorsQtQuery.cpp \
|
---|
[4cf323d] | 164 | UIElements/Qt4/QtMainWindow.cpp \
|
---|
| 165 | UIElements/Qt4/QtDialog.cpp \
|
---|
| 166 | UIElements/Qt4/QtUIFactory.cpp \
|
---|
| 167 | UIElements/Menu/Qt4/QtMenu.cpp \
|
---|
| 168 | UIElements/Views/Qt4/QtWorldView.cpp \
|
---|
| 169 | UIElements/Views/Qt4/GLMoleculeView.cpp \
|
---|
| 170 | UIElements/Views/Qt4/QtMoleculeView.cpp \
|
---|
| 171 | UIElements/Views/Qt4/QtStatusBar.cpp
|
---|
[a77c96] | 172 |
|
---|
[8df74d] | 173 | QTUIHEADER = \
|
---|
| 174 | ${QTUIMOC_HEADER} \
|
---|
| 175 | UIElements/Qt4/Pipe/QtQueryListPipe.hpp \
|
---|
| 176 | UIElements/Qt4/QtUIFactory.hpp
|
---|
[3027f8] | 177 |
|
---|
[67c75b] | 178 | QTUI_DEFS =
|
---|
| 179 |
|
---|
[d74077] | 180 | TESSELATIONSOURCE = \
|
---|
| 181 | BoundaryLineSet.cpp \
|
---|
| 182 | BoundaryPointSet.cpp \
|
---|
| 183 | BoundaryPolygonSet.cpp \
|
---|
| 184 | BoundaryTriangleSet.cpp \
|
---|
| 185 | CandidateForTesselation.cpp \
|
---|
| 186 | PointCloud.cpp \
|
---|
| 187 | tesselation.cpp \
|
---|
[8f4df1] | 188 | tesselationhelpers.cpp \
|
---|
[d74077] | 189 | TesselPoint.cpp
|
---|
| 190 |
|
---|
| 191 | TESSELATIONHEADER = \
|
---|
| 192 | BoundaryLineSet.hpp \
|
---|
| 193 | BoundaryPointSet.hpp \
|
---|
| 194 | BoundaryPolygonSet.hpp \
|
---|
| 195 | BoundaryTriangleSet.hpp \
|
---|
| 196 | CandidateForTesselation.hpp \
|
---|
| 197 | PointCloud.hpp \
|
---|
| 198 | tesselation.hpp \
|
---|
[8f4df1] | 199 | tesselationhelpers.hpp \
|
---|
[d74077] | 200 | TesselPoint.hpp
|
---|
| 201 |
|
---|
[255971] | 202 | MOLECUILDERSOURCE = \
|
---|
[efc3cb] | 203 | ${ANALYSISSOURCE} \
|
---|
[5079a0] | 204 | ${ACTIONSSOURCE} \
|
---|
[efc3cb] | 205 | ${ATOMSOURCE} \
|
---|
| 206 | ${PATTERNSOURCE} \
|
---|
[997784] | 207 | ${SHAPESOURCE} \
|
---|
[efc3cb] | 208 | ${DESCRIPTORSOURCE} \
|
---|
[194649] | 209 | ${THERMOSTATSOURCE} \
|
---|
[d74077] | 210 | ${TESSELATIONSOURCE} \
|
---|
[efc3cb] | 211 | bond.cpp \
|
---|
| 212 | bondgraph.cpp \
|
---|
| 213 | boundary.cpp \
|
---|
[83c09a] | 214 | Box.cpp \
|
---|
[c6efc1] | 215 | CommandLineParser.cpp \
|
---|
[efc3cb] | 216 | config.cpp \
|
---|
[88104f] | 217 | ConfigFileBuffer.cpp \
|
---|
[88b400] | 218 | defs.cpp \
|
---|
[efc3cb] | 219 | element.cpp \
|
---|
[5079a0] | 220 | elements_db.cpp \
|
---|
[efc3cb] | 221 | ellipsoid.cpp \
|
---|
[6f43ab] | 222 | Formula.cpp \
|
---|
[efc3cb] | 223 | graph.cpp \
|
---|
| 224 | leastsquaremin.cpp \
|
---|
| 225 | linkedcell.cpp \
|
---|
| 226 | moleculelist.cpp \
|
---|
| 227 | molecule.cpp \
|
---|
| 228 | molecule_dynamics.cpp \
|
---|
| 229 | molecule_fragmentation.cpp \
|
---|
| 230 | molecule_geometry.cpp \
|
---|
| 231 | molecule_graph.cpp \
|
---|
| 232 | molecule_pointcloud.cpp \
|
---|
| 233 | parser.cpp \
|
---|
| 234 | periodentafel.cpp \
|
---|
[a3fded] | 235 | ThermoStatContainer.cpp \
|
---|
[efc3cb] | 236 | triangleintersectionlist.cpp \
|
---|
[112f90] | 237 | UIElements/UIFactory.cpp \
|
---|
[efc3cb] | 238 | World.cpp
|
---|
[5f612ee] | 239 |
|
---|
[255971] | 240 | MOLECUILDERHEADER = \
|
---|
[efc3cb] | 241 | ${ANALYSISHEADER} \
|
---|
[5079a0] | 242 | ${ACTIONSHEADER} \
|
---|
[efc3cb] | 243 | ${ATOMHEADER} \
|
---|
| 244 | ${PATTERNHEADER} \
|
---|
[997784] | 245 | ${SHAPEHEADER} \
|
---|
[efc3cb] | 246 | ${DESCRIPTORHEADER} \
|
---|
[194649] | 247 | ${THERMOSTATHEADER} \
|
---|
[d74077] | 248 | ${TESSELATIONHEADER} \
|
---|
[efc3cb] | 249 | bond.hpp \
|
---|
| 250 | bondgraph.hpp \
|
---|
| 251 | boundary.hpp \
|
---|
[83c09a] | 252 | Box.hpp \
|
---|
[c6efc1] | 253 | CommandLineParser.hpp \
|
---|
[efc3cb] | 254 | config.hpp \
|
---|
[88104f] | 255 | ConfigFileBuffer.hpp \
|
---|
[efc3cb] | 256 | defs.hpp \
|
---|
| 257 | element.hpp \
|
---|
[5079a0] | 258 | elements_db.hpp \
|
---|
[efc3cb] | 259 | ellipsoid.hpp \
|
---|
[6f43ab] | 260 | Formula.hpp \
|
---|
[efc3cb] | 261 | graph.hpp \
|
---|
| 262 | leastsquaremin.hpp \
|
---|
| 263 | linkedcell.hpp \
|
---|
| 264 | lists.hpp \
|
---|
| 265 | molecule.hpp \
|
---|
| 266 | parser.hpp \
|
---|
| 267 | periodentafel.hpp \
|
---|
| 268 | stackclass.hpp \
|
---|
[a3fded] | 269 | ThermoStatContainer.hpp \
|
---|
[efc3cb] | 270 | triangleintersectionlist.hpp \
|
---|
[112f90] | 271 | UIElements/UIFactory.hpp \
|
---|
[efc3cb] | 272 | World.hpp
|
---|
[3027f8] | 273 |
|
---|
[255971] | 274 | lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
|
---|
| 275 | libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
| 276 | libMolecuilder_LIBS = \
|
---|
| 277 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 278 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
| 279 |
|
---|
| 280 | # UIElements/libMolecuilderUI.a \
|
---|
| 281 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 282 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 283 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 284 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 285 | $(BOOST_LIB) \
|
---|
| 286 | ${BOOST_THREAD_LIB}
|
---|
| 287 |
|
---|
| 288 | nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
| 289 |
|
---|
| 290 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 291 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 292 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 293 | ## and the variable name derived from that.
|
---|
| 294 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 295 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 296 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 297 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[d223d5] | 298 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
|
---|
[255971] | 299 |
|
---|
| 300 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 301 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 302 | ## that all version information is kept in one place.
|
---|
| 303 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 304 |
|
---|
| 305 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 306 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 307 | ## into this header file describes the target platform the installed library
|
---|
| 308 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 309 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 310 | ## Hierarchy Standard (FHS).
|
---|
| 311 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 312 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 313 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 314 | ## configuration header file is generated at configure time and should not be
|
---|
| 315 | ## shipped with the source tarball.
|
---|
| 316 | libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
|
---|
| 317 | nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 318 |
|
---|
| 319 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 320 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 321 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 322 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 323 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 324 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
|
---|
| 325 |
|
---|
[ef9df36] | 326 |
|
---|
[e4decc] | 327 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[b1d8092] | 328 | GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
|
---|
[5079a0] | 329 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
|
---|
[ef9df36] | 330 |
|
---|
[255971] | 331 | noinst_LIBRARIES = libmenu.a
|
---|
[04488a] | 332 | bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
|
---|
[796aa6] | 333 | EXTRA_PROGRAMS = unity
|
---|
[04488a] | 334 |
|
---|
[14de469] | 335 | molecuilderdir = ${bindir}
|
---|
[b1d8092] | 336 |
|
---|
[9fe36b] | 337 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
---|
[b1d8092] | 338 |
|
---|
[6ac7ee] | 339 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
[b1d8092] | 340 |
|
---|
[4d9c01] | 341 | molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
|
---|
| 342 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
---|
[9fe36b] | 343 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
---|
[861874] | 344 | molecuilder_SOURCES = builder.cpp
|
---|
[952f38] | 345 | molecuilder_LDADD = \
|
---|
[b37436] | 346 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 347 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 348 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 349 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 350 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 351 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 352 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 353 | $(BOOST_LIB)
|
---|
[b1d8092] | 354 |
|
---|
[4cf323d] | 355 | #Stuff for building the GUI using Qt
|
---|
[861874] | 356 | molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
|
---|
[379b7e] | 357 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
---|
[cef1d7] | 358 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
---|
[b1d8092] | 359 |
|
---|
[d223d5] | 360 | unity_SOURCES = unity.cpp
|
---|
[e4decc] | 361 | unity_LDADD = $(BOOST_LIB)
|
---|
[796aa6] | 362 |
|
---|
[952f38] | 363 | molecuildergui_LDADD = \
|
---|
[b37436] | 364 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 365 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 366 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 367 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 368 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 369 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 370 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 371 | $(BOOST_LIB) \
|
---|
| 372 | ${GUI_LIBS}
|
---|
[b1d8092] | 373 |
|
---|
[255971] | 374 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
---|
| 375 | joiner_LDADD = \
|
---|
[9ee38b] | 376 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 377 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 378 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 379 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 380 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 381 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 382 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 383 | $(BOOST_LIB)
|
---|
[b1d8092] | 384 |
|
---|
[255971] | 385 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
---|
| 386 | analyzer_LDADD = \
|
---|
[9ee38b] | 387 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 388 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 389 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 390 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 391 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 392 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 393 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 394 | $(BOOST_LIB)
|
---|
[14de469] | 395 |
|
---|
[4cf323d] | 396 | #Rules needed for Qt4
|
---|
[3027f8] | 397 | # UI-Files are scattered throughout several subdirectories
|
---|
| 398 | # Therfore `%'-rules do not seem to work
|
---|
| 399 | #Quick fix to get it done otherwise
|
---|
[d193a2] | 400 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
| 401 | echo "" > allmocs.moc.cpp;\
|
---|
[fa27ed] | 402 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
[3027f8] | 403 | echo "Making mocfile for $$header"; \
|
---|
| 404 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
| 405 | $(MOC) $(srcdir)/$$header -o $$target \
|
---|
| 406 | || eval $$failcom; \
|
---|
[d193a2] | 407 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
[3027f8] | 408 | done;
|
---|
[9fe36b] | 409 |
|
---|
[c111db] | 410 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
[65b6e0] | 411 |
|
---|
[a8eb4a] | 412 | FORCE:
|
---|
| 413 | $(srcdir)/.git-version: FORCE
|
---|
[f8be39] | 414 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
| 415 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 416 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 417 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 418 | else \
|
---|
| 419 | rm -f .git-version-t; \
|
---|
| 420 | fi
|
---|
| 421 |
|
---|
| 422 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 423 |
|
---|
| 424 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
[5f8660a] | 425 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
[a8eb4a] | 426 |
|
---|
[b8d1aeb] | 427 |
|
---|
[d223d5] | 428 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
[b0b086] | 429 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
---|
[d223d5] | 430 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
[b0b086] | 431 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
[d223d5] | 432 | done; \
|
---|
| 433 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
| 434 | olddir=$$PWD;\
|
---|
| 435 | cd $$directory && make unity.cpp;\
|
---|
| 436 | cd $$olddir;\
|
---|
| 437 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
| 438 | done;\
|
---|
| 439 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
| 440 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
| 441 |
|
---|
| 442 | MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
|
---|
| 443 |
|
---|