Home | History | Annotate | Download | only in omx_sample
      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  = libOMX.TI.DUCATI1.MISC.SAMPLE.so
     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 src/omx_proxy_sample.c \
     72 
     73 
     74 
     75 # Search path for include files
     76 
     77 INCLUDES    = \
     78     $(PROJROOT)/omx_core/inc \
     79     $(PROJROOT)/mm_osal/inc \
     80     $(PROJROOT)/domx \
     81     $(PROJROOT)/domx/omx_rpc/inc \
     82 
     83 
     84 # Libraries needed for linking.
     85 
     86 ST_LIBS        = 
     87 #mm_osal domx
     88 SH_LIBS        = domx omx_core mm_osal
     89 #pthread rt utils procmgr ipc rcm notify
     90 #SH_LIBS        += sysmgr sysmemmgr
     91 
     92 
     93 # Search path for library (and linker command) files.
     94 # Current folder and target folder are included by default.
     95 
     96 LIBINCLUDES = $(PROJROOT)/mm_osal \
     97               $(PROJROOT)/domx \
     98               $(PROJROOT)/omx_core
     99 
    100 
    101 # Do not change below "include" line(s)
    102 
    103 include $(PROJROOT)/make/build.mk
    104