gstreamer/tools/Makefile.am
Tim-Philipp Müller accfb89ea8 tools: remove unversioned gst-launch, gst-inspect and gst-typefind
The unversioned tool wrappers are confusing and annoying for packagers,
users and developers alike. A gst-launch pipeline that works in 0.10
will likely not work in 0.11 (e.g. because elements or properties get
renamed, or syntax changes). The unversioned tools also yield useless
results when used with gdb or valgrind. Packagers need to co-ordinate
the packaging of all major versions to make sure there are no conflicts
when both try to install the same files. When two major versions are
in use (e.g. 0.10 and 0.11/1.0), it may be unclear (when looking at
things on IRC/pastebin/mailing list etc.) which version is actually
being used when there are unversioned wrappers. For all these reasons,
it seems best to just remove them for now.
2011-06-05 14:20:25 +01:00

68 lines
2 KiB
Makefile

bin_PROGRAMS = \
gst-inspect-@GST_MAJORMINOR@ \
gst-typefind-@GST_MAJORMINOR@
gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c tools.h
gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_inspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c tools.h
gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_typefind_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
if !GST_DISABLE_PARSE
bin_PROGRAMS += gst-launch-@GST_MAJORMINOR@
gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
gst_launch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
endif
Android.mk: Makefile.am
androgenizer -:PROJECT gstreamer \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:EXECUTABLE gst-inspect-@GST_MAJORMINOR@ -:TAGS eng debug \
-:SOURCES $(gst_inspect_@GST_MAJORMINOR@_SOURCES) \
-:CFLAGS $(DEFS) $(gst_inspect_@GST_MAJORMINOR@_CFLAGS) \
-:LDFLAGS $(gst_inspect_@GST_MAJORMINOR@_LDADD) \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
-:EXECUTABLE gst-launch-@GST_MAJORMINOR@ -:TAGS eng debug \
-:SOURCES $(gst_launch_@GST_MAJORMINOR@_SOURCES) \
-:CFLAGS $(DEFS) $(gst_launch_@GST_MAJORMINOR@_CFLAGS) \
-:LDFLAGS $(gst_launch_@GST_MAJORMINOR@_LDADD) \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
> $@
manpages = \
gst-inspect-@GST_MAJORMINOR@.1 \
gst-typefind-@GST_MAJORMINOR@.1
if !GST_DISABLE_PARSE
manpages += gst-launch-@GST_MAJORMINOR@.1
endif
CLEANFILES = $(manpages) *.gcno *.gcda
man_MANS = $(manpages)
# developer helper tools, not meant for installation
noinst_SCRIPTS = gst-indent
noinst_HEADERS = tools.h
EXTRA_DIST = \
$(noinst_SCRIPTS) \
gst-inspect.1.in \
gst-launch.1.in \
gst-typefind.1.in \
gst-plot-timeline.py
%-@GST_MAJORMINOR@.1: %.1.in
$(AM_V_GEN)sed \
-e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
-e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
-e s,GST_MAJORMINOR,@GST_MAJORMINOR@,g \
$< >$@