source: src/Makefile.am@ 7adddc

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 7adddc was 0d57cbe, checked in by Frederik Heber <heber@…>, 13 years ago

Added Node and NodeSet for a position and a vector of Positions.

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