source: src/Makefile.am@ 15911c

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 15911c was 15911c, checked in by Frederik Heber <heber@…>, 14 years ago

Made some cstor of RandomNumber... protected.

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