10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 52212Sartem# Common Development and Distribution License (the "License"). 62212Sartem# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*12836Srich.burridge@oracle.com# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. 230Sstevel@tonic-gate# 240Sstevel@tonic-gate 252212SartemPROG= fstyp 260Sstevel@tonic-gate 270Sstevel@tonic-gateinclude ../Makefile.cmd 280Sstevel@tonic-gate 297350Smc208700@nadesicoLDLIBS += -lnvpair -lfstyp -ladm 302212Sartem 317350Smc208700@nadesicoCPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ 327350Smc208700@nadesico -D_POSIX_PTHREAD_SEMANTICS -I../../lib/libadm/inc 332212Sartem 342212SartemCFLAGS += $(CCVERBOSE) 352212Sartem 360Sstevel@tonic-gate.KEEP_STATE: 370Sstevel@tonic-gate 382212Sartemall: $(PROG) 390Sstevel@tonic-gate 400Sstevel@tonic-gateinstall: all $(ROOTUSRSBINPROG) 410Sstevel@tonic-gate -$(RM) $(ROOTETCPROG) 420Sstevel@tonic-gate -$(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG) 430Sstevel@tonic-gate 440Sstevel@tonic-gateclean: 452212Sartem $(RM) $(OBJS) 460Sstevel@tonic-gate 472212Sartemlint: lint_PROG 480Sstevel@tonic-gate 490Sstevel@tonic-gateinclude ../Makefile.targ 50