source: src/Makefile.am@ a6d6a9

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 Candidate_v1.7.0 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 a6d6a9 was 574ddc1, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Added an exception to indicate failures in parsing.

  • Property mode set to 100644
File size: 9.6 KB
RevLine 
[efc3cb]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[5079a0]4SUBDIRS = Actions UIElements
5
[0a4f7f]6# this includes source files that need to be present at multiple points
[efc3cb]7HELPERSOURCE = \
8 Helpers/Assert.cpp \
9 Helpers/MemDebug.cpp
[0a4f7f]10
[efc3cb]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
[0a4f7f]39
[325390]40LINALGHEADER = \
41 gslmatrix.hpp \
[efc3cb]42 gslvector.hpp \
43 linearsystemofequations.hpp \
44 Space.hpp \
45 vector.hpp
[0a4f7f]46
[efc3cb]47ANALYSISSOURCE = \
48 analysis_bonds.cpp \
49 analysis_correlation.cpp
50ANALYSISHEADER = \
51 analysis_bonds.hpp \
52 analysis_correlation.hpp
[96c961]53
[5079a0]54ACTIONSSOURCE = \
55 Actions/Action.cpp \
[efc3cb]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
[5079a0]65ACTIONSHEADER = \
66 Actions/Action.hpp \
[efc3cb]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 \
[97ebf8]75 Actions/MapOfActions.hpp \
[efc3cb]76 Actions/MethodAction.hpp \
77 Actions/Process.hpp
[456341]78
[574ddc1]79EXCEPTIONSOURCE = \
80 Exceptions/CustomException.cpp \
81 Exceptions/LinearDependenceException.cpp \
82 Exceptions/MathException.cpp \
83 Exceptions/NotInvertibleException.cpp \
84 Exceptions/ParseError.cpp \
85 Exceptions/SkewException.cpp \
86 Exceptions/ZeroVectorException.cpp
[456341]87
[574ddc1]88EXCEPTIONHEADER = \
89 Exceptions/CustomException.hpp \
90 Exceptions/LinearDependenceException.hpp \
91 Exceptions/MathException.hpp \
92 Exceptions/NotInvertibleException.hpp \
93 Exceptions/ParseError.hpp \
94 Exceptions/SkewException.hpp \
95 Exceptions/ZeroVectorException.hpp
[9fb860]96
[efc3cb]97PARSERSOURCE = \
98 Parser/ChangeTracker.cpp \
99 Parser/FormatParser.cpp \
[52baf9]100 Parser/FormatParserStorage.cpp \
[43dad6]101 Parser/MpqcParser.cpp \
102 Parser/PcpParser.cpp \
[efc3cb]103 Parser/TremoloParser.cpp \
104 Parser/XyzParser.cpp
[88104f]105
[efc3cb]106PARSERHEADER = \
107 Parser/ChangeTracker.hpp \
108 Parser/FormatParser.hpp \
[52baf9]109 Parser/FormatParserStorage.hpp \
[43dad6]110 Parser/MpqcParser.hpp \
111 Parser/PcpParser.hpp \
[efc3cb]112 Parser/TremoloParser.hpp \
113 Parser/XyzParser.hpp
114
115PATTERNSOURCE = \
116 Patterns/Observer.cpp
117PATTERNHEADER = \
118 Patterns/Cacheable.hpp \
119 Patterns/Observer.hpp \
120 Patterns/Singleton.hpp
[997784]121
122SHAPESOURCE = \
[e38447]123 Shapes/BaseShapes.cpp \
[e09b70]124 Shapes/Shape.cpp \
125 Shapes/ShapeOps.cpp
[997784]126SHAPEHEADER = \
[e38447]127 Shapes/BaseShapes.hpp \
[e09b70]128 Shapes/Shape.hpp \
129 Shapes/ShapeOps.hpp
[997784]130
[f5a86a]131
[63b56a7]132QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
133 UIElements/QT4/QTMainWindow.hpp \
[257c77]134 UIElements/Menu/QT4/QTMenu.hpp \
135 UIElements/Views/QT4/QTWorldView.hpp \
136 UIElements/Views/QT4/GLMoleculeView.hpp \
137 UIElements/Views/QT4/QTMoleculeView.hpp \
138 UIElements/Views/QT4/QTStatusBar.hpp
[63b56a7]139
140QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
141 QTMenu.moc.cpp\
142 QTDialog.moc.cpp \
143 QTWorldView.moc.cpp \
144 GLMoleculeView.moc.cpp \
[a77c96]145 QTMoleculeView.moc.cpp \
[63b56a7]146 QTStatusBar.moc.cpp
[3027f8]147
[57adc7]148DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
[efc3cb]149 Descriptors/AtomIdDescriptor.cpp \
[48dcbd]150 Descriptors/AtomSelectionDescriptor.cpp \
[efc3cb]151 Descriptors/AtomTypeDescriptor.cpp \
152 Descriptors/MoleculeDescriptor.cpp \
[e05826]153 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]154 Descriptors/MoleculeNameDescriptor.cpp \
[cf0ca1]155 Descriptors/MoleculePtrDescriptor.cpp \
156 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]157
[75ac0c]158
[57adc7]159DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
[efc3cb]160 Descriptors/AtomIdDescriptor.hpp \
[48dcbd]161 Descriptors/AtomSelectionDescriptor.hpp \
[efc3cb]162 Descriptors/AtomTypeDescriptor.hpp \
163 Descriptors/MoleculeDescriptor.hpp \
[e30ce8]164 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]165 Descriptors/MoleculeNameDescriptor.hpp \
[cf0ca1]166 Descriptors/MoleculePtrDescriptor.hpp \
167 Descriptors/MoleculeSelectionDescriptor.cpp
[67c75b]168
[63b56a7]169QTUISOURCE = ${QTUIMOC_TARGETS} \
[67c75b]170 UIElements/QT4/QTMainWindow.cpp \
171 UIElements/QT4/QTDialog.cpp \
172 UIElements/QT4/QTUIFactory.cpp \
[257c77]173 UIElements/Menu/QT4/QTMenu.cpp \
174 UIElements/Views/QT4/QTWorldView.cpp \
175 UIElements/Views/QT4/GLMoleculeView.cpp \
176 UIElements/Views/QT4/QTMoleculeView.cpp \
177 UIElements/Views/QT4/QTStatusBar.cpp
[a77c96]178
[ea94a8]179QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
[3027f8]180
[67c75b]181QTUI_DEFS =
182
[efc3cb]183SOURCE = \
184 ${ANALYSISSOURCE} \
[5079a0]185 ${ACTIONSSOURCE} \
[efc3cb]186 ${ATOMSOURCE} \
[456341]187 ${EXCEPTIONSOURCE} \
[efc3cb]188 ${PATTERNSOURCE} \
189 ${PARSERSOURCE} \
[997784]190 ${SHAPESOURCE} \
[efc3cb]191 ${DESCRIPTORSOURCE} \
192 ${HELPERSOURCE} \
193 bond.cpp \
194 bondgraph.cpp \
195 boundary.cpp \
[83c09a]196 Box.cpp \
[c6efc1]197 CommandLineParser.cpp \
[efc3cb]198 config.cpp \
[88104f]199 ConfigFileBuffer.cpp \
[efc3cb]200 element.cpp \
[5079a0]201 elements_db.cpp \
[efc3cb]202 ellipsoid.cpp \
203 errorlogger.cpp \
[6f43ab]204 Formula.cpp \
[efc3cb]205 graph.cpp \
206 helpers.cpp \
207 info.cpp \
208 leastsquaremin.cpp \
209 Line.cpp \
210 linkedcell.cpp \
211 log.cpp \
212 logger.cpp \
[456341]213 Matrix.cpp \
[efc3cb]214 moleculelist.cpp \
215 molecule.cpp \
216 molecule_dynamics.cpp \
217 molecule_fragmentation.cpp \
218 molecule_geometry.cpp \
219 molecule_graph.cpp \
220 molecule_pointcloud.cpp \
221 parser.cpp \
222 periodentafel.cpp \
223 Plane.cpp \
[1024cb]224 Space.cpp \
[efc3cb]225 tesselation.cpp \
226 tesselationhelpers.cpp \
[a3fded]227 ThermoStatContainer.cpp \
[efc3cb]228 triangleintersectionlist.cpp \
[1024cb]229 vector.cpp \
[efc3cb]230 vector_ops.cpp \
[1024cb]231 verbose.cpp \
[efc3cb]232 World.cpp
[5f612ee]233
234HEADER = \
[efc3cb]235 ${ANALYSISHEADER} \
[5079a0]236 ${ACTIONSHEADER} \
[efc3cb]237 ${ATOMHEADER} \
[456341]238 ${EXCEPTIONHEADER} \
[efc3cb]239 ${PARSERHEADER} \
240 ${PATTERNHEADER} \
[997784]241 ${SHAPEHEADER} \
[efc3cb]242 ${DESCRIPTORHEADER} \
243 bond.hpp \
244 bondgraph.hpp \
245 boundary.hpp \
[83c09a]246 Box.hpp \
[c6efc1]247 CommandLineParser.hpp \
[efc3cb]248 config.hpp \
[88104f]249 ConfigFileBuffer.hpp \
[efc3cb]250 defs.hpp \
251 element.hpp \
[5079a0]252 elements_db.hpp \
[efc3cb]253 ellipsoid.hpp \
254 errorlogger.hpp \
[6f43ab]255 Formula.hpp \
[efc3cb]256 graph.hpp \
257 helpers.hpp \
258 info.hpp \
259 leastsquaremin.hpp \
260 Line.hpp \
261 linkedcell.hpp \
262 lists.hpp \
263 log.hpp \
264 logger.hpp \
[456341]265 Matrix.hpp \
[efc3cb]266 molecule.hpp \
267 molecule_template.hpp \
268 parser.hpp \
269 periodentafel.hpp \
270 Plane.hpp \
271 stackclass.hpp \
272 tesselation.hpp \
273 tesselationhelpers.hpp \
[a3fded]274 ThermoStatContainer.hpp \
[efc3cb]275 triangleintersectionlist.hpp \
276 verbose.hpp \
277 vector_ops.hpp \
278 World.hpp
[3027f8]279
[920c70]280# the following files are no longer used:
281# memoryallocator.hpp \
[1024cb]282# memoryallocator.cpp \
[920c70]283# memoryusageobserver.hpp \
284# memoryusageobserver.cpp
[ef9df36]285
[fa861b]286BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
[b1d8092]287GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
[5079a0]288INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
[ef9df36]289
[04488a]290noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a libparser.a
291bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
292
[14de469]293molecuilderdir = ${bindir}
[b1d8092]294
[b9907c]295libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
[b1d8092]296
[9fe36b]297libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[35b698]298libparser_a_SOURCES = ${PARSERSOURCE} ${PARSERHEADER}
[9fb860]299libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
[b1d8092]300
[6ac7ee]301molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
[b1d8092]302
[4d9c01]303molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
304#molecuilder_CXXFLAGS += -DNO_CACHING
[9fe36b]305molecuilder_LDFLAGS = $(BOOST_LIB)
[82b71a]306molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
[b8d1aeb]307molecuilder_SOURCES += $(srcdir)/version.c
[04488a]308molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
[b1d8092]309
[3027f8]310#Stuff for building the GUI using QT
[82b71a]311molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
[b8d1aeb]312molecuildergui_SOURCES += $(srcdir)/version.c
[cef1d7]313molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
314molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
[04488a]315molecuildergui_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB} ${GUI_LIBS}
[b1d8092]316
[b9907c]317joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
[4d9c01]318joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
[b1d8092]319
[b9907c]320analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
[4d9c01]321analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
[14de469]322
[3027f8]323#Rules needed for QT4
324# UI-Files are scattered throughout several subdirectories
325# Therfore `%'-rules do not seem to work
326#Quick fix to get it done otherwise
[d3a5ea]327${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
[fa27ed]328 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
[3027f8]329 echo "Making mocfile for $$header"; \
330 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
331 $(MOC) $(srcdir)/$$header -o $$target \
332 || eval $$failcom; \
333 done;
[9fe36b]334
335MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
[3027f8]336
[c111db]337#EXTRA_DIST = ${molecuilder_DATA}
[65b6e0]338
[a8eb4a]339FORCE:
340$(srcdir)/.git-version: FORCE
[f8be39]341 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
342 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]343 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
344 mv -f .git-version-t $(srcdir)/.git-version; \
345 else \
346 rm -f .git-version-t; \
347 fi
348
349EXTRA_DIST = $(srcdir)/.git-version
350
351$(srcdir)/version.c: $(srcdir)/.git-version
352 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
353
[b8d1aeb]354
Note: See TracBrowser for help on using the repository browser.