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