5403N/A#
5403N/A# CDDL HEADER START
5403N/A#
5403N/A# The contents of this file are subject to the terms of the
5403N/A# Common Development and Distribution License (the "License").
5403N/A# You may not use this file except in compliance with the License.
5403N/A#
5403N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5403N/A# or http://www.opensolaris.org/os/licensing.
5403N/A# See the License for the specific language governing permissions
5403N/A# and limitations under the License.
5403N/A#
5403N/A# When distributing Covered Code, include this CDDL HEADER in each
5403N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5403N/A# If applicable, add the following below this CDDL HEADER, with the
5403N/A# fields enclosed by brackets "[]" replaced with your own identifying
5403N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5403N/A#
5403N/A# CDDL HEADER END
5403N/A#
5403N/A#
5403N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
5403N/A# Use is subject to license terms.
5403N/A#
5403N/A
5403N/APROG= xargs
5403N/A# /usr/xpg6/bin/xargs is a symlink to /usr/bin/xargs
5403N/AROOTXPG6SYMLINK= $(ROOTXPG6BIN)/xargs
5403N/A
5403N/AOBJS1= xargs.o
5403N/AOBJS= $(OBJS1) getresponse.o
5403N/ASRCS= $(OBJS1:%.o=%.c) $(SRC)/common/util/getresponse.c
5403N/A
5403N/Ainclude ../Makefile.cmd
5403N/A
5403N/ACPPFLAGS += -I $(SRC)/common/util
5403N/ALINTFLAGS += -u
5403N/A
5403N/ACERRWARN += -_gcc=-Wno-parentheses
5403N/A
5403N/A.KEEP_STATE:
5403N/A
5403N/Aall: $(PROG)
5403N/A
5403N/Ainstall: all $(ROOTPROG) $(ROOTXPG6SYMLINK)
5403N/A
5403N/A$(PROG): $(OBJS)
5403N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
5403N/A $(POST_PROCESS)
5403N/A
5403N/A%.o: $(SRC)/common/util/%.c
5403N/A $(COMPILE.c) $(OUTPUT_OPTION) $<
5403N/A $(POST_PROCESS_O)
5403N/A
5403N/A$(ROOTXPG6SYMLINK): $(ROOTPROG)
5403N/A -$(RM) $@
6795N/A -$(SYMLINK) ../../bin/$(PROG) $@
5403N/A
6795N/Aclean:
5403N/A $(RM) $(OBJS)
6795N/A
5403N/Alint: lint_SRCS
5403N/A
5403N/Ainclude ../Makefile.targ
6795N/A