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