source: src/Python/Makefile.am@ 13e5be

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

Adding NUMPY cppflags, ldflags, and libs.

  • Property mode set to 100644
File size: 3.3 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_NUMPY_LDFLAGS) $(BOOST_PYTHON_LDFLAGS)
30libMolecuilderPython_la_LIBADD = \
31 $(BOOST_NUMPY_LIBS) \
32 $(BOOST_PYTHON_LIBS) \
33 $(BOOST_PYTHON_LIB) \
34 ${CodePatterns_LIBS}
35
36nobase_libMolecuilderPython_la_include_HEADERS = ${PYTHONHEADER}
37
38## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
39## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
40## will therefore be treated as if it were literally part of the target name,
41## and the variable name derived from that.
42## The file extension .cc is recognized by Automake, and makes it produce
43## rules which invoke the C++ compiler to produce a libtool object file (.lo)
44## from each source file. Note that it is not necessary to list header files
45## which are already listed elsewhere in a _HEADERS variable assignment.
46libMolecuilderPython_la_SOURCES = ${PYTHONSOURCE}
47
48## Instruct libtool to include ABI version information in the generated shared
49## library file (.so). The library ABI version is defined in configure.ac, so
50## that all version information is kept in one place.
51#libMolecuilderPython_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
52
53## The generated configuration header is installed in its own subdirectory of
54## $(libdir). The reason for this is that the configuration information put
55## into this header file describes the target platform the installed library
56## has been built for. Thus the file must not be installed into a location
57## intended for architecture-independent files, as defined by the Filesystem
58## Hierarchy Standard (FHS).
59## The nodist_ prefix instructs Automake to not generate rules for including
60## the listed files in the distribution on 'make dist'. Files that are listed
61## in _HEADERS variables are normally included in the distribution, but the
62## configuration header file is generated at configure time and should not be
63## shipped with the source tarball.
64#libMolecuilderPython_libincludedir = $(libdir)/MoleCuilder/include
65#nodist_libMolecuilderPython_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
66
67## Install the generated pkg-config file (.pc) into the expected location for
68## architecture-dependent package configuration information. Occasionally,
69## pkg-config files are also used for architecture-independent data packages,
70## in which case the correct install location would be $(datadir)/pkgconfig.
71#pkgconfigdir = $(libdir)/pkgconfig
72#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
Note: See TracBrowser for help on using the repository browser.