gstreamer/tools/Makefile.am

52 lines
1.5 KiB
Makefile
Raw Normal View History

bin_SCRIPTS = \
2012-04-04 12:20:13 +00:00
gst-visualise-@GST_API_VERSION@
man_MANS = \
2012-04-04 12:20:13 +00:00
gst-visualise-@GST_API_VERSION@.1
bin_PROGRAMS = \
2012-04-04 12:20:13 +00:00
gst-discoverer-@GST_API_VERSION@
2012-04-04 12:20:13 +00:00
gst_discoverer_@GST_API_VERSION@_SOURCES = gst-discoverer.c
CLEANFILES = $(man_MANS) $(bin_SCRIPTS) $(bin_PROGRAMS)
EXTRA_DIST = \
gst-visualise-m.m gst-visualise.1.in
2012-04-04 12:20:13 +00:00
LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
2012-04-04 12:20:13 +00:00
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
$(GST_BASE_LIBS) $(GST_LIBS)
AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
# generate versioned scripts from templates
2012-04-04 12:20:13 +00:00
%-@GST_API_VERSION@: %-m.m
$(AM_V_GEN)sed -e s,\@GST_API_VERSION\@,@GST_API_VERSION@,g $< > $@ && \
chmod +x $@
# generate man pages
2012-04-04 12:20:13 +00:00
%-@GST_API_VERSION@.1: %.1.in
$(AM_V_GEN)sed \
2012-04-04 12:20:13 +00:00
-e s,gst-visualise,gst-visualise-@GST_API_VERSION@,g \
$< >$@
all: all-am chmod
chmod: $(bin_SCRIPTS)
@chmod +x $^
Android.mk: Makefile.am
androgenizer -:PROJECT gst-discoverer \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:EXECUTABLE gst-discoverer -:TAGS eng debug \
2012-04-04 12:20:13 +00:00
-:SOURCES $(gst_discoverer_@GST_API_VERSION@_SOURCES) \
-:CFLAGS $(DEFS) $(AM_CFLAGS) \
2012-04-04 12:20:13 +00:00
-:LDFLAGS -lgstpbutils-@GST_API_VERSION@ -lgstvideo-@GST_API_VERSION@ \
$(GST_BASE_LIBS) $(GST_LIBS) \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
> $@