DEBIAN: Debianization
[glsdk/gstreamer0-10.git] / plugins / indexers / Makefile.am
1 plugin_LTLIBRARIES = libgstcoreindexers.la
3 # file index uses xml
4 if HAVE_MMAP
5 if GST_DISABLE_LOADSAVE
6 GST_LOADSAVE_SRC =
7 GST_FILEINDEX_LIBS =
8 else
9 GST_LOADSAVE_SRC = gstfileindex.c
10 GST_FILEINDEX_LIBS = $(XML_LIBS)
11 endif
12 else
13 GST_LOADSAVE_SRC =
14 GST_FILEINDEX_LIBS =
15 endif
17 noinst_HEADERS =                \
18         gstindexers.h
20 libgstcoreindexers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
21 libgstcoreindexers_la_SOURCES = gstindexers.c gstmemindex.c $(GST_LOADSAVE_SRC)
22 libgstcoreindexers_la_CFLAGS = $(GST_OBJ_CFLAGS)
23 libgstcoreindexers_la_LIBADD = $(GST_OBJ_LIBS) $(GST_FILEINDEX_LIBS)
24 libgstcoreindexers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
25 libgstcoreindexers_la_LIBTOOLFLAGS = --tag=disable-static
27 %.c.gcov: .libs/libgstcoreindexers_la-%.gcda %.c
28         $(GCOV) -b -f -o $^ > $@.out
30 gcov: $(libgstcoreindexers_la_SOURCES:=.gcov)
32 Android.mk: Makefile.am
33         androgenizer -:PROJECT gstreamer -:SHARED libgstcoreindexers -:TAGS eng debug \
34          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
35          -:SOURCES $(libgstcoreindexers_la_SOURCES) \
36          -:CFLAGS $(DEFS) $(libgstcoreindexers_la_CFLAGS) \
37          -:LDFLAGS $(libgstcoreindexers_la_LDFLAGS) \
38                    $(libgstcoreindexers_la_LIBADD) \
39          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
40                        LOCAL_MODULE_PATH:=$$\(TARGET_OUT\)/lib/gstreamer-@GST_MAJORMINOR@ \
41         > $@