source: src/Makefile.am@ aa6c75

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

Moved linkedcell.[ch]pp and related files to folder src/LinkedCell.

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