[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 |
|
---|
| 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 \
|
---|
[4e145c] | 131 | UIElements/QT4/QTMainWindow.cpp \
|
---|
| 132 | UIElements/QT4/QTDialog.cpp \
|
---|
| 133 | UIElements/QT4/QTUIFactory.cpp \
|
---|
| 134 | UIElements/Menu/QT4/QTMenu.cpp \
|
---|
| 135 | UIElements/Views/QT4/QTWorldView.cpp \
|
---|
| 136 | UIElements/Views/QT4/GLMoleculeView.cpp \
|
---|
| 137 | UIElements/Views/QT4/QTMoleculeView.cpp \
|
---|
| 138 | UIElements/Views/QT4/QTStatusBar.cpp
|
---|
[a77c96] | 139 |
|
---|
[ea94a8] | 140 | QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
|
---|
[3027f8] | 141 |
|
---|
[67c75b] | 142 | QTUI_DEFS =
|
---|
| 143 |
|
---|
[d74077] | 144 | TESSELATIONSOURCE = \
|
---|
| 145 | BoundaryLineSet.cpp \
|
---|
| 146 | BoundaryPointSet.cpp \
|
---|
| 147 | BoundaryPolygonSet.cpp \
|
---|
| 148 | BoundaryTriangleSet.cpp \
|
---|
| 149 | CandidateForTesselation.cpp \
|
---|
| 150 | PointCloud.cpp \
|
---|
| 151 | tesselation.cpp \
|
---|
[8f4df1] | 152 | tesselationhelpers.cpp \
|
---|
[d74077] | 153 | TesselPoint.cpp
|
---|
| 154 |
|
---|
| 155 | TESSELATIONHEADER = \
|
---|
| 156 | BoundaryLineSet.hpp \
|
---|
| 157 | BoundaryPointSet.hpp \
|
---|
| 158 | BoundaryPolygonSet.hpp \
|
---|
| 159 | BoundaryTriangleSet.hpp \
|
---|
| 160 | CandidateForTesselation.hpp \
|
---|
| 161 | PointCloud.hpp \
|
---|
| 162 | tesselation.hpp \
|
---|
[8f4df1] | 163 | tesselationhelpers.hpp \
|
---|
[d74077] | 164 | TesselPoint.hpp
|
---|
| 165 |
|
---|
[255971] | 166 | MOLECUILDERSOURCE = \
|
---|
[efc3cb] | 167 | ${ANALYSISSOURCE} \
|
---|
[5079a0] | 168 | ${ACTIONSSOURCE} \
|
---|
[efc3cb] | 169 | ${ATOMSOURCE} \
|
---|
| 170 | ${PATTERNSOURCE} \
|
---|
[997784] | 171 | ${SHAPESOURCE} \
|
---|
[efc3cb] | 172 | ${DESCRIPTORSOURCE} \
|
---|
[194649] | 173 | ${THERMOSTATSOURCE} \
|
---|
[d74077] | 174 | ${TESSELATIONSOURCE} \
|
---|
[efc3cb] | 175 | bond.cpp \
|
---|
| 176 | bondgraph.cpp \
|
---|
| 177 | boundary.cpp \
|
---|
[83c09a] | 178 | Box.cpp \
|
---|
[c6efc1] | 179 | CommandLineParser.cpp \
|
---|
[efc3cb] | 180 | config.cpp \
|
---|
[88104f] | 181 | ConfigFileBuffer.cpp \
|
---|
[88b400] | 182 | defs.cpp \
|
---|
[efc3cb] | 183 | element.cpp \
|
---|
[5079a0] | 184 | elements_db.cpp \
|
---|
[efc3cb] | 185 | ellipsoid.cpp \
|
---|
[6f43ab] | 186 | Formula.cpp \
|
---|
[efc3cb] | 187 | graph.cpp \
|
---|
| 188 | leastsquaremin.cpp \
|
---|
| 189 | linkedcell.cpp \
|
---|
| 190 | moleculelist.cpp \
|
---|
| 191 | molecule.cpp \
|
---|
| 192 | molecule_dynamics.cpp \
|
---|
| 193 | molecule_fragmentation.cpp \
|
---|
| 194 | molecule_geometry.cpp \
|
---|
| 195 | molecule_graph.cpp \
|
---|
| 196 | molecule_pointcloud.cpp \
|
---|
| 197 | parser.cpp \
|
---|
| 198 | periodentafel.cpp \
|
---|
[a3fded] | 199 | ThermoStatContainer.cpp \
|
---|
[efc3cb] | 200 | triangleintersectionlist.cpp \
|
---|
[112f90] | 201 | UIElements/UIFactory.cpp \
|
---|
[efc3cb] | 202 | World.cpp
|
---|
[5f612ee] | 203 |
|
---|
[255971] | 204 | MOLECUILDERHEADER = \
|
---|
[efc3cb] | 205 | ${ANALYSISHEADER} \
|
---|
[5079a0] | 206 | ${ACTIONSHEADER} \
|
---|
[efc3cb] | 207 | ${ATOMHEADER} \
|
---|
| 208 | ${PATTERNHEADER} \
|
---|
[997784] | 209 | ${SHAPEHEADER} \
|
---|
[efc3cb] | 210 | ${DESCRIPTORHEADER} \
|
---|
[194649] | 211 | ${THERMOSTATHEADER} \
|
---|
[d74077] | 212 | ${TESSELATIONHEADER} \
|
---|
[efc3cb] | 213 | bond.hpp \
|
---|
| 214 | bondgraph.hpp \
|
---|
| 215 | boundary.hpp \
|
---|
[83c09a] | 216 | Box.hpp \
|
---|
[c6efc1] | 217 | CommandLineParser.hpp \
|
---|
[efc3cb] | 218 | config.hpp \
|
---|
[88104f] | 219 | ConfigFileBuffer.hpp \
|
---|
[efc3cb] | 220 | defs.hpp \
|
---|
| 221 | element.hpp \
|
---|
[5079a0] | 222 | elements_db.hpp \
|
---|
[efc3cb] | 223 | ellipsoid.hpp \
|
---|
[6f43ab] | 224 | Formula.hpp \
|
---|
[efc3cb] | 225 | graph.hpp \
|
---|
| 226 | leastsquaremin.hpp \
|
---|
| 227 | linkedcell.hpp \
|
---|
| 228 | lists.hpp \
|
---|
| 229 | molecule.hpp \
|
---|
| 230 | parser.hpp \
|
---|
| 231 | periodentafel.hpp \
|
---|
| 232 | stackclass.hpp \
|
---|
[a3fded] | 233 | ThermoStatContainer.hpp \
|
---|
[efc3cb] | 234 | triangleintersectionlist.hpp \
|
---|
[112f90] | 235 | UIElements/UIFactory.hpp \
|
---|
[efc3cb] | 236 | World.hpp
|
---|
[3027f8] | 237 |
|
---|
[255971] | 238 | lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
|
---|
| 239 | libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
|
---|
| 240 | libMolecuilder_LIBS = \
|
---|
| 241 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 242 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
| 243 |
|
---|
| 244 | # UIElements/libMolecuilderUI.a \
|
---|
| 245 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 246 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 247 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 248 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 249 | $(BOOST_LIB) \
|
---|
| 250 | ${BOOST_THREAD_LIB}
|
---|
| 251 |
|
---|
| 252 | nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
|
---|
| 253 |
|
---|
| 254 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
---|
| 255 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
---|
| 256 | ## will therefore be treated as if it were literally part of the target name,
|
---|
| 257 | ## and the variable name derived from that.
|
---|
| 258 | ## The file extension .cc is recognized by Automake, and makes it produce
|
---|
| 259 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
---|
| 260 | ## from each source file. Note that it is not necessary to list header files
|
---|
| 261 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
---|
[d223d5] | 262 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
|
---|
[255971] | 263 |
|
---|
| 264 | ## Instruct libtool to include ABI version information in the generated shared
|
---|
| 265 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
---|
| 266 | ## that all version information is kept in one place.
|
---|
| 267 | libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 268 |
|
---|
| 269 | ## The generated configuration header is installed in its own subdirectory of
|
---|
| 270 | ## $(libdir). The reason for this is that the configuration information put
|
---|
| 271 | ## into this header file describes the target platform the installed library
|
---|
| 272 | ## has been built for. Thus the file must not be installed into a location
|
---|
| 273 | ## intended for architecture-independent files, as defined by the Filesystem
|
---|
| 274 | ## Hierarchy Standard (FHS).
|
---|
| 275 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
---|
| 276 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
---|
| 277 | ## in _HEADERS variables are normally included in the distribution, but the
|
---|
| 278 | ## configuration header file is generated at configure time and should not be
|
---|
| 279 | ## shipped with the source tarball.
|
---|
| 280 | libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
|
---|
| 281 | nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 282 |
|
---|
| 283 | ## Install the generated pkg-config file (.pc) into the expected location for
|
---|
| 284 | ## architecture-dependent package configuration information. Occasionally,
|
---|
| 285 | ## pkg-config files are also used for architecture-independent data packages,
|
---|
| 286 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
---|
| 287 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
| 288 | pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
|
---|
| 289 |
|
---|
[ef9df36] | 290 |
|
---|
[e4decc] | 291 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[b1d8092] | 292 | GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
|
---|
[5079a0] | 293 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
|
---|
[ef9df36] | 294 |
|
---|
[255971] | 295 | noinst_LIBRARIES = libmenu.a
|
---|
[04488a] | 296 | bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
|
---|
[796aa6] | 297 | EXTRA_PROGRAMS = unity
|
---|
[04488a] | 298 |
|
---|
[14de469] | 299 | molecuilderdir = ${bindir}
|
---|
[b1d8092] | 300 |
|
---|
[9fe36b] | 301 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
---|
[b1d8092] | 302 |
|
---|
[6ac7ee] | 303 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
[b1d8092] | 304 |
|
---|
[4d9c01] | 305 | molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
|
---|
| 306 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
---|
[9fe36b] | 307 | molecuilder_LDFLAGS = $(BOOST_LIB)
|
---|
[861874] | 308 | molecuilder_SOURCES = builder.cpp
|
---|
[952f38] | 309 | molecuilder_LDADD = \
|
---|
[b37436] | 310 | UIElements/libMolecuilderUI-@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 \
|
---|
[e4decc] | 317 | $(BOOST_LIB)
|
---|
[b1d8092] | 318 |
|
---|
[3027f8] | 319 | #Stuff for building the GUI using QT
|
---|
[861874] | 320 | molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
|
---|
[cef1d7] | 321 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
---|
| 322 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
---|
[b1d8092] | 323 |
|
---|
[d223d5] | 324 | unity_SOURCES = unity.cpp
|
---|
[e4decc] | 325 | unity_LDADD = $(BOOST_LIB)
|
---|
[796aa6] | 326 |
|
---|
[952f38] | 327 | molecuildergui_LDADD = \
|
---|
[b37436] | 328 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 329 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 330 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 331 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 332 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 333 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 334 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 335 | $(BOOST_LIB) \
|
---|
| 336 | ${GUI_LIBS}
|
---|
[b1d8092] | 337 |
|
---|
[255971] | 338 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
---|
| 339 | joiner_LDADD = \
|
---|
[9ee38b] | 340 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 341 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 342 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 343 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 344 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 345 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 346 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 347 | $(BOOST_LIB)
|
---|
[b1d8092] | 348 |
|
---|
[255971] | 349 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
---|
| 350 | analyzer_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 \
|
---|
| 357 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 358 | $(BOOST_LIB)
|
---|
[14de469] | 359 |
|
---|
[3027f8] | 360 | #Rules needed for QT4
|
---|
| 361 | # UI-Files are scattered throughout several subdirectories
|
---|
| 362 | # Therfore `%'-rules do not seem to work
|
---|
| 363 | #Quick fix to get it done otherwise
|
---|
[d193a2] | 364 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
| 365 | echo "" > allmocs.moc.cpp;\
|
---|
[fa27ed] | 366 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
[3027f8] | 367 | echo "Making mocfile for $$header"; \
|
---|
| 368 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
| 369 | $(MOC) $(srcdir)/$$header -o $$target \
|
---|
| 370 | || eval $$failcom; \
|
---|
[d193a2] | 371 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
[3027f8] | 372 | done;
|
---|
[9fe36b] | 373 |
|
---|
[c111db] | 374 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
[65b6e0] | 375 |
|
---|
[a8eb4a] | 376 | FORCE:
|
---|
| 377 | $(srcdir)/.git-version: FORCE
|
---|
[f8be39] | 378 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
| 379 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 380 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 381 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 382 | else \
|
---|
| 383 | rm -f .git-version-t; \
|
---|
| 384 | fi
|
---|
| 385 |
|
---|
| 386 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 387 |
|
---|
| 388 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
[5f8660a] | 389 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
[a8eb4a] | 390 |
|
---|
[b8d1aeb] | 391 |
|
---|
[d223d5] | 392 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
[b0b086] | 393 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
---|
[d223d5] | 394 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
[b0b086] | 395 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
[d223d5] | 396 | done; \
|
---|
| 397 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
| 398 | olddir=$$PWD;\
|
---|
| 399 | cd $$directory && make unity.cpp;\
|
---|
| 400 | cd $$olddir;\
|
---|
| 401 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
| 402 | done;\
|
---|
| 403 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
| 404 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
| 405 |
|
---|
| 406 | MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
|
---|
| 407 |
|
---|