source: src/Makefile.am@ 9d4ff35

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 9d4ff35 was 3bdb6d, checked in by Frederik Heber <heber@…>, 13 years ago

Moved all stuff related to elements into own subfolder and has its own convenience library.

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