android: make it ready for androgenizer
[platform/upstream/gstreamer.git] / gst / pcapparse / Makefile.am
1 plugin_LTLIBRARIES = libgstpcapparse.la
2
3 # when compiling for windows we need to link with the winsock library
4 if HAVE_WINSOCK2_H
5   WINSOCK2_LIBS = -lws2_32
6 else
7   WINSOCK2_LIBS = 
8 endif
9
10 libgstpcapparse_la_SOURCES = \
11         gstpcapparse.c
12
13 noinst_HEADERS = \
14         gstpcapparse.h
15
16 libgstpcapparse_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS)
17 libgstpcapparse_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(WINSOCK2_LIBS)
18 libgstpcapparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
19 libgstpcapparse_la_LIBTOOLFLAGS = --tag=disable-static
20
21 Android.mk: Makefile.am $(BUILT_SOURCES)
22         androgenizer \
23         -:PROJECT libgstpcapparse -:SHARED libgstpcapparse \
24          -:TAGS eng debug \
25          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
26          -:SOURCES $(libgstpcapparse_la_SOURCES) \
27          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstpcapparse_la_CFLAGS) \
28          -:LDFLAGS $(libgstpcapparse_la_LDFLAGS) \
29                    $(libgstpcapparse_la_LIBADD) \
30                    -ldl \
31          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
32                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
33         > $@