source: src/Makefile.am@ 68d781

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 68d781 was 68d781, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Merge branch 'MenuRefactoring' into QT4Refactoring

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/defs.hpp

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