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