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