source: src/Makefile.am@ ba9f5b

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 ba9f5b was f8be39, checked in by Ralf Wildenhues <wildenhues@…>, 14 years ago

Fix .git-version rule.

  • src/Makefile.am ($(srcdir)/.git-version): Use correct path

to toplevel .git directory. Use --dirty --always if available.

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