| [71910a] | 1 | # this includes source files that need to be present at multiple points
|
|---|
| [0d111b] | 2 | HELPERSOURCE = Helpers/Assert.cpp \
|
|---|
| 3 | Helpers/MemDebug.cpp
|
|---|
| [71910a] | 4 |
|
|---|
| [2e2a70] | 5 | ATOMSOURCE = atom.cpp atom_atominfo.cpp atom_bondedparticle.cpp atom_bondedparticleinfo.cpp atom_graphnode.cpp atom_graphnodeinfo.cpp atom_particleinfo.cpp atom_trajectoryparticle.cpp atom_trajectoryparticleinfo.cpp
|
|---|
| 6 | ATOMHEADER = atom.hpp atom_atominfo.hpp atom_bondedparticle.hpp atom_bondedparticleinfo.hpp atom_graphnode.hpp atom_graphnodeinfo.hpp atom_particleinfo.hpp atom_trajectoryparticle.hpp atom_trajectoryparticleinfo.hpp
|
|---|
| 7 |
|
|---|
| [71910a] | 8 | LINALGSOURCE = ${HELPERSOURCE} \
|
|---|
| 9 | gslmatrix.cpp \
|
|---|
| 10 | gslvector.cpp \
|
|---|
| 11 | linearsystemofequations.cpp \
|
|---|
| 12 | vector.cpp
|
|---|
| 13 |
|
|---|
| 14 | LINALGHEADER = gslmatrix.hpp \
|
|---|
| 15 | gslvector.hpp \
|
|---|
| 16 | linearsystemofequations.hpp \
|
|---|
| 17 | vector.hpp
|
|---|
| 18 |
|
|---|
| [22b47e] | 19 |
|
|---|
| [341850] | 20 | ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
|
|---|
| 21 | ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
|
|---|
| 22 |
|
|---|
| [8d9984] | 23 | ACTIONSSOURCE = Actions/Action.cpp \
|
|---|
| 24 | Actions/ActionHistory.cpp \
|
|---|
| 25 | Actions/ActionRegistry.cpp \
|
|---|
| 26 | Actions/ActionSequence.cpp \
|
|---|
| 27 | Actions/ErrorAction.cpp \
|
|---|
| 28 | Actions/MakroAction.cpp \
|
|---|
| 29 | Actions/ManipulateAtomsProcess.cpp \
|
|---|
| 30 | Actions/MethodAction.cpp \
|
|---|
| 31 | Actions/Process.cpp \
|
|---|
| 32 | Actions/small_actions.cpp
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | ACTIONSHEADER = Actions/Action.hpp \
|
|---|
| 36 | Actions/ActionHistory.hpp \
|
|---|
| 37 | Actions/ActionRegistry.hpp \
|
|---|
| 38 | Actions/ActionSequence.hpp \
|
|---|
| 39 | Actions/Calculation.hpp \
|
|---|
| 40 | Actions/Calculation_impl.hpp \
|
|---|
| 41 | Actions/ErrorAction.hpp \
|
|---|
| 42 | Actions/MakroAction.hpp \
|
|---|
| 43 | Actions/ManipulateAtomsProcess.hpp \
|
|---|
| 44 | Actions/MethodAction.hpp \
|
|---|
| 45 | Actions/Process.hpp \
|
|---|
| 46 | Actions/small_actions.hpp
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| [d20ed5] | 49 |
|
|---|
| [03d7ac] | 50 | PATTERNSOURCE = Patterns/Observer.cpp
|
|---|
| [c3f8c4] | 51 | PATTERNHEADER = Patterns/Cacheable.hpp \
|
|---|
| 52 | Patterns/Observer.hpp \
|
|---|
| 53 | Patterns/Singleton.hpp
|
|---|
| [03d7ac] | 54 |
|
|---|
| [df55a0] | 55 | VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
|
|---|
| 56 | VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
|
|---|
| 57 |
|
|---|
| [6d21bd] | 58 | MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
|
|---|
| 59 | MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
|
|---|
| [d20ed5] | 60 |
|
|---|
| [536380] | 61 | UISOURCE = ${ACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/TextStatusIndicator.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp
|
|---|
| 62 | UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/TextStatusIndicator.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
|
|---|
| [6d21bd] | 63 |
|
|---|
| [181488] | 64 | # all these files are only used for legacy reasons while the transition is in progress
|
|---|
| 65 | # they are only needed to keep the program usable at any point of the transition and will be
|
|---|
| 66 | # deleted once everything is fully refactored
|
|---|
| 67 | LEGACYSOURCE = Legacy/oldmenu.cpp
|
|---|
| [d2d8f5] | 68 | LEGACYHEADER = Legacy/oldmenu.hpp
|
|---|
| [181488] | 69 |
|
|---|
| [f058ef] | 70 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
|---|
| [43ed42] | 71 | Descriptors/AtomIdDescriptor.cpp \
|
|---|
| 72 | Descriptors/AtomTypeDescriptor.cpp \
|
|---|
| [f058ef] | 73 | Descriptors/MoleculeDescriptor.cpp \
|
|---|
| [43ed42] | 74 | Descriptors/MoleculeIdDescriptor.cpp
|
|---|
| [f058ef] | 75 |
|
|---|
| [5738177] | 76 |
|
|---|
| [f058ef] | 77 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
|---|
| [43ed42] | 78 | Descriptors/AtomIdDescriptor.hpp \
|
|---|
| 79 | Descriptors/AtomTypeDescriptor.hpp \
|
|---|
| [f058ef] | 80 | Descriptors/MoleculeDescriptor.hpp \
|
|---|
| 81 | Descriptors/MoleculeIdDescriptor.hpp
|
|---|
| [5738177] | 82 |
|
|---|
| [43ed42] | 83 |
|
|---|
| [86b917] | 84 |
|
|---|
| [71910a] | 85 | EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
|
|---|
| 86 | Exceptions/LinearDependenceException.cpp
|
|---|
| 87 |
|
|---|
| 88 | EXCEPTIONHEADER = Exceptions/CustomException.hpp \
|
|---|
| 89 | Exceptions/LinearDependenceException.hpp
|
|---|
| 90 |
|
|---|
| [5738177] | 91 | SOURCE = ${ANALYSISSOURCE} \
|
|---|
| 92 | ${ATOMSOURCE} \
|
|---|
| 93 | ${PATTERNSOURCE} \
|
|---|
| 94 | ${UISOURCE} \
|
|---|
| 95 | ${DESCRIPTORSOURCE} \
|
|---|
| [71910a] | 96 | ${HELPERSOURCE} \
|
|---|
| [5738177] | 97 | ${LEGACYSOURCE} \
|
|---|
| [71910a] | 98 | ${EXCEPTIONSOURCE} \
|
|---|
| [5738177] | 99 | bond.cpp \
|
|---|
| 100 | bondgraph.cpp \
|
|---|
| 101 | boundary.cpp \
|
|---|
| 102 | config.cpp \
|
|---|
| 103 | element.cpp \
|
|---|
| 104 | ellipsoid.cpp \
|
|---|
| 105 | errorlogger.cpp \
|
|---|
| 106 | graph.cpp \
|
|---|
| 107 | helpers.cpp \
|
|---|
| 108 | info.cpp \
|
|---|
| 109 | leastsquaremin.cpp \
|
|---|
| 110 | linkedcell.cpp \
|
|---|
| 111 | lists.cpp \
|
|---|
| 112 | log.cpp \
|
|---|
| 113 | logger.cpp \
|
|---|
| 114 | memoryusageobserver.cpp \
|
|---|
| 115 | moleculelist.cpp \
|
|---|
| 116 | molecule.cpp \
|
|---|
| 117 | molecule_dynamics.cpp \
|
|---|
| 118 | molecule_fragmentation.cpp \
|
|---|
| 119 | molecule_geometry.cpp \
|
|---|
| 120 | molecule_graph.cpp \
|
|---|
| 121 | molecule_pointcloud.cpp \
|
|---|
| 122 | parser.cpp \
|
|---|
| 123 | periodentafel.cpp \
|
|---|
| [71910a] | 124 | Plane.cpp \
|
|---|
| [5738177] | 125 | tesselation.cpp \
|
|---|
| 126 | tesselationhelpers.cpp \
|
|---|
| [075729] | 127 | triangleintersectionlist.cpp \
|
|---|
| [5738177] | 128 | verbose.cpp \
|
|---|
| [71910a] | 129 | vector_ops.cpp \
|
|---|
| [5738177] | 130 | World.cpp
|
|---|
| [075729] | 131 |
|
|---|
| 132 | HEADER = \
|
|---|
| [0d111b] | 133 | ${ANALYSISHEADER} \
|
|---|
| 134 | ${ATOMHEADER} \
|
|---|
| 135 | ${PATTERNHEADER} \
|
|---|
| 136 | ${UIHEADER} \
|
|---|
| 137 | ${DESCRIPTORHEADER} \
|
|---|
| 138 | ${EXCEPTIONHEADER} \
|
|---|
| 139 | ${LEGACYHEADER} \
|
|---|
| 140 | bond.hpp \
|
|---|
| 141 | bondgraph.hpp \
|
|---|
| 142 | boundary.hpp \
|
|---|
| 143 | config.hpp \
|
|---|
| 144 | defs.hpp \
|
|---|
| 145 | element.hpp \
|
|---|
| 146 | ellipsoid.hpp \
|
|---|
| 147 | errorlogger.hpp \
|
|---|
| 148 | graph.hpp \
|
|---|
| 149 | helpers.hpp \
|
|---|
| 150 | info.hpp \
|
|---|
| 151 | leastsquaremin.hpp \
|
|---|
| 152 | linkedcell.hpp \
|
|---|
| 153 | lists.hpp \
|
|---|
| 154 | log.hpp \
|
|---|
| 155 | logger.hpp \
|
|---|
| 156 | memoryallocator.hpp \
|
|---|
| 157 | memoryusageobserver.hpp \
|
|---|
| 158 | molecule.hpp \
|
|---|
| 159 | molecule_template.hpp \
|
|---|
| 160 | parser.hpp \
|
|---|
| 161 | periodentafel.hpp \
|
|---|
| 162 | Plane.hpp \
|
|---|
| 163 | stackclass.hpp \
|
|---|
| 164 | tesselation.hpp \
|
|---|
| 165 | tesselationhelpers.hpp \
|
|---|
| 166 | triangleintersectionlist.hpp \
|
|---|
| 167 | verbose.hpp \
|
|---|
| 168 | vector_ops.hpp \
|
|---|
| 169 | World.hpp
|
|---|
| [6c09a4] | 170 |
|
|---|
| [9c32a1] | 171 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
|---|
| [afbb6c0] | 172 | INCLUDES = -I$(top_srcdir)/src/unittests
|
|---|
| [6c09a4] | 173 |
|
|---|
| [22b47e] | 174 | noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
|
|---|
| [6c09a4] | 175 | bin_PROGRAMS = molecuilder joiner analyzer
|
|---|
| [a0bcf1] | 176 | molecuilderdir = ${bindir}
|
|---|
| [afbb6c0] | 177 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
|---|
| [22b47e] | 178 | libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
|
|---|
| [e08f45] | 179 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
|---|
| [42918b] | 180 | molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
|
|---|
| [afbb6c0] | 181 | molecuilder_SOURCES = builder.cpp
|
|---|
| [42918b] | 182 | molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| [afbb6c0] | 183 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
|---|
| [42918b] | 184 | joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| [afbb6c0] | 185 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
|---|
| [42918b] | 186 | analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
|---|
| [a0bcf1] | 187 |
|
|---|
| [e71890] | 188 | #EXTRA_DIST = ${molecuilder_DATA}
|
|---|
| [d20ed5] | 189 |
|
|---|
| [ef87ee] | 190 | FORCE:
|
|---|
| 191 | $(srcdir)/.git-version: FORCE
|
|---|
| [b7f3f3] | 192 | @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
|
|---|
| [ef87ee] | 193 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
|---|
| 194 | mv -f .git-version-t $(srcdir)/.git-version; \
|
|---|
| 195 | else \
|
|---|
| 196 | rm -f .git-version-t; \
|
|---|
| 197 | fi
|
|---|
| 198 |
|
|---|
| 199 | EXTRA_DIST = $(srcdir)/.git-version
|
|---|
| 200 |
|
|---|
| 201 | $(srcdir)/version.c: $(srcdir)/.git-version
|
|---|
| 202 | echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
|
|---|
| 203 |
|
|---|
| 204 | molecuilder_SOURCES += $(srcdir)/version.c
|
|---|