Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / tools / Makefile.am
1 bin_SCRIPTS = \
2         gst-visualise-@GST_MAJORMINOR@
3
4 man_MANS = \
5         gst-visualise-@GST_MAJORMINOR@.1
6
7 bin_PROGRAMS = \
8         gst-discoverer-@GST_MAJORMINOR@
9
10 gst_discoverer_@GST_MAJORMINOR@_SOURCES = gst-discoverer.c
11
12 CLEANFILES = $(man_MANS) $(bin_SCRIPTS) $(bin_PROGRAMS)
13
14 EXTRA_DIST = \
15         gst-visualise-m.m gst-visualise.1.in
16
17
18 LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la\
19         $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la\
20         $(GST_BASE_LIBS) $(GST_LIBS)
21
22 AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
23
24 # generate versioned scripts from templates
25 %-@GST_MAJORMINOR@: %-m.m
26         $(AM_V_GEN)sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@ && \
27         chmod +x $@
28
29 # generate man pages
30 %-@GST_MAJORMINOR@.1: %.1.in
31         $(AM_V_GEN)sed \
32                 -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \
33                 $< >$@
34
35 all: all-am chmod
36
37 chmod: $(bin_SCRIPTS)
38         @chmod +x $^
39
40 Android.mk: Makefile.am
41         androgenizer -:PROJECT gst-discoverer \
42          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
43          -:EXECUTABLE gst-discoverer -:TAGS eng debug \
44          -:SOURCES $(gst_discoverer_@GST_MAJORMINOR@_SOURCES) \
45          -:CFLAGS $(DEFS) $(AM_CFLAGS) \
46          -:LDFLAGS -lgstpbutils-@GST_MAJORMINOR@ -lgstvideo-@GST_MAJORMINOR@ \
47                    $(GST_BASE_LIBS) $(GST_LIBS) \
48          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
49         > $@