166448911SDavid Höppner# 266448911SDavid Höppner# CDDL HEADER START 366448911SDavid Höppner# 466448911SDavid Höppner# The contents of this file are subject to the terms of the 566448911SDavid Höppner# Common Development and Distribution License (the "License"). 666448911SDavid Höppner# You may not use this file except in compliance with the License. 766448911SDavid Höppner# 866448911SDavid Höppner# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 966448911SDavid Höppner# or http://www.opensolaris.org/os/licensing. 1066448911SDavid Höppner# See the License for the specific language governing permissions 1166448911SDavid Höppner# and limitations under the License. 1266448911SDavid Höppner# 1366448911SDavid Höppner# When distributing Covered Code, include this CDDL HEADER in each 1466448911SDavid Höppner# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1566448911SDavid Höppner# If applicable, add the following below this CDDL HEADER, with the 1666448911SDavid Höppner# fields enclosed by brackets "[]" replaced with your own identifying 1766448911SDavid Höppner# information: Portions Copyright [yyyy] [name of copyright owner] 1866448911SDavid Höppner# 1966448911SDavid Höppner# CDDL HEADER END 2066448911SDavid Höppner# 2166448911SDavid Höppner# 2266448911SDavid Höppner# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2366448911SDavid Höppner# Use is subject to license terms. 2466448911SDavid Höppner# 258af765f5SPeter Tribble# Copyright 2020 Peter tribble. 26*608eb926SHans Rosenfeld# Copyright 2025 Hans Rosenfeld 278af765f5SPeter Tribble# 2866448911SDavid Höppner 2966448911SDavid HöppnerPROG = kstat 3066448911SDavid HöppnerOBJS = kstat.o 3166448911SDavid HöppnerSRCS =$(OBJS:%.o=%.c) $(COMMON_SRCS) 3266448911SDavid Höppner 3366448911SDavid Höppnerinclude $(SRC)/cmd/Makefile.cmd 3466448911SDavid Höppnerinclude $(SRC)/cmd/stat/Makefile.stat 3566448911SDavid Höppner 3666448911SDavid HöppnerLDLIBS += -lavl -lcmdutils -ldevinfo -lgen -lkstat 37*608eb926SHans RosenfeldCFLAGS += $(CCVERBOSE) 3866448911SDavid HöppnerCERRWARN += -_gcc=-Wno-switch 3966448911SDavid HöppnerCERRWARN += -_gcc=-Wno-parentheses 40e633f2d7SRichard Lowe 4166448911SDavid HöppnerFILEMODE= 0555 4266448911SDavid Höppner 43*608eb926SHans Rosenfeldinclude $(SRC)/cmd/stat/Makefile.stat.targ 44