Makefile revision 1160694128cd3980cc06abe31af529a887efd310
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# CDDL HEADER START
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# The contents of this file are subject to the terms of the
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# Common Development and Distribution License, Version 1.0 only
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# (the "License"). You may not use this file except in compliance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# with the License.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# or http://www.opensolaris.org/os/licensing.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# See the License for the specific language governing permissions
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# and limitations under the License.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# When distributing Covered Code, include this CDDL HEADER in each
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# If applicable, add the following below this CDDL HEADER, with the
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# fields enclosed by brackets "[]" replaced with your own identifying
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# information: Portions Copyright [yyyy] [name of copyright owner]
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# CDDL HEADER END
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.12 */
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# Use is subject to license terms.
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance#
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance# cmd/fs.d/nfs/nfsstat/Makefile
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel MancePROG= nfsstat
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Manceinclude ../../../Makefile.cmd
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceCFLAGS += $(CCVERBOSE)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceCOMMON= nfs_sec.o
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceOBJS= nfsstat.o $(COMMON)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceSRCS= nfsstat.c ../lib/nfs_sec.c
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceLDLIBS += -lkstat -lnsl -lrt
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance$(PROG): $(OBJS)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance $(LINK.c) -o $@ $(LDLIBS) $(OBJS)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance $(POST_PROCESS)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceFILEMODE= 0555
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel ManceGROUP= bin
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance.KEEP_STATE:
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Manceall: $(PROG)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mancenfs_sec.o: ../lib/nfs_sec.c
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance $(COMPILE.c) ../lib/nfs_sec.c
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Manceinstall: all $(ROOTPROG)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mancelint:
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance $(LINT.c) $(SRCS) $(LDLIBS)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Manceclean:
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance $(RM) $(OBJS)
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Manceinclude ../../../Makefile.targ
e33cc400fc396b66f0aace504854dcf934ed2701Felix Gabriel Mance