source: src/Makefile.am@ 97ebf8

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 97ebf8 was 97ebf8, checked in by Frederik Heber <heber@…>, 15 years ago

Added all commands defined in ParseCommandLineOptions() as Actions.

  • Actions are not yet used, except verbose, version and help.
  • Files are present and included in Makefile.am
  • not unit tests written so far
  • no action has been tested so far (except for MapOfActions)
  • structure introduced to to transition from ParseCommandLineOptions to actions.
  • program name and config file are fixed arguments.

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

  • Property mode set to 100644
File size: 12.9 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 ${ANALYSISACTIONSOURCE} \
53 ${ATOMACTIONSOURCE} \
54 ${CMDACTIONSOURCE} \
55 ${FRAGMENTATIONACTIONSOURCE} \
56 ${MOLECULEACTIONSOURCE} \
57 ${PARSERACTIONSOURCE} \
58 ${TESSELATIONACTIONSOURCE} \
59 ${WORLDACTIONSOURCE} \
60 Actions/ActionHistory.cpp \
61 Actions/ActionRegistry.cpp \
62 Actions/ActionSequence.cpp \
63 Actions/ErrorAction.cpp \
64 Actions/MakroAction.cpp \
65 Actions/ManipulateAtomsProcess.cpp \
66 Actions/MapOfActions.cpp \
67 Actions/MethodAction.cpp \
68 Actions/Process.cpp
69
70ACTIONSHEADER = Actions/Action.hpp \
71 ${ANALYSISACTIONHEADER} \
72 ${ATOMACTIONHEADER} \
73 ${CMDACTIONHEADER} \
74 ${FRAGMENTATIONACTIONHEADER} \
75 ${MOLECULEACTIONHEADER} \
76 ${PARSERACTIONHEADER} \
77 ${TESSELATIONACTIONHEADER} \
78 ${WORLDACTIONHEADER} \
79 Actions/ActionHistory.hpp \
80 Actions/ActionRegistry.hpp \
81 Actions/ActionSequence.hpp \
82 Actions/Calculation.hpp \
83 Actions/Calculation_impl.hpp \
84 Actions/ErrorAction.hpp \
85 Actions/MakroAction.hpp \
86 Actions/ManipulateAtomsProcess.hpp \
87 Actions/MapOfActions.hpp \
88 Actions/MethodAction.hpp \
89 Actions/Process.hpp
90
91ANALYSISACTIONSOURCE = \
92 Actions/AnalysisAction/MolecularVolumeAction.cpp \
93 Actions/AnalysisAction/PairCorrelationAction.cpp \
94 Actions/AnalysisAction/PairCorrelationToPointAction.cpp \
95 Actions/AnalysisAction/PairCorrelationToSurfaceAction.cpp \
96 Actions/AnalysisAction/PrincipalAxisSystemAction.cpp
97ANALYSISACTIONHEADER = \
98 Actions/AnalysisAction/MolecularVolumeAction.hpp \
99 Actions/AnalysisAction/PairCorrelationAction.hpp \
100 Actions/AnalysisAction/PairCorrelationToPointAction.hpp \
101 Actions/AnalysisAction/PairCorrelationToSurfaceAction.hpp \
102 Actions/AnalysisAction/PrincipalAxisSystemAction.hpp
103
104ATOMACTIONSOURCE = \
105 Actions/AtomAction/AddAction.cpp \
106 Actions/AtomAction/ChangeElementAction.cpp \
107 Actions/AtomAction/RemoveAction.cpp
108ATOMACTIONHEADER = \
109 Actions/AtomAction/AddAction.hpp \
110 Actions/AtomAction/ChangeElementAction.hpp \
111 Actions/AtomAction/RemoveAction.cpp
112
113CMDACTIONSOURCE = \
114 Actions/CmdAction/BondLengthTableAction.cpp \
115 Actions/CmdAction/ElementDbAction.cpp \
116 Actions/CmdAction/FastParsingAction.cpp \
117 Actions/CmdAction/HelpAction.cpp \
118 Actions/CmdAction/VerboseAction.cpp \
119 Actions/CmdAction/VersionAction.cpp
120CMDACTIONHEADER = \
121 Actions/CmdAction/BondLengthTableAction.hpp \
122 Actions/CmdAction/ElementDbAction.hpp \
123 Actions/CmdAction/FastParsingAction.hpp \
124 Actions/CmdAction/HelpAction.hpp \
125 Actions/CmdAction/VerboseAction.hpp \
126 Actions/CmdAction/VersionAction.hpp
127
128FRAGMENTATIONACTIONSOURCE = \
129 Actions/FragmentationAction/DepthFirstSearchAction.cpp \
130 Actions/FragmentationAction/FragmentationAction.cpp \
131 Actions/FragmentationAction/SubgraphDissectionAction.cpp
132FRAGMENTATIONACTIONHEADER = \
133 Actions/FragmentationAction/DepthFirstSearchAction.hpp \
134 Actions/FragmentationAction/FragmentationAction.hpp \
135 Actions/FragmentationAction/SubgraphDissectionAction.hpp
136
137MOLECULEACTIONSOURCE = \
138 Actions/MoleculeAction/BondFileAction.cpp \
139 Actions/MoleculeAction/ChangeNameAction.cpp \
140 Actions/MoleculeAction/FillWithMoleculeAction.cpp \
141 Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
142 Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
143 Actions/MoleculeAction/SaveAdjacencyAction.cpp \
144 Actions/MoleculeAction/SaveBondsAction.cpp \
145 Actions/MoleculeAction/SaveTemperatureAction.cpp \
146 Actions/MoleculeAction/SuspendInWaterAction.cpp \
147 Actions/MoleculeAction/TranslateAction.cpp \
148 Actions/MoleculeAction/VerletIntegrationAction.cpp
149MOLECULEACTIONHEADER = \
150 Actions/MoleculeAction/BondFileAction.hpp \
151 Actions/MoleculeAction/ChangeNameAction.hpp \
152 Actions/MoleculeAction/FillWithMoleculeAction.hpp \
153 Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
154 Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
155 Actions/MoleculeAction/SaveAdjacencyAction.hpp \
156 Actions/MoleculeAction/SaveBondsAction.hpp \
157 Actions/MoleculeAction/SaveTemperatureAction.hpp \
158 Actions/MoleculeAction/SuspendInWaterAction.hpp \
159 Actions/MoleculeAction/TranslateAction.hpp \
160 Actions/MoleculeAction/VerletIntegrationAction.hpp
161
162PARSERACTIONSOURCE = \
163 Actions/ParserAction/LoadXyzAction.cpp \
164 Actions/ParserAction/SaveXyzAction.cpp
165PARSERACTIONHEADER = \
166 Actions/ParserAction/LoadXyzAction.hpp \
167 Actions/ParserAction/SaveXyzAction.hpp
168
169TESSELATIONACTIONSOURCE = \
170 Actions/TesselationAction/ConvexEnvelopeAction.cpp \
171 Actions/TesselationAction/NonConvexEnvelopeAction.cpp
172TESSELATIONACTIONHEADER = \
173 Actions/TesselationAction/ConvexEnvelopeAction.hpp \
174 Actions/TesselationAction/NonConvexEnvelopeAction.hpp
175
176WORLDACTIONSOURCE = \
177 Actions/WorldAction/AddEmptyBoundaryAction.cpp \
178 Actions/WorldAction/BoundInBoxAction.cpp \
179 Actions/WorldAction/CenterInBoxAction.cpp \
180 Actions/WorldAction/CenterOnEdgeAction.cpp \
181 Actions/WorldAction/ChangeBoxAction.cpp \
182 Actions/WorldAction/RemoveSphereOfAtomsAction.cpp \
183 Actions/WorldAction/RepeatBoxAction.cpp \
184 Actions/WorldAction/ScaleBoxAction.cpp \
185 Actions/WorldAction/SetDefaultNameAction.cpp \
186 Actions/WorldAction/SetGaussianBasisAction.cpp
187WORLDACTIONHEADER = \
188 Actions/WorldAction/AddEmptyBoundaryAction.hpp \
189 Actions/WorldAction/BoundInBoxAction.hpp \
190 Actions/WorldAction/CenterInBoxAction.hpp \
191 Actions/WorldAction/CenterOnEdgeAction.hpp \
192 Actions/WorldAction/ChangeBoxAction.hpp \
193 Actions/WorldAction/RemoveSphereOfAtomsAction.hpp \
194 Actions/WorldAction/RepeatBoxAction.hpp \
195 Actions/WorldAction/ScaleBoxAction.hpp \
196 Actions/WorldAction/SetDefaultNameAction.hpp \
197 Actions/WorldAction/SetGaussianBasisAction.hpp
198
199
200
201PARSERSOURCE = \
202 Parser/ChangeTracker.cpp \
203 Parser/FormatParser.cpp \
204 Parser/TremoloParser.cpp \
205 Parser/XyzParser.cpp
206PARSERHEADER = \
207 Parser/ChangeTracker.hpp \
208 Parser/FormatParser.hpp \
209 Parser/TremoloParser.hpp \
210 Parser/XyzParser.hpp
211
212PATTERNSOURCE = \
213 Patterns/Observer.cpp
214PATTERNHEADER = \
215 Patterns/Cacheable.hpp \
216 Patterns/Observer.hpp \
217 Patterns/Singleton.hpp
218
219# Below is all for the User Interface
220
221VIEWSOURCE = \
222 Views/View.cpp \
223 Views/StringView.cpp \
224 Views/MethodStringView.cpp \
225 Views/StreamStringView.cpp
226VIEWHEADER = \
227 Views/View.hpp \
228 Views/StringView.hpp \
229 Views/MethodStringView.hpp \
230 Views/StreamStringView.hpp
231
232MENUSOURCE = \
233 Menu/Menu.cpp \
234 Menu/TextMenu.cpp \
235 Menu/MenuItem.cpp \
236 Menu/SubMenuItem.cpp \
237 Menu/ActionMenuItem.cpp \
238 Menu/SeperatorItem.cpp \
239 Menu/DisplayMenuItem.cpp
240
241MENUHEADER = \
242 Menu/Menu.hpp \
243 Menu/TextMenu.hpp \
244 Menu/MenuItem.hpp \
245 Menu/SubMenuItem.hpp \
246 Menu/ActionMenuItem.hpp \
247 Menu/SeperatorItem.hpp \
248 Menu/DisplayMenuItem.hpp
249
250UISOURCE = \
251 ${ACTIONSSOURCE} \
252 ${COMMANDLINEUISOURCE} \
253 ${MENUSOURCE} \
254 ${TEXTUISOURCE} \
255 ${VIEWSOURCE} \
256 UIElements/Dialog.cpp \
257 UIElements/MainWindow.cpp \
258 UIElements/UIFactory.cpp
259
260UIHEADER = \
261 ${ACTIONSHEADER} \
262 ${COMMANDLINEUIHEADER} \
263 ${MENUHEADER} \
264 ${TEXTUIHEADER} \
265 ${VIEWHEADER} \
266 UIElements/Dialog.hpp \
267 UIElements/MainWindow.hpp \
268 UIElements/UIFactory.hpp
269
270TEXTUISOURCE = \
271 UIElements/TextDialog.cpp \
272 UIElements/TextStatusIndicator.cpp \
273 UIElements/TextUIFactory.cpp \
274 UIElements/TextWindow.cpp
275TEXTUIHEADER = \
276 UIElements/TextDialog.hpp \
277 UIElements/TextStatusIndicator.hpp \
278 UIElements/TextUIFactory.hpp \
279 UIElements/TextWindow.hpp
280
281COMMANDLINEUISOURCE = \
282 UIElements/CommandLineDialog.cpp \
283 UIElements/CommandLineStatusIndicator.cpp \
284 UIElements/CommandLineUIFactory.cpp \
285 UIElements/CommandLineWindow.cpp
286COMMANDLINEUIHEADER = \
287 UIElements/CommandLineDialog.hpp \
288 UIElements/CommandLineStatusIndicator.hpp \
289 UIElements/CommandLineUIFactory.hpp \
290 UIElements/CommandLineWindow.hpp
291
292# all these files are only used for legacy reasons while the transition is in progress
293# they are only needed to keep the program usable at any point of the transition and will be
294# deleted once everything is fully refactored
295LEGACYSOURCE = Legacy/oldmenu.cpp
296LEGACYHEADER = Legacy/oldmenu.hpp
297
298DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
299 Descriptors/AtomIdDescriptor.cpp \
300 Descriptors/AtomTypeDescriptor.cpp \
301 Descriptors/MoleculeDescriptor.cpp \
302 Descriptors/MoleculeIdDescriptor.cpp
303
304
305DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
306 Descriptors/AtomIdDescriptor.hpp \
307 Descriptors/AtomTypeDescriptor.hpp \
308 Descriptors/MoleculeDescriptor.hpp \
309 Descriptors/MoleculeIdDescriptor.hpp
310
311EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
312 Exceptions/LinearDependenceException.cpp \
313 Exceptions/MathException.cpp \
314 Exceptions/ZeroVectorException.cpp
315
316EXCEPTIONHEADER = Exceptions/CustomException.hpp \
317 Exceptions/LinearDependenceException.hpp \
318 Exceptions/MathException.hpp \
319 Exceptions/ZeroVectorException.hpp
320
321SOURCE = \
322 ${ANALYSISSOURCE} \
323 ${ATOMSOURCE} \
324 ${PATTERNSOURCE} \
325 ${PARSERSOURCE} \
326 ${UISOURCE} \
327 ${DESCRIPTORSOURCE} \
328 ${HELPERSOURCE} \
329 ${LEGACYSOURCE} \
330 ${EXCEPTIONSOURCE} \
331 bond.cpp \
332 bondgraph.cpp \
333 boundary.cpp \
334 CommandLineParser.cpp \
335 config.cpp \
336 element.cpp \
337 ellipsoid.cpp \
338 errorlogger.cpp \
339 graph.cpp \
340 helpers.cpp \
341 info.cpp \
342 leastsquaremin.cpp \
343 Line.cpp \
344 linkedcell.cpp \
345 lists.cpp \
346 log.cpp \
347 logger.cpp \
348 memoryusageobserver.cpp \
349 moleculelist.cpp \
350 molecule.cpp \
351 molecule_dynamics.cpp \
352 molecule_fragmentation.cpp \
353 molecule_geometry.cpp \
354 molecule_graph.cpp \
355 molecule_pointcloud.cpp \
356 parser.cpp \
357 periodentafel.cpp \
358 Plane.cpp \
359 tesselation.cpp \
360 tesselationhelpers.cpp \
361 triangleintersectionlist.cpp \
362 verbose.cpp \
363 vector_ops.cpp \
364 World.cpp
365
366HEADER = \
367 ${ANALYSISHEADER} \
368 ${ATOMHEADER} \
369 ${PARSERHEADER} \
370 ${PATTERNHEADER} \
371 ${UIHEADER} \
372 ${DESCRIPTORHEADER} \
373 ${EXCEPTIONHEADER} \
374 ${LEGACYHEADER} \
375 bond.hpp \
376 bondgraph.hpp \
377 boundary.hpp \
378 CommandLineParser.hpp \
379 config.hpp \
380 defs.hpp \
381 element.hpp \
382 ellipsoid.hpp \
383 errorlogger.hpp \
384 graph.hpp \
385 helpers.hpp \
386 info.hpp \
387 leastsquaremin.hpp \
388 Line.hpp \
389 linkedcell.hpp \
390 lists.hpp \
391 log.hpp \
392 logger.hpp \
393 memoryallocator.hpp \
394 memoryusageobserver.hpp \
395 molecule.hpp \
396 molecule_template.hpp \
397 parser.hpp \
398 periodentafel.hpp \
399 Plane.hpp \
400 stackclass.hpp \
401 tesselation.hpp \
402 tesselationhelpers.hpp \
403 triangleintersectionlist.hpp \
404 verbose.hpp \
405 vector_ops.hpp \
406 World.hpp
407
408BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
409INCLUDES = -I$(top_srcdir)/src/unittests
410
411noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
412bin_PROGRAMS = molecuilder joiner analyzer
413molecuilderdir = ${bindir}
414libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
415libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
416molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
417molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
418molecuilder_SOURCES = builder.cpp
419molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
420joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
421joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
422analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
423analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
424
425FORCE:
426$(srcdir)/.git-version: FORCE
427 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
428 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
429 mv -f .git-version-t $(srcdir)/.git-version; \
430 else \
431 rm -f .git-version-t; \
432 fi
433
434EXTRA_DIST = $(srcdir)/.git-version
435
436$(srcdir)/version.c: $(srcdir)/.git-version
437 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
438
439molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.