Makefile revision 5aefb6555731130ca4fd295960123d71f2d21fe8
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER START
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# The contents of this file are subject to the terms of the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Common Development and Distribution License (the "License").
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You may not use this file except in compliance with the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# See the License for the specific language governing permissions
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# and limitations under the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# When distributing Covered Code, include this CDDL HEADER in each
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# If applicable, add the following below this CDDL HEADER, with the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner]
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER END
6f269e977ae7318d374676a38d516ed59c43135eMark J. Nelson# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Use is subject to license terms.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# ident "%Z%%M% %I% %E% SMI"
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaL_MACHOBJS32 = machrel.sparc32.o machsym.sparc32.o
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaL_MACHOBJS64 = machrel.sparc64.o machsym.sparc64.o
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Associate ELF32 and ELF64 objects to the appropriate headers.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazapics/%32.o := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazapics/%64.o := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Associate the various lint targets with the appropriate headers/files.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza$(LINTOUT32) := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld \
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza$(LINTOUT64) := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld \
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza$(LINTLIB32) := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld \
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza$(LINTLIB64) := CPPFLAGS += -I$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld \
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaLINTSRCS32 += $(G_MACHOBJS32:%32.o=$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld/%.c)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaLINTSRCS64 += $(G_MACHOBJS64:%64.o=$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld/%.c)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Compensate chkmsg with the doreloc family.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCHKSRCS += $(G_MACHOBJS32:%32.o=$(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld/%.c)