source: src/Makefile.am@ 025048

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 025048 was a9b86d, checked in by Frederik Heber <heber@…>, 13 years ago

Split up modules parser.[ch]pp into one module per class.

  • fixed inclusion of parser.hpp in some other files.
  • for the moment we have to use libMolecuilderUI for joiner and analyzer.
  • Removed inline definition from FixedDigitNumber().
  • Property mode set to 100644
File size: 11.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4MOSTLYCLEANFILES =
5lib_LTLIBRARIES =
6noinst_LTLIBRARIES =
7bin_PROGRAMS =
8
9include Actions/Makefile.am
10include Analysis/Makefile.am
11include Element/Makefile.am
12include Graph/Makefile.am
13include Helpers/Makefile.am
14include Fragmentation/Makefile.am
15include Parser/Makefile.am
16include RandomNumbers/Makefile.am
17include Shapes/Makefile.am
18include UIElements/Makefile.am
19
20AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
21AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
22
23ATOMSOURCE = \
24 atom.cpp \
25 AtomicInfo.cpp \
26 atom_atominfo.cpp \
27 atom_bondedparticle.cpp \
28 atom_bondedparticleinfo.cpp \
29 atom_graphnode.cpp \
30 atom_graphnodeinfo.cpp \
31 atom_observable.cpp \
32 atom_particleinfo.cpp
33ATOMHEADER = \
34 atom.hpp \
35 atom_atominfo.hpp \
36 atom_bondedparticle.hpp \
37 atom_bondedparticleinfo.hpp \
38 atom_graphnode.hpp \
39 atom_graphnodeinfo.hpp \
40 atom_observable.hpp \
41 atom_particleinfo.hpp \
42 AtomicInfo.hpp \
43 AtomSet.hpp
44
45BONDSOURCE = \
46 Bond/bond.cpp \
47 Bond/GraphEdge.cpp
48
49BONDHEADER = \
50 Bond/bond.hpp \
51 Bond/GraphEdge.hpp
52
53DESCRIPTORSOURCE = \
54 Descriptors/AtomDescriptor.cpp \
55 Descriptors/AtomIdDescriptor.cpp \
56 Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
57 Descriptors/AtomSelectionDescriptor.cpp \
58 Descriptors/AtomShapeDescriptor.cpp \
59 Descriptors/AtomTypeDescriptor.cpp \
60 Descriptors/MoleculeDescriptor.cpp \
61 Descriptors/MoleculeFormulaDescriptor.cpp \
62 Descriptors/MoleculeIdDescriptor.cpp \
63 Descriptors/MoleculeNameDescriptor.cpp \
64 Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
65 Descriptors/MoleculeOrderDescriptor.cpp \
66 Descriptors/MoleculePtrDescriptor.cpp \
67 Descriptors/MoleculeSelectionDescriptor.cpp
68
69
70DESCRIPTORHEADER = \
71 Descriptors/AtomDescriptor.hpp \
72 Descriptors/AtomIdDescriptor.hpp \
73 Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
74 Descriptors/AtomSelectionDescriptor.hpp \
75 Descriptors/AtomShapeDescriptor.hpp \
76 Descriptors/AtomTypeDescriptor.hpp \
77 Descriptors/DescriptorBase.hpp \
78 Descriptors/MoleculeDescriptor.hpp \
79 Descriptors/MoleculeFormulaDescriptor.hpp \
80 Descriptors/MoleculeIdDescriptor.hpp \
81 Descriptors/MoleculeNameDescriptor.hpp \
82 Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
83 Descriptors/MoleculeOrderDescriptor.hpp \
84 Descriptors/MoleculePtrDescriptor.hpp \
85 Descriptors/MoleculeSelectionDescriptor.hpp \
86 Descriptors/SelectiveIterator.hpp
87
88DESCRIPTORIMPLHEADER = \
89 Descriptors/AtomDescriptor_impl.hpp \
90 Descriptors/AtomIdDescriptor_impl.hpp \
91 Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
92 Descriptors/AtomSelectionDescriptor_impl.hpp \
93 Descriptors/AtomShapeDescriptor_impl.hpp \
94 Descriptors/AtomTypeDescriptor_impl.hpp \
95 Descriptors/DescriptorBase_impl.hpp \
96 Descriptors/MoleculeDescriptor_impl.hpp \
97 Descriptors/MoleculeFormulaDescriptor_impl.hpp \
98 Descriptors/MoleculeIdDescriptor_impl.hpp \
99 Descriptors/MoleculeNameDescriptor_impl.hpp \
100 Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
101 Descriptors/MoleculeOrderDescriptor_impl.hpp \
102 Descriptors/MoleculePtrDescriptor_impl.hpp \
103 Descriptors/MoleculeSelectionDescriptor_impl.hpp \
104 Descriptors/SelectiveIterator_impl.hpp
105
106DYNAMICSSOURCE = \
107 Dynamics/MinimiseConstrainedPotential.cpp
108
109DYNAMICSHEADER = \
110 Dynamics/LinearInterpolationBetweenSteps.hpp \
111 Dynamics/MinimiseConstrainedPotential.hpp \
112 Dynamics/OutputTemperature.hpp \
113 Dynamics/VerletForceIntegration.hpp
114
115THERMOSTATSOURCE = \
116 Thermostats/Berendsen.cpp \
117 Thermostats/GaussianThermostat.cpp \
118 Thermostats/Langevin.cpp \
119 Thermostats/NoseHoover.cpp \
120 Thermostats/NoThermostat.cpp \
121 Thermostats/Thermostat.cpp \
122 Thermostats/Woodcock.cpp
123
124THERMOSTATHEADER = \
125 Thermostats/Berendsen.hpp \
126 Thermostats/GaussianThermostat.hpp \
127 Thermostats/Langevin.hpp \
128 Thermostats/NoseHoover.hpp \
129 Thermostats/NoThermostat.hpp \
130 Thermostats/Thermostat.hpp \
131 Thermostats/Woodcock.hpp
132
133TESSELATIONSOURCE = \
134 Tesselation/boundary.cpp \
135 Tesselation/BoundaryLineSet.cpp \
136 Tesselation/BoundaryPointSet.cpp \
137 Tesselation/BoundaryPolygonSet.cpp \
138 Tesselation/BoundaryTriangleSet.cpp \
139 Tesselation/CandidateForTesselation.cpp \
140 Tesselation/ellipsoid.cpp \
141 Tesselation/tesselation.cpp \
142 Tesselation/tesselationhelpers.cpp \
143 Tesselation/TesselPoint.cpp \
144 Tesselation/triangleintersectionlist.cpp
145
146TESSELATIONHEADER = \
147 Tesselation/boundary.hpp \
148 Tesselation/BoundaryLineSet.hpp \
149 Tesselation/BoundaryMaps.hpp \
150 Tesselation/BoundaryPointSet.hpp \
151 Tesselation/BoundaryPolygonSet.hpp \
152 Tesselation/BoundaryTriangleSet.hpp \
153 Tesselation/CandidateForTesselation.hpp \
154 Tesselation/ellipsoid.hpp \
155 IPointCloud.hpp \
156 PointCloudAdaptor.hpp \
157 Tesselation/tesselation.hpp \
158 Tesselation/tesselationhelpers.hpp \
159 Tesselation/TesselPoint.hpp \
160 Tesselation/triangleintersectionlist.hpp
161
162MOLECUILDERSOURCE = \
163 ${ATOMSOURCE} \
164 ${BONDSOURCE} \
165 ${DESCRIPTORSOURCE} \
166 ${DYNAMICSSOURCE} \
167 ${THERMOSTATSOURCE} \
168 ${TESSELATIONSOURCE} \
169 Box.cpp \
170 config.cpp \
171 ConfigFileBuffer.cpp \
172 Formula.cpp \
173 graph.cpp \
174 linkedcell.cpp \
175 moleculelist.cpp \
176 molecule.cpp \
177 molecule_fragmentation.cpp \
178 molecule_geometry.cpp \
179 molecule_graph.cpp \
180 ThermoStatContainer.cpp \
181 UIElements/UIFactory.cpp \
182 version.c \
183 World.cpp \
184 WorldTime.cpp
185
186MOLECUILDERHEADER = \
187 ${ATOMHEADER} \
188 ${BONDHEADER} \
189 ${DESCRIPTORHEADER} \
190 ${DESCRIPTORIMPLHEADER} \
191 ${DYNAMICSHEADER} \
192 ${THERMOSTATHEADER} \
193 ${TESSELATIONHEADER} \
194 Box.hpp \
195 config.hpp \
196 ConfigFileBuffer.hpp \
197 Formula.hpp \
198 graph.hpp \
199 linkedcell.hpp \
200 molecule.hpp \
201 ThermoStatContainer.hpp \
202 types.hpp \
203 UIElements/UIFactory.hpp \
204 version.h \
205 World.hpp \
206 World_calculations.hpp \
207 WorldTime.hpp
208
209noinst_LTLIBRARIES += libMolecuilder.la
210libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
211
212nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
213
214## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
215## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
216## will therefore be treated as if it were literally part of the target name,
217## and the variable name derived from that.
218## The file extension .cc is recognized by Automake, and makes it produce
219## rules which invoke the C++ compiler to produce a libtool object file (.lo)
220## from each source file. Note that it is not necessary to list header files
221## which are already listed elsewhere in a _HEADERS variable assignment.
222libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
223
224## Instruct libtool to include ABI version information in the generated shared
225## library file (.so). The library ABI version is defined in configure.ac, so
226## that all version information is kept in one place.
227#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
228
229## The generated configuration header is installed in its own subdirectory of
230## $(libdir). The reason for this is that the configuration information put
231## into this header file describes the target platform the installed library
232## has been built for. Thus the file must not be installed into a location
233## intended for architecture-independent files, as defined by the Filesystem
234## Hierarchy Standard (FHS).
235## The nodist_ prefix instructs Automake to not generate rules for including
236## the listed files in the distribution on 'make dist'. Files that are listed
237## in _HEADERS variables are normally included in the distribution, but the
238## configuration header file is generated at configure time and should not be
239## shipped with the source tarball.
240libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
241nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
242
243## Install the generated pkg-config file (.pc) into the expected location for
244## architecture-dependent package configuration information. Occasionally,
245## pkg-config files are also used for architecture-independent data packages,
246## in which case the correct install location would be $(datadir)/pkgconfig.
247pkgconfigdir = $(libdir)/pkgconfig
248pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
249
250
251INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
252
253noinst_LIBRARIES = libmenu.a
254bin_PROGRAMS += molecuilder molecuildergui joiner analyzer
255EXTRA_PROGRAMS = unity
256
257molecuilderdir = ${bindir}
258
259libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
260
261molecuilder_DATA = Element/elements.db Element/valence.db Element/orbitals.db Element/Hbonddistance.db Element/Hbondangle.db
262
263molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
264#molecuilder_CXXFLAGS += -DNO_CACHING
265molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
266molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
267molecuilder_LDADD = \
268 libMolecuilderUI.la \
269 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
270 ${CodePatterns_LIBS} \
271 $(BOOST_THREAD_LIBS) \
272 $(BOOST_PROGRAM_OPTIONS_LIBS) \
273 $(BOOST_RANDOM_LIBS) \
274 $(BOOST_SYSTEM_LIBS) \
275 $(BOOST_FILESYSTEM_LIBS)
276
277#Stuff for building the GUI using Qt
278molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
279molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
280molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
281molecuildergui_LDADD = \
282 libMolecuilderQtUI.la \
283 libMolecuilderUI.la \
284 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
285 ${CodePatterns_LIBS} \
286 $(BOOST_THREAD_LIBS) \
287 $(BOOST_PROGRAM_OPTIONS_LIBS) \
288 $(BOOST_RANDOM_LIBS) \
289 $(BOOST_SYSTEM_LIBS) \
290 $(BOOST_FILESYSTEM_LIBS) \
291 $(GUI_LIBS)
292
293joiner_SOURCES = Fragmentation/joiner.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
294joiner_LDADD = \
295 libMolecuilderFragmentation.la \
296 libMolecuilderHelpers.la \
297 libMolecuilderElement.la \
298 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
299 ${CodePatterns_LIBS} \
300 $(BOOST_THREAD_LIBS)
301
302analyzer_SOURCES = Fragmentation/analyzer.cpp Fragmentation/datacreator.cpp Fragmentation/datacreator.hpp
303analyzer_LDADD = \
304 libMolecuilderFragmentation.la \
305 libMolecuilderHelpers.la \
306 libMolecuilderElement.la \
307 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
308 ${CodePatterns_LIBS} \
309 $(BOOST_THREAD_LIBS)
310
311unity_SOURCES = unity.cpp
312unity_LDADD = \
313 ${CodePatterns_LIBS} \
314 $(BOOST_THREAD_LIBS) \
315 $(BOOST_PROGRAM_OPTIONS_LIBS) \
316 $(BOOST_RANDOM_LIBS) \
317 $(BOOST_SYSTEM_LIBS) \
318 $(BOOST_FILESYSTEM_LIBS)
319
320
321FORCE:
322$(srcdir)/.git-version: FORCE
323 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
324 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
325 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
326 mv -f .git-version-t $(srcdir)/.git-version; \
327 else \
328 rm -f .git-version-t; \
329 fi
330
331EXTRA_DIST = $(srcdir)/.git-version $(molecuilder_DATA)
332
333$(srcdir)/version.c: $(srcdir)/.git-version
334 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
335
336
337unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
338 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
339 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
340 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
341 done; \
342 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
343 olddir=$$PWD;\
344 cd $$directory && make unity.cpp;\
345 cd $$olddir;\
346 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
347 done;\
348 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
349 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
350
351MOSTLYCLEANFILES += unity.cpp
352
Note: See TracBrowser for help on using the repository browser.