android: make it ready for androgenizer
[platform/upstream/gstreamer.git] / gst / camerabin2 / Makefile.am
1 plugin_LTLIBRARIES = libgstcamerabin2.la
2
3 libgstcamerabin2_la_SOURCES = gstviewfinderbin.c \
4                                 gstimagecapturebin.c \
5                                 camerabingeneral.c \
6                                 gstwrappercamerabinsrc.c \
7                                 gstcamerabin2.c \
8                                 gstplugin.c
9
10 libgstcamerabin2_la_CFLAGS = \
11         $(GST_PLUGINS_BAD_CFLAGS) \
12         $(GST_PLUGINS_BASE_CFLAGS) \
13         $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
14         -DGST_USE_UNSTABLE_API
15
16 libgstcamerabin2_la_LIBADD = \
17         $(top_builddir)/gst-libs/gst/interfaces/libgstphotography-$(GST_MAJORMINOR).la \
18         $(top_builddir)/gst-libs/gst/basecamerabinsrc/libgstbasecamerabinsrc-$(GST_MAJORMINOR).la \
19         $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) -lgsttag-$(GST_MAJORMINOR) -lgstapp-$(GST_MAJORMINOR) -lgstpbutils-$(GST_MAJORMINOR) \
20         $(GST_BASE_LIBS) $(GST_LIBS)
21
22 libgstcamerabin2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
23 libgstcamerabin2_la_LIBTOOLFLAGS = --tag=disable-static
24
25 noinst_HEADERS = gstviewfinderbin.h \
26                 gstimagecapturebin.h \
27                 camerabingeneral.h \
28                 gstwrappercamerabinsrc.h \
29                 gstcamerabin2.h
30
31 Android.mk: Makefile.am $(BUILT_SOURCES)
32         androgenizer \
33         -:PROJECT libgstcamerabin2 -:SHARED libgstcamerabin2 \
34          -:TAGS eng debug \
35          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
36          -:SOURCES $(libgstcamerabin2_la_SOURCES) \
37          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstcamerabin2_la_CFLAGS) \
38          -:LDFLAGS $(libgstcamerabin2_la_LDFLAGS) \
39                    $(libgstcamerabin2_la_LIBADD) \
40                    -ldl \
41          -:LIBFILTER_STATIC gstphotography-@GST_MAJORMINOR@ \
42                   gstbasecamerabinsrc-@GST_MAJORMINOR@ \
43          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
44                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
45         > $@