source: src/Makefile.am@ 361805

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 361805 was 8453b3, checked in by Frederik Heber <heber@…>, 13 years ago

Exemplarily modified PairCorrelationAction.def to have specific validators.

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