1if PYTHON_INTERFACE 2 3if PLATFORM_WIN32 4 NO_UNDEFINED = -no-undefined 5else 6 NO_UNDEFINED = 7endif 8 9pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages 10pythonlib_LTLIBRARIES = _libpst.la 11_libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version 12_libpst_la_SOURCES = python-libpst.cpp 13_libpst_la_LIBADD = -l@BOOST_PYTHON_LIB@ ../src/libpst.la 14 15# set the include path found by configure 16INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR) 17 18endif 19