source: src/Makefile.am@ a2ab15

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

Extended UIFactory to a CommandLine derivate.

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

  • Property mode set to 100644
File size: 7.8 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 Actions/ActionHistory.cpp \
53 Actions/ActionRegistry.cpp \
54 Actions/ActionSequence.cpp \
55 Actions/ErrorAction.cpp \
56 Actions/MakroAction.cpp \
57 Actions/ManipulateAtomsProcess.cpp \
58 Actions/MethodAction.cpp \
59 Actions/small_actions.cpp \
60 Actions/Process.cpp
61
62ACTIONSHEADER = Actions/Action.hpp \
63 Actions/ActionHistory.hpp \
64 Actions/ActionRegistry.hpp \
65 Actions/ActionSequence.hpp \
66 Actions/Calculation.hpp \
67 Actions/Calculation_impl.hpp \
68 Actions/ErrorAction.hpp \
69 Actions/MakroAction.hpp \
70 Actions/ManipulateAtomsProcess.hpp \
71 Actions/MethodAction.hpp \
72 Actions/small_actions.hpp \
73 Actions/Process.hpp
74
75PARSERSOURCE = \
76 Parser/ChangeTracker.cpp \
77 Parser/FormatParser.cpp \
78 Parser/TremoloParser.cpp \
79 Parser/XyzParser.cpp
80PARSERHEADER = \
81 Parser/ChangeTracker.hpp \
82 Parser/FormatParser.hpp \
83 Parser/TremoloParser.hpp \
84 Parser/XyzParser.hpp
85
86PATTERNSOURCE = \
87 Patterns/Observer.cpp
88PATTERNHEADER = \
89 Patterns/Cacheable.hpp \
90 Patterns/Observer.hpp \
91 Patterns/Singleton.hpp
92
93# Below is all for the User Interface
94
95VIEWSOURCE = \
96 Views/View.cpp \
97 Views/StringView.cpp \
98 Views/MethodStringView.cpp \
99 Views/StreamStringView.cpp
100VIEWHEADER = \
101 Views/View.hpp \
102 Views/StringView.hpp \
103 Views/MethodStringView.hpp \
104 Views/StreamStringView.hpp
105
106MENUSOURCE = \
107 Menu/Menu.cpp \
108 Menu/TextMenu.cpp \
109 Menu/MenuItem.cpp \
110 Menu/SubMenuItem.cpp \
111 Menu/ActionMenuItem.cpp \
112 Menu/SeperatorItem.cpp \
113 Menu/DisplayMenuItem.cpp
114
115MENUHEADER = \
116 Menu/Menu.hpp \
117 Menu/TextMenu.hpp \
118 Menu/MenuItem.hpp \
119 Menu/SubMenuItem.hpp \
120 Menu/ActionMenuItem.hpp \
121 Menu/SeperatorItem.hpp \
122 Menu/DisplayMenuItem.hpp
123
124UISOURCE = \
125 ${ACTIONSSOURCE} \
126 ${COMMANDLINEUISOURCE} \
127 ${MENUSOURCE} \
128 ${TEXTUISOURCE} \
129 ${VIEWSOURCE} \
130 UIElements/Dialog.cpp \
131 UIElements/MainWindow.cpp \
132 UIElements/UIFactory.cpp
133
134UIHEADER = \
135 ${ACTIONSHEADER} \
136 ${COMMANDLINEUIHEADER} \
137 ${MENUHEADER} \
138 ${TEXTUIHEADER} \
139 ${VIEWHEADER} \
140 UIElements/Dialog.hpp \
141 UIElements/MainWindow.hpp \
142 UIElements/UIFactory.hpp
143
144TEXTUISOURCE = \
145 UIElements/TextDialog.cpp \
146 UIElements/TextStatusIndicator.cpp \
147 UIElements/TextUIFactory.cpp \
148 UIElements/TextWindow.cpp
149TEXTUIHEADER = \
150 UIElements/TextDialog.hpp \
151 UIElements/TextStatusIndicator.hpp \
152 UIElements/TextUIFactory.hpp \
153 UIElements/TextWindow.hpp
154
155COMMANDLINEUISOURCE = \
156 UIElements/CommandLineDialog.cpp \
157 UIElements/CommandLineStatusIndicator.cpp \
158 UIElements/CommandLineUIFactory.cpp \
159 UIElements/CommandLineWindow.cpp
160COMMANDLINEUIHEADER = \
161 UIElements/CommandLineDialog.hpp \
162 UIElements/CommandLineStatusIndicator.hpp \
163 UIElements/CommandLineUIFactory.hpp \
164 UIElements/CommandLineWindow.hpp
165
166# all these files are only used for legacy reasons while the transition is in progress
167# they are only needed to keep the program usable at any point of the transition and will be
168# deleted once everything is fully refactored
169LEGACYSOURCE = Legacy/oldmenu.cpp
170LEGACYHEADER = Legacy/oldmenu.hpp
171
172DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
173 Descriptors/AtomIdDescriptor.cpp \
174 Descriptors/AtomTypeDescriptor.cpp \
175 Descriptors/MoleculeDescriptor.cpp \
176 Descriptors/MoleculeIdDescriptor.cpp
177
178
179DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
180 Descriptors/AtomIdDescriptor.hpp \
181 Descriptors/AtomTypeDescriptor.hpp \
182 Descriptors/MoleculeDescriptor.hpp \
183 Descriptors/MoleculeIdDescriptor.hpp
184
185EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
186 Exceptions/LinearDependenceException.cpp \
187 Exceptions/MathException.cpp \
188 Exceptions/ZeroVectorException.cpp
189
190EXCEPTIONHEADER = Exceptions/CustomException.hpp \
191 Exceptions/LinearDependenceException.hpp \
192 Exceptions/MathException.hpp \
193 Exceptions/ZeroVectorException.hpp
194
195SOURCE = \
196 ${ANALYSISSOURCE} \
197 ${ATOMSOURCE} \
198 ${PATTERNSOURCE} \
199 ${PARSERSOURCE} \
200 ${UISOURCE} \
201 ${DESCRIPTORSOURCE} \
202 ${HELPERSOURCE} \
203 ${LEGACYSOURCE} \
204 ${EXCEPTIONSOURCE} \
205 bond.cpp \
206 bondgraph.cpp \
207 boundary.cpp \
208 config.cpp \
209 element.cpp \
210 ellipsoid.cpp \
211 errorlogger.cpp \
212 graph.cpp \
213 helpers.cpp \
214 info.cpp \
215 leastsquaremin.cpp \
216 Line.cpp \
217 linkedcell.cpp \
218 lists.cpp \
219 log.cpp \
220 logger.cpp \
221 memoryusageobserver.cpp \
222 moleculelist.cpp \
223 molecule.cpp \
224 molecule_dynamics.cpp \
225 molecule_fragmentation.cpp \
226 molecule_geometry.cpp \
227 molecule_graph.cpp \
228 molecule_pointcloud.cpp \
229 parser.cpp \
230 periodentafel.cpp \
231 Plane.cpp \
232 tesselation.cpp \
233 tesselationhelpers.cpp \
234 triangleintersectionlist.cpp \
235 verbose.cpp \
236 vector_ops.cpp \
237 World.cpp
238
239HEADER = \
240 ${ANALYSISHEADER} \
241 ${ATOMHEADER} \
242 ${PARSERHEADER} \
243 ${PATTERNHEADER} \
244 ${UIHEADER} \
245 ${DESCRIPTORHEADER} \
246 ${EXCEPTIONHEADER} \
247 ${LEGACYHEADER} \
248 bond.hpp \
249 bondgraph.hpp \
250 boundary.hpp \
251 config.hpp \
252 defs.hpp \
253 element.hpp \
254 ellipsoid.hpp \
255 errorlogger.hpp \
256 graph.hpp \
257 helpers.hpp \
258 info.hpp \
259 leastsquaremin.hpp \
260 Line.hpp \
261 linkedcell.hpp \
262 lists.hpp \
263 log.hpp \
264 logger.hpp \
265 memoryallocator.hpp \
266 memoryusageobserver.hpp \
267 molecule.hpp \
268 molecule_template.hpp \
269 parser.hpp \
270 periodentafel.hpp \
271 Plane.hpp \
272 stackclass.hpp \
273 tesselation.hpp \
274 tesselationhelpers.hpp \
275 triangleintersectionlist.hpp \
276 verbose.hpp \
277 vector_ops.hpp \
278 World.hpp
279
280BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
281INCLUDES = -I$(top_srcdir)/src/unittests
282
283noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
284bin_PROGRAMS = molecuilder joiner analyzer
285molecuilderdir = ${bindir}
286libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
287libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
288molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
289molecuilder_LDFLAGS = $(BOOST_LDFLAGS)
290molecuilder_SOURCES = builder.cpp
291molecuilder_LDADD = libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
292joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
293joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
294analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
295analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
296
297FORCE:
298$(srcdir)/.git-version: FORCE
299 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
300 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
301 mv -f .git-version-t $(srcdir)/.git-version; \
302 else \
303 rm -f .git-version-t; \
304 fi
305
306EXTRA_DIST = $(srcdir)/.git-version
307
308$(srcdir)/version.c: $(srcdir)/.git-version
309 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
310
311molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.