source: src/Python/Makefile.am@ 6b7765

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

Added small lib to capture stdout and stderr in jupyter.

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