[efc3cb] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[0a4f7f] | 4 | # this includes source files that need to be present at multiple points
|
---|
[efc3cb] | 5 | HELPERSOURCE = \
|
---|
| 6 | Helpers/Assert.cpp \
|
---|
| 7 | Helpers/MemDebug.cpp
|
---|
[0a4f7f] | 8 |
|
---|
[efc3cb] | 9 | ATOMSOURCE = \
|
---|
| 10 | atom.cpp \
|
---|
| 11 | atom_atominfo.cpp \
|
---|
| 12 | atom_bondedparticle.cpp \
|
---|
| 13 | atom_bondedparticleinfo.cpp \
|
---|
| 14 | atom_graphnode.cpp \
|
---|
| 15 | atom_graphnodeinfo.cpp \
|
---|
| 16 | atom_particleinfo.cpp \
|
---|
| 17 | atom_trajectoryparticle.cpp \
|
---|
| 18 | atom_trajectoryparticleinfo.cpp
|
---|
| 19 | ATOMHEADER = \
|
---|
| 20 | atom.hpp \
|
---|
| 21 | atom_atominfo.hpp \
|
---|
| 22 | atom_bondedparticle.hpp \
|
---|
| 23 | atom_bondedparticleinfo.hpp \
|
---|
| 24 | atom_graphnode.hpp \
|
---|
| 25 | atom_graphnodeinfo.hpp \
|
---|
| 26 | atom_particleinfo.hpp \
|
---|
| 27 | atom_trajectoryparticle.hpp \
|
---|
| 28 | atom_trajectoryparticleinfo.hpp
|
---|
| 29 |
|
---|
| 30 | LINALGSOURCE = \
|
---|
| 31 | ${HELPERSOURCE} \
|
---|
| 32 | gslmatrix.cpp \
|
---|
| 33 | gslvector.cpp \
|
---|
| 34 | linearsystemofequations.cpp \
|
---|
| 35 | Space.cpp \
|
---|
| 36 | vector.cpp
|
---|
[0a4f7f] | 37 |
|
---|
| 38 | LINALGHEADER = gslmatrix.hpp \
|
---|
[efc3cb] | 39 | gslvector.hpp \
|
---|
| 40 | linearsystemofequations.hpp \
|
---|
| 41 | Space.hpp \
|
---|
| 42 | vector.hpp
|
---|
[0a4f7f] | 43 |
|
---|
[efc3cb] | 44 | ANALYSISSOURCE = \
|
---|
| 45 | analysis_bonds.cpp \
|
---|
| 46 | analysis_correlation.cpp
|
---|
| 47 | ANALYSISHEADER = \
|
---|
| 48 | analysis_bonds.hpp \
|
---|
| 49 | analysis_correlation.hpp
|
---|
[96c961] | 50 |
|
---|
[d56640] | 51 | ACTIONSSOURCE = Actions/Action.cpp \
|
---|
[03bb99] | 52 | ${ATOMACTIONSOURCE} \
|
---|
| 53 | ${FRAGMENTATIONACTIONSOURCE} \
|
---|
| 54 | ${MOLECULEACTIONSOURCE} \
|
---|
| 55 | ${PARSERACTIONSOURCE} \
|
---|
| 56 | ${TESSELATIONACTIONSOURCE} \
|
---|
[efc3cb] | 57 | Actions/ActionHistory.cpp \
|
---|
| 58 | Actions/ActionRegistry.cpp \
|
---|
| 59 | Actions/ActionSequence.cpp \
|
---|
| 60 | Actions/ErrorAction.cpp \
|
---|
| 61 | Actions/MakroAction.cpp \
|
---|
| 62 | Actions/ManipulateAtomsProcess.cpp \
|
---|
| 63 | Actions/MethodAction.cpp \
|
---|
| 64 | Actions/Process.cpp
|
---|
| 65 |
|
---|
[d56640] | 66 | ACTIONSHEADER = Actions/Action.hpp \
|
---|
[03bb99] | 67 | ${ATOMACTIONHEADER} \
|
---|
| 68 | ${FRAGMENTATIONACTIONHEADER} \
|
---|
| 69 | ${MOLECULEACTIONHEADER} \
|
---|
| 70 | ${PARSERACTIONHEADER} \
|
---|
| 71 | ${TESSELATIONACTIONHEADER} \
|
---|
[efc3cb] | 72 | Actions/ActionHistory.hpp \
|
---|
| 73 | Actions/ActionRegistry.hpp \
|
---|
| 74 | Actions/ActionSequence.hpp \
|
---|
| 75 | Actions/Calculation.hpp \
|
---|
| 76 | Actions/Calculation_impl.hpp \
|
---|
| 77 | Actions/ErrorAction.hpp \
|
---|
| 78 | Actions/MakroAction.hpp \
|
---|
| 79 | Actions/ManipulateAtomsProcess.hpp \
|
---|
| 80 | Actions/MethodAction.hpp \
|
---|
| 81 | Actions/Process.hpp
|
---|
| 82 |
|
---|
[03bb99] | 83 | ATOMACTIONSOURCE =
|
---|
| 84 | # Actions/AtomAction/SomeAction.cpp
|
---|
| 85 | ATOMACTIONHEADER =
|
---|
| 86 | # Actions/AtomAction/SomeAction.hpp
|
---|
| 87 |
|
---|
| 88 | FRAGMENTATIONACTIONSOURCE =
|
---|
| 89 | # Actions/FragmentationAction/SomeAction.cpp
|
---|
| 90 | FRAGMENTATIONACTIONHEADER =
|
---|
| 91 | # Actions/FragmentationAction/SomeAction.hpp
|
---|
| 92 |
|
---|
| 93 | MOLECULEACTIONSOURCE = \
|
---|
| 94 | Actions/MoleculeAction/ChangeNameAction.cpp
|
---|
| 95 | MOLECULEACTIONHEADER = \
|
---|
| 96 | Actions/MoleculeAction/ChangeNameAction.hpp
|
---|
| 97 |
|
---|
| 98 | PARSERACTIONSOURCE = \
|
---|
| 99 | Actions/ParserAction/LoadXyzAction.cpp \
|
---|
| 100 | Actions/ParserAction/SaveXyzAction.cpp
|
---|
| 101 | PARSERACTIONHEADER = \
|
---|
| 102 | Actions/ParserAction/LoadXyzAction.hpp \
|
---|
| 103 | Actions/ParserAction/SaveXyzAction.hpp
|
---|
| 104 |
|
---|
| 105 | TESSELATIONACTIONSOURCE =
|
---|
| 106 | # Actions/TesselationAction/SomeAction.cpp
|
---|
| 107 | TESSELATIONACTIONHEADER =
|
---|
| 108 | # Actions/TesselationAction/SomeAction.hpp
|
---|
| 109 |
|
---|
[efc3cb] | 110 | PARSERSOURCE = \
|
---|
| 111 | Parser/ChangeTracker.cpp \
|
---|
| 112 | Parser/FormatParser.cpp \
|
---|
| 113 | Parser/TremoloParser.cpp \
|
---|
| 114 | Parser/XyzParser.cpp
|
---|
| 115 | PARSERHEADER = \
|
---|
| 116 | Parser/ChangeTracker.hpp \
|
---|
| 117 | Parser/FormatParser.hpp \
|
---|
| 118 | Parser/TremoloParser.hpp \
|
---|
| 119 | Parser/XyzParser.hpp
|
---|
| 120 |
|
---|
| 121 | PATTERNSOURCE = \
|
---|
| 122 | Patterns/Observer.cpp
|
---|
| 123 | PATTERNHEADER = \
|
---|
| 124 | Patterns/Cacheable.hpp \
|
---|
| 125 | Patterns/Observer.hpp \
|
---|
| 126 | Patterns/Singleton.hpp
|
---|
| 127 |
|
---|
| 128 | # Below is all for the User Interface
|
---|
| 129 |
|
---|
| 130 | VIEWSOURCE = \
|
---|
| 131 | Views/View.cpp \
|
---|
| 132 | Views/StringView.cpp \
|
---|
| 133 | Views/MethodStringView.cpp \
|
---|
| 134 | Views/StreamStringView.cpp
|
---|
| 135 | VIEWHEADER = \
|
---|
| 136 | Views/View.hpp \
|
---|
| 137 | Views/StringView.hpp \
|
---|
| 138 | Views/MethodStringView.hpp \
|
---|
| 139 | Views/StreamStringView.hpp
|
---|
| 140 |
|
---|
| 141 | MENUSOURCE = \
|
---|
| 142 | Menu/Menu.cpp \
|
---|
| 143 | Menu/TextMenu.cpp \
|
---|
| 144 | Menu/MenuItem.cpp \
|
---|
| 145 | Menu/SubMenuItem.cpp \
|
---|
| 146 | Menu/ActionMenuItem.cpp \
|
---|
| 147 | Menu/SeperatorItem.cpp \
|
---|
| 148 | Menu/DisplayMenuItem.cpp
|
---|
| 149 |
|
---|
| 150 | MENUHEADER = \
|
---|
| 151 | Menu/Menu.hpp \
|
---|
| 152 | Menu/TextMenu.hpp \
|
---|
| 153 | Menu/MenuItem.hpp \
|
---|
| 154 | Menu/SubMenuItem.hpp \
|
---|
| 155 | Menu/ActionMenuItem.hpp \
|
---|
| 156 | Menu/SeperatorItem.hpp \
|
---|
| 157 | Menu/DisplayMenuItem.hpp
|
---|
| 158 |
|
---|
| 159 | UISOURCE = \
|
---|
| 160 | ${ACTIONSSOURCE} \
|
---|
[a2ab15] | 161 | ${COMMANDLINEUISOURCE} \
|
---|
[efc3cb] | 162 | ${MENUSOURCE} \
|
---|
| 163 | ${TEXTUISOURCE} \
|
---|
| 164 | ${VIEWSOURCE} \
|
---|
| 165 | UIElements/Dialog.cpp \
|
---|
| 166 | UIElements/MainWindow.cpp \
|
---|
| 167 | UIElements/UIFactory.cpp
|
---|
| 168 |
|
---|
| 169 | UIHEADER = \
|
---|
| 170 | ${ACTIONSHEADER} \
|
---|
[a2ab15] | 171 | ${COMMANDLINEUIHEADER} \
|
---|
[efc3cb] | 172 | ${MENUHEADER} \
|
---|
| 173 | ${TEXTUIHEADER} \
|
---|
| 174 | ${VIEWHEADER} \
|
---|
| 175 | UIElements/Dialog.hpp \
|
---|
| 176 | UIElements/MainWindow.hpp \
|
---|
| 177 | UIElements/UIFactory.hpp
|
---|
| 178 |
|
---|
| 179 | TEXTUISOURCE = \
|
---|
| 180 | UIElements/TextDialog.cpp \
|
---|
| 181 | UIElements/TextStatusIndicator.cpp \
|
---|
| 182 | UIElements/TextUIFactory.cpp \
|
---|
| 183 | UIElements/TextWindow.cpp
|
---|
| 184 | TEXTUIHEADER = \
|
---|
| 185 | UIElements/TextDialog.hpp \
|
---|
| 186 | UIElements/TextStatusIndicator.hpp \
|
---|
| 187 | UIElements/TextUIFactory.hpp \
|
---|
| 188 | UIElements/TextWindow.hpp
|
---|
[f5a86a] | 189 |
|
---|
[a2ab15] | 190 | COMMANDLINEUISOURCE = \
|
---|
| 191 | UIElements/CommandLineDialog.cpp \
|
---|
| 192 | UIElements/CommandLineStatusIndicator.cpp \
|
---|
| 193 | UIElements/CommandLineUIFactory.cpp \
|
---|
| 194 | UIElements/CommandLineWindow.cpp
|
---|
| 195 | COMMANDLINEUIHEADER = \
|
---|
| 196 | UIElements/CommandLineDialog.hpp \
|
---|
| 197 | UIElements/CommandLineStatusIndicator.hpp \
|
---|
| 198 | UIElements/CommandLineUIFactory.hpp \
|
---|
| 199 | UIElements/CommandLineWindow.hpp
|
---|
| 200 |
|
---|
[442218] | 201 | # all these files are only used for legacy reasons while the transition is in progress
|
---|
| 202 | # they are only needed to keep the program usable at any point of the transition and will be
|
---|
| 203 | # deleted once everything is fully refactored
|
---|
| 204 | LEGACYSOURCE = Legacy/oldmenu.cpp
|
---|
[d346b6] | 205 | LEGACYHEADER = Legacy/oldmenu.hpp
|
---|
[442218] | 206 |
|
---|
[57adc7] | 207 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
[efc3cb] | 208 | Descriptors/AtomIdDescriptor.cpp \
|
---|
| 209 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
| 210 | Descriptors/MoleculeDescriptor.cpp \
|
---|
| 211 | Descriptors/MoleculeIdDescriptor.cpp
|
---|
[57adc7] | 212 |
|
---|
[6e97e5] | 213 |
|
---|
[57adc7] | 214 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
[efc3cb] | 215 | Descriptors/AtomIdDescriptor.hpp \
|
---|
| 216 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
| 217 | Descriptors/MoleculeDescriptor.hpp \
|
---|
| 218 | Descriptors/MoleculeIdDescriptor.hpp
|
---|
[6e97e5] | 219 |
|
---|
[0a4f7f] | 220 | EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
|
---|
[efc3cb] | 221 | Exceptions/LinearDependenceException.cpp \
|
---|
| 222 | Exceptions/MathException.cpp \
|
---|
| 223 | Exceptions/ZeroVectorException.cpp
|
---|
[0a4f7f] | 224 |
|
---|
| 225 | EXCEPTIONHEADER = Exceptions/CustomException.hpp \
|
---|
[efc3cb] | 226 | Exceptions/LinearDependenceException.hpp \
|
---|
| 227 | Exceptions/MathException.hpp \
|
---|
| 228 | Exceptions/ZeroVectorException.hpp
|
---|
| 229 |
|
---|
| 230 | SOURCE = \
|
---|
| 231 | ${ANALYSISSOURCE} \
|
---|
| 232 | ${ATOMSOURCE} \
|
---|
| 233 | ${PATTERNSOURCE} \
|
---|
| 234 | ${PARSERSOURCE} \
|
---|
| 235 | ${UISOURCE} \
|
---|
| 236 | ${DESCRIPTORSOURCE} \
|
---|
| 237 | ${HELPERSOURCE} \
|
---|
| 238 | ${LEGACYSOURCE} \
|
---|
| 239 | ${EXCEPTIONSOURCE} \
|
---|
| 240 | bond.cpp \
|
---|
| 241 | bondgraph.cpp \
|
---|
| 242 | boundary.cpp \
|
---|
[c6efc1] | 243 | CommandLineParser.cpp \
|
---|
[efc3cb] | 244 | config.cpp \
|
---|
| 245 | element.cpp \
|
---|
| 246 | ellipsoid.cpp \
|
---|
| 247 | errorlogger.cpp \
|
---|
| 248 | graph.cpp \
|
---|
| 249 | helpers.cpp \
|
---|
| 250 | info.cpp \
|
---|
| 251 | leastsquaremin.cpp \
|
---|
| 252 | Line.cpp \
|
---|
| 253 | linkedcell.cpp \
|
---|
| 254 | lists.cpp \
|
---|
| 255 | log.cpp \
|
---|
| 256 | logger.cpp \
|
---|
| 257 | memoryusageobserver.cpp \
|
---|
| 258 | moleculelist.cpp \
|
---|
| 259 | molecule.cpp \
|
---|
| 260 | molecule_dynamics.cpp \
|
---|
| 261 | molecule_fragmentation.cpp \
|
---|
| 262 | molecule_geometry.cpp \
|
---|
| 263 | molecule_graph.cpp \
|
---|
| 264 | molecule_pointcloud.cpp \
|
---|
| 265 | parser.cpp \
|
---|
| 266 | periodentafel.cpp \
|
---|
| 267 | Plane.cpp \
|
---|
| 268 | tesselation.cpp \
|
---|
| 269 | tesselationhelpers.cpp \
|
---|
| 270 | triangleintersectionlist.cpp \
|
---|
| 271 | verbose.cpp \
|
---|
| 272 | vector_ops.cpp \
|
---|
| 273 | World.cpp
|
---|
[5f612ee] | 274 |
|
---|
| 275 | HEADER = \
|
---|
[efc3cb] | 276 | ${ANALYSISHEADER} \
|
---|
| 277 | ${ATOMHEADER} \
|
---|
| 278 | ${PARSERHEADER} \
|
---|
| 279 | ${PATTERNHEADER} \
|
---|
| 280 | ${UIHEADER} \
|
---|
| 281 | ${DESCRIPTORHEADER} \
|
---|
| 282 | ${EXCEPTIONHEADER} \
|
---|
| 283 | ${LEGACYHEADER} \
|
---|
| 284 | bond.hpp \
|
---|
| 285 | bondgraph.hpp \
|
---|
| 286 | boundary.hpp \
|
---|
[c6efc1] | 287 | CommandLineParser.hpp \
|
---|
[efc3cb] | 288 | config.hpp \
|
---|
| 289 | defs.hpp \
|
---|
| 290 | element.hpp \
|
---|
| 291 | ellipsoid.hpp \
|
---|
| 292 | errorlogger.hpp \
|
---|
| 293 | graph.hpp \
|
---|
| 294 | helpers.hpp \
|
---|
| 295 | info.hpp \
|
---|
| 296 | leastsquaremin.hpp \
|
---|
| 297 | Line.hpp \
|
---|
| 298 | linkedcell.hpp \
|
---|
| 299 | lists.hpp \
|
---|
| 300 | log.hpp \
|
---|
| 301 | logger.hpp \
|
---|
| 302 | memoryallocator.hpp \
|
---|
| 303 | memoryusageobserver.hpp \
|
---|
| 304 | molecule.hpp \
|
---|
| 305 | molecule_template.hpp \
|
---|
| 306 | parser.hpp \
|
---|
| 307 | periodentafel.hpp \
|
---|
| 308 | Plane.hpp \
|
---|
| 309 | stackclass.hpp \
|
---|
| 310 | tesselation.hpp \
|
---|
| 311 | tesselationhelpers.hpp \
|
---|
| 312 | triangleintersectionlist.hpp \
|
---|
| 313 | verbose.hpp \
|
---|
| 314 | vector_ops.hpp \
|
---|
| 315 | World.hpp
|
---|
[ef9df36] | 316 |
|
---|
[fa861b] | 317 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
---|
[b9907c] | 318 | INCLUDES = -I$(top_srcdir)/src/unittests
|
---|
[ef9df36] | 319 |
|
---|
[9fb860] | 320 | noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
|
---|
[ef9df36] | 321 | bin_PROGRAMS = molecuilder joiner analyzer
|
---|
[14de469] | 322 | molecuilderdir = ${bindir}
|
---|
[b9907c] | 323 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
---|
[9fb860] | 324 | libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
|
---|
[6ac7ee] | 325 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
[4d9c01] | 326 | molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
|
---|
[b9907c] | 327 | molecuilder_SOURCES = builder.cpp
|
---|
[c6efc1] | 328 | molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
|
---|
[b9907c] | 329 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
---|
[4d9c01] | 330 | joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
[b9907c] | 331 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
---|
[4d9c01] | 332 | analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
[14de469] | 333 |
|
---|
[a8eb4a] | 334 | FORCE:
|
---|
| 335 | $(srcdir)/.git-version: FORCE
|
---|
[c135eb7] | 336 | @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
|
---|
[a8eb4a] | 337 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
| 338 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
| 339 | else \
|
---|
| 340 | rm -f .git-version-t; \
|
---|
| 341 | fi
|
---|
| 342 |
|
---|
| 343 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
| 344 |
|
---|
| 345 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
| 346 | echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
| 347 |
|
---|
| 348 | molecuilder_SOURCES += $(srcdir)/version.c
|
---|