|
Packit Service |
3470d1 |
# BEGIN_ICS_COPYRIGHT8 ****************************************
|
|
Packit Service |
3470d1 |
#
|
|
Packit Service |
3470d1 |
# Copyright (c) 2015-2017, Intel Corporation
|
|
Packit Service |
3470d1 |
#
|
|
Packit Service |
3470d1 |
# Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
3470d1 |
# modification, are permitted provided that the following conditions are met:
|
|
Packit Service |
3470d1 |
#
|
|
Packit Service |
3470d1 |
# * Redistributions of source code must retain the above copyright notice,
|
|
Packit Service |
3470d1 |
# this list of conditions and the following disclaimer.
|
|
Packit Service |
3470d1 |
# * Redistributions in binary form must reproduce the above copyright
|
|
Packit Service |
3470d1 |
# notice, this list of conditions and the following disclaimer in the
|
|
Packit Service |
3470d1 |
# documentation and/or other materials provided with the distribution.
|
|
Packit Service |
3470d1 |
# * Neither the name of Intel Corporation nor the names of its contributors
|
|
Packit Service |
3470d1 |
# may be used to endorse or promote products derived from this software
|
|
Packit Service |
3470d1 |
# without specific prior written permission.
|
|
Packit Service |
3470d1 |
#
|
|
Packit Service |
3470d1 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
Packit Service |
3470d1 |
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Packit Service |
3470d1 |
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
Packit Service |
3470d1 |
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
|
Packit Service |
3470d1 |
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
Packit Service |
3470d1 |
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
Packit Service |
3470d1 |
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
Packit Service |
3470d1 |
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
Packit Service |
3470d1 |
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Packit Service |
3470d1 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
3470d1 |
#
|
|
Packit Service |
3470d1 |
# END_ICS_COPYRIGHT8 ****************************************
|
|
Packit Service |
3470d1 |
|
|
Packit Service |
3470d1 |
# This directory contains makerules files. These files control the compiler and
|
|
Packit Service |
3470d1 |
# linker flags and provide mechanisms for individual makefiles to augment the
|
|
Packit Service |
3470d1 |
# defaults as needed
|
|
Packit Service |
3470d1 |
|
|
Packit Service |
3470d1 |
## Global Make Settings File
|
|
Packit Service |
3470d1 |
## ----------------------
|
|
Packit Service |
3470d1 |
## All project makesettings files (or local makefiles not associated with a
|
|
Packit Service |
3470d1 |
## specific project) should include this file
|
|
Packit Service |
3470d1 |
## before the local definitions section.
|
|
Packit Service |
3470d1 |
## This file allows setting variables which can be used by Makefiles to make
|
|
Packit Service |
3470d1 |
## decisions on which targets or DIRS to build. This allows such controls
|
|
Packit Service |
3470d1 |
## to be placed here as opposed to extending the build system environment
|
|
Packit Service |
3470d1 |
## variable tools like setenv, target, etc.
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Global Make Rules File
|
|
Packit Service |
3470d1 |
## ----------------------
|
|
Packit Service |
3470d1 |
## All project makerules files (or local makefiles not associated with a
|
|
Packit Service |
3470d1 |
## specific project) should include this file
|
|
Packit Service |
3470d1 |
## after the local definitions section and before the local rules section. The
|
|
Packit Service |
3470d1 |
## function of the global makerules file is to define the system applications,
|
|
Packit Service |
3470d1 |
## standardized make targets (rules) and commonly used variables and structure.
|
|
Packit Service |
3470d1 |
## The makefile is coded so that it is platform independent. Specifics to a
|
|
Packit Service |
3470d1 |
## given platform are taken care of in 'ifdef' type statements so that the
|
|
Packit Service |
3470d1 |
## makefile can be used on all platforms with little or no modification. Any
|
|
Packit Service |
3470d1 |
## modifications to the source should be made with portability in mind and
|
|
Packit Service |
3470d1 |
## should follow the embedded notations.
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## More information about the
|
|
Packit Service |
3470d1 |
## execution of the makefile can be had by specifying the -d option on the
|
|
Packit Service |
3470d1 |
## command line to make.
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## NOTE: This makerules file (as well as the project makerules and the template
|
|
Packit Service |
3470d1 |
## makefiles) depend on using the GNU version of make. GNU make
|
|
Packit Service |
3470d1 |
## (which is included in cygwin) must be
|
|
Packit Service |
3470d1 |
## installed on your system prior to using this makefile.
|
|
Packit Service |
3470d1 |
#=============================================================================#
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
#=============================================================================#
|
|
Packit Service |
3470d1 |
## The following list is the standard list of definitions which will be defined
|
|
Packit Service |
3470d1 |
## or are used in other variable definitions or rules in this makerules file.
|
|
Packit Service |
3470d1 |
## Each global variable name is listed with a definition of the purpose and
|
|
Packit Service |
3470d1 |
## intended use. Defaults for items are shown in brackets, and may be
|
|
Packit Service |
3470d1 |
## overridden by the user in a local makefile or project makerules file. If
|
|
Packit Service |
3470d1 |
## no default is shown, the user can use the variable, but should not change
|
|
Packit Service |
3470d1 |
## the value.
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Make Control Variables:
|
|
Packit Service |
3470d1 |
##AUTODEP = environment defined to enable/disable makedepend during
|
|
Packit Service |
3470d1 |
## make all phase of build (default is yes, set to no to
|
|
Packit Service |
3470d1 |
## disable makedepend)
|
|
Packit Service |
3470d1 |
##BUILD_CONFIG= Type of build to do: debug or release or loadable [debug]
|
|
Packit Service |
3470d1 |
## Debug release includes CDEBUG/CCDEBUG flags and does not use
|
|
Packit Service |
3470d1 |
## COPT/CCOPT. Non-debug omits CDEBUG/CCDEBUG and uses COPT/CCOPT
|
|
Packit Service |
3470d1 |
## loadable is only allowed for MIPS/VxWorks builds. This does:
|
|
Packit Service |
3470d1 |
## Libraries build to .rel files which have all objects in
|
|
Packit Service |
3470d1 |
## Only SYSLIBS in included in link
|
|
Packit Service |
3470d1 |
## Firmware/BSP is built with .rel files, BSP has all symbols
|
|
Packit Service |
3470d1 |
## Hence Unit Tests can be built to a .out and downloaded
|
|
Packit Service |
3470d1 |
## against a full firmware which was built as loadable as well
|
|
Packit Service |
3470d1 |
## loadable builds define -DBUILD_LOADABLE so initialization
|
|
Packit Service |
3470d1 |
## code for system libraries can be disabled in unit tests
|
|
Packit Service |
3470d1 |
##BUILD_PLATFORM= system build is running on (DOS, CYGWIN, LINUX, or DARWIN)
|
|
Packit Service |
3470d1 |
## determined dynamically in this file if not pre-defined
|
|
Packit Service |
3470d1 |
##BUILD_TARGET= Target for build (MIPS, MIPS_BSP, IA32, IA64, X86_64, WIN32, CYGWIN, PPC)
|
|
Packit Service |
3470d1 |
##BUILD_UNIT_TEST= should build of UNIT_TEST directories be enabled (!="" or "")
|
|
Packit Service |
3470d1 |
## when set to != "", the variable $(TEST) is defined as Test
|
|
Packit Service |
3470d1 |
## when set to "" $(TEST) is set to ""
|
|
Packit Service |
3470d1 |
## $(TEST) should be used in DIRS and DS_SUBPROJECTS to select
|
|
Packit Service |
3470d1 |
## unit test directories
|
|
Packit Service |
3470d1 |
##MAKE = System make application
|
|
Packit Service |
3470d1 |
##MAKEFILE = Name of makefile [Makefile]
|
|
Packit Service |
3470d1 |
##BUILD_TARGET_OS= OS to build for (VXWORKS, LINUX, WIN32, CYGWIN, DARWIN)
|
|
Packit Service |
3470d1 |
##BUILD_TARGET_OS_VERSION= version of OS to build for (2.4.7-10, etc).
|
|
Packit Service |
3470d1 |
##BUILD_BRAND= branding for product, default is "SilverStorm Technologies Inc."
|
|
Packit Service |
3470d1 |
##REGISTER = Enable Registration, set to "#" to disable registration of
|
|
Packit Service |
3470d1 |
## Windows DLLs and applications built (Windows Only)
|
|
Packit Service |
3470d1 |
##VS = Visible shell commands [""], set to "" to see more
|
|
Packit Service |
3470d1 |
## set to "@" to see less
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Make Targets and Byproducts:
|
|
Packit Service |
3470d1 |
##PRODUCT = actual product name, used in BSPs and other common code
|
|
Packit Service |
3470d1 |
## as needed to create a product specific flavor
|
|
Packit Service |
3470d1 |
## created as basename of TL_DIR
|
|
Packit Service |
3470d1 |
##DIRS = list of subdirectories to build (for toplevel & middle makefiles)
|
|
Packit Service |
3470d1 |
##BSP_SPECIFIC_DIRS = list of subdirectories to clobber when rebuilding
|
|
Packit Service |
3470d1 |
## for a different BSP
|
|
Packit Service |
3470d1 |
##CFILES = list of C source files to compile (.c suffix)
|
|
Packit Service |
3470d1 |
##CCFILES = list of C++ source files to compile (.cpp suffix)
|
|
Packit Service |
3470d1 |
##LFILES = list of lex source files to compiler (.lex suffix)
|
|
Packit Service |
3470d1 |
##LIBFILES = list of library names to combine into archive/shlib built
|
|
Packit Service |
3470d1 |
##IDLFILE = idl source file (.idl suffix) (Windows Only)
|
|
Packit Service |
3470d1 |
##IDL_TARGETS = files to build from IDLFILE during INCLUDES phase (Windows Only)
|
|
Packit Service |
3470d1 |
##IDL_HEADERS = .h files to build from IDLFILE during INCLUDES phase
|
|
Packit Service |
3470d1 |
## (Windows Only)
|
|
Packit Service |
3470d1 |
##IDL_OTHER = .c and .tlb files to build from IDLFILE during INCLUDES phase
|
|
Packit Service |
3470d1 |
## (Windows Only)
|
|
Packit Service |
3470d1 |
##RSCFILES = list of resource source files (.rc suffix) (Windows Only)
|
|
Packit Service |
3470d1 |
##SOURCES = list of source files, used to drive dependency generation
|
|
Packit Service |
3470d1 |
##OBJECTS = Intermediate object file names [Not Defined]
|
|
Packit Service |
3470d1 |
##ARLIBS = Intermediate archive libraries to combine in archive and
|
|
Packit Service |
3470d1 |
## shared library targets
|
|
Packit Service |
3470d1 |
##INCLUDE_TARGETS = include files to install (not clobbered)
|
|
Packit Service |
3470d1 |
##LIB_TARGETS_IMPLIB = import libraries built during libs phase
|
|
Packit Service |
3470d1 |
##LIB_TARGETS_ARLIB = archive libraries built during libs phase
|
|
Packit Service |
3470d1 |
##LIB_TARGETS_EXP= .exp file built during libs phase (Windows Only)
|
|
Packit Service |
3470d1 |
##LIB_TARGETS_MISC= Miscellaneous targets built during libs phase
|
|
Packit Service |
3470d1 |
##LIB_TARGETS = complete set of targets built during libs phase
|
|
Packit Service |
3470d1 |
##CMD_TARGETS_SHLIB = shared libraries built during cmds phase
|
|
Packit Service |
3470d1 |
##CMD_TARGETS_EXE = executables built during cmds phase
|
|
Packit Service |
3470d1 |
##CMD_TARGETS_DRIVER= Device Drivers built during cmds phase
|
|
Packit Service |
3470d1 |
## can also be a partial link of a device driver
|
|
Packit Service |
3470d1 |
## (LINUX and DARWIN only)
|
|
Packit Service |
3470d1 |
##CMD_TARGETS_KEXT= Final IOKit packaged Kernel Extension built during cmds
|
|
Packit Service |
3470d1 |
## phase and packaged using CMD_TARGETS_DRIVER (DARWIN only)
|
|
Packit Service |
3470d1 |
##CMD_TARGETS_MISC= Miscellaneous targets built during cmds phase
|
|
Packit Service |
3470d1 |
##CMD_TARGETS = complete set of targets built during cmds phase
|
|
Packit Service |
3470d1 |
##EXECUTABLE= executable to be run when testing/debugging [Not Defined]
|
|
Packit Service |
3470d1 |
##MISC_FILES= Miscellaneous files not-build (nor clobbered)
|
|
Packit Service |
3470d1 |
##CLEAN_TARGETS_MISC= Miscellaneous backup and junk files created during a
|
|
Packit Service |
3470d1 |
## build [Empty], removed during clean
|
|
Packit Service |
3470d1 |
##CLEAN_TARGETS = Intermediate build process file names to remove during clean
|
|
Packit Service |
3470d1 |
## or clobber (in addition to $(OBJECTS) [Not Defined]
|
|
Packit Service |
3470d1 |
##CLOBBER_TARGETS_MISC = Miscellaneous backup and junk files created during a
|
|
Packit Service |
3470d1 |
## build [Empty], removed during clobber
|
|
Packit Service |
3470d1 |
##CLOBBER_TARGETS = Targets to remove on a clobber [Not Defined]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Suffixes (all include the . ):
|
|
Packit Service |
3470d1 |
##LIB_PREFIX = prefix for shared and archive libraries (e.g., lib or "")
|
|
Packit Service |
3470d1 |
##SHLIB_SUFFIX = suffix for shared libraries (e.g., .dll, .sl, .so, etc)
|
|
Packit Service |
3470d1 |
##ARLIB_SUFFIX = suffix for static/archive libraries (e.g., .a, .lib, etc)
|
|
Packit Service |
3470d1 |
##EXE_SUFFIX = suffix for executable files (e.g, "", .exe, .out, etc)
|
|
Packit Service |
3470d1 |
##OBJ_SUFFIX = suffix for object files (e.g, .o, .obj, etc)
|
|
Packit Service |
3470d1 |
##KEXT_SUFFIX = suffix for kernel extensions (e.g, .kext) (DARWIN only)
|
|
Packit Service |
3470d1 |
##EXP_SUFFIX = suffix for export files (e.g, .exp, etc)
|
|
Packit Service |
3470d1 |
##PRE_SUFFIX = suffix for preprocessor output files (e.g, .pre, etc)
|
|
Packit Service |
3470d1 |
##RES_SUFFIX = suffix for compiled resource object files (e.g, .res, etc)
|
|
Packit Service |
3470d1 |
##DSP_SUFFIX = suffix for generated dsp files (e.g, _$(BUILD_TARGET).dsp)
|
|
Packit Service |
3470d1 |
##DSW_SUFFIX = suffix for generated dsw files (e.g, _$(BUILD_TARGET).dsw)
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Basic Commands:
|
|
Packit Service |
3470d1 |
##CAT = Unix cat command
|
|
Packit Service |
3470d1 |
##CHMOD = change file permissions
|
|
Packit Service |
3470d1 |
##CP = copy file
|
|
Packit Service |
3470d1 |
##ECHO = echo output to stdout
|
|
Packit Service |
3470d1 |
##INSTALL = tool to copy files if changed
|
|
Packit Service |
3470d1 |
##MV = command to rename or move files
|
|
Packit Service |
3470d1 |
##PERL = Perl Interpreter
|
|
Packit Service |
3470d1 |
##RM = command to remove file(s)
|
|
Packit Service |
3470d1 |
##RMFORCE = option to RM to ignore missing files and permissions problems
|
|
Packit Service |
3470d1 |
##RMRECURSE = option to RM to recursively remove directories
|
|
Packit Service |
3470d1 |
##SED = stream editor
|
|
Packit Service |
3470d1 |
##SHELL = Default system shell (bash)
|
|
Packit Service |
3470d1 |
##TOUCH = update file date (or create empty file)
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Paths:
|
|
Packit Service |
3470d1 |
##BIN_SUBDIR= subdirectory to install cmds to within
|
|
Packit Service |
3470d1 |
## PROJ_BIN_DIR/MOD_BIN_SUBDIR or PROJ_STAGE_BIN_DIR/MOD_BIN_SUBDIR
|
|
Packit Service |
3470d1 |
##INCLUDE_SUBDIR= subdirectory to install includes to within
|
|
Packit Service |
3470d1 |
## PROJ_INCLUDE_DIR/MOD_INCLUDE_SUBDIR or
|
|
Packit Service |
3470d1 |
## PROJ_STAGE_INCLUDE_DIR/MOD_INCLUDE_SUBDIR
|
|
Packit Service |
3470d1 |
##TOOLS_DIR - where to get development environment tools [/usr/local/ics/bin]
|
|
Packit Service |
3470d1 |
##TOOLCHAIN_DIR - where to get cross compilation tools [varies based on BUILD_TARGET]
|
|
Packit Service |
3470d1 |
##MAKETOOLS_DIR - where to get make tools [$(TL_DIR)/MakeTools]
|
|
Packit Service |
3470d1 |
##TL_DIR = defines Top Level directory for build
|
|
Packit Service |
3470d1 |
## (ie. where Makerules directory exists.)
|
|
Packit Service |
3470d1 |
##COMN_INCLUDE_DIRS = global include directories
|
|
Packit Service |
3470d1 |
## (include in PROJ_INCLUDE_DIRS or LOCAL_INCLUDE_DIRS when
|
|
Packit Service |
3470d1 |
## appropriate)
|
|
Packit Service |
3470d1 |
##COMN_LIB_DIRS = global library directories
|
|
Packit Service |
3470d1 |
## (include in PROJ_LIB_DIRS or LOCAL_LIB_DIRS when appropriate)
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##The following paths are of the form:
|
|
Packit Service |
3470d1 |
## X_DIR - base directory for the subdirs below
|
|
Packit Service |
3470d1 |
## X_BIN_DIR - where to copy executable files built
|
|
Packit Service |
3470d1 |
## X_INCLUDE_DIR - where to copy include files built
|
|
Packit Service |
3470d1 |
## X_LIB_DIR - where to copy archive lib files built
|
|
Packit Service |
3470d1 |
## X_SHLIB_DIR - where to copy shared lib files built
|
|
Packit Service |
3470d1 |
## X_SBR_DIR - where to copy sbr files built (Windows Only)
|
|
Packit Service |
3470d1 |
##Where X is:
|
|
Packit Service |
3470d1 |
## GLOBAL - during basic build pass, use to define PROJ versions
|
|
Packit Service |
3470d1 |
## PROJ - in a local makefile without Makerules.module during
|
|
Packit Service |
3470d1 |
## basic build pass [Empty]
|
|
Packit Service |
3470d1 |
## MOD - in a local makefile during basic build pass [Empty]
|
|
Packit Service |
3470d1 |
## STAGE - during stage build pass, use to define PROJ_STAGE versions
|
|
Packit Service |
3470d1 |
## PROJ_STAGE - in a local makefile without Makerules.module during
|
|
Packit Service |
3470d1 |
## stage build pass [Empty]
|
|
Packit Service |
3470d1 |
## MOD_STAGE - in a local makefile during stage build pass [Empty]
|
|
Packit Service |
3470d1 |
## RELEASE - during release step,(used to be part of COMN_ paths above)
|
|
Packit Service |
3470d1 |
## if the MOD and MOD_STAGE versions are not defined (as would be
|
|
Packit Service |
3470d1 |
## the case for a local makefile which is not part of a module)
|
|
Packit Service |
3470d1 |
## The PROJ and PROJ_STATE versions will be used. This occurs on
|
|
Packit Service |
3470d1 |
## a path by path basis. This applies to all the paths above
|
|
Packit Service |
3470d1 |
## except X_DIR.
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Compilation/Build Commands and flags:
|
|
Packit Service |
3470d1 |
##Within the execution of commands, a common style is used for naming
|
|
Packit Service |
3470d1 |
##the variables:
|
|
Packit Service |
3470d1 |
## X = tool name
|
|
Packit Service |
3470d1 |
## XSYS = special windows options required to make tool work properly
|
|
Packit Service |
3470d1 |
## for combination of BUILD_TARGET and BUILD_PLATFORM
|
|
Packit Service |
3470d1 |
## defined in makerules.global
|
|
Packit Service |
3470d1 |
## XLOCAL = User supplied flags for tool [Empty]
|
|
Packit Service |
3470d1 |
## these can be defined in the local makefile
|
|
Packit Service |
3470d1 |
## XMOD = User supplied flags for tool [Not Defined]
|
|
Packit Service |
3470d1 |
## these can be defined in the local module makefile
|
|
Packit Service |
3470d1 |
## for multiple level modules (ie. with sub-directories)
|
|
Packit Service |
3470d1 |
## these will drive down into the sub-directories, much as
|
|
Packit Service |
3470d1 |
## XPROJ flags drive into all the modules in a project
|
|
Packit Service |
3470d1 |
## XPROJ = project level flags for tool [Not Defined]
|
|
Packit Service |
3470d1 |
## these should only be defined in the makerules.project file
|
|
Packit Service |
3470d1 |
## XENV = environment supplied flags for tool [Not Defined]
|
|
Packit Service |
3470d1 |
## these can be defined in the environment
|
|
Packit Service |
3470d1 |
## XMACH - flags to tell tool the machine type being built for
|
|
Packit Service |
3470d1 |
## (does not apply to all tool types)
|
|
Packit Service |
3470d1 |
## XFLAGS = complete set of flags for tool
|
|
Packit Service |
3470d1 |
## composed from all the above flags
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##BSC = Browse File Builder (Windows Only)
|
|
Packit Service |
3470d1 |
##BSCSYS = Win32 flags for Browse File Builder
|
|
Packit Service |
3470d1 |
##BSCLOCAL = User flags for Browse File Builder [Empty]
|
|
Packit Service |
3470d1 |
##BSCMOD = module level flags for Browse File Builder [Not Defined]
|
|
Packit Service |
3470d1 |
##BSCPROJ = project level flags for Browse File Builder [Not Defined]
|
|
Packit Service |
3470d1 |
##BSCENV = Environment defined Browse File Builder flags [Not Defined]
|
|
Packit Service |
3470d1 |
##BSCFLAGS = complete set of flags for Browse File Builder
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##TARGET_BSP = BSP to be built. This indicates the sub-directory in
|
|
Packit Service |
3470d1 |
## BSP/ to build when doing a maketargets.bsp
|
|
Packit Service |
3470d1 |
## If this is not defined, BSP builds do not occur
|
|
Packit Service |
3470d1 |
## This only applies to VXWORKS based BUILD_TARGETs
|
|
Packit Service |
3470d1 |
##BSP_TARGETS = set of files which are created by the BSP build (e.g. vxWorks, map, sym)
|
|
Packit Service |
3470d1 |
## during a BSP build [internal value set in maketargets.bsp]
|
|
Packit Service |
3470d1 |
##BSP_MAKE_TARGET= which BSP to build (e.g. vxWorks, vxWorks,st, defaults to vxWorks)
|
|
Packit Service |
3470d1 |
## [internal value set in maketargets.bsp]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##BUILDMSGS = Message Table translator command
|
|
Packit Service |
3470d1 |
##BUILDMSGS_PL = Message Table translator script file
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##CC = Platform C compiler program
|
|
Packit Service |
3470d1 |
##CCC = Platform C++ compiler program
|
|
Packit Service |
3470d1 |
##CLOCALDEBUG= User defined C debugging compilation flags [Empty]
|
|
Packit Service |
3470d1 |
## only used when BUILD_CONFIG=debug
|
|
Packit Service |
3470d1 |
##CCLOCALDEBUG= User defined C++ debugging compilation flags [Empty]
|
|
Packit Service |
3470d1 |
## only used when BUILD_CONFIG=debug
|
|
Packit Service |
3470d1 |
##CDEBUG = C debugging compilation flags
|
|
Packit Service |
3470d1 |
##CCDEBUG = C++ debugging compilation flags
|
|
Packit Service |
3470d1 |
##COPT = C optimization options
|
|
Packit Service |
3470d1 |
##CCOPT = C++ optimization options
|
|
Packit Service |
3470d1 |
##CANSI = C Compilation flags for ANSI C (Use in CLOCAL, CMOD or CPROJ for
|
|
Packit Service |
3470d1 |
## ANSI-C compatible C source code)
|
|
Packit Service |
3470d1 |
##CPIC = C Compilation flags for Position Indepdent Code
|
|
Packit Service |
3470d1 |
## (Use in CLOCAL, CMOD or CPROJ for Shared Library builds)
|
|
Packit Service |
3470d1 |
##CCPIC = C++ Compilation flags for Position Indepdent Code
|
|
Packit Service |
3470d1 |
## (Use in CLOCAL, CMOD or CPROJ for Shared Library builds)
|
|
Packit Service |
3470d1 |
##CCRTTI = C++ compilation flags to enable C++ Run Time Type Information
|
|
Packit Service |
3470d1 |
##CCEXH = C++ compilation flags to enable C++ Exception handling
|
|
Packit Service |
3470d1 |
##CLOCAL = User defined C flags for compiling [Empty]
|
|
Packit Service |
3470d1 |
##CCLOCAL = User defined C++ flags for compiling [Empty]
|
|
Packit Service |
3470d1 |
##CENV = Environment defined C compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CCENV = Environment defined C++ compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CENVFS = Environment defined C compilation flags per feature set [Not Defined]
|
|
Packit Service |
3470d1 |
##CCENVFS = Environment defined C++ compilation flags per feature set [Not Defined]
|
|
Packit Service |
3470d1 |
##CMOD = module level defined C compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CCMOD = module level defined C++ compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CPROJ = project level defined C compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CCPROJ = project level defined C++ compilation flags [Not Defined]
|
|
Packit Service |
3470d1 |
##CMACH = defines for system type
|
|
Packit Service |
3470d1 |
##CSYS = target/platform specific C compilation flags
|
|
Packit Service |
3470d1 |
##CCSYS = target/platform specific C++ compilation flags
|
|
Packit Service |
3470d1 |
##SYS_INCLUDE_DIRS = target/platform specific include directories
|
|
Packit Service |
3470d1 |
##LOCAL_INCLUDE_DIRS = User include directories to search for C/C++ headers [Empty]
|
|
Packit Service |
3470d1 |
##MOD_INCLUDE_DIRS = module level directories to search for C/C++ headers [Not Defined]
|
|
Packit Service |
3470d1 |
##PROJ_INCLUDE_DIRS = project level directories to search for C/C++ headers [Not Defined]
|
|
Packit Service |
3470d1 |
##CSHARED = C compilation flags for shared library .o files (include in
|
|
Packit Service |
3470d1 |
## CLOCAL, CMOD or CPROJ when appropriate)
|
|
Packit Service |
3470d1 |
##CCSHARED = C++ compilation flags for shared library .o files (include in
|
|
Packit Service |
3470d1 |
## CCLOCAL, CMOD or CCPROJ when appropriate)
|
|
Packit Service |
3470d1 |
##CFLAGS = Complete set of C compilation flags
|
|
Packit Service |
3470d1 |
##CCFLAGS = Complete set of C++ compilation flags
|
|
Packit Service |
3470d1 |
##CINCLUDE_DIRS = Complete set of C include directories
|
|
Packit Service |
3470d1 |
##CINCSRCH = full compiler directives for include paths to search
|
|
Packit Service |
3470d1 |
##SUBSYSTEM = Subsystem to build for (none, console or windows) (Windows Only)
|
|
Packit Service |
3470d1 |
## [default console]
|
|
Packit Service |
3470d1 |
##USEMFC = How Windows MFC should be used (none, static, shared, no_mfc)
|
|
Packit Service |
3470d1 |
## (Windows Only) [default none]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##MAKEDEPEND = System makedepend application (Windows Only, on others
|
|
Packit Service |
3470d1 |
## $(CC) $(DEPENDFLAGS) -MT $(BUILDIR)/$*.o -MM is used)
|
|
Packit Service |
3470d1 |
##DEPENDFLAGS = makedepend flags for .c files
|
|
Packit Service |
3470d1 |
##CCDEPENDFLAGS = makedepend flags for .cpp files
|
|
Packit Service |
3470d1 |
##DEPENDMOD = module level defined makedepend flags [Not Defined]
|
|
Packit Service |
3470d1 |
##DEPENDPROJ = project level defined makedepend flags [Not Defined]
|
|
Packit Service |
3470d1 |
##DEPENDLOCAL = user defined makedepend flags [Empty]
|
|
Packit Service |
3470d1 |
##DEPENDENV = Environment defined makedepend flags [Not Defined]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##LD = System linker
|
|
Packit Service |
3470d1 |
##LDSTRIP = LD option to strip [-s] ("" on Win32)
|
|
Packit Service |
3470d1 |
##LDPDB_DEBUG = LD option to create pdb file for debug builds [/debug /pdbtype:sept /debugtype:both] (Windows Only)
|
|
Packit Service |
3470d1 |
##LDPDB_RELEASE = LD option to create pdb file for release builds [/debug /pdbtype:sept /debugtype:both] (Windows Only)
|
|
Packit Service |
3470d1 |
##LDLOCAL = User defined C flags for linking [Empty]
|
|
Packit Service |
3470d1 |
##LDENV = Environment defined linker flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LDENVFS = Environment defined linker flags per feature set [Not Defined]
|
|
Packit Service |
3470d1 |
##LDMOD = module level defined linker flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LDPROJ = project level defined linker flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LDMACH = Flags to specify machine type to linker
|
|
Packit Service |
3470d1 |
##LDSYS = target/platform specific Linker flags
|
|
Packit Service |
3470d1 |
##LDOUTPUT = platform specific linker flag to specify output file
|
|
Packit Service |
3470d1 |
##LDSTATIC = platform specific linker flag to specify linking only with static
|
|
Packit Service |
3470d1 |
## (eg. non-dynamic) libraries
|
|
Packit Service |
3470d1 |
##LDFLAGS = Complete set of Linker flags
|
|
Packit Service |
3470d1 |
##CCLIBS = basic C++ libraries (include in MODLIBS, PROJLIBS or LIBS when appropriate)
|
|
Packit Service |
3470d1 |
##LOCALDEPLIBS = User archive libraries to include in dependencies [Empty]
|
|
Packit Service |
3470d1 |
## (omit the lib prefix and .a suffix)
|
|
Packit Service |
3470d1 |
##LOCALLIBS = User libraries to use when linking [Empty]
|
|
Packit Service |
3470d1 |
## (in addition to LOCALDEPLIBS)
|
|
Packit Service |
3470d1 |
## (omit the lib prefix and .a suffix)
|
|
Packit Service |
3470d1 |
##LOCAL_LIB_DIRS = User library directories for libpaths [Empty]
|
|
Packit Service |
3470d1 |
##MODDEPLIBS = module level archive libraries to include in dependencies [Empty]
|
|
Packit Service |
3470d1 |
## (omit the lib prefix and .a suffix)
|
|
Packit Service |
3470d1 |
##MODLIBS = module level libraries to use when linking [Empty]
|
|
Packit Service |
3470d1 |
## (in addition to MODDEPLIBS)
|
|
Packit Service |
3470d1 |
##MOD_LIB_DIRS = module level library directories for libpaths [Empty]
|
|
Packit Service |
3470d1 |
##PROJDEPLIBS = project level archive libraries to include in dependencies [Empty]
|
|
Packit Service |
3470d1 |
## (omit the lib prefix and .a suffix)
|
|
Packit Service |
3470d1 |
##PROJLIBS = project level libraries to use when linking [Empty]
|
|
Packit Service |
3470d1 |
## (in addition to PROJDEPLIBS)
|
|
Packit Service |
3470d1 |
## (omit the lib prefix and .a suffix)
|
|
Packit Service |
3470d1 |
##PROJ_LIB_DIRS = project level library directories for libpaths [Empty]
|
|
Packit Service |
3470d1 |
##SYSLIBS = target/platform specific library link directives
|
|
Packit Service |
3470d1 |
##SYS_LIB_DIRS = target/platform specific library directories
|
|
Packit Service |
3470d1 |
##LD_LIB_DIRS = full list of library paths to search
|
|
Packit Service |
3470d1 |
##LDLIBSRCH = full link directives for library paths to search
|
|
Packit Service |
3470d1 |
##LDLIBS = full link directives for libraries
|
|
Packit Service |
3470d1 |
##DEPLIBS_TARGETS = target names for make dependencies based on archive libraries
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##LEX = platform specific Lexical analyzer generator
|
|
Packit Service |
3470d1 |
##LEX_LIB = library needed by code compiled with lex
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##LINT = platform specific Lint code analyzer
|
|
Packit Service |
3470d1 |
##LINTENV = Environment defined lint flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LINTLOCAL = User defined lint flags [Empty]
|
|
Packit Service |
3470d1 |
##LINTMOD = module level lint flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LINTPROJ = project level lint flags [Not Defined]
|
|
Packit Service |
3470d1 |
##LINTFLAGS = lint flags (includes CFLAGS)
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## Flags for building kernel modules/drivers/kext:
|
|
Packit Service |
3470d1 |
##CKERNEL = C/C++ compiler flags to use
|
|
Packit Service |
3470d1 |
##CKERNELOPS= base C/C++ compiler flags to use [Darwin only]
|
|
Packit Service |
3470d1 |
##KERNEL_INCLUDE_DIRS= directories to get include files from
|
|
Packit Service |
3470d1 |
##KERNELLIBS = libraries to link with (and linker options)
|
|
Packit Service |
3470d1 |
##KERNELDIR = primary path to kernel headers/libs/etc for desired kernel version
|
|
Packit Service |
3470d1 |
##CPROJKERNEL= project level C compiler flags for use by individual makefiles
|
|
Packit Service |
3470d1 |
## as part of CLOCAL and/or CCLOCAL for makefiles building
|
|
Packit Service |
3470d1 |
## drivers, typically composed of $(CKERNEL) [Not Defined]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##MIDL = IDL compiler (Windows Only)
|
|
Packit Service |
3470d1 |
##MIDLSYS = Win32 specific IDL compiler flags
|
|
Packit Service |
3470d1 |
##MIDLLOCAL = User flags for IDL compiler [Empty]
|
|
Packit Service |
3470d1 |
##MIDLMOD = module level flags for IDL compiler [Not Defined]
|
|
Packit Service |
3470d1 |
##MIDLPROJ = project level flags for IDL compiler [Not Defined]
|
|
Packit Service |
3470d1 |
##MIDLENV = Environment defined IDL compiler flags [Not Defined]
|
|
Packit Service |
3470d1 |
##MIDLFLAGS = Complete set of IDL compiler flags
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##REGEXE = command to update registry from a .exe file (Windows Only)
|
|
Packit Service |
3470d1 |
##REGDLL = command to update registry from a .dll file (Windows Only)
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##MKSHLIB = command to build dynamic/shared library from .o's built w/CSHARED
|
|
Packit Service |
3470d1 |
##MKARLIB = command to build static/archive library from .o's
|
|
Packit Service |
3470d1 |
##MKPARTIAL = command to partially link .o's into a single .o's
|
|
Packit Service |
3470d1 |
##MKMODULE = command to link .o's into a single kernel module (Linux only)
|
|
Packit Service |
3470d1 |
##DEFFILE = definition file for dynamic/shared library used by MKSHLIB
|
|
Packit Service |
3470d1 |
## (Windows Only)
|
|
Packit Service |
3470d1 |
##IMPLIBLOCAL = User flags for Object Lirary Manager [Empty]
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##PREP = File post-processor to prepare files for release, by marking with
|
|
Packit Service |
3470d1 |
## build date and version string
|
|
Packit Service |
3470d1 |
##PATCH_VERSION = program to patch version into data in code file
|
|
Packit Service |
3470d1 |
##PATCH_ENG_VERSION = program to patch version into data in code file for
|
|
Packit Service |
3470d1 |
## engineer non-offical builds/releases
|
|
Packit Service |
3470d1 |
##CONVERT_RELEASETAG= program to convert RELEASE_TAG to a doted version format
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##RSC = resource compiler (Windows Only)
|
|
Packit Service |
3470d1 |
##RSCMACH = flags to specify machine type to RSC compiler
|
|
Packit Service |
3470d1 |
##RSCLOCAL = User flags for resource compiler [Empty]
|
|
Packit Service |
3470d1 |
##RSCMOD = module level flags for resource compiler [Not Defined]
|
|
Packit Service |
3470d1 |
##RSCPROJ = project level flags for resource compiler [Not Defined]
|
|
Packit Service |
3470d1 |
##RSCSYS = Win32 specific resource compiler flags
|
|
Packit Service |
3470d1 |
##RSCENV = Environment defined resource compiler flags [Not Defined]
|
|
Packit Service |
3470d1 |
##RSCFLAGS = Compile set of Resource compiler flags
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
## The parameters below control the construction of Visual Studio Project Files
|
|
Packit Service |
3470d1 |
## These are only used on BUILD_PLATFORMS of DOS and CYGWIN when building
|
|
Packit Service |
3470d1 |
## for CYGWIN, WIN32 or MIPS.
|
|
Packit Service |
3470d1 |
##BUILDDSW = command to build DSW file from a list of project files
|
|
Packit Service |
3470d1 |
##FINDDSPFILES= command to expand module names into complete pathnames
|
|
Packit Service |
3470d1 |
## to dsp files
|
|
Packit Service |
3470d1 |
##DS_PROJECT= Developer Studio Project name (set to this directory name),
|
|
Packit Service |
3470d1 |
## for use in .dsp and .dsw filenames
|
|
Packit Service |
3470d1 |
##DS_SUBPROJECTS= User specified other dsp files to include as subprojects
|
|
Packit Service |
3470d1 |
## in dsw. [Not Defined]
|
|
Packit Service |
3470d1 |
## These must be pathnames relative to TL_DIR. They can be
|
|
Packit Service |
3470d1 |
## directory names (in which case the .dsp is assumed to have the
|
|
Packit Service |
3470d1 |
## same basename as the directory) or dsp filenames.
|
|
Packit Service |
3470d1 |
##DS_PROJECTS= Base set of projects to include in all dsw files
|
|
Packit Service |
3470d1 |
##DSP_SOURCES= User specified list of source files, in the present directory
|
|
Packit Service |
3470d1 |
## which are to be included in the dsp file [Not Defined]
|
|
Packit Service |
3470d1 |
##DSP_FILE = dsp file to build
|
|
Packit Service |
3470d1 |
##DSP_TMP_FILE=temp dsp file to build to
|
|
Packit Service |
3470d1 |
##DSW_FILE = dsw file to build
|
|
Packit Service |
3470d1 |
##DSW_TMP_FILE= temp dsw file to build to
|
|
Packit Service |
3470d1 |
##DSP_SRC_DIR= Source directory to use for files in this directory
|
|
Packit Service |
3470d1 |
##DSP_GROUP = Group name to use for this source directory in dsp file
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
##FUTURE - on windows allow PCH_TARGET to be defined, which will cause a
|
|
Packit Service |
3470d1 |
## precompiled header to be built or used
|
|
Packit Service |
3470d1 |
## PCHFLAGS - compiler files to make PCH_TARGET into a precompiled header
|
|
Packit Service |
3470d1 |
## FUTURE - support SUSYSTEM=posix on Windows
|
|
Packit Service |
3470d1 |
## FUTURE - rename DEPLIBS as DEPARLIBS and DEPSHLIBS if need to support
|
|
Packit Service |
3470d1 |
## dependent shared libraries
|
|
Packit Service |
3470d1 |
##
|
|
Packit Service |
3470d1 |
#=============================================================================#
|