source: src/Makefile.am@ 400170

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

Merge branch 'StructureRefactoring' into Shapes

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