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