source: src/Makefile.am@ b59648

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

Merge branch 'StructureRefactoring' into Shapes

  • Property mode set to 100644
File size: 10.0 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
[06300d]79EXCEPTIONSOURCE = \
80 Exceptions/CustomException.cpp \
[677e13]81 Exceptions/IllegalTypeException.cpp \
[06300d]82 Exceptions/LinearDependenceException.cpp \
83 Exceptions/MathException.cpp \
[677e13]84 Exceptions/MissingValueException.cpp \
[06300d]85 Exceptions/NotInvertibleException.cpp \
86 Exceptions/NotOnSurfaceException.cpp \
87 Exceptions/ShapeException.cpp \
[574ddc1]88 Exceptions/ParseError.cpp \
[06300d]89 Exceptions/SkewException.cpp \
90 Exceptions/ZeroVectorException.cpp
[456341]91
[06300d]92EXCEPTIONHEADER = \
93 Exceptions/CustomException.hpp \
[677e13]94 Exceptions/IllegalTypeException.hpp \
[06300d]95 Exceptions/LinearDependenceException.hpp \
96 Exceptions/MathException.hpp \
[677e13]97 Exceptions/MissingValueException.hpp \
[06300d]98 Exceptions/NotInvertibleException.hpp \
99 Exceptions/NotOnSurfaceException.hpp \
100 Exceptions/ShapeException.hpp \
[574ddc1]101 Exceptions/ParseError.hpp \
[06300d]102 Exceptions/SkewException.hpp \
103 Exceptions/ZeroVectorException.hpp
[9fb860]104
[efc3cb]105PARSERSOURCE = \
106 Parser/ChangeTracker.cpp \
107 Parser/FormatParser.cpp \
[52baf9]108 Parser/FormatParserStorage.cpp \
[43dad6]109 Parser/MpqcParser.cpp \
110 Parser/PcpParser.cpp \
[efc3cb]111 Parser/TremoloParser.cpp \
112 Parser/XyzParser.cpp
[88104f]113
[efc3cb]114PARSERHEADER = \
115 Parser/ChangeTracker.hpp \
116 Parser/FormatParser.hpp \
[52baf9]117 Parser/FormatParserStorage.hpp \
[43dad6]118 Parser/MpqcParser.hpp \
119 Parser/PcpParser.hpp \
[efc3cb]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
[997784]129
130SHAPESOURCE = \
[e38447]131 Shapes/BaseShapes.cpp \
[e09b70]132 Shapes/Shape.cpp \
133 Shapes/ShapeOps.cpp
[997784]134SHAPEHEADER = \
[e38447]135 Shapes/BaseShapes.hpp \
[e09b70]136 Shapes/Shape.hpp \
137 Shapes/ShapeOps.hpp
[997784]138
[f5a86a]139
[63b56a7]140QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
[4e145c]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
[63b56a7]147
148QTUIMOC_TARGETS = QTMainWindow.moc.cpp \
[4e145c]149 QTMenu.moc.cpp\
150 QTDialog.moc.cpp \
151 QTWorldView.moc.cpp \
152 GLMoleculeView.moc.cpp \
153 QTMoleculeView.moc.cpp \
154 QTStatusBar.moc.cpp
[3027f8]155
[57adc7]156DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
[efc3cb]157 Descriptors/AtomIdDescriptor.cpp \
[48dcbd]158 Descriptors/AtomSelectionDescriptor.cpp \
[6d858c]159 Descriptors/AtomShapeDescriptor.cpp \
[efc3cb]160 Descriptors/AtomTypeDescriptor.cpp \
161 Descriptors/MoleculeDescriptor.cpp \
[6e7147]162 Descriptors/MoleculeFormulaDescriptor.cpp \
[e05826]163 Descriptors/MoleculeIdDescriptor.cpp \
[e6317b]164 Descriptors/MoleculeNameDescriptor.cpp \
[cf0ca1]165 Descriptors/MoleculePtrDescriptor.cpp \
166 Descriptors/MoleculeSelectionDescriptor.cpp
[57adc7]167
[75ac0c]168
[57adc7]169DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
[efc3cb]170 Descriptors/AtomIdDescriptor.hpp \
[48dcbd]171 Descriptors/AtomSelectionDescriptor.hpp \
[6d858c]172 Descriptors/AtomShapeDescriptor.hpp \
[efc3cb]173 Descriptors/AtomTypeDescriptor.hpp \
174 Descriptors/MoleculeDescriptor.hpp \
[6e7147]175 Descriptors/MoleculeFormulaDescriptor.hpp \
[e30ce8]176 Descriptors/MoleculeIdDescriptor.hpp \
[31b09e]177 Descriptors/MoleculeNameDescriptor.hpp \
[cf0ca1]178 Descriptors/MoleculePtrDescriptor.hpp \
179 Descriptors/MoleculeSelectionDescriptor.cpp
[67c75b]180
[63b56a7]181QTUISOURCE = ${QTUIMOC_TARGETS} \
[4e145c]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
[a77c96]190
[ea94a8]191QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
[3027f8]192
[67c75b]193QTUI_DEFS =
194
[efc3cb]195SOURCE = \
196 ${ANALYSISSOURCE} \
[5079a0]197 ${ACTIONSSOURCE} \
[efc3cb]198 ${ATOMSOURCE} \
[456341]199 ${EXCEPTIONSOURCE} \
[efc3cb]200 ${PATTERNSOURCE} \
201 ${PARSERSOURCE} \
[997784]202 ${SHAPESOURCE} \
[efc3cb]203 ${DESCRIPTORSOURCE} \
204 ${HELPERSOURCE} \
205 bond.cpp \
206 bondgraph.cpp \
207 boundary.cpp \
[83c09a]208 Box.cpp \
[c6efc1]209 CommandLineParser.cpp \
[efc3cb]210 config.cpp \
[88104f]211 ConfigFileBuffer.cpp \
[efc3cb]212 element.cpp \
[5079a0]213 elements_db.cpp \
[efc3cb]214 ellipsoid.cpp \
215 errorlogger.cpp \
[6f43ab]216 Formula.cpp \
[efc3cb]217 graph.cpp \
218 helpers.cpp \
219 info.cpp \
220 leastsquaremin.cpp \
221 Line.cpp \
[a4e9bb]222 LineSegment.cpp \
[ed476e]223 LineSegmentSet.cpp \
[efc3cb]224 linkedcell.cpp \
225 log.cpp \
226 logger.cpp \
[456341]227 Matrix.cpp \
[efc3cb]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 \
[1024cb]238 Space.cpp \
[efc3cb]239 tesselation.cpp \
240 tesselationhelpers.cpp \
[a3fded]241 ThermoStatContainer.cpp \
[efc3cb]242 triangleintersectionlist.cpp \
[1024cb]243 vector.cpp \
[efc3cb]244 vector_ops.cpp \
[1024cb]245 verbose.cpp \
[efc3cb]246 World.cpp
[5f612ee]247
248HEADER = \
[efc3cb]249 ${ANALYSISHEADER} \
[5079a0]250 ${ACTIONSHEADER} \
[efc3cb]251 ${ATOMHEADER} \
[456341]252 ${EXCEPTIONHEADER} \
[efc3cb]253 ${PARSERHEADER} \
254 ${PATTERNHEADER} \
[997784]255 ${SHAPEHEADER} \
[efc3cb]256 ${DESCRIPTORHEADER} \
257 bond.hpp \
258 bondgraph.hpp \
259 boundary.hpp \
[83c09a]260 Box.hpp \
[c6efc1]261 CommandLineParser.hpp \
[efc3cb]262 config.hpp \
[88104f]263 ConfigFileBuffer.hpp \
[efc3cb]264 defs.hpp \
265 element.hpp \
[5079a0]266 elements_db.hpp \
[efc3cb]267 ellipsoid.hpp \
268 errorlogger.hpp \
[6f43ab]269 Formula.hpp \
[efc3cb]270 graph.hpp \
271 helpers.hpp \
272 info.hpp \
273 leastsquaremin.hpp \
274 Line.hpp \
[a4e9bb]275 LineSegment.hpp \
[ed476e]276 LineSegmentSet.hpp \
[efc3cb]277 linkedcell.hpp \
278 lists.hpp \
279 log.hpp \
280 logger.hpp \
[456341]281 Matrix.hpp \
[efc3cb]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 \
[a3fded]290 ThermoStatContainer.hpp \
[efc3cb]291 triangleintersectionlist.hpp \
292 verbose.hpp \
293 vector_ops.hpp \
294 World.hpp
[3027f8]295
[920c70]296# the following files are no longer used:
297# memoryallocator.hpp \
[1024cb]298# memoryallocator.cpp \
[920c70]299# memoryusageobserver.hpp \
300# memoryusageobserver.cpp
[ef9df36]301
[fa861b]302BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
[b1d8092]303GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
[5079a0]304INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
[ef9df36]305
[04488a]306noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a libmenu.a libparser.a
307bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
308
[14de469]309molecuilderdir = ${bindir}
[b1d8092]310
[b9907c]311libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
[b1d8092]312
[9fe36b]313libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
[35b698]314libparser_a_SOURCES = ${PARSERSOURCE} ${PARSERHEADER}
[9fb860]315libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
[b1d8092]316
[6ac7ee]317molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
[b1d8092]318
[4d9c01]319molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
320#molecuilder_CXXFLAGS += -DNO_CACHING
[9fe36b]321molecuilder_LDFLAGS = $(BOOST_LIB)
[82b71a]322molecuilder_SOURCES = ${LEGACYSOURCE} builder.cpp
[b8d1aeb]323molecuilder_SOURCES += $(srcdir)/version.c
[04488a]324molecuilder_LDADD = UIElements/libMolecuilderUI.a Actions/libMolecuilderActions.a libmolecuilder.a libparser.a libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
[b1d8092]325
[3027f8]326#Stuff for building the GUI using QT
[82b71a]327molecuildergui_SOURCES = ${QTUISOURCE} ${LEGACYSOURCE} builder.cpp
[b8d1aeb]328molecuildergui_SOURCES += $(srcdir)/version.c
[cef1d7]329molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
330molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
[04488a]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}
[b1d8092]332
[b9907c]333joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
[4d9c01]334joiner_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
[b1d8092]335
[b9907c]336analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
[4d9c01]337analyzer_LDADD = libmolecuilder.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
[14de469]338
[3027f8]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
[d3a5ea]343${QTUIMOC_TARGETS}: ${QTUIMOC_HEADER}
[fa27ed]344 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
[3027f8]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;
[9fe36b]350
351MOSTLYCLEANFILES = ${QTUIMOC_TARGETS}
[3027f8]352
[c111db]353#EXTRA_DIST = ${molecuilder_DATA}
[65b6e0]354
[a8eb4a]355FORCE:
356$(srcdir)/.git-version: FORCE
[f8be39]357 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
358 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
[a8eb4a]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
[b8d1aeb]370
Note: See TracBrowser for help on using the repository browser.