1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-20 01:42:25 +00:00
Files
libsearpc/pysearpc/Makefile.am

27 lines
736 B
Makefile
Raw Normal View History

2011-04-08 20:58:15 +08:00
EXTRA_DIST = pysearpc-demo-client.py
AM_CFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" \
-DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" \
-I$(top_srcdir) \
-I$(top_srcdir)/include \
@GLIB2_CFLAGS@ \
@PYGOBJECT_CFLAGS@ \
-I/usr/include/python$(PYTHON_VERSION)
if COMPILE_PYTHON
pkgpyexec_PYTHON = __init__.py client.py gen-dfun-macro.py
2011-04-08 20:58:15 +08:00
# generating the fcallfret module
pkgpyexec_LTLIBRARIES = fcallfret.la
2011-04-08 20:58:15 +08:00
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)/libsearpc.la
endif
2011-04-08 20:58:15 +08:00
CLEANFILES = fcallfret.h
fcallfret.c: gen-dfun-macro.py
python $< gen-searpcclient > fcallfret.h
.PHONY: fcallfret.c