view python/Makefile.am @ 283:6a9f92d4e449 stable-0-6-52

prep for fedora build
author Carl Byington <carl@five-ten-sg.com>
date Sun, 22 May 2011 16:58:34 -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