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 54538Sdamico# Common Development and Distribution License (the "License"). 64538Sdamico# 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# 220Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 230Sstevel@tonic-gate# 24*6951Sab196087# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25291Smike_s# Use is subject to license terms. 260Sstevel@tonic-gate# 270Sstevel@tonic-gate# cmd/sgs/unifdef/sparc/Makefile 280Sstevel@tonic-gate# 290Sstevel@tonic-gate 300Sstevel@tonic-gatePROG= unifdef 310Sstevel@tonic-gate 320Sstevel@tonic-gateinclude ../../../Makefile.cmd 330Sstevel@tonic-gate 340Sstevel@tonic-gateOBJS= unifdef.o 350Sstevel@tonic-gate 360Sstevel@tonic-gateSRCS= $(OBJS:%.o=../common/%.c) 370Sstevel@tonic-gate 380Sstevel@tonic-gateDEFLIST= -DELF_OBJ -DELF 390Sstevel@tonic-gateCPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) 40291Smike_sCFLAGS += $(CCVERBOSE) 41291Smike_sC99MODE= $(C99_ENABLE) 420Sstevel@tonic-gateLINTFLAGS += $(LDLIBS) 430Sstevel@tonic-gate 440Sstevel@tonic-gateCLEANFILES += $(LINTOUT) 450Sstevel@tonic-gate 460Sstevel@tonic-gate%.o: ../common/%.c 470Sstevel@tonic-gate $(COMPILE.c) $< 480Sstevel@tonic-gate 490Sstevel@tonic-gate.KEEP_STATE: 500Sstevel@tonic-gate 510Sstevel@tonic-gateall: $(PROG) 520Sstevel@tonic-gate 530Sstevel@tonic-gate$(PROG): $(OBJS) 540Sstevel@tonic-gate $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 550Sstevel@tonic-gate $(POST_PROCESS) 560Sstevel@tonic-gate 574538Sdamicoinstall: all $(ROOTPROG) $(ROOTCCSBINLINK) 580Sstevel@tonic-gate 590Sstevel@tonic-gateclean: 600Sstevel@tonic-gate $(RM) $(OBJS) $(CLEANFILES) 610Sstevel@tonic-gate 620Sstevel@tonic-gatelint: $(LINTOUT) 630Sstevel@tonic-gate 640Sstevel@tonic-gate$(LINTOUT): $(SRCS) 65*6951Sab196087 perl ../../tools/lint_hdr.pl $(PROG) > $(LINTOUT) 66*6951Sab196087 $(LINT.c) $(SRCS) 2>&1 | tee -a $(LINTOUT) 670Sstevel@tonic-gate 680Sstevel@tonic-gateinclude ../../../Makefile.targ 69