[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 | PATTERNSOURCE = \
|
---|
| 62 | Patterns/Observer.cpp
|
---|
| 63 | PATTERNHEADER = \
|
---|
| 64 | Patterns/Cacheable.hpp \
|
---|
| 65 | Patterns/Observer.hpp \
|
---|
| 66 | Patterns/Singleton.hpp
|
---|
[997784] | 67 |
|
---|
| 68 | SHAPESOURCE = \
|
---|
[e38447] | 69 | Shapes/BaseShapes.cpp \
|
---|
[e09b70] | 70 | Shapes/Shape.cpp \
|
---|
| 71 | Shapes/ShapeOps.cpp
|
---|
[997784] | 72 | SHAPEHEADER = \
|
---|
[e38447] | 73 | Shapes/BaseShapes.hpp \
|
---|
[e09b70] | 74 | Shapes/Shape.hpp \
|
---|
| 75 | Shapes/ShapeOps.hpp
|
---|
[3027f8] | 76 |
|
---|
[d193a2] | 77 |
|
---|
[57adc7] | 78 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 79 | Descriptors/AtomIdDescriptor.cpp \
|
---|
[48dcbd] | 80 | Descriptors/AtomSelectionDescriptor.cpp \
|
---|
[1cc87e] | 81 | Descriptors/AtomShapeDescriptor.cpp \
|
---|
[efc3cb] | 82 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
| 83 | Descriptors/MoleculeDescriptor.cpp \
|
---|
[6e7147] | 84 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
---|
[e05826] | 85 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
[e6317b] | 86 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
[cf0ca1] | 87 | Descriptors/MoleculePtrDescriptor.cpp \
|
---|
| 88 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[57adc7] | 89 |
|
---|
[75ac0c] | 90 |
|
---|
[57adc7] | 91 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 92 | Descriptors/AtomIdDescriptor.hpp \
|
---|
[48dcbd] | 93 | Descriptors/AtomSelectionDescriptor.hpp \
|
---|
[1cc87e] | 94 | Descriptors/AtomShapeDescriptor.hpp \
|
---|
[efc3cb] | 95 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
| 96 | Descriptors/MoleculeDescriptor.hpp \
|
---|
[6e7147] | 97 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
---|
[e30ce8] | 98 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
[31b09e] | 99 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
[cf0ca1] | 100 | Descriptors/MoleculePtrDescriptor.hpp \
|
---|
| 101 | Descriptors/MoleculeSelectionDescriptor.cpp
|
---|
[194649] | 102 |
|
---|
| 103 | THERMOSTATSOURCE = \
|
---|
| 104 | Thermostats/Berendsen.cpp \
|
---|
| 105 | Thermostats/GaussianThermostat.cpp \
|
---|
| 106 | Thermostats/Langevin.cpp \
|
---|
| 107 | Thermostats/NoseHoover.cpp \
|
---|
| 108 | Thermostats/NoThermostat.cpp \
|
---|
| 109 | Thermostats/Thermostat.cpp \
|
---|
| 110 | Thermostats/Woodcock.cpp
|
---|
[d193a2] | 111 |
|
---|
[194649] | 112 | THERMOSTATHEADER = \
|
---|
| 113 | Thermostats/Berendsen.hpp \
|
---|
| 114 | Thermostats/GaussianThermostat.hpp \
|
---|
| 115 | Thermostats/Langevin.hpp \
|
---|
| 116 | Thermostats/NoseHoover.hpp \
|
---|
| 117 | Thermostats/NoThermostat.hpp \
|
---|
| 118 | Thermostats/Thermostat.hpp \
|
---|
| 119 | Thermostats/Woodcock.hpp
|
---|
[d193a2] | 120 |
|
---|
| 121 | QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
|
---|
| 122 | UIElements/QT4/QTMainWindow.hpp \
|
---|
| 123 | UIElements/Menu/QT4/QTMenu.hpp \
|
---|
| 124 | UIElements/Views/QT4/QTWorldView.hpp \
|
---|
| 125 | UIElements/Views/QT4/GLMoleculeView.hpp \
|
---|
| 126 | UIElements/Views/QT4/QTMoleculeView.hpp \
|
---|
| 127 | UIElements/Views/QT4/QTStatusBar.hpp
|
---|
[67c75b] | 128 |
|
---|
[d193a2] | 129 | QTUISOURCE = allmocs.moc.cpp \
|
---|
[4e145c] | 130 | UIElements/QT4/QTMainWindow.cpp \
|
---|
| 131 | UIElements/QT4/QTDialog.cpp \
|
---|
| 132 | UIElements/QT4/QTUIFactory.cpp \
|
---|
| 133 | UIElements/Menu/QT4/QTMenu.cpp \
|
---|
| 134 | UIElements/Views/QT4/QTWorldView.cpp \
|
---|
| 135 | UIElements/Views/QT4/GLMoleculeView.cpp \
|
---|
| 136 | UIElements/Views/QT4/QTMoleculeView.cpp \
|
---|
| 137 | UIElements/Views/QT4/QTStatusBar.cpp
|
---|
[a77c96] | 138 |
|
---|
[ea94a8] | 139 | QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
|
---|
[3027f8] | 140 |
|
---|
[67c75b] | 141 | QTUI_DEFS =
|
---|
| 142 |
|
---|
[d74077] | 143 | TESSELATIONSOURCE = \
|
---|
| 144 | BoundaryLineSet.cpp \
|
---|
| 145 | BoundaryPointSet.cpp \
|
---|
| 146 | BoundaryPolygonSet.cpp \
|
---|
| 147 | BoundaryTriangleSet.cpp \
|
---|
| 148 | CandidateForTesselation.cpp \
|
---|
| 149 | PointCloud.cpp \
|
---|
| 150 | tesselation.cpp \
|
---|
[8f4df1] | 151 | tesselationhelpers.cpp \
|
---|
[d74077] | 152 | TesselPoint.cpp
|
---|
| 153 |
|
---|
| 154 | TESSELATIONHEADER = \
|
---|
| 155 | BoundaryLineSet.hpp \
|
---|
| 156 | BoundaryPointSet.hpp \
|
---|
| 157 | BoundaryPolygonSet.hpp \
|
---|
| 158 | BoundaryTriangleSet.hpp \
|
---|
| 159 | CandidateForTesselation.hpp \
|
---|
| 160 | PointCloud.hpp \
|
---|
| 161 | tesselation.hpp \
|
---|
[8f4df1] | 162 | tesselationhelpers.hpp \
|
---|
[d74077] | 163 | TesselPoint.hpp
|
---|
| 164 |
|
---|
[255971] | 165 | MOLECUILDERSOURCE = \
|
---|
[efc3cb] | 166 | ${ANALYSISSOURCE} \
|
---|
[5079a0] | 167 | ${ACTIONSSOURCE} \
|
---|
[efc3cb] | 168 | ${ATOMSOURCE} \
|
---|
| 169 | ${PATTERNSOURCE} \
|
---|
[997784] | 170 | ${SHAPESOURCE} \
|
---|
[efc3cb] | 171 | ${DESCRIPTORSOURCE} \
|
---|
[194649] | 172 | ${THERMOSTATSOURCE} \
|
---|
[d74077] | 173 | ${TESSELATIONSOURCE} \
|
---|
[efc3cb] | 174 | bond.cpp \
|
---|
| 175 | bondgraph.cpp \
|
---|
| 176 | boundary.cpp \
|
---|
[83c09a] | 177 | Box.cpp \
|
---|
[c6efc1] | 178 | CommandLineParser.cpp \
|
---|
[efc3cb] | 179 | config.cpp \
|
---|
[88104f] | 180 | ConfigFileBuffer.cpp \
|
---|
[88b400] | 181 | defs.cpp \
|
---|
[efc3cb] | 182 | element.cpp \
|
---|
[5079a0] | 183 | elements_db.cpp \
|
---|
[efc3cb] | 184 | ellipsoid.cpp \
|
---|
[6f43ab] | 185 | Formula.cpp \
|
---|
[efc3cb] | 186 | graph.cpp \
|
---|
| 187 | leastsquaremin.cpp \
|
---|
| 188 | linkedcell.cpp \
|
---|
| 189 | moleculelist.cpp \
|
---|
| 190 | molecule.cpp \
|
---|
| 191 | molecule_dynamics.cpp \
|
---|
| 192 | molecule_fragmentation.cpp \
|
---|
| 193 | molecule_geometry.cpp \
|
---|
| 194 | molecule_graph.cpp \
|
---|
| 195 | molecule_pointcloud.cpp \
|
---|
| 196 | parser.cpp \
|
---|
| 197 | periodentafel.cpp \
|
---|
[a3fded] | 198 | ThermoStatContainer.cpp \
|
---|
[efc3cb] | 199 | triangleintersectionlist.cpp \
|
---|
[112f90] | 200 | UIElements/UIFactory.cpp \
|
---|
[efc3cb] | 201 | World.cpp
|
---|
[5f612ee] | 202 |
|
---|
[255971] | 203 | MOLECUILDERHEADER = \
|
---|
[efc3cb] | 204 | ${ANALYSISHEADER} \
|
---|
[5079a0] | 205 | ${ACTIONSHEADER} \
|
---|
[efc3cb] | 206 | ${ATOMHEADER} \
|
---|
| 207 | ${PATTERNHEADER} \
|
---|
[997784] | 208 | ${SHAPEHEADER} \
|
---|
[efc3cb] | 209 | ${DESCRIPTORHEADER} \
|
---|
[194649] | 210 | ${THERMOSTATHEADER} \
|
---|
[d74077] | 211 | ${TESSELATIONHEADER} \
|
---|
[efc3cb] | 212 | bond.hpp \
|
---|
| 213 | bondgraph.hpp \
|
---|
| 214 | boundary.hpp \
|
---|
[83c09a] | 215 | Box.hpp \
|
---|
[c6efc1] | 216 | CommandLineParser.hpp \
|
---|
[efc3cb] | 217 | config.hpp \
|
---|
[88104f] | 218 | ConfigFileBuffer.hpp \
|
---|
[efc3cb] | 219 | defs.hpp \
|
---|
| 220 | element.hpp \
|
---|
[5079a0] | 221 | elements_db.hpp \
|
---|
[efc3cb] | 222 | ellipsoid.hpp \
|
---|
[6f43ab] | 223 | Formula.hpp \
|
---|
[efc3cb] | 224 | graph.hpp \
|
---|
| 225 | leastsquaremin.hpp \
|
---|
| 226 | linkedcell.hpp \
|
---|
| 227 | lists.hpp \
|
---|
| 228 | molecule.hpp \
|
---|
| 229 | molecule_template.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 |
|
---|
[fa861b] | 291 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_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 \
|
---|
| 317 | $(BOOST_LIB) \
|
---|
| 318 | ${BOOST_THREAD_LIB} \
|
---|
| 319 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
| 320 |
|
---|
[b1d8092] | 321 |
|
---|
[3027f8] | 322 | #Stuff for building the GUI using QT
|
---|
[861874] | 323 | molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
|
---|
[cef1d7] | 324 | molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
|
---|
| 325 | molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
|
---|
[14de469] | 326 |
|
---|
[d223d5] | 327 | unity_SOURCES = unity.cpp
|
---|
[796aa6] | 328 | unity_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
| 329 |
|
---|
[952f38] | 330 | molecuildergui_LDADD = \
|
---|
[b37436] | 331 | UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 332 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 333 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 334 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
| 335 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 336 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 337 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 338 | $(BOOST_LIB) \
|
---|
| 339 | ${BOOST_THREAD_LIB} \
|
---|
| 340 | ${BOOST_PROGRAM_OPTIONS_LIB} \
|
---|
| 341 | ${GUI_LIBS}
|
---|
[b1d8092] | 342 |
|
---|
[255971] | 343 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
---|
| 344 | joiner_LDADD = \
|
---|
[6e5084] | 345 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 346 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 347 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 348 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 349 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 350 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 351 | $(BOOST_LIB) \
|
---|
| 352 | ${BOOST_THREAD_LIB} \
|
---|
| 353 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
[b1d8092] | 354 |
|
---|
[255971] | 355 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
---|
| 356 | analyzer_LDADD = \
|
---|
[6e5084] | 357 | Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 358 | libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[6e5084] | 359 | Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
|
---|
[255971] | 360 | LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 361 | Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 362 | Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
| 363 | $(BOOST_LIB) \
|
---|
| 364 | ${BOOST_THREAD_LIB} \
|
---|
| 365 | ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
[14de469] | 366 |
|
---|
[3027f8] | 367 | #Rules needed for QT4
|
---|
| 368 | # UI-Files are scattered throughout several subdirectories
|
---|
| 369 | # Therfore `%'-rules do not seem to work
|
---|
| 370 | #Quick fix to get it done otherwise
|
---|
[d193a2] | 371 | allmocs.moc.cpp: ${QTUIMOC_HEADER}
|
---|
| 372 | echo "" > allmocs.moc.cpp;\
|
---|
[fa27ed] | 373 | list='$(QTUIMOC_HEADER)'; for header in $$list; do \
|
---|
[3027f8] | 374 | echo "Making mocfile for $$header"; \
|
---|
| 375 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
| 376 | $(MOC) $(srcdir)/$$header -o $$target \
|
---|
| 377 | || eval $$failcom; \
|
---|
[d193a2] | 378 | echo "#include \"$$target\"" >> allmocs.moc.cpp; \
|
---|
[3027f8] | 379 | done;
|
---|
[9fe36b] | 380 |
|
---|
[c111db] | 381 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
[65b6e0] | 382 |
|
---|
[a8eb4a] | 383 | FORCE:
|
---|
| 384 | $(srcdir)/.git-version: FORCE
|
---|
[f8be39] | 385 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
---|
| 386 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 387 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 388 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 389 | else \
|
---|
| 390 | rm -f .git-version-t; \
|
---|
| 391 | fi
|
---|
| 392 |
|
---|
| 393 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 394 |
|
---|
| 395 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
[5f8660a] | 396 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
[a8eb4a] | 397 |
|
---|
[b8d1aeb] | 398 |
|
---|
[d223d5] | 399 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
---|
[b0b086] | 400 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
---|
[d223d5] | 401 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
---|
[b0b086] | 402 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
---|
[d223d5] | 403 | done; \
|
---|
| 404 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
---|
| 405 | olddir=$$PWD;\
|
---|
| 406 | cd $$directory && make unity.cpp;\
|
---|
| 407 | cd $$olddir;\
|
---|
| 408 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
---|
| 409 | done;\
|
---|
| 410 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
---|
| 411 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
---|
| 412 |
|
---|
| 413 | MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
|
---|
| 414 |
|
---|