comparison python/Makefile.am @ 195:320cfcba8058

add python module interface to the shared library for easy scripting. the shared library must never write to stdout or stderr. fix pst_attach_to_mem so the caller does not need to initialize the buffer pointer.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 20 Apr 2009 19:39:26 -0700
parents
children ffd1503a7530
comparison
equal deleted inserted replaced
194:885b47107036 195:320cfcba8058
1 if PLATFORM_WIN32
2 NO_UNDEFINED = -no-undefined
3 else
4 NO_UNDEFINED =
5 endif
6
7 lib_LTLIBRARIES = _libpst.la
8 _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -version-info @PYTHON_LIBPST_VERSION_INFO@
9 _libpst_la_SOURCES = python-libpst.cpp
10 _libpst_la_LIBADD = -lboost_python ../src/libpst.la
11
12 # set the include path found by configure
13 INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR)