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 = 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 = libdomx 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 = \ 71omx_rpc/src/omx_rpc.c \ 72omx_rpc/src/omx_rpc_skel.c \ 73omx_rpc/src/omx_rpc_stub.c \ 74omx_rpc/src/omx_rpc_config.c \ 75omx_rpc/src/omx_rpc_platform.c \ 76omx_proxy_common/src/omx_proxy_common.c 77 78 79 80# Search path for include files 81 82INCLUDES = \ 83 $(PROJROOT)/omx_core/inc \ 84 $(PROJROOT)/mm_osal/inc \ 85 $(PROJROOT)/domx \ 86 $(PROJROOT)/domx/omx_rpc \ 87 $(PROJROOT)/domx/omx_rpc/inc \ 88 ../../memmgrheaders \ 89 90 91# Libraries needed for linking. 92 93ST_LIBS = 94#mm_osal 95SH_LIBS = omx_core mm_osal 96#rcm ipc 97#pthread rt utils procmgr ipc rcm notify 98#SH_LIBS += sysmgr sysmemmgr 99 100 101# Search path for library (and linker command) files. 102# Current folder and target folder are included by default. 103 104LIBINCLUDES = $(PROJROOT)/mm_osal \ 105 $(PROJROOT)/omx_core 106 107 108# Do not change below "include" line(s) 109 110include $(PROJROOT)/make/build.mk 111 112