1*911106dfSjm199354# 2*911106dfSjm199354# CDDL HEADER START 3*911106dfSjm199354# 4*911106dfSjm199354# The contents of this file are subject to the terms of the 5*911106dfSjm199354# Common Development and Distribution License (the "License"). 6*911106dfSjm199354# You may not use this file except in compliance with the License. 7*911106dfSjm199354# 8*911106dfSjm199354# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*911106dfSjm199354# or http://www.opensolaris.org/os/licensing. 10*911106dfSjm199354# See the License for the specific language governing permissions 11*911106dfSjm199354# and limitations under the License. 12*911106dfSjm199354# 13*911106dfSjm199354# When distributing Covered Code, include this CDDL HEADER in each 14*911106dfSjm199354# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*911106dfSjm199354# If applicable, add the following below this CDDL HEADER, with the 16*911106dfSjm199354# fields enclosed by brackets "[]" replaced with your own identifying 17*911106dfSjm199354# information: Portions Copyright [yyyy] [name of copyright owner] 18*911106dfSjm199354# 19*911106dfSjm199354# CDDL HEADER END 20*911106dfSjm199354 21*911106dfSjm199354# 22*911106dfSjm199354# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*911106dfSjm199354# Use is subject to license terms. 24*911106dfSjm199354# 25*911106dfSjm199354# 26*911106dfSjm199354#ident "%Z%%M% %I% %E% SMI" 27*911106dfSjm199354 28*911106dfSjm199354PROG = vscanadm 29*911106dfSjm199354SRCS = vscanadm.c 30*911106dfSjm199354OBJS = $(SRCS:%.c=%.o) 31*911106dfSjm199354 32*911106dfSjm199354include ../../Makefile.cmd 33*911106dfSjm199354 34*911106dfSjm199354LDLIBS += -L$(ROOT)/usr/lib/vscan -lvscan 35*911106dfSjm199354LDFLAGS += -R/usr/lib/vscan 36*911106dfSjm199354CFLAGS += $(CCVERBOSE) 37*911106dfSjm199354 38*911106dfSjm199354C99MODE = -xc99=%all 39*911106dfSjm199354C99LMODE = -Xc99=%all 40*911106dfSjm199354 41*911106dfSjm199354.KEEP_STATE: 42*911106dfSjm199354 43*911106dfSjm199354all: $(PROG) 44*911106dfSjm199354 45*911106dfSjm199354clean: 46*911106dfSjm199354 $(RM) $(OBJS) 47*911106dfSjm199354 48*911106dfSjm199354lint: lint_SRCS 49*911106dfSjm199354 50*911106dfSjm199354$(PROG): $(OBJS) 51*911106dfSjm199354 $(LINK.c) -o $@ $(OBJS) $(LDLIBS) 52*911106dfSjm199354 $(POST_PROCESS) 53*911106dfSjm199354 54*911106dfSjm199354include ../../Makefile.targ 55*911106dfSjm199354 56*911106dfSjm199354install: all .WAIT $(ROOTUSRSBINPROG) 57