source: src/Makefile.am@ ba7418

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

Added Descriptors that allow description of all Selected molecules

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