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 | vector.cpp
|
---|
12 |
|
---|
13 | LINALGHEADER = gslmatrix.hpp \
|
---|
14 | gslvector.hpp \
|
---|
15 | linearsystemofequations.hpp \
|
---|
16 | vector.hpp
|
---|
17 |
|
---|
18 |
|
---|
19 | ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
|
---|
20 | ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
|
---|
21 |
|
---|
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 |
|
---|
48 |
|
---|
49 | PATTERNSOURCE = Patterns/Observer.cpp
|
---|
50 | PATTERNHEADER = Patterns/Cacheable.hpp \
|
---|
51 | Patterns/Observer.hpp \
|
---|
52 | Patterns/Singleton.hpp
|
---|
53 |
|
---|
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 |
|
---|
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
|
---|
59 |
|
---|
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
|
---|
62 |
|
---|
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
|
---|
67 | LEGACYHEADER = Legacy/oldmenu.hpp
|
---|
68 |
|
---|
69 | DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
|
---|
70 | Descriptors/AtomIdDescriptor.cpp \
|
---|
71 | Descriptors/AtomTypeDescriptor.cpp \
|
---|
72 | Descriptors/MoleculeDescriptor.cpp \
|
---|
73 | Descriptors/MoleculeIdDescriptor.cpp
|
---|
74 |
|
---|
75 |
|
---|
76 | DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
|
---|
77 | Descriptors/AtomIdDescriptor.hpp \
|
---|
78 | Descriptors/AtomTypeDescriptor.hpp \
|
---|
79 | Descriptors/MoleculeDescriptor.hpp \
|
---|
80 | Descriptors/MoleculeIdDescriptor.hpp
|
---|
81 |
|
---|
82 |
|
---|
83 |
|
---|
84 | EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
|
---|
85 | Exceptions/LinearDependenceException.cpp
|
---|
86 |
|
---|
87 | EXCEPTIONHEADER = Exceptions/CustomException.hpp \
|
---|
88 | Exceptions/LinearDependenceException.hpp
|
---|
89 |
|
---|
90 | SOURCE = ${ANALYSISSOURCE} \
|
---|
91 | ${ATOMSOURCE} \
|
---|
92 | ${PATTERNSOURCE} \
|
---|
93 | ${UISOURCE} \
|
---|
94 | ${DESCRIPTORSOURCE} \
|
---|
95 | ${HELPERSOURCE} \
|
---|
96 | ${LEGACYSOURCE} \
|
---|
97 | ${EXCEPTIONSOURCE} \
|
---|
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 \
|
---|
123 | Plane.cpp \
|
---|
124 | tesselation.cpp \
|
---|
125 | tesselationhelpers.cpp \
|
---|
126 | verbose.cpp \
|
---|
127 | vector_ops.cpp \
|
---|
128 | World.cpp
|
---|
129 |
|
---|
130 | HEADER = ${ANALYSISHEADER} \
|
---|
131 | ${ATOMHEADER} \
|
---|
132 | ${PATTERNHEADER} \
|
---|
133 | ${UIHEADER} \
|
---|
134 | ${DESCRIPTORHEADER} \
|
---|
135 | ${LEGACYHEADER} \
|
---|
136 | ${EXCEPTIONHEADER} \
|
---|
137 | bond.hpp \
|
---|
138 | bondgraph.hpp \
|
---|
139 | boundary.hpp \
|
---|
140 | config.hpp \
|
---|
141 | defs.hpp \
|
---|
142 | element.hpp \
|
---|
143 | ellipsoid.hpp \
|
---|
144 | errorlogger.hpp \
|
---|
145 | graph.hpp \
|
---|
146 | info.hpp \
|
---|
147 | leastsquaremin.hpp \
|
---|
148 | linkedcell.hpp \
|
---|
149 | lists.hpp \
|
---|
150 | log.hpp \
|
---|
151 | logger.hpp \
|
---|
152 | memoryallocator.hpp \
|
---|
153 | memoryusageobserver.hpp \
|
---|
154 | molecule.hpp \
|
---|
155 | molecule_template.hpp \
|
---|
156 | parser.hpp \
|
---|
157 | periodentafel.hpp \
|
---|
158 | Plane.hpp \
|
---|
159 | stackclass.hpp \
|
---|
160 | tesselation.hpp \
|
---|
161 | tesselationhelpers.hpp \
|
---|
162 | verbose.hpp \
|
---|
163 | vector_ops.hpp \
|
---|
164 | World.hpp
|
---|
165 |
|
---|
166 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
|
---|
167 | INCLUDES = -I$(top_srcdir)/src/unittests
|
---|
168 |
|
---|
169 | noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
|
---|
170 | bin_PROGRAMS = molecuilder joiner analyzer
|
---|
171 | molecuilderdir = ${bindir}
|
---|
172 | libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
|
---|
173 | libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
|
---|
174 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
---|
175 | molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
|
---|
176 | molecuilder_SOURCES = builder.cpp
|
---|
177 | molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
178 | joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
|
---|
179 | joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
180 | analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
|
---|
181 | analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
182 |
|
---|
183 | #EXTRA_DIST = ${molecuilder_DATA}
|
---|
184 |
|
---|
185 | FORCE:
|
---|
186 | $(srcdir)/.git-version: FORCE
|
---|
187 | @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
|
---|
188 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
---|
189 | mv -f .git-version-t $(srcdir)/.git-version; \
|
---|
190 | else \
|
---|
191 | rm -f .git-version-t; \
|
---|
192 | fi
|
---|
193 |
|
---|
194 | EXTRA_DIST = $(srcdir)/.git-version
|
---|
195 |
|
---|
196 | $(srcdir)/version.c: $(srcdir)/.git-version
|
---|
197 | echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
|
---|
198 |
|
---|
199 | molecuilder_SOURCES += $(srcdir)/version.c
|
---|