1986fd29aSsetje# 2986fd29aSsetje# CDDL HEADER START 3986fd29aSsetje# 4986fd29aSsetje# The contents of this file are subject to the terms of the 5986fd29aSsetje# Common Development and Distribution License (the "License"). 6986fd29aSsetje# You may not use this file except in compliance with the License. 7986fd29aSsetje# 8986fd29aSsetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9986fd29aSsetje# or http://www.opensolaris.org/os/licensing. 10986fd29aSsetje# See the License for the specific language governing permissions 11986fd29aSsetje# and limitations under the License. 12986fd29aSsetje# 13986fd29aSsetje# When distributing Covered Code, include this CDDL HEADER in each 14986fd29aSsetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15986fd29aSsetje# If applicable, add the following below this CDDL HEADER, with the 16986fd29aSsetje# fields enclosed by brackets "[]" replaced with your own identifying 17986fd29aSsetje# information: Portions Copyright [yyyy] [name of copyright owner] 18986fd29aSsetje# 19986fd29aSsetje# CDDL HEADER END 20986fd29aSsetje# 21986fd29aSsetje# 22986fd29aSsetje# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23986fd29aSsetje# Use is subject to license terms. 24986fd29aSsetje# 255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 26986fd29aSsetje 27986fd29aSsetjePROG= fiocompress 28986fd29aSsetje 29986fd29aSsetjeSBINLINKS= $(PROG) 30986fd29aSsetje 31986fd29aSsetjeOBJS= fiocompress.o 32986fd29aSsetjeSRCS = $(OBJS:.o=.c) 33986fd29aSsetje 34986fd29aSsetjeinclude ../Makefile.com 35986fd29aSsetje 36986fd29aSsetje.KEEP_STATE: 37986fd29aSsetje 38986fd29aSsetjeLDLIBS += -lz 39*5801b0f0SToomas SoomeNATIVE_LIBS += libz.so 40986fd29aSsetje 41986fd29aSsetjeCFLAGS += -I../../../uts/common 42986fd29aSsetje 435661bb76SJohn LevonSMOFF += leaks 445661bb76SJohn Levon 45986fd29aSsetjeall: $(PROG) 46986fd29aSsetje 47986fd29aSsetje$(PROG): $(OBJS) 48986fd29aSsetje $(LINK.c) -o $@ $(OBJS) $(LDLIBS) 49986fd29aSsetje $(POST_PROCESS) 50986fd29aSsetje 51986fd29aSsetjeinstall: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS) 52986fd29aSsetje 53986fd29aSsetjeclean: 54986fd29aSsetje -$(RM) $(OBJS) 55986fd29aSsetje 56986fd29aSsetje_msg: 57986fd29aSsetje 58986fd29aSsetjeinclude ../Makefile.targ 59