[efc3cb] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[5079a0] | 4 | SUBDIRS = Actions UIElements
|
---|
| 5 |
|
---|
[0a4f7f] | 6 | # this includes source files that need to be present at multiple points
|
---|
[efc3cb] | 7 | HELPERSOURCE = \
|
---|
| 8 | Helpers/Assert.cpp \
|
---|
| 9 | Helpers/MemDebug.cpp
|
---|
[0a4f7f] | 10 |
|
---|
[efc3cb] | 11 | ATOMSOURCE = \
|
---|
| 12 | atom.cpp \
|
---|
| 13 | atom_atominfo.cpp \
|
---|
| 14 | atom_bondedparticle.cpp \
|
---|
| 15 | atom_bondedparticleinfo.cpp \
|
---|
| 16 | atom_graphnode.cpp \
|
---|
| 17 | atom_graphnodeinfo.cpp \
|
---|
| 18 | atom_particleinfo.cpp \
|
---|
| 19 | atom_trajectoryparticle.cpp \
|
---|
| 20 | atom_trajectoryparticleinfo.cpp
|
---|
| 21 | ATOMHEADER = \
|
---|
| 22 | atom.hpp \
|
---|
| 23 | atom_atominfo.hpp \
|
---|
| 24 | atom_bondedparticle.hpp \
|
---|
| 25 | atom_bondedparticleinfo.hpp \
|
---|
| 26 | atom_graphnode.hpp \
|
---|
| 27 | atom_graphnodeinfo.hpp \
|
---|
| 28 | atom_particleinfo.hpp \
|
---|
| 29 | atom_trajectoryparticle.hpp \
|
---|
| 30 | atom_trajectoryparticleinfo.hpp
|
---|
| 31 |
|
---|
| 32 | LINALGSOURCE = \
|
---|
| 33 | ${HELPERSOURCE} \
|
---|
| 34 | gslmatrix.cpp \
|
---|
| 35 | gslvector.cpp \
|
---|
| 36 | linearsystemofequations.cpp \
|
---|
| 37 | Space.cpp \
|
---|
| 38 | vector.cpp
|
---|
[0a4f7f] | 39 |
|
---|
| 40 | LINALGHEADER = gslmatrix.hpp \
|
---|
[efc3cb] | 41 | gslvector.hpp \
|
---|
| 42 | linearsystemofequations.hpp \
|
---|
| 43 | Space.hpp \
|
---|
| 44 | vector.hpp
|
---|
[0a4f7f] | 45 |
|
---|
[efc3cb] | 46 | ANALYSISSOURCE = \
|
---|
| 47 | analysis_bonds.cpp \
|
---|
| 48 | analysis_correlation.cpp
|
---|
| 49 | ANALYSISHEADER = \
|
---|
| 50 | analysis_bonds.hpp \
|
---|
| 51 | analysis_correlation.hpp
|
---|
[96c961] | 52 |
|
---|
[5079a0] | 53 | ACTIONSSOURCE = \
|
---|
| 54 | Actions/Action.cpp \
|
---|
[efc3cb] | 55 | Actions/ActionHistory.cpp \
|
---|
| 56 | Actions/ActionRegistry.cpp \
|
---|
| 57 | Actions/ActionSequence.cpp \
|
---|
| 58 | Actions/ErrorAction.cpp \
|
---|
| 59 | Actions/MakroAction.cpp \
|
---|
| 60 | Actions/ManipulateAtomsProcess.cpp \
|
---|
| 61 | Actions/MethodAction.cpp \
|
---|
| 62 | Actions/Process.cpp
|
---|
| 63 |
|
---|
[5079a0] | 64 | ACTIONSHEADER = \
|
---|
[97ebf8] | 65 | ${ANALYSISACTIONHEADER} \
|
---|
[03bb99] | 66 | ${ATOMACTIONHEADER} \
|
---|
[e3ecc1a] | 67 | ${CMDACTIONHEADER} \
|
---|
[03bb99] | 68 | ${FRAGMENTATIONACTIONHEADER} \
|
---|
| 69 | ${MOLECULEACTIONHEADER} \
|
---|
| 70 | ${PARSERACTIONHEADER} \
|
---|
| 71 | ${TESSELATIONACTIONHEADER} \
|
---|
[97ebf8] | 72 | ${WORLDACTIONHEADER} \
|
---|
[5079a0] | 73 | Actions/Action.hpp \
|
---|
[efc3cb] | 74 | Actions/ActionHistory.hpp \
|
---|
| 75 | Actions/ActionRegistry.hpp \
|
---|
| 76 | Actions/ActionSequence.hpp \
|
---|
| 77 | Actions/Calculation.hpp \
|
---|
| 78 | Actions/Calculation_impl.hpp \
|
---|
| 79 | Actions/ErrorAction.hpp \
|
---|
| 80 | Actions/MakroAction.hpp \
|
---|
| 81 | Actions/ManipulateAtomsProcess.hpp \
|
---|
[97ebf8] | 82 | Actions/MapOfActions.hpp \
|
---|
[efc3cb] | 83 | Actions/MethodAction.hpp \
|
---|
| 84 | Actions/Process.hpp
|
---|
| 85 |
|
---|
[03bb99] | 86 |
|
---|
[efc3cb] | 87 | PARSERSOURCE = \
|
---|
| 88 | Parser/ChangeTracker.cpp \
|
---|
| 89 | Parser/FormatParser.cpp \
|
---|
[52baf9] | 90 | Parser/FormatParserStorage.cpp \
|
---|
[43dad6] | 91 | Parser/MpqcParser.cpp \
|
---|
| 92 | Parser/PcpParser.cpp \
|
---|
[efc3cb] | 93 | Parser/TremoloParser.cpp \
|
---|
| 94 | Parser/XyzParser.cpp
|
---|
[88104f] | 95 |
|
---|
[efc3cb] | 96 | PARSERHEADER = \
|
---|
| 97 | Parser/ChangeTracker.hpp \
|
---|
| 98 | Parser/FormatParser.hpp \
|
---|
[52baf9] | 99 | Parser/FormatParserStorage.hpp \
|
---|
[43dad6] | 100 | Parser/MpqcParser.hpp \
|
---|
| 101 | Parser/PcpParser.hpp \
|
---|
[efc3cb] | 102 | Parser/TremoloParser.hpp \
|
---|
| 103 | Parser/XyzParser.hpp
|
---|
| 104 |
|
---|
| 105 | PATTERNSOURCE = \
|
---|
| 106 | Patterns/Observer.cpp
|
---|
| 107 | PATTERNHEADER = \
|
---|
| 108 | Patterns/Cacheable.hpp \
|
---|
| 109 | Patterns/Observer.hpp \
|
---|
| 110 | Patterns/Singleton.hpp
|
---|
| 111 |
|
---|
[442218] | 112 | # all these files are only used for legacy reasons while the transition is in progress
|
---|
| 113 | # they are only needed to keep the program usable at any point of the transition and will be
|
---|
| 114 | # deleted once everything is fully refactored
|
---|
| 115 | LEGACYSOURCE = Legacy/oldmenu.cpp
|
---|
[d346b6] | 116 | LEGACYHEADER = Legacy/oldmenu.hpp
|
---|
[442218] | 117 |
|
---|
[57adc7] | 118 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 119 | Descriptors/AtomIdDescriptor.cpp \
|
---|
| 120 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
| 121 | Descriptors/MoleculeDescriptor.cpp \
|
---|
[e05826] | 122 | Descriptors/MoleculeIdDescriptor.cpp \
|
---|
[88104f] | 123 | Descriptors/MoleculeNameDescriptor.cpp \
|
---|
[e30ce8] | 124 | Descriptors/MoleculePtrDescriptor.cpp
|
---|
[57adc7] | 125 |
|
---|
[75ac0c] | 126 |
|
---|
[57adc7] | 127 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 128 | Descriptors/AtomIdDescriptor.hpp \
|
---|
| 129 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
| 130 | Descriptors/MoleculeDescriptor.hpp \
|
---|
[e30ce8] | 131 | Descriptors/MoleculeIdDescriptor.hpp \
|
---|
[31b09e] | 132 | Descriptors/MoleculeNameDescriptor.hpp \
|
---|
[e30ce8] | 133 | Descriptors/MoleculePtrDescriptor.hpp
|
---|
[6e97e5] | 134 |
|
---|
[0a4f7f] | 135 | EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
|
---|
[3cdd16] | 136 | Exceptions/LinearDependenceException.cpp \
|
---|
| 137 | Exceptions/MathException.cpp \
|
---|
[215df0] | 138 | Exceptions/SkewException.cpp \
|
---|
[3cdd16] | 139 | Exceptions/ZeroVectorException.cpp
|
---|
[0a4f7f] | 140 |
|
---|
| 141 | EXCEPTIONHEADER = Exceptions/CustomException.hpp \
|
---|
[3cdd16] | 142 | Exceptions/LinearDependenceException.hpp \
|
---|
| 143 | Exceptions/MathException.hpp \
|
---|
[215df0] | 144 | Exceptions/SkewException.hpp \
|
---|
[3cdd16] | 145 | Exceptions/ZeroVectorException.hpp
|
---|
[efc3cb] | 146 |
|
---|
| 147 | SOURCE = \
|
---|
| 148 | ${ANALYSISSOURCE} \
|
---|
[5079a0] | 149 | ${ACTIONSSOURCE} \
|
---|
[efc3cb] | 150 | ${ATOMSOURCE} \
|
---|
| 151 | ${PATTERNSOURCE} \
|
---|
| 152 | ${PARSERSOURCE} \
|
---|
| 153 | ${DESCRIPTORSOURCE} \
|
---|
| 154 | ${HELPERSOURCE} \
|
---|
| 155 | ${LEGACYSOURCE} \
|
---|
| 156 | ${EXCEPTIONSOURCE} \
|
---|
| 157 | bond.cpp \
|
---|
| 158 | bondgraph.cpp \
|
---|
| 159 | boundary.cpp \
|
---|
[c6efc1] | 160 | CommandLineParser.cpp \
|
---|
[efc3cb] | 161 | config.cpp \
|
---|
[88104f] | 162 | ConfigFileBuffer.cpp \
|
---|
[efc3cb] | 163 | element.cpp \
|
---|
[5079a0] | 164 | elements_db.cpp \
|
---|
[efc3cb] | 165 | ellipsoid.cpp \
|
---|
| 166 | errorlogger.cpp \
|
---|
| 167 | graph.cpp \
|
---|
| 168 | helpers.cpp \
|
---|
| 169 | info.cpp \
|
---|
| 170 | leastsquaremin.cpp \
|
---|
| 171 | Line.cpp \
|
---|
| 172 | linkedcell.cpp \
|
---|
| 173 | log.cpp \
|
---|
| 174 | logger.cpp \
|
---|
| 175 | moleculelist.cpp \
|
---|
| 176 | molecule.cpp \
|
---|
| 177 | molecule_dynamics.cpp \
|
---|
| 178 | molecule_fragmentation.cpp \
|
---|
| 179 | molecule_geometry.cpp \
|
---|
| 180 | molecule_graph.cpp \
|
---|
| 181 | molecule_pointcloud.cpp \
|
---|
| 182 | parser.cpp \
|
---|
| 183 | periodentafel.cpp \
|
---|
| 184 | Plane.cpp \
|
---|
[1024cb] | 185 | Space.cpp \
|
---|
[efc3cb] | 186 | tesselation.cpp \
|
---|
| 187 | tesselationhelpers.cpp \
|
---|
[a3fded] | 188 | ThermoStatContainer.cpp \
|
---|
[efc3cb] | 189 | triangleintersectionlist.cpp \
|
---|
[1024cb] | 190 | vector.cpp \
|
---|
[efc3cb] | 191 | vector_ops.cpp \
|
---|
[1024cb] | 192 | verbose.cpp \
|
---|
[efc3cb] | 193 | World.cpp
|
---|
[5f612ee] | 194 |
|
---|
| 195 | HEADER = \
|
---|
[efc3cb] | 196 | ${ANALYSISHEADER} \
|
---|
[5079a0] | 197 | ${ACTIONSHEADER} \
|
---|
[efc3cb] | 198 | ${ATOMHEADER} \
|
---|
| 199 | ${PARSERHEADER} \
|
---|
| 200 | ${PATTERNHEADER} \
|
---|
| 201 | ${DESCRIPTORHEADER} \
|
---|
| 202 | ${EXCEPTIONHEADER} \
|
---|
| 203 | ${LEGACYHEADER} \
|
---|
| 204 | bond.hpp \
|
---|
| 205 | bondgraph.hpp \
|
---|
| 206 | boundary.hpp \
|
---|
[c6efc1] | 207 | CommandLineParser.hpp \
|
---|
[efc3cb] | 208 | config.hpp \
|
---|
[88104f] | 209 | ConfigFileBuffer.hpp \
|
---|
[efc3cb] | 210 | defs.hpp \
|
---|
| 211 | element.hpp \
|
---|
[5079a0] | 212 | elements_db.hpp \
|
---|
[efc3cb] | 213 | ellipsoid.hpp \
|
---|
| 214 | errorlogger.hpp \
|
---|
| 215 | graph.hpp \
|
---|
| 216 | helpers.hpp \
|
---|
| 217 | info.hpp \
|
---|
| 218 | leastsquaremin.hpp \
|
---|
| 219 | Line.hpp \
|
---|
| 220 | linkedcell.hpp \
|
---|
| 221 | lists.hpp \
|
---|
| 222 | log.hpp \
|
---|
| 223 | logger.hpp \
|
---|
| 224 | molecule.hpp \
|
---|
| 225 | molecule_template.hpp \
|
---|
| 226 | parser.hpp \
|
---|
| 227 | periodentafel.hpp \
|
---|
| 228 | Plane.hpp \
|
---|
| 229 | stackclass.hpp \
|
---|
| 230 | tesselation.hpp \
|
---|
| 231 | tesselationhelpers.hpp \
|
---|
[a3fded] | 232 | ThermoStatContainer.hpp \
|
---|
[efc3cb] | 233 | triangleintersectionlist.hpp \
|
---|
| 234 | verbose.hpp \
|
---|
| 235 | vector_ops.hpp \
|
---|
| 236 | World.hpp
|
---|
[ef9df36] | 237 |
|
---|
[920c70] | 238 | # the following files are no longer used:
|
---|
| 239 | # memoryallocator.hpp \
|
---|
[1024cb] | 240 | # memoryallocator.cpp \
|
---|
[920c70] | 241 | # memoryusageobserver.hpp \
|
---|
| 242 | # memoryusageobserver.cpp
|
---|
| 243 |
|
---|
[fa861b] | 244 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
---|
[5079a0] | 245 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
|
---|
[ef9df36] | 246 |
|
---|
[9fb860] | 247 | noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
|
---|
[ef9df36] | 248 | bin_PROGRAMS = molecuilder joiner analyzer
|
---|
[14de469] | 249 | molecuilderdir = ${bindir}
|
---|
[b9907c] | 250 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
---|
[9fb860] | 251 | libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
|
---|
[e58856b] | 252 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
[4d9c01] | 253 | molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
|
---|
[b9907c] | 254 | molecuilder_SOURCES = builder.cpp
|
---|
[5079a0] | 255 | molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
[b9907c] | 256 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
---|
[4d9c01] | 257 | joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
[b9907c] | 258 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
---|
[4d9c01] | 259 | analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
[14de469] | 260 |
|
---|
[a8eb4a] | 261 | FORCE:
|
---|
| 262 | $(srcdir)/.git-version: FORCE
|
---|
[c135eb7] | 263 | @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 264 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 265 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 266 | else \
|
---|
| 267 | rm -f .git-version-t; \
|
---|
| 268 | fi
|
---|
| 269 |
|
---|
| 270 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 271 |
|
---|
| 272 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
| 273 | echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
| 274 |
|
---|
| 275 | molecuilder_SOURCES += $(srcdir)/version.c
|
---|