source: src/Makefile.am@ 3839e5

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

Merge branch 'stable' into StructureRefactoring

Conflicts:

src/Actions/WorldAction/CenterOnEdgeAction.cpp
src/Actions/WorldAction/ChangeBoxAction.cpp
src/Actions/WorldAction/RepeatBoxAction.cpp
src/Actions/WorldAction/ScaleBoxAction.cpp
src/World.cpp
src/boundary.cpp

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