mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
4c254ffe3f
Original commit message from CVS: * gst/gst.override (_wrap_gst_g_error_tp_str) (_wrap_gst_g_error_tp_str): Impl. * gst/gst-types.defs (GError): Add * gst/Makefile.am (defs_DATA): Install defs * codegen/*: Resync
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
|
|
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
|
|
|
|
pkgpythondir = $(pythondir)/gst
|
|
pkgpyexecdir = $(pyexecdir)/gst
|
|
|
|
pygstdir = $(pkgpythondir)
|
|
pygst_PYTHON = __init__.py
|
|
|
|
# Backwards comptibility
|
|
pygstreamerdir = $(pythondir)
|
|
pygstreamer_PYTHON = gstreamer.py
|
|
|
|
pygstexecdir = $(pkgpyexecdir)
|
|
|
|
GST_OVERRIDES = gst.override gstpad-handlers.override
|
|
|
|
pygstexec_LTLIBRARIES = _gstmodule.la
|
|
_gstmodule_la_SOURCES = gstmodule.c gst-types.c
|
|
|
|
_gstmodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
|
|
_gstmodule_la_LIBADD = $(GST_LIBS)
|
|
_gstmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gst
|
|
nodist__gstmodule_la_SOURCES = gst.c
|
|
|
|
defs_DATA = \
|
|
gst.defs \
|
|
gst-types.defs
|
|
defsdir = $(pkgdatadir)/2.0/defs
|
|
|
|
CLEANFILES = gst.c
|
|
EXTRA_DIST = $(defs_DATA) $(GST_OVERRIDES) arg-types.py
|
|
|
|
gst.c: $(srcdir)/gst.defs $(srcdir)/gst-types.defs $(GST_OVERRIDES)
|
|
(cd $(srcdir)\
|
|
&& $(PYGTK_CODEGEN) \
|
|
--load-types $(srcdir)/arg-types.py \
|
|
--register $(srcdir)/gst-types.defs \
|
|
--override $*.override \
|
|
--prefix py$* $*.defs) > gen-$*.c \
|
|
&& cp gen-$*.c $*.c \
|
|
&& rm -f gen-$*.c
|
|
|