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
|
|
|
|
2005-11-30 19:01:53 +00:00
|
|
|
if GST_DISABLE_PARSE
|
|
|
|
GST_PARSE_SRC =
|
|
|
|
GST_PARSE_SRC_V =
|
|
|
|
else
|
2006-03-21 14:41:58 +00:00
|
|
|
GST_PARSE_SRC = gst-launch
|
|
|
|
GST_PARSE_SRC_V = gst-launch-@GST_MAJORMINOR@
|
2005-11-30 19:01:53 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_OTHER_SRC = \
|
|
|
|
gst-inspect \
|
2011-06-04 13:28:08 +00:00
|
|
|
gst-typefind
|
2004-02-04 18:02:55 +00:00
|
|
|
GST_OTHER_SRC_V = \
|
|
|
|
gst-inspect-@GST_MAJORMINOR@ \
|
2011-06-04 13:28:08 +00:00
|
|
|
gst-typefind-@GST_MAJORMINOR@
|
2004-02-04 18:02:55 +00:00
|
|
|
|
|
|
|
### so all of the programs we want to build
|
|
|
|
bin_PROGRAMS = \
|
2005-11-30 19:01:53 +00:00
|
|
|
$(GST_PARSE_SRC) $(GST_PARSE_SRC_V) \
|
2004-02-04 18:02:55 +00:00
|
|
|
$(GST_OTHER_SRC) $(GST_OTHER_SRC_V)
|
|
|
|
|
2004-03-02 10:38:40 +00:00
|
|
|
# make sure each versioned tool has the right source file and flags
|
2005-11-30 19:01:53 +00:00
|
|
|
if !GST_DISABLE_PARSE
|
2006-05-05 17:07:42 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_SOURCES = gst-launch.c tools.h
|
2010-06-25 16:13:57 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS) -UGST_DISABLE_DEPRECATED
|
2010-04-08 08:14:24 +00:00
|
|
|
gst_launch_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
|
2005-11-30 19:01:53 +00:00
|
|
|
endif
|
|
|
|
|
2006-05-05 17:07:42 +00:00
|
|
|
gst_inspect_@GST_MAJORMINOR@_SOURCES = gst-inspect.c tools.h
|
2005-11-30 19:01:53 +00:00
|
|
|
gst_inspect_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
2010-04-08 08:14:24 +00:00
|
|
|
gst_inspect_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
|
2006-05-05 17:07:42 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_SOURCES = gst-typefind.c tools.h
|
2004-05-04 12:38:36 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_CFLAGS = $(GST_OBJ_CFLAGS)
|
2010-04-08 08:14:24 +00:00
|
|
|
gst_typefind_@GST_MAJORMINOR@_LDADD = $(GST_OBJ_LIBS)
|
2004-02-04 18:02:55 +00:00
|
|
|
|
|
|
|
# make sure each unversioned tool comes from gst-run.c
|
2005-11-30 19:01:53 +00:00
|
|
|
if !GST_DISABLE_PARSE
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_launch_SOURCES = gst-run.c
|
2005-11-30 19:01:53 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
gst_inspect_SOURCES = gst-run.c
|
2004-02-04 18:02:55 +00:00
|
|
|
gst_typefind_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
|
|
|
|
2011-01-27 13:33:08 +00:00
|
|
|
Android.mk: Makefile.am
|
|
|
|
androgenizer -:PROJECT gstreamer \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
|
|
-:EXECUTABLE gst-inspect -:TAGS eng debug \
|
|
|
|
-:SOURCES $(gst_inspect_@GST_MAJORMINOR@_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(gst_inspect_@GST_MAJORMINOR@_CFLAGS) \
|
|
|
|
-:LDFLAGS $(gst_inspect_@GST_MAJORMINOR@_LDADD) \
|
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
-:EXECUTABLE gst-launch -:TAGS eng debug \
|
|
|
|
-:SOURCES $(gst_launch_@GST_MAJORMINOR@_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(gst_launch_@GST_MAJORMINOR@_CFLAGS) \
|
|
|
|
-:LDFLAGS $(gst_launch_@GST_MAJORMINOR@_LDADD) \
|
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
> $@
|
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
### man pages we want to install
|
2005-11-30 19:01:53 +00:00
|
|
|
if GST_DISABLE_PARSE
|
|
|
|
GST_PARSE_MAN=
|
|
|
|
else
|
|
|
|
GST_PARSE_MAN = \
|
2006-03-21 14:41:58 +00:00
|
|
|
gst-launch-@GST_MAJORMINOR@.1
|
2005-11-30 19:01:53 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
GST_OTHER_MAN = \
|
|
|
|
gst-inspect-@GST_MAJORMINOR@.1 \
|
2011-06-04 13:28:08 +00:00
|
|
|
gst-typefind-@GST_MAJORMINOR@.1
|
2004-02-04 18:27:39 +00:00
|
|
|
|
2011-06-04 14:22:06 +00:00
|
|
|
manpages = $(GST_PARSE_MAN) $(GST_OTHER_MAN)
|
2004-02-04 18:27:39 +00:00
|
|
|
|
2011-06-04 13:22:05 +00:00
|
|
|
CLEANFILES = $(manpages) *.gcno *.gcda
|
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
|
|
|
|
|
2006-05-05 17:07:42 +00:00
|
|
|
noinst_HEADERS = tools.h
|
|
|
|
|
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-inspect.1.in \
|
|
|
|
gst-launch.1.in \
|
2004-02-04 19:09:08 +00:00
|
|
|
gst-typefind.1.in \
|
2006-08-23 18:53:44 +00:00
|
|
|
gst-plot-timeline.py
|
2000-08-28 20:20:55 +00:00
|
|
|
|
2004-02-04 18:27:39 +00:00
|
|
|
%-@GST_MAJORMINOR@.1: %.1.in
|
2010-02-26 15:03:47 +00:00
|
|
|
$(AM_V_GEN)sed \
|
2004-02-04 18:27:39 +00:00
|
|
|
-e s,gst-inspect,gst-inspect-@GST_MAJORMINOR@,g \
|
|
|
|
-e s,gst-launch,gst-launch-@GST_MAJORMINOR@,g \
|
2004-02-11 12:48:09 +00:00
|
|
|
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
2006-03-21 15:04:20 +00:00
|
|
|
-e s,GST_MAJORMINOR,@GST_MAJORMINOR@,g \
|
2003-08-15 20:25:40 +00:00
|
|
|
$< >$@
|
2004-03-13 15:17:30 +00:00
|
|
|
|