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
|
|
|
|
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_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_LOADSAVE
|
|
|
|
gst_complete_@GST_MAJORMINOR@_SOURCES = gst-complete.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_complete_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_complete_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_compprep_@GST_MAJORMINOR@_SOURCES = gst-compprep.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_compprep_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_compprep_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_xmllaunch_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
endif
|
|
|
|
gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_inspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_launch_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_md5sum_@GST_MAJORMINOR@_SOURCES = gst-md5sum.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_md5sum_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_md5sum_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_typefind_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_LIBS)
|
2004-02-12 16:49:16 +00:00
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_SOURCES = gst-xmlinspect.c
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
|
|
gst_xmlinspect_@GST_MAJORMINOR@_LDFLAGS = $(GST_OBJ_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_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
|
|
|
|
|
2004-03-02 10:38:40 +00:00
|
|
|
# CFLAGS and libs for nonversioned frontend binaries
|
Merged in popt removal + GOption addition patch from Ronald, bug #169772.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
Merged in popt removal + GOption addition patch from Ronald, bug
#169772.
* docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
GstElement macros around, remove popt-related symbols, add goption
stuff.
* configure.ac: Remove popt checks, require GLib 2.6 for GOption.
* docs/gst/Makefile.am:
* docs/libs/Makefile.am: No POPT_CFLAGS.
* examples/manual/Makefile.am:
* docs/manual/basics-init.xml: Doc updates with an example.
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(gst_init), (parse_one_option), (parse_goption_arg):
* gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
bit of hand merging and debugging to get the GOption stuff working
tho.
* tests/Makefile.am:
* tools/Makefile.am:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-xmlinspect.c: (main): Thanks Ronald!
2005-10-10 15:53:59 +00:00
|
|
|
AM_CFLAGS = $(GLIB_ONLY_CFLAGS)
|
|
|
|
LDADD = $(GLIB_ONLY_LIBS)
|
2004-04-13 13:07:00 +00:00
|
|
|
# due to depcomp not using AM_CFLAGS for rh9/yd3, we also set AM_CPPFLAGS
|
Merged in popt removal + GOption addition patch from Ronald, bug #169772.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
Merged in popt removal + GOption addition patch from Ronald, bug
#169772.
* docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
GstElement macros around, remove popt-related symbols, add goption
stuff.
* configure.ac: Remove popt checks, require GLib 2.6 for GOption.
* docs/gst/Makefile.am:
* docs/libs/Makefile.am: No POPT_CFLAGS.
* examples/manual/Makefile.am:
* docs/manual/basics-init.xml: Doc updates with an example.
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(gst_init), (parse_one_option), (parse_goption_arg):
* gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
bit of hand merging and debugging to get the GOption stuff working
tho.
* tests/Makefile.am:
* tools/Makefile.am:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-xmlinspect.c: (main): Thanks Ronald!
2005-10-10 15:53:59 +00:00
|
|
|
AM_CPPFLAGS = $(GLIB_ONLY_CFLAGS)
|
2004-03-02 10:38:40 +00:00
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
### man pages we want to install
|
|
|
|
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 \
|
2004-07-04 23:36:29 +00:00
|
|
|
gst-typefind-@GST_MAJORMINOR@.1 \
|
|
|
|
gst-xmlinspect-@GST_MAJORMINOR@.1
|
2004-02-04 18:27:39 +00:00
|
|
|
|
2005-09-15 00:13:26 +00:00
|
|
|
manpages = $(GST_LOADSAVE_MAN) $(GST_OTHER_MAN)
|
2004-02-04 18:27:39 +00:00
|
|
|
|
2004-03-09 17:50:43 +00:00
|
|
|
CLEANFILES = $(manpages) $(bin_SCRIPTS)
|
2004-02-04 18:27:39 +00:00
|
|
|
man_MANS = $(manpages)
|
|
|
|
|
2004-03-15 18:20:03 +00:00
|
|
|
# developer helper tools, not meant for installation
|
|
|
|
noinst_SCRIPTS = gst-indent
|
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
EXTRA_DIST = \
|
2004-03-15 18:20:03 +00:00
|
|
|
$(noinst_SCRIPTS) \
|
2004-02-04 18:27:39 +00:00
|
|
|
gst-complete.1.in \
|
|
|
|
gst-compprep.1.in \
|
|
|
|
gst-feedback.1.in \
|
|
|
|
gst-inspect.1.in \
|
|
|
|
gst-launch.1.in \
|
|
|
|
gst-md5sum.1.in \
|
2004-02-04 19:09:08 +00:00
|
|
|
gst-typefind.1.in \
|
2004-07-04 23:36:29 +00:00
|
|
|
gst-xmlinspect.1.in \
|
2004-02-04 18:27:39 +00:00
|
|
|
gst-xmllaunch.1.in \
|
2004-03-15 18:22:45 +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 \
|
2004-02-11 12:48:09 +00:00
|
|
|
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
2004-07-04 23:36:29 +00:00
|
|
|
-e s,gst-xmlinspect,gst-xmlinspect-@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
|
|
|
$< >$@
|
2004-03-13 15:17:30 +00:00
|
|
|
|