comparison python/Makefile.am @ 196:ffd1503a7530

build proper python rpm subpackage
author Carl Byington <carl@five-ten-sg.com>
date Wed, 22 Apr 2009 13:52:18 -0700
parents 320cfcba8058
children 7c60d6d1c681
comparison
equal deleted inserted replaced
195:320cfcba8058 196:ffd1503a7530
2 NO_UNDEFINED = -no-undefined 2 NO_UNDEFINED = -no-undefined
3 else 3 else
4 NO_UNDEFINED = 4 NO_UNDEFINED =
5 endif 5 endif
6 6
7 lib_LTLIBRARIES = _libpst.la 7 pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages
8 _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -version-info @PYTHON_LIBPST_VERSION_INFO@ 8 pythonlib_LTLIBRARIES = _libpst.la
9 _libpst_la_SOURCES = python-libpst.cpp 9 _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version
10 _libpst_la_LIBADD = -lboost_python ../src/libpst.la 10 _libpst_la_SOURCES = python-libpst.cpp
11 _libpst_la_LIBADD = -lboost_python ../src/libpst.la
11 12
12 # set the include path found by configure 13 # set the include path found by configure
13 INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR) 14 INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR)