mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
a8a9c7e9d5
Original commit message from CVS: add boxed types adapt to boxed types remove obsoleted code
42 lines
1.5 KiB
Makefile
42 lines
1.5 KiB
Makefile
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
|
|
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
|
|
|
|
pygstreamerdir = $(pythondir)/gstreamer
|
|
pygstreamer_PYTHON = __init__.py
|
|
|
|
pygstreamerexecdir = $(pyexecdir)/gstreamer
|
|
|
|
# gstreamer binding
|
|
|
|
pyexec_LTLIBRARIES = _gstreamermodule.la
|
|
_gstreamermodule_la_SOURCES = gstreamermodule.c gstreamer-fixes.c gstreamer-fixes.h
|
|
_gstreamermodule_la_CFLAGS = $(GST_CFLAGS)
|
|
_gstreamermodule_la_LIBADD = $(GST_LIBS)
|
|
_gstreamermodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initgstreamer
|
|
nodist__gstreamermodule_la_SOURCES = gstreamer.c
|
|
CLEANFILES = gstreamer.c gstreamer-base.defs
|
|
EXTRA_DIST = gstreamer-extra.defs gstreamer.override
|
|
gstreamer.c: gstreamer.defs gstreamer.override
|
|
|
|
GST_INCLUDES=$(wildcard $(GST_INCLUDEDIR)/gst/*.h)
|
|
|
|
gstreamer-base.defs: $(GST_INCLUDES)
|
|
$(PYTHON) $(PYGTK_H2DEF) $(GST_INCLUDES) > gstreamer-base.defs
|
|
|
|
gstreamer.defs: gstreamer-base.defs gstreamer-extra.defs $(top_srcdir)/gstreamer/gstreamer-arg-types.py
|
|
cat gstreamer-base.defs gstreamer-extra.defs > gstreamer.defs
|
|
|
|
.defs.c:
|
|
(cd $(srcdir) \
|
|
&& $(PYGTK_CODEGEN) \
|
|
--load-types $(top_srcdir)/gstreamer/gstreamer-arg-types.py \
|
|
--override $*.override \
|
|
--prefix py$* $*.defs) > gen-$*.c \
|
|
&& cp gen-$*.c $*.c \
|
|
&& rm -f gen-$*.c
|
|
|
|
# --register $(PYGTK_DEFSDIR)/pango-types.defs \
|
|
# --register $(PYGTK_DEFSDIR)/gdk-types.defs \
|
|
# --register $(PYGTK_DEFSDIR)/gtk-types.defs \
|
|
# --register $(top_srcdir)/bonobo/bonobo-types.defs \
|
|
# --register $(top_srcdir)/bonobo/bonoboui-types.defs \
|