1*986fd29aSsetje# 2*986fd29aSsetje# CDDL HEADER START 3*986fd29aSsetje# 4*986fd29aSsetje# The contents of this file are subject to the terms of the 5*986fd29aSsetje# Common Development and Distribution License (the "License"). 6*986fd29aSsetje# You may not use this file except in compliance with the License. 7*986fd29aSsetje# 8*986fd29aSsetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*986fd29aSsetje# or http://www.opensolaris.org/os/licensing. 10*986fd29aSsetje# See the License for the specific language governing permissions 11*986fd29aSsetje# and limitations under the License. 12*986fd29aSsetje# 13*986fd29aSsetje# When distributing Covered Code, include this CDDL HEADER in each 14*986fd29aSsetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*986fd29aSsetje# If applicable, add the following below this CDDL HEADER, with the 16*986fd29aSsetje# fields enclosed by brackets "[]" replaced with your own identifying 17*986fd29aSsetje# information: Portions Copyright [yyyy] [name of copyright owner] 18*986fd29aSsetje# 19*986fd29aSsetje# CDDL HEADER END 20*986fd29aSsetje# 21*986fd29aSsetje# 22*986fd29aSsetje# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*986fd29aSsetje# Use is subject to license terms. 24*986fd29aSsetje# 25*986fd29aSsetje# ident "%Z%%M% %I% %E% SMI" 26*986fd29aSsetje# 27*986fd29aSsetje 28*986fd29aSsetjePROG= fiocompress 29*986fd29aSsetje 30*986fd29aSsetjeSBINLINKS= $(PROG) 31*986fd29aSsetje 32*986fd29aSsetjeOBJS= fiocompress.o 33*986fd29aSsetjeSRCS = $(OBJS:.o=.c) 34*986fd29aSsetje 35*986fd29aSsetjeinclude ../Makefile.com 36*986fd29aSsetje 37*986fd29aSsetje.KEEP_STATE: 38*986fd29aSsetje 39*986fd29aSsetjeLDLIBS += -lz 40*986fd29aSsetje 41*986fd29aSsetjeCFLAGS += -I../../../uts/common 42*986fd29aSsetjeLINTFLAGS += -I../../../uts/common 43*986fd29aSsetje 44*986fd29aSsetje# definitions for lint 45*986fd29aSsetje# until libz is compiled against ON header files (uid/gid) 46*986fd29aSsetjeLINTFLAGS += -erroff=E_INCONS_ARG_DECL2 47*986fd29aSsetjeLINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2 48*986fd29aSsetje 49*986fd29aSsetjeall: $(PROG) 50*986fd29aSsetje 51*986fd29aSsetje$(PROG): $(OBJS) 52*986fd29aSsetje $(LINK.c) -o $@ $(OBJS) $(LDLIBS) 53*986fd29aSsetje $(POST_PROCESS) 54*986fd29aSsetje 55*986fd29aSsetjeinstall: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS) 56*986fd29aSsetje 57*986fd29aSsetjeclean: 58*986fd29aSsetje -$(RM) $(OBJS) 59*986fd29aSsetje 60*986fd29aSsetje_msg: 61*986fd29aSsetje 62*986fd29aSsetjelint: lint_SRCS 63*986fd29aSsetje 64*986fd29aSsetjeinclude ../Makefile.targ 65