view python/Makefile.am @ 224:d9ba8fa961e7

fix ax_python as done in libtorrent
author Carl Byington <carl@five-ten-sg.com>
date Tue, 23 Jun 2009 16:08:39 -0700
parents 7c60d6d1c681
children 5b3e7661adad
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       = -lboost_python ../src/libpst.la

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

endif