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-03 09:45:42 +00:00
|
|
|
pygstreamerdir = $(pythondir)/$(MODULE)
|
2002-03-24 04:32:10 +00:00
|
|
|
pygstreamer_PYTHON = __init__.py
|
|
|
|
|
2004-02-03 09:45:42 +00:00
|
|
|
pygstreamerexecdir = $(pyexecdir)/$(MODULE)
|
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
|
|
|
|
|
|
|
pyexec_LTLIBRARIES = _gstreamermodule.la
|
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_la_SOURCES = \
|
|
|
|
gstreamermodule.c \
|
|
|
|
common.c common.h \
|
|
|
|
$(VERSOURCES)
|
2004-01-27 05:51:53 +00:00
|
|
|
_gstreamermodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
|
2002-03-24 04:32:10 +00:00
|
|
|
_gstreamermodule_la_LIBADD = $(GST_LIBS)
|
2003-10-09 20:01:30 +00:00
|
|
|
_gstreamermodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gstreamer
|
2002-03-24 04:32:10 +00:00
|
|
|
nodist__gstreamermodule_la_SOURCES = gstreamer.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-03 09:45:42 +00:00
|
|
|
CLEANFILES = $(MODULE).c h2def.defs $(MODULE).defs $(MODULE).override
|
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
|
|
|
EXTRA_DIST = $(GST_OVERRIDES) $(GST_DEFS) $(GST_CODE) arg-types.py
|
|
|
|
|
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
|
|
|
|
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
|
|
|
gstreamer.override: common.override $(GST_MAJORMINOR).override
|
|
|
|
cat $+ > $@
|
2002-06-17 02:01:54 +00:00
|
|
|
|
2004-02-03 09:45:42 +00:00
|
|
|
h2def.defs: $(GST_INCLUDES)
|
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
|
|
|
$(PYTHON) $(PYGTK_H2DEF) $(GST_INCLUDES) > $@
|
2002-06-17 02:01:54 +00:00
|
|
|
|
2004-02-03 09:45:42 +00:00
|
|
|
gstreamer.defs: h2def.defs common.defs $(GST_MAJORMINOR).defs
|
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
|
|
|
cat $+ > $@
|
|
|
|
|
2004-02-03 09:45:42 +00:00
|
|
|
gstreamer.c: $(MODULE).defs arg-types.py $(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
|