source: src/Makefile.am@ 0c9cc3

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 0c9cc3 was ab9a27, checked in by Frederik Heber <heber@…>, 14 years ago

MapOfActions::TypeMap now contains type_info.

We are going to use the information contained in MapOfActions to split Dialog (information gathering) from the performCall (execution) of the Action.
Therefore, Dialogs will store information as string in MapOfActions' maps and the Actions will retrieve the needed information therefrom.

  • TypeMap now contains pointers to type_info
  • new TypeEnumMap mapping *type_info to enum Options
  • renamed map DefaultValue -> CurrentValue
  • new functions MapOfActions::getCurrentValue(), ...::setCurrentValue() as getter and setter of current value
  • new exception IllegalTypeException derived from CustomException, thrown when getCurrentValue is asked for value from an action/option-name with different type than stored in TypeMap.
  • Property mode set to 100644
File size: 9.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SUBDIRS = Actions UIElements
5
6# this includes source files that need to be present at multiple points
7HELPERSOURCE = \
8 Helpers/Assert.cpp \
9 Helpers/MemDebug.cpp
10
11ATOMSOURCE = \
12 atom.cpp \
13 atom_atominfo.cpp \
14 atom_bondedparticle.cpp \
15 atom_bondedparticleinfo.cpp \
16 atom_graphnode.cpp \
17 atom_graphnodeinfo.cpp \
18 atom_particleinfo.cpp \
19 atom_trajectoryparticle.cpp \
20 atom_trajectoryparticleinfo.cpp
21ATOMHEADER = \
22 atom.hpp \
23 atom_atominfo.hpp \
24 atom_bondedparticle.hpp \
25 atom_bondedparticleinfo.hpp \
26 atom_graphnode.hpp \
27 atom_graphnodeinfo.hpp \
28 atom_particleinfo.hpp \
29 atom_trajectoryparticle.hpp \
30 atom_trajectoryparticleinfo.hpp
31
32LINALGSOURCE = \
33 ${HELPERSOURCE} \
34 gslmatrix.cpp \
35 gslvector.cpp \
36 linearsystemofequations.cpp \
37 Space.cpp \
38 vector.cpp
39
40LINALGHEADER = \
41 gslmatrix.hpp \
42 gslvector.hpp \
43 linearsystemofequations.hpp \
44 Space.hpp \
45 vector.hpp
46
47ANALYSISSOURCE = \
48 analysis_bonds.cpp \
49 analysis_correlation.cpp
50ANALYSISHEADER = \
51 analysis_bonds.hpp \
52 analysis_correlation.hpp
53
54ACTIONSSOURCE = \
55 Actions/Action.cpp \
56 Actions/ActionHistory.cpp \
57 Actions/ActionRegistry.cpp \
58 Actions/ActionSequence.cpp \
59 Actions/ErrorAction.cpp \
60 Actions/MakroAction.cpp \
61 Actions/ManipulateAtomsProcess.cpp \
62 Actions/MethodAction.cpp \
63 Actions/Process.cpp
64
65ACTIONSHEADER = \
66 Actions/Action.hpp \
67 Actions/ActionHistory.hpp \
68 Actions/ActionRegistry.hpp \
69 Actions/ActionSequence.hpp \
70 Actions/Calculation.hpp \
71 Actions/Calculation_impl.hpp \
72 Actions/ErrorAction.hpp \
73 Actions/MakroAction.hpp \
74 Actions/ManipulateAtomsProcess.hpp \
75 Actions/MapOfActions.hpp \
76 Actions/MethodAction.hpp \
77 Actions/Process.hpp
78
79EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
80 Exceptions/IllegalTypeException.cpp \
81 Exceptions/LinearDependenceException.cpp \
82 Exceptions/MathException.cpp \
83 Exceptions/NotInvertibleException.cpp \
84 Exceptions/SkewException.cpp \
85 Exceptions/ZeroVectorException.cpp
86
87EXCEPTIONHEADER = Exceptions/CustomException.hpp \
88 Exceptions/IllegalTypeException.hpp \
89 Exceptions/LinearDependenceException.hpp \
90 Exceptions/MathException.hpp \
91 Exceptions/NotInvertibleException.hpp \
92 Exceptions/SkewException.hpp \
93 Exceptions/ZeroVectorException.hpp
94
95PARSERSOURCE = \
96 Parser/ChangeTracker.cpp \
97 Parser/FormatParser.cpp \
98 Parser/FormatParserStorage.cpp \
99 Parser/MpqcParser.cpp \
100 Parser/PcpParser.cpp \
101 Parser/TremoloParser.cpp \
102 Parser/XyzParser.cpp
103
104PARSERHEADER = \
105 Parser/ChangeTracker.hpp \
106 Parser/FormatParser.hpp \
107 Parser/FormatParserStorage.hpp \
108 Parser/MpqcParser.hpp \
109 Parser/PcpParser.hpp \
110 Parser/TremoloParser.hpp \
111 Parser/XyzParser.hpp
112
113PATTERNSOURCE = \
114 Patterns/Observer.cpp
115PATTERNHEADER = \
116 Patterns/Cacheable.hpp \
117 Patterns/Observer.hpp \
118 Patterns/Singleton.hpp
119
120SHAPESOURCE = \
121 Shapes/BaseShapes.cpp \
122 Shapes/Shape.cpp \
123 Shapes/ShapeOps.cpp
124SHAPEHEADER = \
125 Shapes/BaseShapes.hpp \
126 Shapes/Shape.hpp \
127 Shapes/ShapeOps.hpp
128
129
130QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
131 UIElements/QT4/QTMainWindow.hpp \
132 UIElements/Menu/QT4/QTMenu.hpp \
133 UIElements/Views/QT4/QTWorldView.hpp \
134 UIElements/Views/QT4/GLMoleculeView.hpp \
135 UIElements/Views/QT4/QTMoleculeView.hpp \
136 UIElements/Views/QT4/QTStatusBar.hpp
137
138QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
139 QTMenu.moc.cpp\
140 QTDialog.moc.cpp \
141 QTWorldView.moc.cpp \
142 GLMoleculeView.moc.cpp \
143 QTMoleculeView.moc.cpp \
144 QTStatusBar.moc.cpp
145
146DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
147 Descriptors/AtomIdDescriptor.cpp \
148 Descriptors/AtomSelectionDescriptor.cpp \
149 Descriptors/AtomTypeDescriptor.cpp \
150 Descriptors/MoleculeDescriptor.cpp \
151 Descriptors/MoleculeIdDescriptor.cpp \
152 Descriptors/MoleculeNameDescriptor.cpp \
153 Descriptors/MoleculePtrDescriptor.cpp \
154 Descriptors/MoleculeSelectionDescriptor.cpp
155
156
157DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
158 Descriptors/AtomIdDescriptor.hpp \
159 Descriptors/AtomSelectionDescriptor.hpp \
160 Descriptors/AtomTypeDescriptor.hpp \
161 Descriptors/MoleculeDescriptor.hpp \
162 Descriptors/MoleculeIdDescriptor.hpp \
163 Descriptors/MoleculeNameDescriptor.hpp \
164 Descriptors/MoleculePtrDescriptor.hpp \
165 Descriptors/MoleculeSelectionDescriptor.cpp
166
167QTUISOURCE = ${QTUIMOC_TARGETS} \
168 UIElements/QT4/QTMainWindow.cpp \
169 UIElements/QT4/QTDialog.cpp \
170 UIElements/QT4/QTUIFactory.cpp \
171 UIElements/Menu/QT4/QTMenu.cpp \
172 UIElements/Views/QT4/QTWorldView.cpp \
173 UIElements/Views/QT4/GLMoleculeView.cpp \
174 UIElements/Views/QT4/QTMoleculeView.cpp \
175 UIElements/Views/QT4/QTStatusBar.cpp
176
177QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
178
179QTUI_DEFS =
180
181SOURCE = \
182 ${ANALYSISSOURCE} \
183 ${ACTIONSSOURCE} \
184 ${ATOMSOURCE} \
185 ${EXCEPTIONSOURCE} \
186 ${PATTERNSOURCE} \
187 ${PARSERSOURCE} \
188 ${SHAPESOURCE} \
189 ${DESCRIPTORSOURCE} \
190 ${HELPERSOURCE} \
191 bond.cpp \
192 bondgraph.cpp \
193 boundary.cpp \
194 Box.cpp \
195 CommandLineParser.cpp \
196 config.cpp \
197 ConfigFileBuffer.cpp \
198 element.cpp \
199 elements_db.cpp \
200 ellipsoid.cpp \
201 errorlogger.cpp \
202 graph.cpp \
203 helpers.cpp \
204 info.cpp \
205 leastsquaremin.cpp \
206 Line.cpp \
207 linkedcell.cpp \
208 log.cpp \
209 logger.cpp \
210 Matrix.cpp \
211 moleculelist.cpp \
212 molecule.cpp \
213 molecule_dynamics.cpp \
214 molecule_fragmentation.cpp \
215 molecule_geometry.cpp \
216 molecule_graph.cpp \
217 molecule_pointcloud.cpp \
218 parser.cpp \
219 periodentafel.cpp \
220 Plane.cpp \
221 Space.cpp \
222 tesselation.cpp \
223 tesselationhelpers.cpp \
224 ThermoStatContainer.cpp \
225 triangleintersectionlist.cpp \
226 vector.cpp \
227 vector_ops.cpp \
228 verbose.cpp \
229 World.cpp
230
231HEADER = \
232 ${ANALYSISHEADER} \
233 ${ACTIONSHEADER} \
234 ${ATOMHEADER} \
235 ${EXCEPTIONHEADER} \
236 ${PARSERHEADER} \
237 ${PATTERNHEADER} \
238 ${SHAPEHEADER} \
239 ${DESCRIPTORHEADER} \
240 bond.hpp \
241 bondgraph.hpp \
242 boundary.hpp \
243 Box.hpp \
244 CommandLineParser.hpp \
245 config.hpp \
246 ConfigFileBuffer.hpp \
247 defs.hpp \
248 element.hpp \
249 elements_db.hpp \
250 ellipsoid.hpp \
251 errorlogger.hpp \
252 graph.hpp \
253 helpers.hpp \
254 info.hpp \
255 leastsquaremin.hpp \
256 Line.hpp \
257 linkedcell.hpp \
258 lists.hpp \
259 log.hpp \
260 logger.hpp \
261 Matrix.hpp \
262 molecule.hpp \
263 molecule_template.hpp \
264 parser.hpp \
265 periodentafel.hpp \
266 Plane.hpp \
267 stackclass.hpp \
268 tesselation.hpp \
269 tesselationhelpers.hpp \
270 ThermoStatContainer.hpp \
271 triangleintersectionlist.hpp \
272 verbose.hpp \
273 vector_ops.hpp \
274 World.hpp
275
276# the following files are no longer used:
277# memoryallocator.hpp \
278# memoryallocator.cpp \
279# memoryusageobserver.hpp \
280# memoryusageobserver.cpp
281
282BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
283GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
284INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
285
286noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a libparser.a
287bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
288
289molecuilderdir = ${bindir}
290
291libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
292
293libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
294libparser_a_SOURCES = ${PARSERSOURCE} ${PARSERHEADER}
295libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
296
297molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
298
299molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
300#molecuilder_CXXFLAGS += -DNO_CACHING
301molecuilder_LDFLAGS = $(BOOST_LIB)
302molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
303molecuilder_SOURCES += $(srcdir)/version.c
304molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
305
306#Stuff for building the GUI using QT
307molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
308molecuildergui_SOURCES += $(srcdir)/version.c
309molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
310molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
311molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS}
312
313joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
314joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
315
316analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
317analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
318
319#Rules needed for QT4
320# UI-Files are scattered throughout several subdirectories
321# Therfore `%'-rules do not seem to work
322#Quick fix to get it done otherwise
323${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
324 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
325 echo "Making mocfile for $$header"; \
326 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
327 $(MOC) $(srcdir)/$$header -o $$target \
328 || eval $$failcom; \
329 done;
330
331MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
332
333#EXTRA_DIST = ${molecuilder_DATA}
334
335FORCE:
336$(srcdir)/.git-version: FORCE
337 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
338 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
339 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
340 mv -f .git-version-t $(srcdir)/.git-version; \
341 else \
342 rm -f .git-version-t; \
343 fi
344
345EXTRA_DIST = $(srcdir)/.git-version
346
347$(srcdir)/version.c: $(srcdir)/.git-version
348 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
349
350
Note: See TracBrowser for help on using the repository browser.