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 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 = sampletest 52 53 54 # TARGETTYPE must be EXEC, ST_LIB or SH_LIB in upper case. 55 56 TARGETTYPE = EXEC 57 58 # install directory relative to the HOSTTARGET directory 59 HOSTRELEASE = binaries 60 61 # install directory relative to the root filesystem 62 ROOTFSRELEASE = binaries 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 test_sample_proxy.c 72 73 74 75 # Search path for include files 76 77 INCLUDES = \ 78 $(PROJROOT)/omx_core/inc \ 79 $(PROJROOT)/mm_osal/inc \ 80 $(MEMMGRROOT) 81 82 # Libraries needed for linking. 83 84 ST_LIBS = 85 #omx_core omx_proxy_component domx mm_osal 86 SH_LIBS = pthread dl omx_core OMX.TI.DUCATI1.MISC.SAMPLE domx mm_osal timemmgr 87 88 89 # Search path for library (and linker command) files. 90 # Current folder and target folder are included by default. 91 92 LIBINCLUDES = $(PROJROOT)/target/lib 93 94 95 # Do not change below "include" line(s) 96 97 include $(PROJROOT)/make/build.mk 98 99