| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| 4 | SUBDIRS = Actions Exceptions Helpers LinearAlgebra Parser UIElements
|
|---|
| 5 |
|
|---|
| 6 | ATOMSOURCE = \
|
|---|
| 7 | atom.cpp \
|
|---|
| 8 | AtomicInfo.cpp \
|
|---|
| 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 \
|
|---|
| 19 | AtomicInfo.hpp \
|
|---|
| 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
|
|---|
| 35 |
|
|---|
| 36 | ACTIONSSOURCE = \
|
|---|
| 37 | Actions/Action.cpp \
|
|---|
| 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 |
|
|---|
| 47 | ACTIONSHEADER = \
|
|---|
| 48 | Actions/Action.hpp \
|
|---|
| 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 \
|
|---|
| 57 | Actions/MapOfActions.hpp \
|
|---|
| 58 | Actions/MethodAction.hpp \
|
|---|
| 59 | Actions/Process.hpp
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 | PATTERNSOURCE = \
|
|---|
| 63 | Patterns/Observer.cpp
|
|---|
| 64 | PATTERNHEADER = \
|
|---|
| 65 | Patterns/Cacheable.hpp \
|
|---|
| 66 | Patterns/Observer.hpp \
|
|---|
| 67 | Patterns/Singleton.hpp
|
|---|
| 68 |
|
|---|
| 69 | SHAPESOURCE = \
|
|---|
| 70 | Shapes/BaseShapes.cpp \
|
|---|
| 71 | Shapes/Shape.cpp \
|
|---|
| 72 | Shapes/ShapeOps.cpp
|
|---|
| 73 | SHAPEHEADER = \
|
|---|
| 74 | Shapes/BaseShapes.hpp \
|
|---|
| 75 | Shapes/Shape.hpp \
|
|---|
| 76 | Shapes/ShapeOps.hpp
|
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
|---|
| 80 | Descriptors/AtomIdDescriptor.cpp \
|
|---|
| 81 | Descriptors/AtomSelectionDescriptor.cpp \
|
|---|
| 82 | Descriptors/AtomShapeDescriptor.cpp \
|
|---|
| 83 | Descriptors/AtomTypeDescriptor.cpp \
|
|---|
| 84 | Descriptors/MoleculeDescriptor.cpp \
|
|---|
| 85 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
|---|
| 86 | Descriptors/MoleculeIdDescriptor.cpp \
|
|---|
| 87 | Descriptors/MoleculeNameDescriptor.cpp \
|
|---|
| 88 | Descriptors/MoleculePtrDescriptor.cpp \
|
|---|
| 89 | Descriptors/MoleculeSelectionDescriptor.cpp
|
|---|
| 90 |
|
|---|
| 91 |
|
|---|
| 92 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
|---|
| 93 | Descriptors/AtomIdDescriptor.hpp \
|
|---|
| 94 | Descriptors/AtomSelectionDescriptor.hpp \
|
|---|
| 95 | Descriptors/AtomShapeDescriptor.hpp \
|
|---|
| 96 | Descriptors/AtomTypeDescriptor.hpp \
|
|---|
| 97 | Descriptors/MoleculeDescriptor.hpp \
|
|---|
| 98 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
|---|
| 99 | Descriptors/MoleculeIdDescriptor.hpp \
|
|---|
| 100 | Descriptors/MoleculeNameDescriptor.hpp \
|
|---|
| 101 | Descriptors/MoleculePtrDescriptor.hpp \
|
|---|
| 102 | Descriptors/MoleculeSelectionDescriptor.cpp
|
|---|
| 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
|
|---|
| 112 |
|
|---|
| 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
|
|---|
| 121 |
|
|---|
| 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
|
|---|
| 129 |
|
|---|
| 130 | QTUISOURCE = allmocs.moc.cpp \
|
|---|
| 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 \
|
|---|
| 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
|
|---|
| 172 |
|
|---|
| 173 | QTUIHEADER = \
|
|---|
| 174 | ${QTUIMOC_HEADER} \
|
|---|
| 175 | UIElements/Qt4/Pipe/QtQueryListPipe.hpp \
|
|---|
| 176 | UIElements/Qt4/QtUIFactory.hpp
|
|---|
| 177 |
|
|---|
| 178 | QTUI_DEFS =
|
|---|
| 179 |
|
|---|
| 180 | TESSELATIONSOURCE = \
|
|---|
| 181 | BoundaryLineSet.cpp \
|
|---|
| 182 | BoundaryPointSet.cpp \
|
|---|
| 183 | BoundaryPolygonSet.cpp \
|
|---|
| 184 | BoundaryTriangleSet.cpp \
|
|---|
| 185 | CandidateForTesselation.cpp \
|
|---|
| 186 | PointCloud.cpp \
|
|---|
| 187 | tesselation.cpp \
|
|---|
| 188 | tesselationhelpers.cpp \
|
|---|
| 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 \
|
|---|
| 199 | tesselationhelpers.hpp \
|
|---|
| 200 | TesselPoint.hpp
|
|---|
| 201 |
|
|---|
| 202 | MOLECUILDERSOURCE = \
|
|---|
| 203 | ${ANALYSISSOURCE} \
|
|---|
| 204 | ${ACTIONSSOURCE} \
|
|---|
| 205 | ${ATOMSOURCE} \
|
|---|
| 206 | ${PATTERNSOURCE} \
|
|---|
| 207 | ${SHAPESOURCE} \
|
|---|
| 208 | ${DESCRIPTORSOURCE} \
|
|---|
| 209 | ${THERMOSTATSOURCE} \
|
|---|
| 210 | ${TESSELATIONSOURCE} \
|
|---|
| 211 | bond.cpp \
|
|---|
| 212 | bondgraph.cpp \
|
|---|
| 213 | boundary.cpp \
|
|---|
| 214 | Box.cpp \
|
|---|
| 215 | CommandLineParser.cpp \
|
|---|
| 216 | config.cpp \
|
|---|
| 217 | ConfigFileBuffer.cpp \
|
|---|
| 218 | defs.cpp \
|
|---|
| 219 | element.cpp \
|
|---|
| 220 | elements_db.cpp \
|
|---|
| 221 | ellipsoid.cpp \
|
|---|
| 222 | Formula.cpp \
|
|---|
| 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 \
|
|---|
| 235 | ThermoStatContainer.cpp \
|
|---|
| 236 | triangleintersectionlist.cpp \
|
|---|
| 237 | UIElements/UIFactory.cpp \
|
|---|
| 238 | World.cpp
|
|---|
| 239 |
|
|---|
| 240 | MOLECUILDERHEADER = \
|
|---|
| 241 | ${ANALYSISHEADER} \
|
|---|
| 242 | ${ACTIONSHEADER} \
|
|---|
| 243 | ${ATOMHEADER} \
|
|---|
| 244 | ${PATTERNHEADER} \
|
|---|
| 245 | ${SHAPEHEADER} \
|
|---|
| 246 | ${DESCRIPTORHEADER} \
|
|---|
| 247 | ${THERMOSTATHEADER} \
|
|---|
| 248 | ${TESSELATIONHEADER} \
|
|---|
| 249 | bond.hpp \
|
|---|
| 250 | bondgraph.hpp \
|
|---|
| 251 | boundary.hpp \
|
|---|
| 252 | Box.hpp \
|
|---|
| 253 | CommandLineParser.hpp \
|
|---|
| 254 | config.hpp \
|
|---|
| 255 | ConfigFileBuffer.hpp \
|
|---|
| 256 | defs.hpp \
|
|---|
| 257 | element.hpp \
|
|---|
| 258 | elements_db.hpp \
|
|---|
| 259 | ellipsoid.hpp \
|
|---|
| 260 | Formula.hpp \
|
|---|
| 261 | graph.hpp \
|
|---|
| 262 | leastsquaremin.hpp \
|
|---|
| 263 | linkedcell.hpp \
|
|---|
| 264 | lists.hpp \
|
|---|
| 265 | molecule.hpp \
|
|---|
| 266 | parser.hpp \
|
|---|
| 267 | periodentafel.hpp \
|
|---|
| 268 | stackclass.hpp \
|
|---|
| 269 | ThermoStatContainer.hpp \
|
|---|
| 270 | triangleintersectionlist.hpp \
|
|---|
| 271 | UIElements/UIFactory.hpp \
|
|---|
| 272 | World.hpp
|
|---|
| 273 |
|
|---|
| 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.
|
|---|
| 298 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
|
|---|
| 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 |
|
|---|
| 326 |
|
|---|
| 327 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_THREAD_LIB)
|
|---|
| 328 | GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
|
|---|
| 329 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
|
|---|
| 330 |
|
|---|
| 331 | noinst_LIBRARIES = libmenu.a
|
|---|
| 332 | bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
|
|---|
| 333 | EXTRA_PROGRAMS = unity
|
|---|
| 334 |
|
|---|
| 335 | molecuilderdir = ${bindir}
|
|---|
| 336 |
|
|---|
| 337 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
|---|
| 338 |
|
|---|
| 339 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
|---|
| 340 |
|
|---|
| 341 | molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
|
|---|
| 342 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
|---|
| 343 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
|---|
| 344 | molecuilder_SOURCES = builder.cpp
|
|---|
| 345 | molecuilder_LDADD = \
|
|---|
| 346 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 347 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 348 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 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 \
|
|---|
| 353 | $(BOOST_LIB)
|
|---|
| 354 |
|
|---|
| 355 | #Stuff for building the GUI using Qt
|
|---|
| 356 | molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
|
|---|
| 357 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
|---|
| 358 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
|---|
| 359 |
|
|---|
| 360 | unity_SOURCES = unity.cpp
|
|---|
| 361 | unity_LDADD = $(BOOST_LIB)
|
|---|
| 362 |
|
|---|
| 363 | molecuildergui_LDADD = \
|
|---|
| 364 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 365 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 366 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 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}
|
|---|
| 373 |
|
|---|
| 374 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
|---|
| 375 | joiner_LDADD = \
|
|---|
| 376 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 377 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 378 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 379 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 380 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 381 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 382 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 383 | $(BOOST_LIB)
|
|---|
| 384 |
|
|---|
| 385 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
|---|
| 386 | analyzer_LDADD = \
|
|---|
| 387 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 388 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 389 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 390 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 391 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 392 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 393 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 394 | $(BOOST_LIB)
|
|---|
| 395 |
|
|---|
| 396 | #Rules needed for Qt4
|
|---|
| 397 | # UI-Files are scattered throughout several subdirectories
|
|---|
| 398 | # Therfore `%'-rules do not seem to work
|
|---|
| 399 | #Quick fix to get it done otherwise
|
|---|
| 400 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
|---|
| 401 | echo "" > allmocs.moc.cpp;\
|
|---|
| 402 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
|---|
| 403 | echo "Making mocfile for $$header"; \
|
|---|
| 404 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
|---|
| 405 | $(MOC) $(srcdir)/$$header -o $$target \
|
|---|
| 406 | || eval $$failcom; \
|
|---|
| 407 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
|---|
| 408 | done;
|
|---|
| 409 |
|
|---|
| 410 | #EXTRA_DIST = ${molecuilder_DATA}
|
|---|
| 411 |
|
|---|
| 412 | FORCE:
|
|---|
| 413 | $(srcdir)/.git-version: FORCE
|
|---|
| 414 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
|---|
| 415 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
|---|
| 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
|
|---|
| 425 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
|---|
| 426 |
|
|---|
| 427 |
|
|---|
| 428 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
|---|
| 429 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
|---|
| 430 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
|---|
| 431 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
|---|
| 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 |
|
|---|