1e802abbdSTim Haley# 2e802abbdSTim Haley# CDDL HEADER START 3e802abbdSTim Haley# 4e802abbdSTim Haley# The contents of this file are subject to the terms of the 5e802abbdSTim Haley# Common Development and Distribution License (the "License"). 6e802abbdSTim Haley# You may not use this file except in compliance with the License. 7e802abbdSTim Haley# 8e802abbdSTim Haley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9e802abbdSTim Haley# or http://www.opensolaris.org/os/licensing. 10e802abbdSTim Haley# See the License for the specific language governing permissions 11e802abbdSTim Haley# and limitations under the License. 12e802abbdSTim Haley# 13e802abbdSTim Haley# When distributing Covered Code, include this CDDL HEADER in each 14e802abbdSTim Haley# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15e802abbdSTim Haley# If applicable, add the following below this CDDL HEADER, with the 16e802abbdSTim Haley# fields enclosed by brackets "[]" replaced with your own identifying 17e802abbdSTim Haley# information: Portions Copyright [yyyy] [name of copyright owner] 18e802abbdSTim Haley# 19e802abbdSTim Haley# CDDL HEADER END 20e802abbdSTim Haley# 21e802abbdSTim Haley# 22e802abbdSTim Haley# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23e802abbdSTim Haley# Use is subject to license terms. 24e802abbdSTim Haley# 25e802abbdSTim Haley 26*a0fbb7fbSToomas SoomePROG= zlook 27*a0fbb7fbSToomas SoomeOBJS= $(PROG).o 28e802abbdSTim Haley 29e802abbdSTim Haleyinclude ../Makefile.cmd 30*a0fbb7fbSToomas Soomeinclude ../Makefile.cmd.64 31*a0fbb7fbSToomas Soomeinclude ../Makefile.ctf 32e802abbdSTim Haley 33*a0fbb7fbSToomas SoomeCSTD= $(CSTD_GNU99) 34*a0fbb7fbSToomas SoomeCFLAGS += $(CCGDEBUG) $(CCVERBOSE) 35*a0fbb7fbSToomas SoomeCFLAGS64 += $(CCGDEBUG) $(CCVERBOSE) 36*a0fbb7fbSToomas SoomeCPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) 37e802abbdSTim Haley 38*a0fbb7fbSToomas SoomeCERRWARN += $(CNOWARN_UNINIT) 39e802abbdSTim Haley 40e802abbdSTim Haley.KEEP_STATE: 41e802abbdSTim Haley 42*a0fbb7fbSToomas Soomeall: $(PROG) 43e802abbdSTim Haley 44*a0fbb7fbSToomas Soomeinstall: all $(ROOTPROG) 45e802abbdSTim Haley 46*a0fbb7fbSToomas Soome$(PROG): $(OBJS) 47*a0fbb7fbSToomas Soome $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS) 48*a0fbb7fbSToomas Soome $(POST_PROCESS) 49e802abbdSTim Haley 50*a0fbb7fbSToomas Soomeclean: 51*a0fbb7fbSToomas Soome $(RM) $(OBJS) 52e802abbdSTim Haley 53e802abbdSTim Haleyinclude ../Makefile.targ 54