Makefile revision c322989ae6ff6769490828de1b5eda12b749cce9
1c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 2c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Copyright 2001-2008 Texas Instruments - http://www.ti.com/ 3c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 4c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Licensed under the Apache License, Version 2.0 (the "License"); 5c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# you may not use this file except in compliance with the License. 6c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# You may obtain a copy of the License at 7c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 8c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# http://www.apache.org/licenses/LICENSE-2.0 9c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 10c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Unless required by applicable law or agreed to in writing, software 11c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# distributed under the License is distributed on an "AS IS" BASIS, 12c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# See the License for the specific language governing permissions and 14c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# limitations under the License. 15c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 16c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# ---------------------------------------------------------------------------- 17c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Revision History 18c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 19c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# 20c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# SEP xx,2002 REF=ORG Swamy MC 21c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Original version. 22c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# ---------------------------------------------------------------------------- 23c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 24c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#PROJROOT = $(ROOTDIR)/src 25c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 26c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevinclude $(PROJROOT)/make/start.mk 27c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 28c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Do not change above "include" line(s) 29c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 30c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Arguments to tools, will move to make system once finalized. 31c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 32c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevCFLAGS = 33c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevCDEFS = DEBUG 34c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 35c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevEXEC_ARGS = 36c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevST_LIB_ARGS = 37c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevSH_LIB_ARGS = 38c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 39c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Define this macro if target runs in kernel mode 40c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#__KERNEL__ = 1 41c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 42c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Target name and extension 43c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# static library (ST_LIB): filename.a 44c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# shared library soname (SH_LIB): filename.so.maj_ver.min_ver 45c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# executable (EXEC) : filename.out 46c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 47c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevTARGETNAME = 48c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 49c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 50c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# TARGETTYPE must be EXEC, ST_LIB or SH_LIB in upper case. 51c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#TARGETTYPE = ST_LIB 52c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevTARGETTYPE = 53c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 54c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# For shared object library, soname is filename.so.maj_ver 55c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevSH_SONAME = 56c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 57c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Folders in which gmake will run before building current target 58c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 59c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevSUBMODULES = \ 60c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevmm_osal \ 61c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevomx_core \ 62c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevdomx \ 63c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevomx_proxy_component \ 64c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 65c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#video/omx_proxy_component/test 66c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 67c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Filename must not begin with '.', '/' or '\' 68c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 69c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevSOURCES = 70c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 71c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Search path for include files 72c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 73c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevINCLUDES = 74c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 75c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Libraries needed for linking. 76c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 77c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevST_LIBS = 78c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevSH_LIBS = 79c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 80c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Search path for library (and linker command) files. 81c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Current folder and target folder are included by default. 82c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 83c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevLIBINCLUDES = 84c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 85c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 86c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev# Do not change below "include" line(s) 87c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 88c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevinclude $(PROJROOT)/make/build.mk 89c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev 90