1 ### assemble a list of programs we want to build and install
7 GST_PARSE_SRC = gst-launch
8 GST_PARSE_SRC_V = gst-launch-@GST_MAJORMINOR@
16 gst-inspect-@GST_MAJORMINOR@ \
17 gst-typefind-@GST_MAJORMINOR@
19 ### so all of the programs we want to build
21 $(GST_PARSE_SRC) $(GST_PARSE_SRC_V) \
22 $(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
24 # make sure each versioned tool has the right source file and flags
26 gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
27 gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS) -UGST_DISABLE_DEPRECATED
28 gst_launch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
31 gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c tools.h
32 gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
33 gst_inspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
34 gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c tools.h
35 gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
36 gst_typefind_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
38 # make sure each unversioned tool comes from gst-run.c
40 gst_launch_SOURCES = gst-run.c
43 gst_inspect_SOURCES = gst-run.c
44 gst_typefind_SOURCES = gst-run.c
46 # CFLAGS and libs for nonversioned frontend binaries
47 AM_CFLAGS = $(GLIB_ONLY_CFLAGS)
48 LDADD = $(GLIB_ONLY_LIBS)
49 # due to depcomp not using AM_CFLAGS for rh9/yd3, we also set AM_CPPFLAGS
50 AM_CPPFLAGS = $(GLIB_ONLY_CFLAGS)
52 Android.mk: Makefile.am
53 androgenizer -:PROJECT gstreamer \
54 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
55 -:EXECUTABLE gst-inspect -:TAGS eng debug \
56 -:SOURCES $(gst_inspect_@GST_MAJORMINOR@_SOURCES) \
57 -:CFLAGS $(DEFS) $(gst_inspect_@GST_MAJORMINOR@_CFLAGS) \
58 -:LDFLAGS $(gst_inspect_@GST_MAJORMINOR@_LDADD) \
59 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
60 -:EXECUTABLE gst-launch -:TAGS eng debug \
61 -:SOURCES $(gst_launch_@GST_MAJORMINOR@_SOURCES) \
62 -:CFLAGS $(DEFS) $(gst_launch_@GST_MAJORMINOR@_CFLAGS) \
63 -:LDFLAGS $(gst_launch_@GST_MAJORMINOR@_LDADD) \
64 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
67 ### man pages we want to install
72 gst-launch-@GST_MAJORMINOR@.1
77 gst-inspect-@GST_MAJORMINOR@.1 \
78 gst-typefind-@GST_MAJORMINOR@.1
80 manpages = $(GST_PARSE_MAN) $(GST_OTHER_MAN)
82 CLEANFILES = $(manpages) *.gcno *.gcda
83 man_MANS = $(manpages)
85 # developer helper tools, not meant for installation
86 noinst_SCRIPTS = gst-indent
88 noinst_HEADERS = tools.h
97 %-@GST_MAJORMINOR@.1: %.1.in
99 -e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
100 -e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
101 -e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
102 -e s,GST_MAJORMINOR,@GST_MAJORMINOR@,g \