source: src/Makefile.am@ bf4b9f

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

Moved LinearAlgebra from folder src/ into distinct sub-package.

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