shared library support (.so)
[profile/ivi/libvpx.git] / vp8 / vp8dx.mk
1 ##
2 ##  Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
3 ##
4 ##  Use of this source code is governed by a BSD-style license 
5 ##  that can be found in the LICENSE file in the root of the source
6 ##  tree. An additional intellectual property rights grant can be found
7 ##  in the file PATENTS.  All contributing project authors may 
8 ##  be found in the AUTHORS file in the root of the source tree.
9 ##
10
11
12 include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
13
14 VP8_DX_EXPORTS += exports_dec
15
16 VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
17 VP8_DX_SRCS-no  += $(VP8_COMMON_SRCS-no)
18 VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
19 VP8_DX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
20
21 ifeq ($(ARCH_ARM),yes)
22   include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk
23 endif
24
25 VP8_DX_SRCS-yes += vp8_dx_iface.c
26
27 CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder
28
29
30 # common
31 #define ARM
32 #define DISABLE_THREAD
33 #define INLINE=__forceinline
34
35 #INCLUDES += algo/vpx_common/vpx_mem/include
36 #INCLUDES += common
37 #INCLUDES += common
38 #INCLUDES += common
39 #INCLUDES += common
40 #INCLUDES += decoder
41
42
43
44 # decoder
45 #define ARM
46 #define DISABLE_THREAD
47 #define INLINE=__forceinline
48
49 #INCLUDES += algo/vpx_common/vpx_mem/include
50 #INCLUDES += common
51 #INCLUDES += common
52 #INCLUDES += common
53 #INCLUDES += common
54 #INCLUDES += decoder
55
56 VP8_DX_SRCS-yes += decoder/dboolhuff.c
57 VP8_DX_SRCS-yes += decoder/decodemv.c
58 VP8_DX_SRCS-yes += decoder/decodframe.c
59 VP8_DX_SRCS-yes += decoder/demode.c
60 VP8_DX_SRCS-yes += decoder/dequantize.c
61 VP8_DX_SRCS-yes += decoder/detokenize.c
62 VP8_DX_SRCS-yes += decoder/generic/dsystemdependent.c
63 VP8_DX_SRCS-yes += decoder/dboolhuff.h
64 VP8_DX_SRCS-yes += decoder/decodemv.h
65 VP8_DX_SRCS-yes += decoder/decoderthreading.h
66 VP8_DX_SRCS-yes += decoder/demode.h
67 VP8_DX_SRCS-yes += decoder/dequantize.h
68 VP8_DX_SRCS-yes += decoder/detokenize.h
69 VP8_DX_SRCS-yes += decoder/onyxd_int.h
70 VP8_DX_SRCS-yes += decoder/treereader.h
71 VP8_DX_SRCS-yes += decoder/onyxd_if.c
72 VP8_DX_SRCS-yes += decoder/threading.c
73
74 VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
75
76 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h
77 VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
78 VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm