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