Force to use Exynos3250 kernel header, not sc7730
[platform/adaptation/ap_samsung/libomxil-e3250-v4l2.git] / openmax / component / video / dec / h264 / Makefile.am
1 lib_LTLIBRARIES = libOMX.Exynos.AVC.Decoder.la
2 libdir = @libdir@/omx
3
4 libOMX_Exynos_AVC_Decoder_la_SOURCES = Exynos_OMX_H264dec.c \
5                                        Exynos_OMX_H264dec.h \
6                                        library_register.c \
7                                        library_register.h
8
9 libOMX_Exynos_AVC_Decoder_la_LIBADD = $(top_builddir)/openmax/osal/libExynosOMX_OSAL.la \
10                                       $(top_builddir)/openmax/component/video/dec/libExynosOMX_Vdec.la \
11                                       $(top_builddir)/openmax/component/common/libExynosOMX_Basecomponent.la \
12                                       $(top_builddir)/exynos4/libcodec/video/v4l2/libExynosVideoApi.la \
13                                       $(top_builddir)/exynos/libv4l2/libexynosv4l2.la
14                   
15
16
17 libOMX_Exynos_AVC_Decoder_la_CFLAGS = -I$(top_srcdir)/openmax/include/khronos \
18                                       -I$(top_srcdir)/openmax/include/exynos \
19                                       -I$(top_srcdir)/openmax/osal \
20                                       -I$(top_srcdir)/openmax/core \
21                                       -I$(top_srcdir)/openmax/component/common \
22                                       -I$(top_srcdir)/openmax/component/video/dec \
23                                       -I$(top_srcdir)/exynos4/include \
24                                       -I$(top_srcdir)/exynos4/libcsc\
25                                       -I$(top_srcdir)/exynos4/libcodec/video/v4l2/include \
26                                       -I$(top_srcdir)/exynos/include
27
28 libOMX_Exynos_AVC_Decoder_la_LIBADD += $(MM_COMMON_LIB)
29 libOMX_Exynos_AVC_Decoder_la_CFLAGS += $(MM_COMMON_CFLAGS)
30
31 if BOARD_USE_ANB
32 libOMX_Exynos_AVC_Decoder_la_CFLAGS += -DUSE_ANB
33 endif
34
35 if BOARD_NONBLOCK_MODE_PROCESS
36 libOMX_Exynos_AVC_Decoder_la_CFLAGS += -DNONBLOCK_MODE_PROCESS
37 endif
38
39 if BOARD_USE_DMA_BUF
40 libOMX_Exynos_AVC_Decoder_la_CFLAGS += -DUSE_DMA_BUF
41 endif
42
43 if BOARD_USE_DRM
44 libOMX_Exynos_AVC_Decoder_la_CFLAGS += -DUSE_DRM
45 endif
46
47 if BOARD_USE_MFC_FPS
48 libOMX_Exynos_AVC_Decoder_la_CFLAGS += -DCONFIG_MFC_FPS
49 endif
50
51 libOMX_Exynos_AVC_Decoder_la_LDFLAGS = -module -avoid-version