1#  
2#  Copyright (C) Texas Instruments - http://www.ti.com/
3#  
4#  Licensed under the Apache License, Version 2.0 (the "License");
5#  you may not use this file except in compliance with the License.
6#  You may obtain a copy of the License at
7#  
8#        http://www.apache.org/licenses/LICENSE-2.0
9#  
10#   Unless required by applicable law or agreed to in writing, software
11#  distributed under the License is distributed on an "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#  See the License for the specific language governing permissions and
14#  limitations under the License.
15#  
16#  ----------------------------------------------------------------------------
17#  Revision History
18#
19#
20#      REF=ORG
21#      Original version.
22#  ----------------------------------------------------------------------------
23
24#PROJROOT = ..
25
26include $(PROJROOT)/make/start.mk
27
28# Do not change above "include" line(s)
29
30# Arguments to tools, will move to make system once finalized.
31
32CFLAGS         += -DSTATIC_TABLE 
33CDEFS          = 
34ifeq ($(BUILD),udeb)
35CDEFS          += DEBUG 
36endif
37CDEFS          +=
38
39EXEC_ARGS      = 
40ST_LIB_ARGS    = 
41SH_LIB_ARGS    = 
42
43# Define this macro if target runs in kernel mode
44#__KERNEL__ = 1
45
46# Target name and extension
47# static library        (ST_LIB): filename.a
48# shared library soname (SH_LIB): filename.so.maj_ver.min_ver
49# executable            (EXEC)  : filename.out
50
51TARGETNAME  = libomx_core
52
53
54# TARGETTYPE must be EXEC, ST_LIB or SH_LIB in upper case.
55
56TARGETTYPE  = SH_LIB
57
58# install directory relative to the HOSTTARGET directory
59HOSTRELEASE = lib
60
61# install directory relative to the root filesystem
62ROOTFSRELEASE = lib
63
64# Folders in which gmake will run before building current target
65
66SUBMODULES  = \
67
68# Filename must not begin with '.', '/' or '\'
69
70SOURCES     = \
71    src/OMX_Core.c \
72
73
74# Search path for include files
75
76INCLUDES    = \
77    $(PROJROOT)/omx_core/inc \
78    $(PROJROOT)/mm_osal/inc \
79
80# Libraries needed for linking.
81
82ST_LIBS        = 
83#mm_osal omx_proxy_component
84SH_LIBS        = mm_osal dl
85#pthread rt utils procmgr ipc rcm notify
86#SH_LIBS        += sysmgr sysmemmgr
87
88
89# Search path for library (and linker command) files.
90# Current folder and target folder are included by default.
91
92LIBINCLUDES = $(PROJROOT)/mm_osal
93#              $(PROJROOT)/video/omx_proxy_component/src
94
95
96# Do not change below "include" line(s)
97
98include $(PROJROOT)/make/build.mk
99
100