source: src/Makefile.am@ 112f90

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 112f90 was 112f90, checked in by Tillmann Crueger <crueger@…>, 14 years ago

Fixed ActionSequenceTest and ManipulateAtomsTest

  • Property mode set to 100644
File size: 9.8 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 = \
80 Exceptions/CustomException.cpp \
81 Exceptions/IllegalTypeException.cpp \
82 Exceptions/LinearDependenceException.cpp \
83 Exceptions/MathException.cpp \
84 Exceptions/MissingValueException.cpp \
85 Exceptions/NotInvertibleException.cpp \
86 Exceptions/ParseError.cpp \
87 Exceptions/SkewException.cpp \
88 Exceptions/ZeroVectorException.cpp
89
90EXCEPTIONHEADER = \
91 Exceptions/CustomException.hpp \
92 Exceptions/IllegalTypeException.hpp \
93 Exceptions/LinearDependenceException.hpp \
94 Exceptions/MathException.hpp \
95 Exceptions/MissingValueException.hpp \
96 Exceptions/NotInvertibleException.hpp \
97 Exceptions/ParseError.hpp \
98 Exceptions/SkewException.hpp \
99 Exceptions/ZeroVectorException.hpp
100
101PARSERSOURCE = \
102 Parser/ChangeTracker.cpp \
103 Parser/FormatParser.cpp \
104 Parser/FormatParserStorage.cpp \
105 Parser/MpqcParser.cpp \
106 Parser/PcpParser.cpp \
107 Parser/TremoloParser.cpp \
108 Parser/XyzParser.cpp
109
110PARSERHEADER = \
111 Parser/ChangeTracker.hpp \
112 Parser/FormatParser.hpp \
113 Parser/FormatParserStorage.hpp \
114 Parser/MpqcParser.hpp \
115 Parser/PcpParser.hpp \
116 Parser/TremoloParser.hpp \
117 Parser/XyzParser.hpp
118
119PATTERNSOURCE = \
120 Patterns/Observer.cpp
121PATTERNHEADER = \
122 Patterns/Cacheable.hpp \
123 Patterns/Observer.hpp \
124 Patterns/Singleton.hpp
125
126SHAPESOURCE = \
127 Shapes/BaseShapes.cpp \
128 Shapes/Shape.cpp \
129 Shapes/ShapeOps.cpp
130SHAPEHEADER = \
131 Shapes/BaseShapes.hpp \
132 Shapes/Shape.hpp \
133 Shapes/ShapeOps.hpp
134
135
136QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
137 UIElements/QT4/QTMainWindow.hpp \
138 UIElements/Menu/QT4/QTMenu.hpp \
139 UIElements/Views/QT4/QTWorldView.hpp \
140 UIElements/Views/QT4/GLMoleculeView.hpp \
141 UIElements/Views/QT4/QTMoleculeView.hpp \
142 UIElements/Views/QT4/QTStatusBar.hpp
143
144QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
145 QTMenu.moc.cpp\
146 QTDialog.moc.cpp \
147 QTWorldView.moc.cpp \
148 GLMoleculeView.moc.cpp \
149 QTMoleculeView.moc.cpp \
150 QTStatusBar.moc.cpp
151
152DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
153 Descriptors/AtomIdDescriptor.cpp \
154 Descriptors/AtomSelectionDescriptor.cpp \
155 Descriptors/AtomTypeDescriptor.cpp \
156 Descriptors/MoleculeDescriptor.cpp \
157 Descriptors/MoleculeFormulaDescriptor.cpp \
158 Descriptors/MoleculeIdDescriptor.cpp \
159 Descriptors/MoleculeNameDescriptor.cpp \
160 Descriptors/MoleculePtrDescriptor.cpp \
161 Descriptors/MoleculeSelectionDescriptor.cpp
162
163
164DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
165 Descriptors/AtomIdDescriptor.hpp \
166 Descriptors/AtomSelectionDescriptor.hpp \
167 Descriptors/AtomTypeDescriptor.hpp \
168 Descriptors/MoleculeDescriptor.hpp \
169 Descriptors/MoleculeFormulaDescriptor.hpp \
170 Descriptors/MoleculeIdDescriptor.hpp \
171 Descriptors/MoleculeNameDescriptor.hpp \
172 Descriptors/MoleculePtrDescriptor.hpp \
173 Descriptors/MoleculeSelectionDescriptor.cpp
174
175QTUISOURCE = ${QTUIMOC_TARGETS} \
176 UIElements/QT4/QTMainWindow.cpp \
177 UIElements/QT4/QTDialog.cpp \
178 UIElements/QT4/QTUIFactory.cpp \
179 UIElements/Menu/QT4/QTMenu.cpp \
180 UIElements/Views/QT4/QTWorldView.cpp \
181 UIElements/Views/QT4/GLMoleculeView.cpp \
182 UIElements/Views/QT4/QTMoleculeView.cpp \
183 UIElements/Views/QT4/QTStatusBar.cpp
184
185QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
186
187QTUI_DEFS =
188
189SOURCE = \
190 ${ANALYSISSOURCE} \
191 ${ACTIONSSOURCE} \
192 ${ATOMSOURCE} \
193 ${EXCEPTIONSOURCE} \
194 ${PATTERNSOURCE} \
195 ${PARSERSOURCE} \
196 ${SHAPESOURCE} \
197 ${DESCRIPTORSOURCE} \
198 ${HELPERSOURCE} \
199 bond.cpp \
200 bondgraph.cpp \
201 boundary.cpp \
202 Box.cpp \
203 CommandLineParser.cpp \
204 config.cpp \
205 ConfigFileBuffer.cpp \
206 element.cpp \
207 elements_db.cpp \
208 ellipsoid.cpp \
209 errorlogger.cpp \
210 Formula.cpp \
211 graph.cpp \
212 helpers.cpp \
213 info.cpp \
214 leastsquaremin.cpp \
215 Line.cpp \
216 linkedcell.cpp \
217 log.cpp \
218 logger.cpp \
219 Matrix.cpp \
220 moleculelist.cpp \
221 molecule.cpp \
222 molecule_dynamics.cpp \
223 molecule_fragmentation.cpp \
224 molecule_geometry.cpp \
225 molecule_graph.cpp \
226 molecule_pointcloud.cpp \
227 parser.cpp \
228 periodentafel.cpp \
229 Plane.cpp \
230 Space.cpp \
231 tesselation.cpp \
232 tesselationhelpers.cpp \
233 ThermoStatContainer.cpp \
234 triangleintersectionlist.cpp \
235 UIElements/UIFactory.cpp \
236 vector.cpp \
237 vector_ops.cpp \
238 verbose.cpp \
239 World.cpp
240
241HEADER = \
242 ${ANALYSISHEADER} \
243 ${ACTIONSHEADER} \
244 ${ATOMHEADER} \
245 ${EXCEPTIONHEADER} \
246 ${PARSERHEADER} \
247 ${PATTERNHEADER} \
248 ${SHAPEHEADER} \
249 ${DESCRIPTORHEADER} \
250 bond.hpp \
251 bondgraph.hpp \
252 boundary.hpp \
253 Box.hpp \
254 CommandLineParser.hpp \
255 config.hpp \
256 ConfigFileBuffer.hpp \
257 defs.hpp \
258 element.hpp \
259 elements_db.hpp \
260 ellipsoid.hpp \
261 errorlogger.hpp \
262 Formula.hpp \
263 graph.hpp \
264 helpers.hpp \
265 info.hpp \
266 leastsquaremin.hpp \
267 Line.hpp \
268 linkedcell.hpp \
269 lists.hpp \
270 log.hpp \
271 logger.hpp \
272 Matrix.hpp \
273 molecule.hpp \
274 molecule_template.hpp \
275 parser.hpp \
276 periodentafel.hpp \
277 Plane.hpp \
278 stackclass.hpp \
279 tesselation.hpp \
280 tesselationhelpers.hpp \
281 ThermoStatContainer.hpp \
282 triangleintersectionlist.hpp \
283 UIElements/UIFactory.hpp \
284 verbose.hpp \
285 vector_ops.hpp \
286 World.hpp
287
288# the following files are no longer used:
289# memoryallocator.hpp \
290# memoryallocator.cpp \
291# memoryusageobserver.hpp \
292# memoryusageobserver.cpp
293
294BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
295GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
296INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
297
298noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a libparser.a
299bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
300
301molecuilderdir = ${bindir}
302
303libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
304
305libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
306libparser_a_SOURCES = ${PARSERSOURCE} ${PARSERHEADER}
307libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
308
309molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
310
311molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
312#molecuilder_CXXFLAGS += -DNO_CACHING
313molecuilder_LDFLAGS = $(BOOST_LIB)
314molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
315molecuilder_SOURCES += $(srcdir)/version.c
316molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
317
318#Stuff for building the GUI using QT
319molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
320molecuildergui_SOURCES += $(srcdir)/version.c
321molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
322molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
323molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS}
324
325joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
326joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
327
328analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
329analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
330
331#Rules needed for QT4
332# UI-Files are scattered throughout several subdirectories
333# Therfore `%'-rules do not seem to work
334#Quick fix to get it done otherwise
335${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
336 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
337 echo "Making mocfile for $$header"; \
338 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
339 $(MOC) $(srcdir)/$$header -o $$target \
340 || eval $$failcom; \
341 done;
342
343MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
344
345#EXTRA_DIST = ${molecuilder_DATA}
346
347FORCE:
348$(srcdir)/.git-version: FORCE
349 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
350 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
351 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
352 mv -f .git-version-t $(srcdir)/.git-version; \
353 else \
354 rm -f .git-version-t; \
355 fi
356
357EXTRA_DIST = $(srcdir)/.git-version
358
359$(srcdir)/version.c: $(srcdir)/.git-version
360 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
361
362
Note: See TracBrowser for help on using the repository browser.