15a59a8b3Srsb# 25a59a8b3Srsb# CDDL HEADER START 35a59a8b3Srsb# 45a59a8b3Srsb# The contents of this file are subject to the terms of the 55a59a8b3Srsb# Common Development and Distribution License (the "License"). 65a59a8b3Srsb# You may not use this file except in compliance with the License. 75a59a8b3Srsb# 85a59a8b3Srsb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95a59a8b3Srsb# or http://www.opensolaris.org/os/licensing. 105a59a8b3Srsb# See the License for the specific language governing permissions 115a59a8b3Srsb# and limitations under the License. 125a59a8b3Srsb# 135a59a8b3Srsb# When distributing Covered Code, include this CDDL HEADER in each 145a59a8b3Srsb# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155a59a8b3Srsb# If applicable, add the following below this CDDL HEADER, with the 165a59a8b3Srsb# fields enclosed by brackets "[]" replaced with your own identifying 175a59a8b3Srsb# information: Portions Copyright [yyyy] [name of copyright owner] 185a59a8b3Srsb# 195a59a8b3Srsb# CDDL HEADER END 205a59a8b3Srsb# 215a59a8b3Srsb# 2224fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 235a59a8b3Srsb# Use is subject to license terms. 245a59a8b3Srsb# 255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 26608eb926SHans Rosenfeld# Copyright 2025 Hans Rosenfeld 275a59a8b3Srsb 285a59a8b3SrsbPROG = fsstat 295a59a8b3SrsbOBJS = fsstat.o 3000c76d6fStc35445SRCS =$(OBJS:%.o=%.c) $(COMMON_SRCS) 315a59a8b3Srsb 32*da3b00f4SHans RosenfeldCLEANFILES = $(OBJS) $(COMMON_OBJS:%.o=%.c) 33*da3b00f4SHans Rosenfeld 345a59a8b3Srsbinclude $(SRC)/cmd/Makefile.cmd 3500c76d6fStc35445include $(SRC)/cmd/stat/Makefile.stat 3600c76d6fStc35445 37608eb926SHans RosenfeldCOMMON_OBJS = common.o 3800c76d6fStc35445COMMON_SRCS = $(COMMON_OBJS:%.o=$(STATCOMMONDIR)/%.c) 395a59a8b3Srsb 400a055120SJason KingLDLIBS += -lkstat -lcmdutils 41608eb926SHans RosenfeldCFLAGS += $(CCVERBOSE) 427014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 435a59a8b3SrsbFILEMODE= 0555 445a59a8b3Srsb 455661bb76SJohn LevonSMOFF += signed 465661bb76SJohn Levon 47608eb926SHans Rosenfeldinclude $(SRC)/cmd/stat/Makefile.stat.targ 48