source: src/Makefile.am@ 36f507

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

DISTFIX: Added missing header files to src/Makefile.am.

  • Property mode set to 100644
File size: 11.0 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 =
7
8include Actions/Makefile.am
9include Graph/Makefile.am
10include Parser/Makefile.am
11include RandomNumbers/Makefile.am
12include Shapes/Makefile.am
13include UIElements/Makefile.am
14
15AM_LDFLAGS = -ldl
16AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
17
18ATOMSOURCE = \
19 atom.cpp \
20 AtomicInfo.cpp \
21 atom_atominfo.cpp \
22 atom_bondedparticle.cpp \
23 atom_bondedparticleinfo.cpp \
24 atom_graphnode.cpp \
25 atom_graphnodeinfo.cpp \
26 atom_particleinfo.cpp
27ATOMHEADER = \
28 atom.hpp \
29 atom_atominfo.hpp \
30 atom_bondedparticle.hpp \
31 atom_bondedparticleinfo.hpp \
32 atom_graphnode.hpp \
33 atom_graphnodeinfo.hpp \
34 atom_particleinfo.hpp \
35 AtomicInfo.hpp \
36 AtomSet.hpp
37
38ANALYSISSOURCE = \
39 analysis_bonds.cpp \
40 analysis_correlation.cpp
41ANALYSISHEADER = \
42 analysis_bonds.hpp \
43 analysis_correlation.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
115HELPERSSOURCE = \
116 Helpers/defs.cpp
117
118HELPERSHEADER = \
119 Helpers/defs.hpp \
120 Helpers/helpers.hpp
121
122THERMOSTATSOURCE = \
123 Thermostats/Berendsen.cpp \
124 Thermostats/GaussianThermostat.cpp \
125 Thermostats/Langevin.cpp \
126 Thermostats/NoseHoover.cpp \
127 Thermostats/NoThermostat.cpp \
128 Thermostats/Thermostat.cpp \
129 Thermostats/Woodcock.cpp
130
131THERMOSTATHEADER = \
132 Thermostats/Berendsen.hpp \
133 Thermostats/GaussianThermostat.hpp \
134 Thermostats/Langevin.hpp \
135 Thermostats/NoseHoover.hpp \
136 Thermostats/NoThermostat.hpp \
137 Thermostats/Thermostat.hpp \
138 Thermostats/Woodcock.hpp
139
140TESSELATIONSOURCE = \
141 BoundaryLineSet.cpp \
142 BoundaryPointSet.cpp \
143 BoundaryPolygonSet.cpp \
144 BoundaryTriangleSet.cpp \
145 CandidateForTesselation.cpp \
146 tesselation.cpp \
147 tesselationhelpers.cpp \
148 TesselPoint.cpp
149
150TESSELATIONHEADER = \
151 BoundaryLineSet.hpp \
152 BoundaryMaps.hpp \
153 BoundaryPointSet.hpp \
154 BoundaryPolygonSet.hpp \
155 BoundaryTriangleSet.hpp \
156 CandidateForTesselation.hpp \
157 IPointCloud.hpp \
158 PointCloudAdaptor.hpp \
159 tesselation.hpp \
160 tesselationhelpers.hpp \
161 TesselPoint.hpp
162
163MOLECUILDERSOURCE = \
164 ${ANALYSISSOURCE} \
165 ${ATOMSOURCE} \
166 ${BONDSOURCE} \
167 ${DESCRIPTORSOURCE} \
168 ${DYNAMICSSOURCE} \
169 ${HELPERSSOURCE} \
170 ${THERMOSTATSOURCE} \
171 ${TESSELATIONSOURCE} \
172 boundary.cpp \
173 Box.cpp \
174 config.cpp \
175 ConfigFileBuffer.cpp \
176 element.cpp \
177 elements_db.cpp \
178 ellipsoid.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 parser.cpp \
188 periodentafel.cpp \
189 ThermoStatContainer.cpp \
190 triangleintersectionlist.cpp \
191 UIElements/UIFactory.cpp \
192 version.c \
193 World.cpp \
194 WorldTime.cpp
195
196MOLECUILDERHEADER = \
197 ${ANALYSISHEADER} \
198 ${ATOMHEADER} \
199 ${BONDHEADER} \
200 ${DESCRIPTORHEADER} \
201 ${DESCRIPTORIMPLHEADER} \
202 ${DYNAMICSHEADER} \
203 ${HELPERSHEADER} \
204 ${THERMOSTATHEADER} \
205 ${TESSELATIONHEADER} \
206 boundary.hpp \
207 Box.hpp \
208 config.hpp \
209 ConfigFileBuffer.hpp \
210 element.hpp \
211 elements_db.hpp \
212 ellipsoid.hpp \
213 Formula.hpp \
214 graph.hpp \
215 linkedcell.hpp \
216 molecule.hpp \
217 parser.hpp \
218 periodentafel.hpp \
219 ThermoStatContainer.hpp \
220 triangleintersectionlist.hpp \
221 types.hpp \
222 UIElements/UIFactory.hpp \
223 version.h \
224 World.hpp \
225 WorldTime.hpp
226
227noinst_LTLIBRARIES += libMolecuilder.la
228libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
229
230nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
231
232## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
233## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
234## will therefore be treated as if it were literally part of the target name,
235## and the variable name derived from that.
236## The file extension .cc is recognized by Automake, and makes it produce
237## rules which invoke the C++ compiler to produce a libtool object file (.lo)
238## from each source file. Note that it is not necessary to list header files
239## which are already listed elsewhere in a _HEADERS variable assignment.
240libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
241
242## Instruct libtool to include ABI version information in the generated shared
243## library file (.so). The library ABI version is defined in configure.ac, so
244## that all version information is kept in one place.
245#libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
246
247## The generated configuration header is installed in its own subdirectory of
248## $(libdir). The reason for this is that the configuration information put
249## into this header file describes the target platform the installed library
250## has been built for. Thus the file must not be installed into a location
251## intended for architecture-independent files, as defined by the Filesystem
252## Hierarchy Standard (FHS).
253## The nodist_ prefix instructs Automake to not generate rules for including
254## the listed files in the distribution on 'make dist'. Files that are listed
255## in _HEADERS variables are normally included in the distribution, but the
256## configuration header file is generated at configure time and should not be
257## shipped with the source tarball.
258libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
259nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
260
261## Install the generated pkg-config file (.pc) into the expected location for
262## architecture-dependent package configuration information. Occasionally,
263## pkg-config files are also used for architecture-independent data packages,
264## in which case the correct install location would be $(datadir)/pkgconfig.
265pkgconfigdir = $(libdir)/pkgconfig
266pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
267
268
269BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
270INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
271
272noinst_LIBRARIES = libmenu.a
273bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
274EXTRA_PROGRAMS = unity
275
276molecuilderdir = ${bindir}
277
278libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
279
280molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
281
282molecuilder_CXXFLAGS = $(BOOST_CPPFLAGS)
283#molecuilder_CXXFLAGS += -DNO_CACHING
284molecuilder_LDFLAGS = $(BOOST_LIB)
285molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
286molecuilder_LDADD = \
287 libMolecuilderUI.la \
288 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
289 ${CodePatterns_LIBS} \
290 $(BOOST_LIB)
291
292#Stuff for building the GUI using Qt
293molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
294molecuildergui_CXXFLAGS = $(BOOST_CPPFLAGS) -DUSE_GUI_QT
295molecuildergui_LDFLAGS = $(BOOST_LIB)
296molecuildergui_LDADD = \
297 libMolecuilderQtUI.la \
298 libMolecuilderUI.la \
299 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
300 ${CodePatterns_LIBS} \
301 $(BOOST_LIB) \
302 $(GUI_LIBS)
303
304joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
305joiner_LDADD = \
306 libMolecuilder.la \
307 libMolecuilderParser.la \
308 libMolecuilderShapes.la \
309 libMolecuilderRandomNumbers.la \
310 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
311 ${CodePatterns_LIBS} \
312 $(BOOST_LIB)
313
314analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
315analyzer_LDADD = \
316 libMolecuilder.la \
317 libMolecuilderParser.la \
318 libMolecuilderShapes.la \
319 libMolecuilderRandomNumbers.la \
320 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
321 ${CodePatterns_LIBS} \
322 $(BOOST_LIB)
323
324unity_SOURCES = unity.cpp
325unity_LDADD = $(BOOST_LIB)
326
327
328FORCE:
329$(srcdir)/.git-version: FORCE
330 @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
331 && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
332 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
333 mv -f .git-version-t $(srcdir)/.git-version; \
334 else \
335 rm -f .git-version-t; \
336 fi
337
338EXTRA_DIST = $(srcdir)/.git-version
339
340$(srcdir)/version.c: $(srcdir)/.git-version
341 echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
342
343
344unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
345 echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
346 list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
347 echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
348 done; \
349 subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
350 olddir=$$PWD;\
351 cd $$directory && make unity.cpp;\
352 cd $$olddir;\
353 echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
354 done;\
355 echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
356 echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
357
358MOSTLYCLEANFILES += unity.cpp
359
Note: See TracBrowser for help on using the repository browser.