2004-02-04 18:02:55 +00:00
|
|
|
### assemble a list of programs we want to build and install
|
2001-08-21 20:16:48 +00:00
|
|
|
if GST_DISABLE_REGISTRY
|
|
|
|
GST_REGISTRY_SRC =
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_REGISTRY_SRC_V =
|
2001-08-21 20:16:48 +00:00
|
|
|
else
|
2002-01-04 19:46:40 +00:00
|
|
|
GST_REGISTRY_SRC = gst-register
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_REGISTRY_SRC_V = gst-register-@GST_MAJORMINOR@
|
2001-08-21 20:16:48 +00:00
|
|
|
endif
|
|
|
|
|
2001-10-17 10:21:27 +00:00
|
|
|
if GST_DISABLE_LOADSAVE
|
|
|
|
GST_LOADSAVE_SRC =
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_LOADSAVE_SRC_V =
|
2001-10-17 10:21:27 +00:00
|
|
|
else
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_LOADSAVE_SRC = gst-complete gst-compprep gst-xmllaunch
|
|
|
|
GST_LOADSAVE_SRC_V = \
|
|
|
|
gst-complete-@GST_MAJORMINOR@ \
|
|
|
|
gst-compprep-@GST_MAJORMINOR@ \
|
|
|
|
gst-xmllaunch-@GST_MAJORMINOR@
|
2001-10-17 10:21:27 +00:00
|
|
|
endif
|
|
|
|
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_OTHER_SRC = \
|
2004-02-11 12:48:09 +00:00
|
|
|
gst-feedback \
|
2004-02-04 18:02:55 +00:00
|
|
|
gst-inspect \
|
|
|
|
gst-launch \
|
|
|
|
gst-md5sum \
|
|
|
|
gst-typefind \
|
|
|
|
gst-xmlinspect
|
|
|
|
GST_OTHER_SRC_V = \
|
|
|
|
gst-inspect-@GST_MAJORMINOR@ \
|
|
|
|
gst-launch-@GST_MAJORMINOR@ \
|
|
|
|
gst-md5sum-@GST_MAJORMINOR@ \
|
|
|
|
gst-typefind-@GST_MAJORMINOR@ \
|
|
|
|
gst-xmlinspect-@GST_MAJORMINOR@
|
|
|
|
|
|
|
|
### so all of the programs we want to build
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
$(GST_REGISTRY_SRC) $(GST_REGISTRY_SRC_V) \
|
|
|
|
$(GST_LOADSAVE_SRC) $(GST_LOADSAVE_SRC_V) \
|
|
|
|
$(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
|
2004-02-11 12:48:09 +00:00
|
|
|
bin_SCRIPTS = gst-feedback-@GST_MAJORMINOR@
|
2004-02-04 18:02:55 +00:00
|
|
|
|
2004-03-02 10:38:40 +00:00
|
|
|
# make sure each versioned tool has the right source file and flags
|
2004-02-04 18:02:55 +00:00
|
|
|
if !GST_DISABLE_REGISTRY
|
|
|
|
gst_register_@GST_MAJORMINOR@_SOURCES = gst-register.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_register_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_register_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
endif
|
|
|
|
if !GST_DISABLE_LOADSAVE
|
|
|
|
gst_complete_@GST_MAJORMINOR@_SOURCES = gst-complete.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_complete_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_complete_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_compprep_@GST_MAJORMINOR@_SOURCES = gst-compprep.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_compprep_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_compprep_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
endif
|
|
|
|
gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_inspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_launch_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_md5sum_@GST_MAJORMINOR@_SOURCES = gst-md5sum.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_md5sum_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_md5sum_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_typefind_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-12 16:49:16 +00:00
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-xmlinspect.c
|
2004-03-02 10:38:40 +00:00
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_CFLAGS = $(GST_CFLAGS)
|
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
|
2004-03-09 17:50:43 +00:00
|
|
|
gst-feedback-@GST_MAJORMINOR@: gst-feedback-m.m
|
|
|
|
cp $(srcdir)/gst-feedback-m.m $@
|
|
|
|
chmod +x $@
|
|
|
|
|
2004-02-04 18:02:55 +00:00
|
|
|
# make sure each unversioned tool comes from gst-run.c
|
|
|
|
if !GST_DISABLE_REGISTRY
|
|
|
|
gst_register_SOURCES = gst-run.c
|
|
|
|
endif
|
|
|
|
if !GST_DISABLE_LOADSAVE
|
|
|
|
gst_complete_SOURCES = gst-run.c
|
|
|
|
gst_compprep_SOURCES = gst-run.c
|
|
|
|
gst_xmllaunch_SOURCES = gst-run.c
|
|
|
|
endif
|
2004-02-11 12:48:09 +00:00
|
|
|
gst_feedback_SOURCES = gst-run.c
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_inspect_SOURCES = gst-run.c
|
|
|
|
gst_launch_SOURCES = gst-run.c
|
|
|
|
gst_md5sum_SOURCES = gst-run.c
|
|
|
|
gst_typefind_SOURCES = gst-run.c
|
|
|
|
gst_xmlinspect_SOURCES = gst-run.c
|
|
|
|
|
|
|
|
gst_inspect_@GST_MAJORMINOR@_LDADD = ../libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
|
|
|
|
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_LDADD = ../libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
|
|
|
|
|
2004-03-02 10:38:40 +00:00
|
|
|
# CFLAGS and libs for nonversioned frontend binaries
|
|
|
|
AM_CFLAGS = $(GLIB_ONLY_CFLAGS) $(POPT_CFLAGS)
|
|
|
|
LDADD = $(GLIB_ONLY_LIBS) $(POPT_LIBS)
|
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
### man pages we want to install
|
|
|
|
if GST_DISABLE_REGISTRY
|
|
|
|
GST_REGISTRY_MAN=
|
2004-02-12 12:13:51 +00:00
|
|
|
else
|
|
|
|
GST_REGISTRY_MAN = gst-register-@GST_MAJORMINOR@.1
|
2004-02-04 18:27:39 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if GST_DISABLE_LOADSAVE
|
2004-02-12 12:13:51 +00:00
|
|
|
GST_LOADSAVE_MAN=
|
|
|
|
else
|
2004-02-04 18:27:39 +00:00
|
|
|
GST_LOADSAVE_MAN = \
|
|
|
|
gst-complete-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-compprep-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-xmllaunch-@GST_MAJORMINOR@.1
|
|
|
|
endif
|
|
|
|
|
|
|
|
GST_OTHER_MAN = \
|
2004-02-11 12:48:09 +00:00
|
|
|
gst-feedback-@GST_MAJORMINOR@.1 \
|
2004-02-04 18:27:39 +00:00
|
|
|
gst-inspect-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-launch-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-md5sum-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-typefind-@GST_MAJORMINOR@.1
|
|
|
|
# gst-xmlinspect-@GST_MAJORMINOR@.1
|
|
|
|
|
|
|
|
manpages = $(GST_REGISTRY_MAN) $(GST_LOADSAVE_MAN) $(GST_OTHER_MAN)
|
|
|
|
|
2004-03-09 17:50:43 +00:00
|
|
|
CLEANFILES = $(manpages) $(bin_SCRIPTS)
|
2004-02-04 18:27:39 +00:00
|
|
|
man_MANS = $(manpages)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
gst-complete.1.in \
|
|
|
|
gst-compprep.1.in \
|
|
|
|
gst-feedback.1.in \
|
|
|
|
gst-inspect.1.in \
|
|
|
|
gst-launch.1.in \
|
|
|
|
gst-md5sum.1.in \
|
|
|
|
gst-register.1.in \
|
2004-02-04 19:09:08 +00:00
|
|
|
gst-typefind.1.in \
|
2004-02-04 18:27:39 +00:00
|
|
|
gst-xmllaunch.1.in \
|
2004-03-09 17:50:43 +00:00
|
|
|
gst-feedback-m.m
|
2000-08-28 20:20:55 +00:00
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
%-@GST_MAJORMINOR@.1: %.1.in
|
2003-08-15 20:25:40 +00:00
|
|
|
sed \
|
2004-02-04 18:27:39 +00:00
|
|
|
-e s,gst-complete,gst-complete-@GST_MAJORMINOR@,g \
|
|
|
|
-e s,gst-compprep,gst-compprep-@GST_MAJORMINOR@,g \
|
|
|
|
-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-register,gst-register-@GST_MAJORMINOR@,g \
|
2004-02-11 12:48:09 +00:00
|
|
|
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
2004-02-04 18:27:39 +00:00
|
|
|
-e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
|
2003-08-15 20:25:40 +00:00
|
|
|
$< >$@
|