107N/A#
107N/A# CDDL HEADER START
107N/A#
107N/A# The contents of this file are subject to the terms of the
107N/A# Common Development and Distribution License (the "License").
107N/A# You may not use this file except in compliance with the License.
107N/A#
107N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107N/A# or http://www.opensolaris.org/os/licensing.
107N/A# See the License for the specific language governing permissions
107N/A# and limitations under the License.
107N/A#
107N/A# When distributing Covered Code, include this CDDL HEADER in each
107N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
107N/A# If applicable, add the following below this CDDL HEADER, with the
107N/A# fields enclosed by brackets "[]" replaced with your own identifying
107N/A# information: Portions Copyright [yyyy] [name of copyright owner]
107N/A#
873N/A# CDDL HEADER END
107N/A#
107N/A#
107N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
107N/A# Use is subject to license terms.
107N/A#
3231N/A
107N/APROG = mpstat
107N/AOBJS = mpstat.o
2086N/ASRCS =$(OBJS:%.o=%.c) $(COMMON_SRCS)
107N/A
107N/Ainclude $(SRC)/cmd/Makefile.cmd
107N/Ainclude $(SRC)/cmd/stat/Makefile.stat
107N/A
107N/ALDLIBS += -ldevinfo -lkstat -lavl
107N/ACFLAGS += $(CCVERBOSE) -I${STATCOMMONDIR}
338N/ACERRWARN += -_gcc=-Wno-uninitialized
107N/ACERRWARN += -_gcc=-Wno-switch
2086N/ACERRWARN += -_gcc=-Wno-parentheses
107N/AFILEMODE= 0555
107N/A
107N/Alint := LINTFLAGS = -muxs -I$(STATCOMMONDIR)
107N/A
107N/A.KEEP_STATE:
107N/A
107N/Aall: $(PROG)
107N/A
107N/Ainstall: all $(ROOTPROG)
107N/A
107N/A$(PROG): $(OBJS) $(COMMON_OBJS)
107N/A $(LINK.c) -o $(PROG) $(OBJS) $(COMMON_OBJS) $(LDLIBS)
107N/A $(POST_PROCESS)
107N/A
107N/A%.o : $(STATCOMMONDIR)/%.c
107N/A $(COMPILE.c) -o $@ $<
107N/A $(POST_PROCESS_O)
107N/A
107N/Aclean:
107N/A -$(RM) $(OBJS) $(COMMON_OBJS)
107N/A
107N/Alint: lint_SRCS
107N/A
107N/Ainclude $(SRC)/cmd/Makefile.targ
107N/A