tools: remove unversioned gst-launch, gst-inspect and gst-typefind
[platform/upstream/gstreamer.git] / tools / Makefile.am
1
2 bin_PROGRAMS = \
3         gst-inspect-@GST_MAJORMINOR@ \
4         gst-typefind-@GST_MAJORMINOR@
5
6 gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c tools.h
7 gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
8 gst_inspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
9
10 gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c tools.h
11 gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
12 gst_typefind_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
13
14 if !GST_DISABLE_PARSE
15 bin_PROGRAMS += gst-launch-@GST_MAJORMINOR@
16
17 gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
18 gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
19 gst_launch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
20 endif
21
22 Android.mk: Makefile.am
23         androgenizer -:PROJECT gstreamer \
24          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
25          -:EXECUTABLE gst-inspect-@GST_MAJORMINOR@ -:TAGS eng debug \
26          -:SOURCES $(gst_inspect_@GST_MAJORMINOR@_SOURCES) \
27          -:CFLAGS $(DEFS) $(gst_inspect_@GST_MAJORMINOR@_CFLAGS) \
28          -:LDFLAGS $(gst_inspect_@GST_MAJORMINOR@_LDADD) \
29          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
30          -:EXECUTABLE gst-launch-@GST_MAJORMINOR@ -:TAGS eng debug \
31          -:SOURCES $(gst_launch_@GST_MAJORMINOR@_SOURCES) \
32          -:CFLAGS $(DEFS) $(gst_launch_@GST_MAJORMINOR@_CFLAGS) \
33          -:LDFLAGS $(gst_launch_@GST_MAJORMINOR@_LDADD) \
34          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
35         > $@
36
37 manpages = \
38         gst-inspect-@GST_MAJORMINOR@.1 \
39         gst-typefind-@GST_MAJORMINOR@.1
40
41 if !GST_DISABLE_PARSE
42 manpages += gst-launch-@GST_MAJORMINOR@.1
43 endif
44
45 CLEANFILES = $(manpages) *.gcno *.gcda
46 man_MANS = $(manpages)
47
48 # developer helper tools, not meant for installation
49 noinst_SCRIPTS = gst-indent
50
51 noinst_HEADERS = tools.h
52
53 EXTRA_DIST = \
54         $(noinst_SCRIPTS) \
55         gst-inspect.1.in \
56         gst-launch.1.in \
57         gst-typefind.1.in \
58         gst-plot-timeline.py
59
60 %-@GST_MAJORMINOR@.1: %.1.in
61         $(AM_V_GEN)sed \
62                 -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
63                 -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
64                 -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
65                 -e s,GST_MAJORMINOR,@GST_MAJORMINOR@,g \
66                 $< >$@
67