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