source: src/Makefile.am@ 53d6b2

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

Moved unused function BreadthFirstSearchAdd and subfunctions into functor in Graph/

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