1*1dd08564Sab196087# 2*1dd08564Sab196087# CDDL HEADER START 3*1dd08564Sab196087# 4*1dd08564Sab196087# The contents of this file are subject to the terms of the 5*1dd08564Sab196087# Common Development and Distribution License (the "License"). 6*1dd08564Sab196087# You may not use this file except in compliance with the License. 7*1dd08564Sab196087# 8*1dd08564Sab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1dd08564Sab196087# or http://www.opensolaris.org/os/licensing. 10*1dd08564Sab196087# See the License for the specific language governing permissions 11*1dd08564Sab196087# and limitations under the License. 12*1dd08564Sab196087# 13*1dd08564Sab196087# When distributing Covered Code, include this CDDL HEADER in each 14*1dd08564Sab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1dd08564Sab196087# If applicable, add the following below this CDDL HEADER, with the 16*1dd08564Sab196087# fields enclosed by brackets "[]" replaced with your own identifying 17*1dd08564Sab196087# information: Portions Copyright [yyyy] [name of copyright owner] 18*1dd08564Sab196087# 19*1dd08564Sab196087# CDDL HEADER END 20*1dd08564Sab196087# 21*1dd08564Sab196087# 22*1dd08564Sab196087# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*1dd08564Sab196087# Use is subject to license terms. 24*1dd08564Sab196087# 25*1dd08564Sab196087# ident "%Z%%M% %I% %E% SMI" 26*1dd08564Sab196087# 27*1dd08564Sab196087 28*1dd08564Sab196087%.o: ../common/%.c 29*1dd08564Sab196087 $(COMPILE.c) $< 30*1dd08564Sab196087 $(POST_PROCESS_O) 31*1dd08564Sab196087 32*1dd08564Sab196087$(PROG): $(OBJS) 33*1dd08564Sab196087 $(LINK.c) $(OBJS) -o $@ $(LDLIBS) 34*1dd08564Sab196087 $(POST_PROCESS) 35*1dd08564Sab196087 36*1dd08564Sab196087all: $(PROG) 37*1dd08564Sab196087 38*1dd08564Sab196087package \ 39*1dd08564Sab196087install: all $(VAR_SGSBINPROG) $(VAR_SGSCCSLINK) 40*1dd08564Sab196087 41*1dd08564Sab196087clean: 42*1dd08564Sab196087 $(RM) $(CLEANFILES) 43*1dd08564Sab196087 44*1dd08564Sab196087delete: 45*1dd08564Sab196087 $(RM) $(PROG) 46*1dd08564Sab196087 47*1dd08564Sab196087include $(SRC)/cmd/Makefile.targ 48*1dd08564Sab196087include $(SRC)/cmd/sgs/Makefile.targ 49