view python/Makefile.am @ 385:0917d53d78b3

Rename configure.in to configure.ac The old name was deprecated in 2013. See-also: https://lists.gnu.org/archive/html/automake/2013-05/msg00049.html Suggested-by: lintian, aclocal X: libpst source: deprecated-configure-filename aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
author Paul Wise <pabs3@bonedaddy.net>
date Sat, 21 Dec 2019 21:25:44 +0800
parents 5b3e7661adad
children
line wrap: on
line source

if PYTHON_INTERFACE

if PLATFORM_WIN32
    NO_UNDEFINED = -no-undefined
else
    NO_UNDEFINED =
endif

pythonlibdir            = $(libdir)/@PYTHON_VERSION@/site-packages
pythonlib_LTLIBRARIES   = _libpst.la
_libpst_la_LDFLAGS      = -module $(NO_UNDEFINED) -avoid-version
_libpst_la_SOURCES      = python-libpst.cpp
_libpst_la_LIBADD       = -l@BOOST_PYTHON_LIB@ ../src/libpst.la

# set the include path found by configure
INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR)

endif