2011-04-08 20:58:15 +08:00
|
|
|
|
2011-05-18 17:24:34 +08:00
|
|
|
genrpc_files = pygencode.py rpc_table.py
|
2011-04-15 14:33:25 +08:00
|
|
|
|
2011-04-08 20:58:15 +08:00
|
|
|
AM_CFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \
|
|
|
|
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
|
2012-05-02 15:33:42 +08:00
|
|
|
@GLIB2_CFLAGS@ \
|
2011-04-15 14:33:25 +08:00
|
|
|
-I/usr/include/python$(PYTHON_VERSION) \
|
2011-05-18 17:24:34 +08:00
|
|
|
-I${top_builddir}/lib \
|
|
|
|
-I${top_srcdir}/lib
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2011-12-01 18:42:17 +08:00
|
|
|
|
2011-05-19 00:18:51 +08:00
|
|
|
pysearpcdir=${pyexecdir}/pysearpc
|
|
|
|
|
|
|
|
pysearpc_PYTHON = __init__.py client.py
|
2011-05-18 17:24:34 +08:00
|
|
|
|
|
|
|
BUILT_SOURCES = fcallfret.h
|
2011-04-08 20:58:15 +08:00
|
|
|
|
|
|
|
# generating the fcallfret module
|
2011-05-19 00:18:51 +08:00
|
|
|
pysearpc_LTLIBRARIES = fcallfret.la
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2012-03-19 21:54:13 +08:00
|
|
|
fcallfret_la_LDFLAGS = -module -avoid-version -export-symbols-regex initfcallfret -no-undefined @SERVER_PKG_RPATH@
|
2011-04-08 20:58:15 +08:00
|
|
|
fcallfret_la_SOURCES = fcallfret.c fcallfret.h
|
2011-09-18 22:36:29 +08:00
|
|
|
fcallfret_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ $(top_builddir)/lib/libsearpc.la @LIB_PYTHON@
|
2011-04-15 14:33:25 +08:00
|
|
|
|
2011-05-19 00:18:51 +08:00
|
|
|
EXTRA_DIST = ${genrpc_files}
|
2011-04-08 20:58:15 +08:00
|
|
|
|
2011-05-18 17:24:34 +08:00
|
|
|
fcallfret.h: ${genrpc_files}
|
|
|
|
python pygencode.py > fcallfret.h
|
2011-04-09 18:40:55 +08:00
|
|
|
|
2011-09-17 19:51:18 +08:00
|
|
|
rpc_table.py: ../lib/rpc_table.py
|
|
|
|
cp -f ../lib/rpc_table.py .
|
|
|
|
|
2012-03-19 21:54:13 +08:00
|
|
|
DISTCLEANFILES = fcallfret.h rpc_table.py
|