source: src/Makefile.am@ 2fadb6f

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

Helpers now reside in own convenience library.

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