aeba9c8a41eda24f54e0d0ecb6b83c78f36e3b97
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Build / vlib.makefile
1
2 ###########################################################################################
3 #
4 # Designed to build VLIB using generic.makefile
5 # ----------------------------------------------------------------------------------
6 # Author : aurelien.morelle@parrot.com
7 # Date   : 2008/10/30
8 #
9 ###########################################################################################
10 USE_ANDROID = no
11 USE_IPHONE= no
12 USE_NDK = no
13 USE_ELINUX= no
14 USE_LINUX = no
15 USE_BLUEZ = no
16 USE_APP = no
17 USE_SDK = no
18
19
20 IPHONE_MODE          = no
21 MINGW32_MODE         = no
22 USE_NDS              = no
23 USE_ANDROID          = no
24 USE_LINUX            = yes
25 FF_ARC = Intel
26
27 include common.makefile
28
29 GENERIC_LIBRARY_TARGET_DIR=$(CODEC_TARGET_DIR)
30 GENERIC_TARGET_LIBRARY=$(GENERIC_LIBRARY_TARGET_DIR)/libvlib.a
31
32 GENERIC_LIBRARY_SOURCE_FILES=                   \
33         video_codec.c                           \
34         video_controller.c                      \
35         video_mem32.c                           \
36         video_dct.c                             \
37         video_huffman.c                         \
38         video_macroblock.c                      \
39         video_packetizer.c                      \
40         video_picture.c                         \
41         video_quantizer.c                       \
42         P263/p263_codec.c                       \
43         P263/p263_huffman.c                     \
44         P263/p263_mb_layer.c                    \
45         P263/p263_gob_layer.c                   \
46         P263/p263_picture_layer.c               \
47   P264/p264_zigzag.c            \
48         P264/p264_transform.c           \
49         P264/p264_Qp.c          \
50         P264/p264_intra_pred.c          \
51   P264/p264_inter_mc.c          \
52         P264/p264_merge.c               \
53         P264/p264_codec.c               \
54         P264/p264.c                             \
55         P264/p264_gob_layer.c                   \
56         P264/p264_mb_layer.c                    \
57         P264/p264_picture_layer.c  \
58         P264/video_p264.c  \
59         Stages/vlib_stage_decode.c              \
60         Stages/vlib_stage_encode.c              \
61         UVLC/uvlc_codec.c                       \
62         UVLC/uvlc.c                             \
63         UVLC/uvlc_gob_layer.c                   \
64         UVLC/uvlc_mb_layer.c                    \
65         UVLC/uvlc_picture_layer.c
66
67                    Platform/x86/video_utils.c           \
68                    Platform/x86/UVLC/uvlc_codec.c
69
70 GENERIC_LIBRARY_SOURCE_DIR=$(VLIB_SOURCE_DIR)
71
72
73 # All that needs to be exported
74 ########################
75 export GENERIC_LIBRARY_TARGET_DIR
76 export GENERIC_TARGET_LIBRARY
77 export GENERIC_INCLUDES
78 export GENERIC_LIBRARY_SOURCE_DIR
79 export GENERIC_LIBRARY_SOURCE_FILES
80
81 # All that shall not be defined
82 ########################
83 export PARROTOS_MAKEFILE=
84 export GENERIC_BINARIES_SOURCE_ENTRYPOINTS=
85 export GENERIC_BINARIES_COMMON_SOURCE_FILES=
86
87 all $(MAKECMDGOALS):
88         @$(MAKE) -f generic.makefile $(MAKECMDGOALS)
89