#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
VERS = .4
# Relocation engine objects. These are kept separate from the L_XXX_MACHOBJS
# lists below in order to facilitate linting them.
# All target specific objects rolled together
E_TOOLOBJS = $(E_SPARC_TOOLOBJS) \
L_MACHOBJS32 = $(L_SPARC_MACHOBJS32) \
L_MACHOBJS64 = $(L_SPARC_MACHOBJS64) \
$(L_MACHOBJS32) $(L_MACHOBJS64) \
#
LINTFLAGS += -u -D_REENTRANT
LINTFLAGS64 += -u -D_REENTRANT
# Due to cross linking support, every copy of libld contains every message.
# However, we keep target specific messages in their own separate files for
# organizational reasons.
#
$(L_MACHOBJS32:%32.o=../common/%.c) \
$(L_MACHOBJS64:%64.o=../common/%.c) \
$(KRTLD_I386)/doreloc.c \
$(KRTLD_AMD64)/doreloc.c \
$(BLTDATA)
LINTSRCS32 = $(COMOBJS32:%32.o=../common/%.c) \
$(L_MACHOBJS32:%32.o=../common/%.c)
LINTSRCS64 = $(COMOBJS64:%64.o=../common/%.c) \
$(L_MACHOBJS64:%64.o=../common/%.c)
# Add the shared relocation engine source files to the lint
# sources and add the necessary command line options to lint them
# correctly. Make can't derive the files since the source and object
# names are not directly related