source: src/Makefile.am@ 9f3b85

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 9f3b85 was 257c77, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Merge branch 'stable' into QT4Refactoring

Conflicts:

molecuilder/src/Actions/TesselationAction/ConvexEnvelopeAction.hpp
molecuilder/src/Helpers/MemDebug.hpp
molecuilder/src/Makefile.am
molecuilder/src/UIElements/Dialog.cpp
molecuilder/src/UIElements/MainWindow.cpp
molecuilder/src/UIElements/TextUI/TextUIFactory.cpp
molecuilder/src/builder.cpp

  • Property mode set to 100644
File size: 9.1 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 = gslmatrix.hpp \
41 gslvector.hpp \
42 linearsystemofequations.hpp \
43 Space.hpp \
44 vector.hpp
45
46ANALYSISSOURCE = \
47 analysis_bonds.cpp \
48 analysis_correlation.cpp
49ANALYSISHEADER = \
50 analysis_bonds.hpp \
51 analysis_correlation.hpp
52
53ACTIONSSOURCE = \
54 Actions/Action.cpp \
55 Actions/ActionHistory.cpp \
56 Actions/ActionRegistry.cpp \
57 Actions/ActionSequence.cpp \
58 Actions/ErrorAction.cpp \
59 Actions/MakroAction.cpp \
60 Actions/ManipulateAtomsProcess.cpp \
61 Actions/MethodAction.cpp \
62 Actions/Process.cpp
63
64ACTIONSHEADER = \
65 ${ANALYSISACTIONHEADER} \
66 ${ATOMACTIONHEADER} \
67 ${CMDACTIONHEADER} \
68 ${FRAGMENTATIONACTIONHEADER} \
69 ${MOLECULEACTIONHEADER} \
70 ${PARSERACTIONHEADER} \
71 ${TESSELATIONACTIONHEADER} \
72 ${WORLDACTIONHEADER} \
73 Actions/Action.hpp \
74 Actions/ActionHistory.hpp \
75 Actions/ActionRegistry.hpp \
76 Actions/ActionSequence.hpp \
77 Actions/Calculation.hpp \
78 Actions/Calculation_impl.hpp \
79 Actions/ErrorAction.hpp \
80 Actions/MakroAction.hpp \
81 Actions/ManipulateAtomsProcess.hpp \
82 Actions/MapOfActions.hpp \
83 Actions/MethodAction.hpp \
84 Actions/Process.hpp
85
86
87PARSERSOURCE = \
88 Parser/ChangeTracker.cpp \
89 Parser/FormatParser.cpp \
90 Parser/TremoloParser.cpp \
91 Parser/XyzParser.cpp
92PARSERHEADER = \
93 Parser/ChangeTracker.hpp \
94 Parser/FormatParser.hpp \
95 Parser/TremoloParser.hpp \
96 Parser/XyzParser.hpp
97
98PATTERNSOURCE = \
99 Patterns/Observer.cpp
100PATTERNHEADER = \
101 Patterns/Cacheable.hpp \
102 Patterns/Observer.hpp \
103 Patterns/Singleton.hpp
104
105# all these files are only used for legacy reasons while the transition is in progress
106# they are only needed to keep the program usable at any point of the transition and will be
107# deleted once everything is fully refactored
108LEGACYSOURCE = Legacy/oldmenu.cpp
109LEGACYHEADER = Legacy/oldmenu.hpp
110
111QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
112 UIElements/QT4/QTMainWindow.hpp \
113 UIElements/Menu/QT4/QTMenu.hpp \
114 UIElements/Views/QT4/QTWorldView.hpp \
115 UIElements/Views/QT4/GLMoleculeView.hpp \
116 UIElements/Views/QT4/QTMoleculeView.hpp \
117 UIElements/Views/QT4/QTStatusBar.hpp
118
119QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
120 QTMenu.moc.cpp\
121 QTDialog.moc.cpp \
122 QTWorldView.moc.cpp \
123 GLMoleculeView.moc.cpp \
124 QTMoleculeView.moc.cpp \
125 QTStatusBar.moc.cpp
126
127DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
128 Descriptors/AtomIdDescriptor.cpp \
129 Descriptors/AtomTypeDescriptor.cpp \
130 Descriptors/MoleculeDescriptor.cpp \
131 Descriptors/MoleculeIdDescriptor.cpp \
132 Descriptors/MoleculeNameDescriptor.cpp \
133 Descriptors/MoleculePtrDescriptor.cpp
134
135
136DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
137 Descriptors/AtomIdDescriptor.hpp \
138 Descriptors/AtomTypeDescriptor.hpp \
139 Descriptors/MoleculeDescriptor.hpp \
140 Descriptors/MoleculeIdDescriptor.hpp \
141 Descriptors/MoleculeNameDescriptor.hpp \
142 Descriptors/MoleculePtrDescriptor.hpp
143
144EXCEPTIONSOURCE = Exceptions/CustomException.cpp \
145 Exceptions/LinearDependenceException.cpp \
146 Exceptions/MathException.cpp \
147 Exceptions/SkewException.cpp \
148 Exceptions/ZeroVectorException.cpp
149
150EXCEPTIONHEADER = Exceptions/CustomException.hpp \
151 Exceptions/LinearDependenceException.hpp \
152 Exceptions/MathException.hpp \
153 Exceptions/SkewException.hpp \
154 Exceptions/ZeroVectorException.hpp
155
156QTUISOURCE = ${QTUIMOC_TARGETS} \
157 UIElements/QT4/QTMainWindow.cpp \
158 UIElements/QT4/QTDialog.cpp \
159 UIElements/QT4/QTUIFactory.cpp \
160 UIElements/Menu/QT4/QTMenu.cpp \
161 UIElements/Views/QT4/QTWorldView.cpp \
162 UIElements/Views/QT4/GLMoleculeView.cpp \
163 UIElements/Views/QT4/QTMoleculeView.cpp \
164 UIElements/Views/QT4/QTStatusBar.cpp
165
166QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
167
168QTUI_DEFS =
169
170SOURCE = \
171 ${ANALYSISSOURCE} \
172 ${ACTIONSSOURCE} \
173 ${ATOMSOURCE} \
174 ${PATTERNSOURCE} \
175 ${PARSERSOURCE} \
176 ${DESCRIPTORSOURCE} \
177 ${HELPERSOURCE} \
178 ${LEGACYSOURCE} \
179 ${EXCEPTIONSOURCE} \
180 bond.cpp \
181 bondgraph.cpp \
182 boundary.cpp \
183 CommandLineParser.cpp \
184 config.cpp \
185 element.cpp \
186 elements_db.cpp \
187 ellipsoid.cpp \
188 errorlogger.cpp \
189 graph.cpp \
190 helpers.cpp \
191 info.cpp \
192 leastsquaremin.cpp \
193 Line.cpp \
194 linkedcell.cpp \
195 log.cpp \
196 logger.cpp \
197 moleculelist.cpp \
198 molecule.cpp \
199 molecule_dynamics.cpp \
200 molecule_fragmentation.cpp \
201 molecule_geometry.cpp \
202 molecule_graph.cpp \
203 molecule_pointcloud.cpp \
204 parser.cpp \
205 periodentafel.cpp \
206 Plane.cpp \
207 Space.cpp \
208 tesselation.cpp \
209 tesselationhelpers.cpp \
210 triangleintersectionlist.cpp \
211 vector.cpp \
212 vector_ops.cpp \
213 verbose.cpp \
214 World.cpp
215
216HEADER = \
217 ${ANALYSISHEADER} \
218 ${ACTIONSHEADER} \
219 ${ATOMHEADER} \
220 ${PARSERHEADER} \
221 ${PATTERNHEADER} \
222 ${DESCRIPTORHEADER} \
223 ${EXCEPTIONHEADER} \
224 ${LEGACYHEADER} \
225 bond.hpp \
226 bondgraph.hpp \
227 boundary.hpp \
228 CommandLineParser.hpp \
229 config.hpp \
230 defs.hpp \
231 element.hpp \
232 elements_db.hpp \
233 ellipsoid.hpp \
234 errorlogger.hpp \
235 graph.hpp \
236 helpers.hpp \
237 info.hpp \
238 leastsquaremin.hpp \
239 Line.hpp \
240 linkedcell.hpp \
241 lists.hpp \
242 log.hpp \
243 logger.hpp \
244 molecule.hpp \
245 molecule_template.hpp \
246 parser.hpp \
247 periodentafel.hpp \
248 Plane.hpp \
249 stackclass.hpp \
250 tesselation.hpp \
251 tesselationhelpers.hpp \
252 triangleintersectionlist.hpp \
253 verbose.hpp \
254 vector_ops.hpp \
255 World.hpp
256
257# the following files are no longer used:
258# memoryallocator.hpp \
259# memoryallocator.cpp \
260# memoryusageobserver.hpp \
261# memoryusageobserver.cpp
262
263BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
264GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
265INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
266
267noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a
268bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
269molecuilderdir = ${bindir}
270
271libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
272
273libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
274
275libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
276
277molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
278
279molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
280#molecuilder_CXXFLAGS += -DNO_CACHING
281molecuilder_LDFLAGS = $(BOOST_LIB)
282molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
283molecuilder_SOURCES += $(srcdir)/version.c
284molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
285
286#Stuff for building the GUI using QT
287molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
288molecuildergui_SOURCES += $(srcdir)/version.c
289molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
290molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
291molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS}
292
293joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
294joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
295
296analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
297analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
298
299#Rules needed for QT4
300# UI-Files are scattered throughout several subdirectories
301# Therfore `%'-rules do not seem to work
302#Quick fix to get it done otherwise
303${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
304 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
305 echo "Making mocfile for $$header"; \
306 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
307 $(MOC) $(srcdir)/$$header -o $$target \
308 || eval $$failcom; \
309 done;
310
311MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
312
313#EXTRA_DIST = ${molecuilder_DATA}
314
315FORCE:
316$(srcdir)/.git-version: FORCE
317 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
318 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
319 mv -f .git-version-t $(srcdir)/.git-version; \
320 else \
321 rm -f .git-version-t; \
322 fi
323
324EXTRA_DIST = $(srcdir)/.git-version
325
326$(srcdir)/version.c: $(srcdir)/.git-version
327 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
328
329
Note: See TracBrowser for help on using the repository browser.