Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gst / goom / Makefile.am
1
2 plugin_LTLIBRARIES = libgstgoom.la
3
4 PPC_FILES=ppc_zoom_ultimate.s ppc_drawings.s ppc_drawings.h ppc_zoom_ultimate.h
5 MMX_FILES=mmx.c xmmx.c mmx.h xmmx.h
6
7 if HAVE_CPU_PPC
8 # disable until someone figures out how to build these correctly on ppc
9 #ARCH_FILES = $(PPC_FILES)
10 ARCH_FILES =
11 endif
12 if HAVE_CPU_PPC64
13 # disable until someone figures out how to build these correctly on ppc
14 #ARCH_FILES = $(PPC_FILES)
15 ARCH_FILES =
16 endif
17 if HAVE_CPU_I386
18 ARCH_FILES = $(MMX_FILES)
19 ARCH_CFLAGS = -DBUILD_MMX
20 endif
21                                 
22 libgstgoom_la_SOURCES =                                         \
23         gstgoom.c gstgoom.h                                     \
24         drawmethods.c drawmethods.h                             \
25         sound_tester.c sound_tester.h                           \
26         mathtools.c mathtools.h                                 \
27         lines.c lines.h ifs.c ifs.h surf3d.c surf3d.h           \
28         tentacle3d.c tentacle3d.h v3d.c v3d.h                   \
29         convolve_fx.c flying_stars_fx.c                         \
30         goom_fx.h goom_visual_fx.h                              \
31         motif_goom1.h motif_goom2.h                             \
32         plugin_info.c goom_plugin_info.h                        \
33         goom_tools.c                                            \
34         config_param.c filters.c goom_core.c graphic.c          \
35         goom.h goom_typedefs.h goom_graphic.h                   \
36         goom_config_param.h goom_visual_fx.h goom_filters.h     \
37         goom_tools.h goom_tools.h goom_config.h                 \
38         $(ARCH_FILES)
39
40 libgstgoom_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GOOM_FILTER_CFLAGS) $(ARCH_CFLAGS) $(ORC_CFLAGS)
41 libgstgoom_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS)
42 libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
43 libgstgoom_la_LIBTOOLFLAGS = --tag=disable-static
44
45 EXTRA_DIST = $(PPC_FILES) $(MMX_FILES)
46
47 .NOTPARALLEL:
48
49 Android.mk: Makefile.am $(BUILT_SOURCES)
50         androgenizer \
51         -:PROJECT libgstgoom -:SHARED libgstgoom \
52          -:TAGS eng debug \
53          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
54          -:SOURCES $(libgstgoom_la_SOURCES) \
55          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstgoom_la_CFLAGS) \
56          -:LDFLAGS $(libgstgoom_la_LDFLAGS) \
57                    $(libgstgoom_la_LIBADD) \
58                    -ldl \
59          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
60                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
61         > $@