source: src/Makefile.am@ b80021

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

Merge branch 'StructureRefactoring' into QT4Refactoring

Conflicts:

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