source: src/Makefile.am@ 22425a

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 22425a was a292f6, checked in by Frederik Heber <heber@…>, 13 years ago

DISTCHECKFIX: Forgot to add IdPool_policy.hpp to Makefile.am.

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