Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
446N/A#
446N/A# CDDL HEADER START
446N/A#
446N/A# The contents of this file are subject to the terms of the
446N/A# Common Development and Distribution License (the "License").
446N/A# You may not use this file except in compliance with the License.
446N/A#
446N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
446N/A# or http://www.opensolaris.org/os/licensing.
446N/A# See the License for the specific language governing permissions
446N/A# and limitations under the License.
446N/A#
446N/A# When distributing Covered Code, include this CDDL HEADER in each
446N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
446N/A# If applicable, add the following below this CDDL HEADER, with the
446N/A# fields enclosed by brackets "[]" replaced with your own identifying
873N/A# information: Portions Copyright [yyyy] [name of copyright owner]
446N/A#
446N/A# CDDL HEADER END
446N/A#
446N/A#
4618N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
446N/A# Use is subject to license terms.
446N/A#
446N/A# cmd/sgs/nm/sparcv9/Makefile
446N/A#
446N/A
446N/APROG= nm
446N/A
446N/AARFORMAT= PORTAR
446N/A
446N/Ainclude ../../../Makefile.cmd
446N/Ainclude ../../Makefile.com
446N/A
446N/ACOMOBJS= nm.o
446N/A
446N/AOBJS= $(COMOBJS)
446N/A
446N/ASRCS= $(COMOBJS:%.o=../common/%.c)
446N/A
446N/ALDFLAGS += '-R$$ORIGIN/../../../lib/$(MACH64)'
446N/AINCLIST= -I../../include -I../../include/sparc \
446N/A -I$(SRCBASE)/uts/$(ARCH)/sys
446N/ADEFLIST= -DTARGET=SPARC -DSPARC=1 -D$(ARFORMAT) -DELF
446N/ACPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
446N/ACERRWARN += -_gcc=-Wno-uninitialized
446N/ALDLIBS += $(CONVLIBDIR64) $(CONV_LIB) $(ELFLIBDIR) -lelf
446N/ALINTFLAGS64= -x $(LDLIBS) -m64
446N/ALINTSRCS= $(SRCS)
446N/ACLEANFILES += $(LINTOUTS)
446N/A
446N/A
446N/A%.o: ../common/%.c
446N/A $(COMPILE.c) $<
446N/A
446N/A$(ROOTCCSBIN64)/%: %
446N/A $(INS.file)
446N/A
446N/A.KEEP_STATE:
446N/A
446N/Aall: $(PROG)
446N/A
446N/A$(PROG): $(OBJS)
446N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
446N/A $(POST_PROCESS)
446N/A
446N/Apackage \
446N/Ainstall: all $(VAR_SGSBINPROG64) $(VAR_SGSCCSLINK64)
446N/A
446N/Aclean:
446N/A $(RM) $(OBJS) $(CLEANFILES)
446N/A
446N/Alint: $(LINTOUT64) $(SGSLINTOUT)
446N/A
446N/Ainclude ../../Makefile.targ
446N/Ainclude ../../../Makefile.targ
446N/Ainclude ../../Makefile.sub.64
446N/A