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 26 include $(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 32 CFLAGS = 33 CDEFS = 34 ifeq ($(BUILD),udeb) 35 CDEFS += DEBUG 36 endif 37 CDEFS += 38 39 EXEC_ARGS = 40 ST_LIB_ARGS = 41 SH_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 51 TARGETNAME = libdomx 52 53 54 # TARGETTYPE must be EXEC, ST_LIB or SH_LIB in upper case. 55 56 TARGETTYPE = SH_LIB 57 58 # install directory relative to the HOSTTARGET directory 59 HOSTRELEASE = lib 60 61 # install directory relative to the root filesystem 62 ROOTFSRELEASE = lib 63 64 # Folders in which gmake will run before building current target 65 66 SUBMODULES = \ 67 68 # Filename must not begin with '.', '/' or '\' 69 70 SOURCES = \ 71 omx_rpc/src/omx_rpc.c \ 72 omx_rpc/src/omx_rpc_skel.c \ 73 omx_rpc/src/omx_rpc_stub.c \ 74 omx_rpc/src/omx_rpc_config.c \ 75 omx_rpc/src/omx_rpc_platform.c \ 76 omx_proxy_common/src/omx_proxy_common.c 77 78 79 80 # Search path for include files 81 82 INCLUDES = \ 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 93 ST_LIBS = 94 #mm_osal 95 SH_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 104 LIBINCLUDES = $(PROJROOT)/mm_osal \ 105 $(PROJROOT)/omx_core 106 107 108 # Do not change below "include" line(s) 109 110 include $(PROJROOT)/make/build.mk 111 112