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