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