2004-02-03 09:45:42 +00:00
|
|
|
MODULE = gstreamer
|
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
|
|
|
|
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
|
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pkgpythondir = $(pythondir)/gst
|
|
|
|
pkgpyexecdir = $(pyexecdir)/gst
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pygstdir = $(pkgpythondir)
|
|
|
|
pygst_PYTHON = __init__.py
|
|
|
|
|
|
|
|
# Backwards comptibility
|
|
|
|
pygstreamerdir = $(pythondir)
|
|
|
|
pygstreamer_PYTHON = gstreamer.py
|
|
|
|
|
|
|
|
pygstexecdir = $(pkgpyexecdir)
|
2002-03-24 04:32:10 +00:00
|
|
|
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
GST_OVERRIDES = common.override \
|
|
|
|
0.6.override \
|
|
|
|
0.7.override
|
|
|
|
GST_DEFS = common.defs \
|
|
|
|
0.6.defs \
|
|
|
|
0.7.defs
|
|
|
|
GST_CODE = common.c common.h \
|
|
|
|
0.6.c 0.6.h \
|
|
|
|
0.7.c 0.7.h
|
|
|
|
|
|
|
|
# Ugly hack to pick the proper version code.
|
|
|
|
# Just setting to $(GST_MAJORMINOR).{ch} will not work
|
|
|
|
if GST_0_6
|
|
|
|
VERSOURCES = 0.6.c 0.6.h
|
|
|
|
endif
|
|
|
|
if GST_0_7
|
|
|
|
VERSOURCES = 0.7.c 0.7.h
|
|
|
|
endif
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pygstexec_LTLIBRARIES = _gstmodule.la
|
|
|
|
_gstmodule_la_SOURCES = \
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
gstreamermodule.c \
|
|
|
|
common.c common.h \
|
|
|
|
$(VERSOURCES)
|
2004-02-23 18:19:38 +00:00
|
|
|
_gstmodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
|
|
|
|
_gstmodule_la_LIBADD = $(GST_LIBS)
|
|
|
|
_gstmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gst
|
2004-02-23 20:24:53 +00:00
|
|
|
nodist__gstmodule_la_SOURCES = $(MODULE).c
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
CLEANFILES = $(MODULE).c
|
|
|
|
EXTRA_DIST = $(MODULE).defs $(GST_OVERRIDES) $(GST_DEFS) $(GST_CODE) arg-types.py
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
|
2003-01-10 00:17:32 +00:00
|
|
|
GST_EXCLUDE_INCLUDES=\
|
|
|
|
$(GST_INCLUDEDIR)/gst/gstatomic_impl.h \
|
|
|
|
$(GST_INCLUDEDIR)/gst/gstcompat.h
|
2003-01-01 00:19:52 +00:00
|
|
|
GST_INCLUDES=$(filter-out $(GST_EXCLUDE_INCLUDES),$(wildcard $(GST_INCLUDEDIR)/gst/*.h))
|
2002-06-17 02:01:54 +00:00
|
|
|
|
2004-02-23 20:24:53 +00:00
|
|
|
gstreamer.c: $(srcdir)/$(MODULE).defs $(srcdir)/arg-types.py $(srcdir)/$(MODULE).override
|
2003-02-08 16:08:03 +00:00
|
|
|
$(PYGTK_CODEGEN) \
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
--load-types $(srcdir)/arg-types.py \
|
2004-02-03 09:45:42 +00:00
|
|
|
--override $(srcdir)/$(MODULE).override \
|
|
|
|
--prefix py$(MODULE) $(MODULE).defs > gen-$(MODULE).c \
|
|
|
|
&& cp gen-$(MODULE).c $(MODULE).c \
|
|
|
|
&& rm -f gen-$(MODULE).c
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
|
|
|
|
# --register $(PYGTK_DEFSDIR)/gtk-types.defs
|
|
|
|
# --register $(top_srcdir)/blah/blah-types.defs
|