File:  [EPICS Repository] / base / configure / CONFIG.CrossCommon
Revision 1.11: download - view: text, annotated - select for diffs
Fri Oct 31 21:42:12 2008 UTC (9 years, 1 month ago) by jba
Branches: MAIN
CVS tags: HEAD
Syncing main trunk with R3-14-2_branch branch.

#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
#     National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
#     Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution. 
#*************************************************************************
# Cross compiler default definitions

# Build class: either HOST or CROSS
# Used to determine OPT and WARN compiler flags
BUILD_CLASS = CROSS

# Cross build: either defined or not
# Used in os/CONFIG.Common.<arch> files
#   ifdef CROSS    looks better than  ifeq ($(BUILD_CLASS),CROSS)
CROSS = YES

GNU_TARGET_INCLUDE_DIR = $(GNU_TARGET:%= $(GNU_DIR)/%/include)
GNU_TARGET_LIB_DIR = $(GNU_TARGET:%= $(GNU_DIR)/%/lib)

CROSS_INCLUDES = $(addprefix -I,$(GNU_TARGET_INCLUDE_DIR))
CROSS_LDFLAGS = $(addprefix -L,$(GNU_TARGET_LIB_DIR))

CMPLR_PREFIX_CROSS=$(addsuffix -,$(GNU_TARGET))
CMPLR_PREFIX=$(CMPLR_PREFIX_$(BUILD_CLASS))

# All cross builds use the gnu compiler
include $(CONFIG)/CONFIG.gnuCommon


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>