source: src/Makefile.am@ 992fd7

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 992fd7 was 67c75b, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Merge branch 'MenuRefactoring' into QT4Refactoring

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/builder.cpp
molecuilder/src/unittests/Makefile.am
molecuilder/src/vector.cpp

  • Property mode set to 100644
File size: 9.3 KB
Line 
1# this includes source files that need to be present at multiple points
2HELPERSOURCE = Helpers/Assert.cpp \
3 Helpers/MemDebug.cpp
4
5ATOMSOURCE = 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
6ATOMHEADER = 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
8LINALGSOURCE = ${HELPERSOURCE} \
9 gslmatrix.cpp \
10 gslvector.cpp \
11 linearsystemofequations.cpp \
12 Space.cpp \
13 vector.cpp
14
15LINALGHEADER = gslmatrix.hpp \
16 gslvector.hpp \
17 linearsystemofequations.hpp \
18 Space.hpp \
19 vector.hpp
20
21
22ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
23ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
24
25ACTIONSSOURCE = Actions/Action.cpp \
26 Actions/ActionHistory.cpp \
27 Actions/ActionRegistry.cpp \
28 Actions/ActionSequence.cpp \
29 Actions/MakroAction.cpp \
30 Actions/ManipulateAtomsProcess.cpp \
31 Actions/MethodAction.cpp \
32 Actions/Process.cpp
33
34ACTIONSHEADER = Actions/Action.hpp \
35 Actions/ActionHistory.hpp \
36 Actions/ActionRegistry.hpp \
37 Actions/ActionSequence.hpp \
38 Actions/Calculation.hpp \
39 Actions/Calculation_impl.hpp \
40 Actions/MakroAction.hpp \
41 Actions/ManipulateAtomsProcess.hpp \
42 Actions/MethodAction.hpp \
43 Actions/Process.hpp
44
45
46# All actions that need user interaction go here
47MENUACTIONSSOURCE = Actions/ErrorAction.cpp Actions/small_actions.cpp
48MENUACTIONSHEADER = Actions/ErrorAction.hpp Actions/small_actions.hpp
49
50PATTERNSOURCE = Patterns/Observer.cpp
51PATTERNHEADER = Patterns/Cacheable.hpp \
52 Patterns/Observer.hpp \
53 Patterns/Singleton.hpp
54
55VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
56VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
57
58MENUSOURCE = Menu/Menu.cpp Menu/TextMenu.cpp Menu/MenuItem.cpp Menu/SubMenuItem.cpp Menu/ActionMenuItem.cpp Menu/SeperatorItem.cpp Menu/DisplayMenuItem.cpp
59MENUHEADER = Menu/Menu.hpp Menu/TextMenu.hpp Menu/MenuItem.hpp Menu/SubMenuItem.hpp Menu/ActionMenuItem.hpp Menu/SeperatorItem.hpp Menu/DisplayMenuItem.hpp
60
61UISOURCE = ${MENUACTIONSSOURCE} ${VIEWSOURCE} ${MENUSOURCE} UIElements/UIFactory.cpp UIElements/TextUIFactory.cpp UIElements/MainWindow.cpp UIElements/TextWindow.cpp UIElements/Dialog.cpp UIElements/TextDialog.cpp UIElements/TextStatusIndicator.cpp
62UIHEADER = ${MENUACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp UIElements/TextStatusIndicator.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
67LEGACYSOURCE = Legacy/oldmenu.cpp
68LEGACYHEADER = Legacy/oldmenu.hpp
69
70QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
71 UIElements/QT4/QTMainWindow.hpp \
72 Menu/QT4/QTMenu.hpp \
73 Views/QT4/QTWorldView.hpp \
74 Views/QT4/GLMoleculeView.hpp \
75 Views/QT4/QTMoleculeView.hpp \
76 Views/QT4/QTStatusBar.hpp
77
78QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
79 QTMenu.moc.cpp\
80 QTDialog.moc.cpp \
81 QTWorldView.moc.cpp \
82 GLMoleculeView.moc.cpp \
83 QTMoleculeView.moc.cpp \
84 QTStatusBar.moc.cpp
85
86DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
87 Descriptors/AtomIdDescriptor.cpp \
88 Descriptors/AtomTypeDescriptor.cpp \
89 Descriptors/MoleculeDescriptor.cpp \
90 Descriptors/MoleculeIdDescriptor.cpp
91
92
93DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
94 Descriptors/AtomIdDescriptor.hpp \
95 Descriptors/AtomTypeDescriptor.hpp \
96 Descriptors/MoleculeDescriptor.hpp \
97 Descriptors/MoleculeIdDescriptor.hpp
98
99EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
100 Exceptions/LinearDependenceException.cpp \
101 Exceptions/MathException.cpp \
102 Exceptions/SkewException.cpp \
103 Exceptions/ZeroVectorException.cpp
104
105EXCEPTIONHEADER = Exceptions/CustomException.hpp \
106 Exceptions/LinearDependenceException.hpp \
107 Exceptions/MathException.hpp \
108 Exceptions/SkewException.hpp \
109 Exceptions/ZeroVectorException.hpp
110
111QTUISOURCE = ${QTUIMOC_TARGETS} \
112 UIElements/QT4/QTMainWindow.cpp \
113 UIElements/QT4/QTDialog.cpp \
114 UIElements/QT4/QTUIFactory.cpp \
115 Menu/QT4/QTMenu.cpp \
116 Views/QT4/QTWorldView.cpp \
117 Views/QT4/GLMoleculeView.cpp \
118 Views/QT4/QTMoleculeView.cpp \
119 Views/QT4/QTStatusBar.cpp
120
121QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
122
123QTUI_DEFS =
124
125
126SOURCE = ${ANALYSISSOURCE} \
127 ${ATOMSOURCE} \
128 ${PATTERNSOURCE} \
129 ${ACTIONSSOURCE} \
130 ${DESCRIPTORSOURCE} \
131 ${HELPERSOURCE} \
132 ${LEGACYSOURCE} \
133 ${EXCEPTIONSOURCE} \
134 bond.cpp \
135 bondgraph.cpp \
136 boundary.cpp \
137 config.cpp \
138 element.cpp \
139 ellipsoid.cpp \
140 errorlogger.cpp \
141 graph.cpp \
142 helpers.cpp \
143 info.cpp \
144 leastsquaremin.cpp \
145 Line.cpp \
146 linkedcell.cpp \
147 lists.cpp \
148 log.cpp \
149 logger.cpp \
150 memoryusageobserver.cpp \
151 moleculelist.cpp \
152 molecule.cpp \
153 molecule_dynamics.cpp \
154 molecule_fragmentation.cpp \
155 molecule_geometry.cpp \
156 molecule_graph.cpp \
157 molecule_pointcloud.cpp \
158 parser.cpp \
159 periodentafel.cpp \
160 Plane.cpp \
161 tesselation.cpp \
162 tesselationhelpers.cpp \
163 triangleintersectionlist.cpp \
164 verbose.cpp \
165 vector_ops.cpp \
166 World.cpp
167
168HEADER = ${ANALYSISHEADER}\
169 ${ATOMHEADER} \
170 ${PATTERNHEADER} \
171 ${DESCRIPTORHEADER} \
172 ${EXCEPTIONHEADER} \
173 ${LEGACYHEADER} \
174 bond.hpp \
175 bondgraph.hpp \
176 boundary.hpp \
177 config.hpp \
178 defs.hpp \
179 element.hpp \
180 ellipsoid.hpp \
181 errorlogger.hpp \
182 graph.hpp \
183 helpers.hpp \
184 info.hpp \
185 leastsquaremin.hpp \
186 Line.hpp \
187 linkedcell.hpp \
188 lists.hpp \
189 log.hpp \
190 logger.hpp \
191 memoryallocator.hpp \
192 memoryusageobserver.hpp \
193 molecule.hpp \
194 molecule_template.hpp \
195 parser.hpp \
196 Plane.hpp \
197 periodentafel.hpp \
198 stackclass.hpp \
199 tesselation.hpp \
200 tesselationhelpers.hpp \
201 triangleintersectionlist.hpp \
202 verbose.hpp \
203 World.hpp
204
205BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
206GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
207INCLUDES = -I$(top_srcdir)/src/unittests
208
209noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a
210bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
211molecuilderdir = ${bindir}
212
213libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
214
215libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
216
217libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
218
219molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
220
221molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
222#molecuilder_CXXFLAGS += -DNO_CACHING
223molecuilder_LDFLAGS = $(BOOST_LIB)
224molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
225molecuilder_SOURCES += $(srcdir)/version.c
226molecuilder_LDADD = libmolecuilder.a libgslwrapper.a libmenu.a ${BOOST_THREAD_LIB}
227
228#Stuff for building the GUI using QT
229molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
230molecuildergui_SOURCES += $(srcdir)/version.c
231molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
232molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
233molecuildergui_LDADD = libmolecuilder.a libgslwrapper.a libmenu.a ${BOOST_THREAD_LIB} ${GUI_LIBS}
234
235joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
236joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
237
238analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
239analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
240
241#Rules needed for QT4
242# UI-Files are scattered throughout several subdirectories
243# Therfore `%'-rules do not seem to work
244#Quick fix to get it done otherwise
245${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
246 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
247 echo "Making mocfile for $$header"; \
248 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
249 $(MOC) $(srcdir)/$$header -o $$target \
250 || eval $$failcom; \
251 done;
252
253MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
254
255#EXTRA_DIST = ${molecuilder_DATA}
256
257FORCE:
258$(srcdir)/.git-version: FORCE
259 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
260 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
261 mv -f .git-version-t $(srcdir)/.git-version; \
262 else \
263 rm -f .git-version-t; \
264 fi
265
266EXTRA_DIST = $(srcdir)/.git-version
267
268$(srcdir)/version.c: $(srcdir)/.git-version
269 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
270
271
Note: See TracBrowser for help on using the repository browser.