GST_PARSE_SRC =
GST_PARSE_SRC_V =
else
-GST_PARSE_SRC = gst-launch gst-md5sum
-GST_PARSE_SRC_V = \
- gst-launch-@GST_MAJORMINOR@ \
- gst-md5sum-@GST_MAJORMINOR@
+GST_PARSE_SRC = gst-launch
+GST_PARSE_SRC_V = gst-launch-@GST_MAJORMINOR@
endif
# make sure each versioned tool has the right source file and flags
if !GST_DISABLE_LOADSAVE
-gst_xmllaunch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
-gst_xmllaunch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
-gst_xmllaunch_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
+gst_xmllaunch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
+gst_xmllaunch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS) -UGST_DISABLE_DEPRECATED
+gst_xmllaunch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
endif
if !GST_DISABLE_PARSE
-gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
-gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
-gst_launch_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
-gst_md5sum_@GST_MAJORMINOR@_SOURCES = gst-md5sum.c
-gst_md5sum_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
-gst_md5sum_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
+gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
+gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS) -UGST_DISABLE_DEPRECATED
+gst_launch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
endif
-gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c
+gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c tools.h
gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
-gst_inspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
-gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c
+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@_LDFLAGS = $(GST_OBJ_LIBS)
-gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-xmlinspect.c
+gst_typefind_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
+gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-xmlinspect.c tools.h
gst_xmlinspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
-gst_xmlinspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
+gst_xmlinspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
gst-feedback-@GST_MAJORMINOR@: gst-feedback-m.m
- cp $(srcdir)/gst-feedback-m.m $@
+ $(AM_V_GEN)cp $(srcdir)/gst-feedback-m.m $@ && \
chmod +x $@
# make sure each unversioned tool comes from gst-run.c
if !GST_DISABLE_PARSE
gst_launch_SOURCES = gst-run.c
-gst_md5sum_SOURCES = gst-run.c
endif
gst_feedback_SOURCES = gst-run.c
GST_PARSE_MAN=
else
GST_PARSE_MAN = \
- gst-launch-@GST_MAJORMINOR@.1 \
- gst-md5sum-@GST_MAJORMINOR@.1
+ gst-launch-@GST_MAJORMINOR@.1
endif
manpages = $(GST_LOADSAVE_MAN) $(GST_PARSE_MAN) $(GST_OTHER_MAN)
-CLEANFILES = $(manpages) $(bin_SCRIPTS)
+CLEANFILES = $(manpages) $(bin_SCRIPTS) *.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-feedback.1.in \
gst-inspect.1.in \
gst-launch.1.in \
- gst-md5sum.1.in \
gst-typefind.1.in \
gst-xmlinspect.1.in \
gst-xmllaunch.1.in \
- gst-feedback-m.m
+ gst-feedback-m.m \
+ gst-plot-timeline.py
%-@GST_MAJORMINOR@.1: %.1.in
- sed \
+ $(AM_V_GEN)sed \
-e s,gst-feedback,gst-feedback-@GST_MAJORMINOR@,g \
-e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
-e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
- -e s,gst-md5sum,gst-md5sum-@GST_MAJORMINOR@,g \
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
-e s,gst-xmlinspect,gst-xmlinspect-@GST_MAJORMINOR@,g \
-e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
+ -e s,GST_MAJORMINOR,@GST_MAJORMINOR@,g \
$< >$@