X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2FMakefile.am;h=99392f86bc24feb12b0a42e356cfae003a4060f6;hb=227be98c0b65a1616c0d0689db6fa7576bcbe434;hp=6e4deeda2b44f0b8c50b714096c24e0cb9710868;hpb=268d52fd331e9e2e211de1b1e386c62b6afae4df;p=platform%2Fupstream%2Fgstreamer.git diff --git a/tools/Makefile.am b/tools/Makefile.am index 6e4deed..99392f8 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,50 +1,45 @@ -bin_SCRIPTS = \ - gst-visualise-@GST_MAJORMINOR@ +bin_SCRIPTS = man_MANS = \ - gst-visualise-@GST_MAJORMINOR@.1 + gst-discoverer-@GST_API_VERSION@.1 bin_PROGRAMS = \ - gst-discoverer-@GST_MAJORMINOR@ + gst-discoverer-@GST_API_VERSION@ -gst_discoverer_@GST_MAJORMINOR@_SOURCES = gst-discoverer.c +gst_discoverer_@GST_API_VERSION@_SOURCES = gst-discoverer.c -CLEANFILES = $(man_MANS) $(bin_SCRIPTS) $(bin_PROGRAMS) +CLEANFILES = $(bin_SCRIPTS) $(bin_PROGRAMS) EXTRA_DIST = \ - gst-visualise-m.m gst-visualise.1.in + gst-discoverer.1.in -LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \ - $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la \ +LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \ + $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \ + $(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 -%-@GST_MAJORMINOR@: %-m.m - $(AM_V_GEN)sed -e s,\@GST_MAJORMINOR\@,@GST_MAJORMINOR@,g $< > $@ && \ - chmod +x $@ - # generate man pages -%-@GST_MAJORMINOR@.1: %.1.in +%-@GST_API_VERSION@.1: %.1.in $(AM_V_GEN)sed \ - -e s,gst-visualise,gst-visualise-@GST_MAJORMINOR@,g \ + -e s,gst-visualise,gst-visualise-@GST_API_VERSION@,g \ $< >$@ all: all-am chmod chmod: $(bin_SCRIPTS) - @chmod +x $^ +# @chmod +x $^ Android.mk: Makefile.am - androgenizer -:PROJECT gst-discoverer \ + androgenizer -:PROJECT gst-discoverer-@GST_API_VERSION@ \ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ - -:EXECUTABLE gst-discoverer -:TAGS eng debug \ - -:SOURCES $(gst_discoverer_@GST_MAJORMINOR@_SOURCES) \ + -:EXECUTABLE gst-discoverer-@GST_API_VERSION@ -:TAGS eng debug \ + -:SOURCES $(gst_discoverer_@GST_API_VERSION@_SOURCES) \ -:CFLAGS $(DEFS) $(AM_CFLAGS) \ - -:LDFLAGS -lgstpbutils-@GST_MAJORMINOR@ -lgstvideo-@GST_MAJORMINOR@ \ + -:LDFLAGS -lgstpbutils-@GST_API_VERSION@ -lgstvideo-@GST_API_VERSION@ \ $(GST_BASE_LIBS) $(GST_LIBS) \ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \ > $@