1*5a59a8b3Srsb# 2*5a59a8b3Srsb# CDDL HEADER START 3*5a59a8b3Srsb# 4*5a59a8b3Srsb# The contents of this file are subject to the terms of the 5*5a59a8b3Srsb# Common Development and Distribution License (the "License"). 6*5a59a8b3Srsb# You may not use this file except in compliance with the License. 7*5a59a8b3Srsb# 8*5a59a8b3Srsb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*5a59a8b3Srsb# or http://www.opensolaris.org/os/licensing. 10*5a59a8b3Srsb# See the License for the specific language governing permissions 11*5a59a8b3Srsb# and limitations under the License. 12*5a59a8b3Srsb# 13*5a59a8b3Srsb# When distributing Covered Code, include this CDDL HEADER in each 14*5a59a8b3Srsb# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*5a59a8b3Srsb# If applicable, add the following below this CDDL HEADER, with the 16*5a59a8b3Srsb# fields enclosed by brackets "[]" replaced with your own identifying 17*5a59a8b3Srsb# information: Portions Copyright [yyyy] [name of copyright owner] 18*5a59a8b3Srsb# 19*5a59a8b3Srsb# CDDL HEADER END 20*5a59a8b3Srsb# 21*5a59a8b3Srsb# 22*5a59a8b3Srsb# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*5a59a8b3Srsb# Use is subject to license terms. 24*5a59a8b3Srsb# 25*5a59a8b3Srsb#ident "%Z%%M% %I% %E% SMI" 26*5a59a8b3Srsb# 27*5a59a8b3Srsb 28*5a59a8b3SrsbPROG = fsstat 29*5a59a8b3SrsbOBJS = fsstat.o 30*5a59a8b3SrsbSRCS =$(OBJS:%.o=%.c) 31*5a59a8b3Srsb 32*5a59a8b3Srsbinclude $(SRC)/cmd/Makefile.cmd 33*5a59a8b3Srsb 34*5a59a8b3SrsbLDLIBS += -lkstat 35*5a59a8b3SrsbCFLAGS += $(CCVERBOSE) -I${STATCOMMONDIR} -g 36*5a59a8b3SrsbFILEMODE= 0555 37*5a59a8b3SrsbGROUP= bin 38*5a59a8b3Srsb 39*5a59a8b3Srsblint := LINTFLAGS = -muxs -I$(STATCOMMONDIR) 40*5a59a8b3Srsb 41*5a59a8b3Srsb.KEEP_STATE: 42*5a59a8b3Srsb 43*5a59a8b3Srsball: $(PROG) 44*5a59a8b3Srsb 45*5a59a8b3Srsbinstall: all $(ROOTPROG) 46*5a59a8b3Srsb 47*5a59a8b3Srsb$(PROG): $(OBJS) 48*5a59a8b3Srsb $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS) 49*5a59a8b3Srsb $(POST_PROCESS) 50*5a59a8b3Srsb 51*5a59a8b3Srsbclean: 52*5a59a8b3Srsb -$(RM) $(OBJS) 53*5a59a8b3Srsb 54*5a59a8b3Srsblint: lint_SRCS 55*5a59a8b3Srsb 56*5a59a8b3Srsbinclude $(SRC)/cmd/Makefile.targ 57