1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-19 00:52:38 +00:00

Fix the install path of pysearpc

This commit is contained in:
plt
2011-05-19 00:18:51 +08:00
parent 674256ee3b
commit 9e170ce61e
2 changed files with 6 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@
genrpc_files = gencode.py rpc_table.py
dist_data_DATA = ${genrpc_files}
EXTRA_DIST = ${genrpc_files}
gensource: ${generated_sources}

View File

@@ -8,18 +8,20 @@ AM_CFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \
-I${top_builddir}/lib \
-I${top_srcdir}/lib
pkgpyexec_PYTHON = __init__.py client.py
pysearpcdir=${pyexecdir}/pysearpc
pysearpc_PYTHON = __init__.py client.py
BUILT_SOURCES = fcallfret.h
# generating the fcallfret module
pkgpyexec_LTLIBRARIES = fcallfret.la
pysearpc_LTLIBRARIES = fcallfret.la
fcallfret_la_LDFLAGS = -module -avoid-version -export-symbols-regex initfcallfret
fcallfret_la_SOURCES = fcallfret.c fcallfret.h
fcallfret_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ $(top_builddir)/lib/libsearpc.la
dist_data_DATA = ${genrpc_files}
EXTRA_DIST = ${genrpc_files}
fcallfret.h: ${genrpc_files}
python pygencode.py > fcallfret.h