mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-24 19:20:08 +01:00
shared libraries (Bug#2494) * python/exceptions.py: bring exceptions over from the bindings so they can be used in applications (Bug#2036) Make all exceptions derive from DBusException * python/_dbus.py, python/proxies.py: implement __repr__ in a couple of classes so that print obj doesn't throw an exception (Bug #1685)
30 lines
945 B
Makefile
30 lines
945 B
Makefile
SUBDIRS=examples
|
|
|
|
INCLUDES=-I$(top_builddir) -I$(top_builddir)/dbus $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) $(DBUS_GLIB_TOOL_CFLAGS) $(PYTHON_INCLUDES)
|
|
|
|
dbusdir = $(pythondir)/dbus
|
|
dbus_PYTHON = __init__.py _dbus.py decorators.py exceptions.py services.py proxies.py _util.py types.py
|
|
|
|
dbusbindingsdir = $(pyexecdir)/dbus
|
|
dbusbindings_LTLIBRARIES = dbus_bindings.la
|
|
|
|
dbus_bindings_la_LDFLAGS = -module -avoid-version -fPIC -export-symbols-regex initdbus_bindings
|
|
dbus_bindings_la_LIBADD = $(top_builddir)/dbus/libdbus-1.la $(top_builddir)/glib/libdbus-glib-1.la
|
|
nodist_dbus_bindings_la_SOURCES = dbus_bindings.c
|
|
|
|
|
|
EXTRA_DIST = \
|
|
dbus_h_wrapper.h \
|
|
dbus_bindings.pyx.in \
|
|
extract.py
|
|
|
|
CLEANFILES = \
|
|
dbus_bindings.pyx \
|
|
dbus_bindings.c
|
|
|
|
|
|
dbus_bindings.pyx: dbus_bindings.pyx.in extract.py
|
|
-$(PYTHON) extract.py dbus_bindings.pyx.in -I$(top_builddir) > dbus_bindings.pyx
|
|
|
|
dbus_bindings.c: dbus_bindings.pyx
|
|
-pyrexc dbus_bindings.pyx
|