52230f2c3481c459b5b4ca790ea6e0d683fd0ad9
[platform/upstream/gstreamer.git] / gst / videotestsrc / Makefile.am
1 plugin_LTLIBRARIES = libgstvideotestsrc.la
2
3 ORC_SOURCE=gstvideotestsrcorc
4 include $(top_srcdir)/common/orc.mak
5
6 libgstvideotestsrc_la_SOURCES = \
7                         gstvideotestsrc.c \
8                         videotestsrc.c
9 nodist_libgstvideotestsrc_la_SOURCES = $(ORC_NODIST_SOURCES)
10
11 libgstvideotestsrc_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS)
12 libgstvideotestsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
13 libgstvideotestsrc_la_LIBADD =  \
14         $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \
15         $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM)
16 libgstvideotestsrc_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
17
18 noinst_HEADERS = gstvideotestsrc.h videotestsrc.h
19
20 EXTRA_PROGRAMS = generate_sine_table
21
22 generate_sine_table_SOURCES = generate_sine_table.c
23 generate_sine_table_CFLAGS = $(GST_CFLAGS)
24 generate_sine_table_LDADD = $(LIBM) $(GLIB_LIBS)
25
26 Android.mk: Makefile.am $(BUILT_SOURCES)
27         androgenizer \
28         -:PROJECT libgstvideotestsrc -:SHARED libgstvideotestsrc \
29          -:TAGS eng debug \
30          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
31          -:SOURCES $(libgstvideotestsrc_la_SOURCES) \
32                    $(nodist_libgstvideotestsrc_la_SOURCES) \
33          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstvideotestsrc_la_CFLAGS) \
34          -:LDFLAGS $(libgstvideotestsrc_la_LDFLAGS) \
35                    $(libgstvideotestsrc_la_LIBADD) \
36                    -ldl \
37          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
38                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
39         > $@