source: src/Makefile.am@ 51c3e4

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

Merge branch 'stable' into StructureRefactoring

Conflicts:

src/atom_trajectoryparticle.cpp

  • Property mode set to 100644
File size: 13.4 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4SUBDIRS = Actions Exceptions Helpers LinearAlgebra Parser UIElements
5
6ATOMSOURCE = \
7 atom.cpp \
8 AtomicInfo.cpp \
9 atom_atominfo.cpp \
10 atom_bondedparticle.cpp \
11 atom_bondedparticleinfo.cpp \
12 atom_graphnode.cpp \
13 atom_graphnodeinfo.cpp \
14 atom_particleinfo.cpp \
15 atom_trajectoryparticle.cpp \
16 atom_trajectoryparticleinfo.cpp
17ATOMHEADER = \
18 atom.hpp \
19 AtomicInfo.hpp \
20 atom_atominfo.hpp \
21 atom_bondedparticle.hpp \
22 atom_bondedparticleinfo.hpp \
23 atom_graphnode.hpp \
24 atom_graphnodeinfo.hpp \
25 atom_particleinfo.hpp \
26 atom_trajectoryparticle.hpp \
27 atom_trajectoryparticleinfo.hpp
28
29ANALYSISSOURCE = \
30 analysis_bonds.cpp \
31 analysis_correlation.cpp
32ANALYSISHEADER = \
33 analysis_bonds.hpp \
34 analysis_correlation.hpp
35
36ACTIONSSOURCE = \
37 Actions/Action.cpp \
38 Actions/ActionHistory.cpp \
39 Actions/ActionRegistry.cpp \
40 Actions/ActionSequence.cpp \
41 Actions/ErrorAction.cpp \
42 Actions/MakroAction.cpp \
43 Actions/ManipulateAtomsProcess.cpp \
44 Actions/MethodAction.cpp \
45 Actions/Process.cpp
46
47ACTIONSHEADER = \
48 Actions/Action.hpp \
49 Actions/ActionHistory.hpp \
50 Actions/ActionRegistry.hpp \
51 Actions/ActionSequence.hpp \
52 Actions/Calculation.hpp \
53 Actions/Calculation_impl.hpp \
54 Actions/ErrorAction.hpp \
55 Actions/MakroAction.hpp \
56 Actions/ManipulateAtomsProcess.hpp \
57 Actions/MapOfActions.hpp \
58 Actions/MethodAction.hpp \
59 Actions/Process.hpp
60
61PATTERNSOURCE = \
62 Patterns/Observer.cpp
63PATTERNHEADER = \
64 Patterns/Cacheable.hpp \
65 Patterns/Observer.hpp \
66 Patterns/Singleton.hpp
67
68SHAPESOURCE = \
69 Shapes/BaseShapes.cpp \
70 Shapes/Shape.cpp \
71 Shapes/ShapeOps.cpp
72SHAPEHEADER = \
73 Shapes/BaseShapes.hpp \
74 Shapes/Shape.hpp \
75 Shapes/ShapeOps.hpp
76
77
78DESCRIPTORSOURCE = Descriptors/AtomDescriptor.cpp \
79 Descriptors/AtomIdDescriptor.cpp \
80 Descriptors/AtomSelectionDescriptor.cpp \
81 Descriptors/AtomShapeDescriptor.cpp \
82 Descriptors/AtomTypeDescriptor.cpp \
83 Descriptors/MoleculeDescriptor.cpp \
84 Descriptors/MoleculeFormulaDescriptor.cpp \
85 Descriptors/MoleculeIdDescriptor.cpp \
86 Descriptors/MoleculeNameDescriptor.cpp \
87 Descriptors/MoleculePtrDescriptor.cpp \
88 Descriptors/MoleculeSelectionDescriptor.cpp
89
90
91DESCRIPTORHEADER = Descriptors/AtomDescriptor.hpp \
92 Descriptors/AtomIdDescriptor.hpp \
93 Descriptors/AtomSelectionDescriptor.hpp \
94 Descriptors/AtomShapeDescriptor.hpp \
95 Descriptors/AtomTypeDescriptor.hpp \
96 Descriptors/MoleculeDescriptor.hpp \
97 Descriptors/MoleculeFormulaDescriptor.hpp \
98 Descriptors/MoleculeIdDescriptor.hpp \
99 Descriptors/MoleculeNameDescriptor.hpp \
100 Descriptors/MoleculePtrDescriptor.hpp \
101 Descriptors/MoleculeSelectionDescriptor.cpp
102
103THERMOSTATSOURCE = \
104 Thermostats/Berendsen.cpp \
105 Thermostats/GaussianThermostat.cpp \
106 Thermostats/Langevin.cpp \
107 Thermostats/NoseHoover.cpp \
108 Thermostats/NoThermostat.cpp \
109 Thermostats/Thermostat.cpp \
110 Thermostats/Woodcock.cpp
111
112THERMOSTATHEADER = \
113 Thermostats/Berendsen.hpp \
114 Thermostats/GaussianThermostat.hpp \
115 Thermostats/Langevin.hpp \
116 Thermostats/NoseHoover.hpp \
117 Thermostats/NoThermostat.hpp \
118 Thermostats/Thermostat.hpp \
119 Thermostats/Woodcock.hpp
120
121QTUIMOC_HEADER = UIElements/QT4/QTDialog.hpp \
122 UIElements/QT4/QTMainWindow.hpp \
123 UIElements/Menu/QT4/QTMenu.hpp \
124 UIElements/Views/QT4/QTWorldView.hpp \
125 UIElements/Views/QT4/GLMoleculeView.hpp \
126 UIElements/Views/QT4/QTMoleculeView.hpp \
127 UIElements/Views/QT4/QTStatusBar.hpp
128
129QTUISOURCE = allmocs.moc.cpp \
130 UIElements/QT4/QTMainWindow.cpp \
131 UIElements/QT4/QTDialog.cpp \
132 UIElements/QT4/QTUIFactory.cpp \
133 UIElements/Menu/QT4/QTMenu.cpp \
134 UIElements/Views/QT4/QTWorldView.cpp \
135 UIElements/Views/QT4/GLMoleculeView.cpp \
136 UIElements/Views/QT4/QTMoleculeView.cpp \
137 UIElements/Views/QT4/QTStatusBar.cpp
138
139QTUIHEADER = ${QTUIMOC_HEADER} UIElements/QT4/QTUIFactory.hpp
140
141QTUI_DEFS =
142
143TESSELATIONSOURCE = \
144 BoundaryLineSet.cpp \
145 BoundaryPointSet.cpp \
146 BoundaryPolygonSet.cpp \
147 BoundaryTriangleSet.cpp \
148 CandidateForTesselation.cpp \
149 PointCloud.cpp \
150 tesselation.cpp \
151 tesselationhelpers.cpp \
152 TesselPoint.cpp
153
154TESSELATIONHEADER = \
155 BoundaryLineSet.hpp \
156 BoundaryPointSet.hpp \
157 BoundaryPolygonSet.hpp \
158 BoundaryTriangleSet.hpp \
159 CandidateForTesselation.hpp \
160 PointCloud.hpp \
161 tesselation.hpp \
162 tesselationhelpers.hpp \
163 TesselPoint.hpp
164
165MOLECUILDERSOURCE = \
166 ${ANALYSISSOURCE} \
167 ${ACTIONSSOURCE} \
168 ${ATOMSOURCE} \
169 ${PATTERNSOURCE} \
170 ${SHAPESOURCE} \
171 ${DESCRIPTORSOURCE} \
172 ${THERMOSTATSOURCE} \
173 ${TESSELATIONSOURCE} \
174 bond.cpp \
175 bondgraph.cpp \
176 boundary.cpp \
177 Box.cpp \
178 CommandLineParser.cpp \
179 config.cpp \
180 ConfigFileBuffer.cpp \
181 defs.cpp \
182 element.cpp \
183 elements_db.cpp \
184 ellipsoid.cpp \
185 Formula.cpp \
186 graph.cpp \
187 leastsquaremin.cpp \
188 linkedcell.cpp \
189 moleculelist.cpp \
190 molecule.cpp \
191 molecule_dynamics.cpp \
192 molecule_fragmentation.cpp \
193 molecule_geometry.cpp \
194 molecule_graph.cpp \
195 molecule_pointcloud.cpp \
196 parser.cpp \
197 periodentafel.cpp \
198 ThermoStatContainer.cpp \
199 triangleintersectionlist.cpp \
200 UIElements/UIFactory.cpp \
201 World.cpp
202
203MOLECUILDERHEADER = \
204 ${ANALYSISHEADER} \
205 ${ACTIONSHEADER} \
206 ${ATOMHEADER} \
207 ${PATTERNHEADER} \
208 ${SHAPEHEADER} \
209 ${DESCRIPTORHEADER} \
210 ${THERMOSTATHEADER} \
211 ${TESSELATIONHEADER} \
212 bond.hpp \
213 bondgraph.hpp \
214 boundary.hpp \
215 Box.hpp \
216 CommandLineParser.hpp \
217 config.hpp \
218 ConfigFileBuffer.hpp \
219 defs.hpp \
220 element.hpp \
221 elements_db.hpp \
222 ellipsoid.hpp \
223 Formula.hpp \
224 graph.hpp \
225 leastsquaremin.hpp \
226 linkedcell.hpp \
227 lists.hpp \
228 molecule.hpp \
229 molecule_template.hpp \
230 parser.hpp \
231 periodentafel.hpp \
232 stackclass.hpp \
233 ThermoStatContainer.hpp \
234 triangleintersectionlist.hpp \
235 UIElements/UIFactory.hpp \
236 World.hpp
237
238lib_LTLIBRARIES = libMolecuilder-@MOLECUILDER_API_VERSION@.la
239libMolecuilder_includedir = $(includedir)/molecuilder-$(MOLECUILDER_API_VERSION)/Actions/
240libMolecuilder_LIBS = \
241 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
242 ${BOOST_PROGRAM_OPTIONS_LIB}
243
244# UIElements/libMolecuilderUI.a \
245 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
246 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
247 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
248 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
249 $(BOOST_LIB) \
250 ${BOOST_THREAD_LIB}
251
252nobase_libMolecuilder_include_HEADERS = ${MOLECUILDERHEADER}
253
254## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
255## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
256## will therefore be treated as if it were literally part of the target name,
257## and the variable name derived from that.
258## The file extension .cc is recognized by Automake, and makes it produce
259## rules which invoke the C++ compiler to produce a libtool object file (.lo)
260## from each source file. Note that it is not necessary to list header files
261## which are already listed elsewhere in a _HEADERS variable assignment.
262libMolecuilder_@MOLECUILDER_API_VERSION@_la_SOURCES = ${MOLECUILDERSOURCE} $(srcdir)/version.c
263
264## Instruct libtool to include ABI version information in the generated shared
265## library file (.so). The library ABI version is defined in configure.ac, so
266## that all version information is kept in one place.
267libMolecuilder_@MOLECUILDER_API_VERSION@_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
268
269## The generated configuration header is installed in its own subdirectory of
270## $(libdir). The reason for this is that the configuration information put
271## into this header file describes the target platform the installed library
272## has been built for. Thus the file must not be installed into a location
273## intended for architecture-independent files, as defined by the Filesystem
274## Hierarchy Standard (FHS).
275## The nodist_ prefix instructs Automake to not generate rules for including
276## the listed files in the distribution on 'make dist'. Files that are listed
277## in _HEADERS variables are normally included in the distribution, but the
278## configuration header file is generated at configure time and should not be
279## shipped with the source tarball.
280libMolecuilder_libincludedir = $(libdir)/molecuilder-$(MOLECUILDER_API_VERSION)/include
281nodist_libMolecuilder_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
282
283## Install the generated pkg-config file (.pc) into the expected location for
284## architecture-dependent package configuration information. Occasionally,
285## pkg-config files are also used for architecture-independent data packages,
286## in which case the correct install location would be $(datadir)/pkgconfig.
287pkgconfigdir = $(libdir)/pkgconfig
288pkgconfig_DATA = $(top_builddir)/molecuilder-$(MOLECUILDER_API_VERSION).pc
289
290
291BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
292GUI_LIBS = ${QT_LDADD} ${QT_LIB_GUI} -lQtOpenGL ${GLU_LIBS}
293INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements
294
295noinst_LIBRARIES = libmenu.a
296bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
297EXTRA_PROGRAMS = unity
298
299molecuilderdir = ${bindir}
300
301libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
302
303molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
304
305molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
306#molecuilder_CXXFLAGS += -DNO_CACHING
307molecuilder_LDFLAGS = $(BOOST_LIB)
308molecuilder_SOURCES = builder.cpp
309molecuilder_LDADD = \
310 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
311 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
312 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
313 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
314 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
315 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
316 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
317 $(BOOST_LIB) \
318 ${BOOST_THREAD_LIB} \
319 ${BOOST_PROGRAM_OPTIONS_LIB}
320
321
322#Stuff for building the GUI using QT
323molecuildergui_SOURCES = ${QTUISOURCE} builder.cpp
324molecuildergui_CXXFLAGS = ${QT_CXXFLAGS} ${GLU_CXXFLAGS} -DUSE_GUI_QT
325molecuildergui_LDFLAGS = $(BOOST_LIB) ${QT_LDFLAGS} ${GLU_LDFLAGS}
326
327unity_SOURCES = unity.cpp
328unity_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
329
330molecuildergui_LDADD = \
331 UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
332 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
333 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
334 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
335 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
336 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
337 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
338 $(BOOST_LIB) \
339 ${BOOST_THREAD_LIB} \
340 ${BOOST_PROGRAM_OPTIONS_LIB} \
341 ${GUI_LIBS}
342
343joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
344joiner_LDADD = \
345 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
346 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
347 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
348 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
349 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
350 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
351 $(BOOST_LIB) \
352 ${BOOST_THREAD_LIB} \
353 ${BOOST_PROGRAM_OPTIONS_LIB}
354
355analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
356analyzer_LDADD = \
357 Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
358 libMolecuilder-@MOLECUILDER_API_VERSION@.la \
359 Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la \
360 LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
361 Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
362 Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
363 $(BOOST_LIB) \
364 ${BOOST_THREAD_LIB} \
365 ${BOOST_PROGRAM_OPTIONS_LIB}
366
367#Rules needed for QT4
368# UI-Files are scattered throughout several subdirectories
369# Therfore `%'-rules do not seem to work
370#Quick fix to get it done otherwise
371allmocs.moc.cpp: ${QTUIMOC_HEADER}
372 echo "" > allmocs.moc.cpp;\
373 list='$(QTUIMOC_HEADER)'; for header in $$list; do \
374 echo "Making mocfile for $$header"; \
375 target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
376 $(MOC) $(srcdir)/$$header -o $$target \
377 || eval $$failcom; \
378 echo "#include \"$$target\"" >> allmocs.moc.cpp; \
379 done;
380
381#EXTRA_DIST = ${molecuilder_DATA}
382
383FORCE:
384$(srcdir)/.git-version: FORCE
385 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
386 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
387 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
388 mv -f .git-version-t $(srcdir)/.git-version; \
389 else \
390 rm -f .git-version-t; \
391 fi
392
393EXTRA_DIST = $(srcdir)/.git-version
394
395$(srcdir)/version.c: $(srcdir)/.git-version
396 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
397
398
399unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
400 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
401 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
402 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
403 done; \
404 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
405 olddir=$$PWD;\
406 cd $$directory && make unity.cpp;\
407 cd $$olddir;\
408 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
409 done;\
410 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
411 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
412
413MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
414
Note: See TracBrowser for help on using the repository browser.