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