source: src/Makefile.am@ 498c519

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 498c519 was 50dfda, checked in by Frederik Heber <heber@…>, 15 years ago

Added VersionAction.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 9.2 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4# this includes source files that need to be present at multiple points
5HELPERSOURCE = \
6 Helpers/Assert.cpp \
7 Helpers/MemDebug.cpp
8
9ATOMSOURCE = \
10 atom.cpp \
11 atom_atominfo.cpp \
12 atom_bondedparticle.cpp \
13 atom_bondedparticleinfo.cpp \
14 atom_graphnode.cpp \
15 atom_graphnodeinfo.cpp \
16 atom_particleinfo.cpp \
17 atom_trajectoryparticle.cpp \
18 atom_trajectoryparticleinfo.cpp
19ATOMHEADER = \
20 atom.hpp \
21 atom_atominfo.hpp \
22 atom_bondedparticle.hpp \
23 atom_bondedparticleinfo.hpp \
24 atom_graphnode.hpp \
25 atom_graphnodeinfo.hpp \
26 atom_particleinfo.hpp \
27 atom_trajectoryparticle.hpp \
28 atom_trajectoryparticleinfo.hpp
29
30LINALGSOURCE = \
31 ${HELPERSOURCE} \
32 gslmatrix.cpp \
33 gslvector.cpp \
34 linearsystemofequations.cpp \
35 Space.cpp \
36 vector.cpp
37
38LINALGHEADER = gslmatrix.hpp \
39 gslvector.hpp \
40 linearsystemofequations.hpp \
41 Space.hpp \
42 vector.hpp
43
44ANALYSISSOURCE = \
45 analysis_bonds.cpp \
46 analysis_correlation.cpp
47ANALYSISHEADER = \
48 analysis_bonds.hpp \
49 analysis_correlation.hpp
50
51ACTIONSSOURCE = Actions/Action.cpp \
52 ${ATOMACTIONSOURCE} \
53 ${CMDACTIONSOURCE} \
54 ${FRAGMENTATIONACTIONSOURCE} \
55 ${MOLECULEACTIONSOURCE} \
56 ${PARSERACTIONSOURCE} \
57 ${TESSELATIONACTIONSOURCE} \
58 Actions/ActionHistory.cpp \
59 Actions/ActionRegistry.cpp \
60 Actions/ActionSequence.cpp \
61 Actions/ErrorAction.cpp \
62 Actions/MakroAction.cpp \
63 Actions/ManipulateAtomsProcess.cpp \
64 Actions/MethodAction.cpp \
65 Actions/Process.cpp
66
67ACTIONSHEADER = Actions/Action.hpp \
68 ${ATOMACTIONHEADER} \
69 ${CMDACTIONHEADER} \
70 ${FRAGMENTATIONACTIONHEADER} \
71 ${MOLECULEACTIONHEADER} \
72 ${PARSERACTIONHEADER} \
73 ${TESSELATIONACTIONHEADER} \
74 Actions/ActionHistory.hpp \
75 Actions/ActionRegistry.hpp \
76 Actions/ActionSequence.hpp \
77 Actions/Calculation.hpp \
78 Actions/Calculation_impl.hpp \
79 Actions/ErrorAction.hpp \
80 Actions/MakroAction.hpp \
81 Actions/ManipulateAtomsProcess.hpp \
82 Actions/MethodAction.hpp \
83 Actions/Process.hpp
84
85ATOMACTIONSOURCE =
86# Actions/AtomAction/SomeAction.cpp
87ATOMACTIONHEADER =
88# Actions/AtomAction/SomeAction.hpp
89
90CMDACTIONSOURCE = \
91 Actions/CmdAction/HelpAction.cpp \
92 Actions/CmdAction/VersionAction.cpp
93CMDACTIONHEADER = \
94 Actions/CmdAction/HelpAction.hpp \
95 Actions/CmdAction/VersionAction.hpp
96
97FRAGMENTATIONACTIONSOURCE =
98# Actions/FragmentationAction/SomeAction.cpp
99FRAGMENTATIONACTIONHEADER =
100# Actions/FragmentationAction/SomeAction.hpp
101
102MOLECULEACTIONSOURCE = \
103 Actions/MoleculeAction/ChangeNameAction.cpp
104MOLECULEACTIONHEADER = \
105 Actions/MoleculeAction/ChangeNameAction.hpp
106
107PARSERACTIONSOURCE = \
108 Actions/ParserAction/LoadXyzAction.cpp \
109 Actions/ParserAction/SaveXyzAction.cpp
110PARSERACTIONHEADER = \
111 Actions/ParserAction/LoadXyzAction.hpp \
112 Actions/ParserAction/SaveXyzAction.hpp
113
114TESSELATIONACTIONSOURCE =
115# Actions/TesselationAction/SomeAction.cpp
116TESSELATIONACTIONHEADER =
117# Actions/TesselationAction/SomeAction.hpp
118
119PARSERSOURCE = \
120 Parser/ChangeTracker.cpp \
121 Parser/FormatParser.cpp \
122 Parser/TremoloParser.cpp \
123 Parser/XyzParser.cpp
124PARSERHEADER = \
125 Parser/ChangeTracker.hpp \
126 Parser/FormatParser.hpp \
127 Parser/TremoloParser.hpp \
128 Parser/XyzParser.hpp
129
130PATTERNSOURCE = \
131 Patterns/Observer.cpp
132PATTERNHEADER = \
133 Patterns/Cacheable.hpp \
134 Patterns/Observer.hpp \
135 Patterns/Singleton.hpp
136
137# Below is all for the User Interface
138
139VIEWSOURCE = \
140 Views/View.cpp \
141 Views/StringView.cpp \
142 Views/MethodStringView.cpp \
143 Views/StreamStringView.cpp
144VIEWHEADER = \
145 Views/View.hpp \
146 Views/StringView.hpp \
147 Views/MethodStringView.hpp \
148 Views/StreamStringView.hpp
149
150MENUSOURCE = \
151 Menu/Menu.cpp \
152 Menu/TextMenu.cpp \
153 Menu/MenuItem.cpp \
154 Menu/SubMenuItem.cpp \
155 Menu/ActionMenuItem.cpp \
156 Menu/SeperatorItem.cpp \
157 Menu/DisplayMenuItem.cpp
158
159MENUHEADER = \
160 Menu/Menu.hpp \
161 Menu/TextMenu.hpp \
162 Menu/MenuItem.hpp \
163 Menu/SubMenuItem.hpp \
164 Menu/ActionMenuItem.hpp \
165 Menu/SeperatorItem.hpp \
166 Menu/DisplayMenuItem.hpp
167
168UISOURCE = \
169 ${ACTIONSSOURCE} \
170 ${COMMANDLINEUISOURCE} \
171 ${MENUSOURCE} \
172 ${TEXTUISOURCE} \
173 ${VIEWSOURCE} \
174 UIElements/Dialog.cpp \
175 UIElements/MainWindow.cpp \
176 UIElements/UIFactory.cpp
177
178UIHEADER = \
179 ${ACTIONSHEADER} \
180 ${COMMANDLINEUIHEADER} \
181 ${MENUHEADER} \
182 ${TEXTUIHEADER} \
183 ${VIEWHEADER} \
184 UIElements/Dialog.hpp \
185 UIElements/MainWindow.hpp \
186 UIElements/UIFactory.hpp
187
188TEXTUISOURCE = \
189 UIElements/TextDialog.cpp \
190 UIElements/TextStatusIndicator.cpp \
191 UIElements/TextUIFactory.cpp \
192 UIElements/TextWindow.cpp
193TEXTUIHEADER = \
194 UIElements/TextDialog.hpp \
195 UIElements/TextStatusIndicator.hpp \
196 UIElements/TextUIFactory.hpp \
197 UIElements/TextWindow.hpp
198
199COMMANDLINEUISOURCE = \
200 UIElements/CommandLineDialog.cpp \
201 UIElements/CommandLineStatusIndicator.cpp \
202 UIElements/CommandLineUIFactory.cpp \
203 UIElements/CommandLineWindow.cpp
204COMMANDLINEUIHEADER = \
205 UIElements/CommandLineDialog.hpp \
206 UIElements/CommandLineStatusIndicator.hpp \
207 UIElements/CommandLineUIFactory.hpp \
208 UIElements/CommandLineWindow.hpp
209
210# all these files are only used for legacy reasons while the transition is in progress
211# they are only needed to keep the program usable at any point of the transition and will be
212# deleted once everything is fully refactored
213LEGACYSOURCE = Legacy/oldmenu.cpp
214LEGACYHEADER = Legacy/oldmenu.hpp
215
216DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
217 Descriptors/AtomIdDescriptor.cpp \
218 Descriptors/AtomTypeDescriptor.cpp \
219 Descriptors/MoleculeDescriptor.cpp \
220 Descriptors/MoleculeIdDescriptor.cpp
221
222
223DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
224 Descriptors/AtomIdDescriptor.hpp \
225 Descriptors/AtomTypeDescriptor.hpp \
226 Descriptors/MoleculeDescriptor.hpp \
227 Descriptors/MoleculeIdDescriptor.hpp
228
229EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
230 Exceptions/LinearDependenceException.cpp \
231 Exceptions/MathException.cpp \
232 Exceptions/ZeroVectorException.cpp
233
234EXCEPTIONHEADER = Exceptions/CustomException.hpp \
235 Exceptions/LinearDependenceException.hpp \
236 Exceptions/MathException.hpp \
237 Exceptions/ZeroVectorException.hpp
238
239SOURCE = \
240 ${ANALYSISSOURCE} \
241 ${ATOMSOURCE} \
242 ${PATTERNSOURCE} \
243 ${PARSERSOURCE} \
244 ${UISOURCE} \
245 ${DESCRIPTORSOURCE} \
246 ${HELPERSOURCE} \
247 ${LEGACYSOURCE} \
248 ${EXCEPTIONSOURCE} \
249 bond.cpp \
250 bondgraph.cpp \
251 boundary.cpp \
252 CommandLineParser.cpp \
253 config.cpp \
254 element.cpp \
255 ellipsoid.cpp \
256 errorlogger.cpp \
257 graph.cpp \
258 helpers.cpp \
259 info.cpp \
260 leastsquaremin.cpp \
261 Line.cpp \
262 linkedcell.cpp \
263 lists.cpp \
264 log.cpp \
265 logger.cpp \
266 memoryusageobserver.cpp \
267 moleculelist.cpp \
268 molecule.cpp \
269 molecule_dynamics.cpp \
270 molecule_fragmentation.cpp \
271 molecule_geometry.cpp \
272 molecule_graph.cpp \
273 molecule_pointcloud.cpp \
274 parser.cpp \
275 periodentafel.cpp \
276 Plane.cpp \
277 tesselation.cpp \
278 tesselationhelpers.cpp \
279 triangleintersectionlist.cpp \
280 verbose.cpp \
281 vector_ops.cpp \
282 World.cpp
283
284HEADER = \
285 ${ANALYSISHEADER} \
286 ${ATOMHEADER} \
287 ${PARSERHEADER} \
288 ${PATTERNHEADER} \
289 ${UIHEADER} \
290 ${DESCRIPTORHEADER} \
291 ${EXCEPTIONHEADER} \
292 ${LEGACYHEADER} \
293 bond.hpp \
294 bondgraph.hpp \
295 boundary.hpp \
296 CommandLineParser.hpp \
297 config.hpp \
298 defs.hpp \
299 element.hpp \
300 ellipsoid.hpp \
301 errorlogger.hpp \
302 graph.hpp \
303 helpers.hpp \
304 info.hpp \
305 leastsquaremin.hpp \
306 Line.hpp \
307 linkedcell.hpp \
308 lists.hpp \
309 log.hpp \
310 logger.hpp \
311 memoryallocator.hpp \
312 memoryusageobserver.hpp \
313 molecule.hpp \
314 molecule_template.hpp \
315 parser.hpp \
316 periodentafel.hpp \
317 Plane.hpp \
318 stackclass.hpp \
319 tesselation.hpp \
320 tesselationhelpers.hpp \
321 triangleintersectionlist.hpp \
322 verbose.hpp \
323 vector_ops.hpp \
324 World.hpp
325
326BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
327INCLUDES = -I$(top_srcdir)/src/unittests
328
329noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
330bin_PROGRAMS = molecuilder joiner analyzer
331molecuilderdir = ${bindir}
332libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
333libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
334molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
335molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
336molecuilder_SOURCES = builder.cpp
337molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
338joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
339joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
340analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
341analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
342
343FORCE:
344$(srcdir)/.git-version: FORCE
345 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
346 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
347 mv -f .git-version-t $(srcdir)/.git-version; \
348 else \
349 rm -f .git-version-t; \
350 fi
351
352EXTRA_DIST = $(srcdir)/.git-version
353
354$(srcdir)/version.c: $(srcdir)/.git-version
355 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
356
357molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.