source: src/Python/Makefile.am@ 7b1824

Candidate_v1.7.0 stable
Last change on this file since 7b1824 was 7b1824, checked in by Frederik Heber <frederik.heber@…>, 4 years ago

Exporting numpy getter/setter for positions, velocities, forces.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4PYTHONSOURCE = \
5 Python/exit.cpp \
6 Python/export_numpy.cpp \
7 Python/getBoundingBox.cpp \
8 Python/getDomainVolume.cpp \
9 Python/getGraph6String.cpp \
10 Python/getSelectedAtomElements.cpp \
11 Python/getSelectedAtomIds.cpp \
12 Python/getSelectedAtomPositions.cpp \
13 Python/getSelectedMolarMass.cpp \
14 Python/PythonScripting.cpp \
15 Python/reinit.cpp \
16 Python/wait.cpp
17
18PYTHONHEADER = \
19 Python/modules.hpp \
20 Python/PythonScripting_impl.hpp \
21 Python/PythonScripting.hpp
22
23pkgpython_PYTHON = \
24 Python/capture_c_contextmanager.py
25
26noinst_LTLIBRARIES += libMolecuilderPython.la
27libMolecuilderPython_la_includedir = $(includedir)/MoleCuilder/
28libMolecuilderPython_la_CPPFLAGS = $(AM_CPPFLAGS) $(BOOST_PYTHON_CPPFLAGS)
29libMolecuilderPython_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PYTHON_LDFLAGS)
30libMolecuilderPython_la_LIBADD = \
31 $(BOOST_PYTHON_LIBS) \
32 $(BOOST_PYTHON_LIB) \
33 ${CodePatterns_LIBS}
34
35nobase_libMolecuilderPython_la_include_HEADERS = ${PYTHONHEADER}
36
37## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
38## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
39## will therefore be treated as if it were literally part of the target name,
40## and the variable name derived from that.
41## The file extension .cc is recognized by Automake, and makes it produce
42## rules which invoke the C++ compiler to produce a libtool object file (.lo)
43## from each source file. Note that it is not necessary to list header files
44## which are already listed elsewhere in a _HEADERS variable assignment.
45libMolecuilderPython_la_SOURCES = ${PYTHONSOURCE}
46
47## Instruct libtool to include ABI version information in the generated shared
48## library file (.so). The library ABI version is defined in configure.ac, so
49## that all version information is kept in one place.
50#libMolecuilderPython_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
51
52## The generated configuration header is installed in its own subdirectory of
53## $(libdir). The reason for this is that the configuration information put
54## into this header file describes the target platform the installed library
55## has been built for. Thus the file must not be installed into a location
56## intended for architecture-independent files, as defined by the Filesystem
57## Hierarchy Standard (FHS).
58## The nodist_ prefix instructs Automake to not generate rules for including
59## the listed files in the distribution on 'make dist'. Files that are listed
60## in _HEADERS variables are normally included in the distribution, but the
61## configuration header file is generated at configure time and should not be
62## shipped with the source tarball.
63#libMolecuilderPython_libincludedir = $(libdir)/MoleCuilder/include
64#nodist_libMolecuilderPython_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
65
66## Install the generated pkg-config file (.pc) into the expected location for
67## architecture-dependent package configuration information. Occasionally,
68## pkg-config files are also used for architecture-independent data packages,
69## in which case the correct install location would be $(datadir)/pkgconfig.
70#pkgconfigdir = $(libdir)/pkgconfig
71#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
Note: See TracBrowser for help on using the repository browser.