Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
1451N/A# Common Development and Distribution License, Version 1.0 only
98N/A# (the "License"). You may not use this file except in compliance
98N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A#ident "%Z%%M% %I% %E% SMI"
919N/A#
98N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A
98N/APROG= grep
98N/AXPG4PROG= grep
1356N/AFFILE= fgrep
1356N/AEFILE= egrep
1356N/A
1265N/Ainclude ../Makefile.cmd
493N/A
98N/AROOTXPG4LINKS = $(ROOTXPG4BIN)/$(FFILE) $(ROOTXPG4BIN)/$(EFILE)
911N/A
1428N/ACFLAGS += $(CCVERBOSE)
1428N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
1428N/A
911N/APOFILE= grep_xpg4.po
98N/APOFILES= grep.po
235N/A
493N/A.KEEP_STATE:
98N/A
916N/Aall: $(XPG4)
916N/A
916N/Ainstall: all $(ROOTXPG4PROG) $(ROOTXPG4LINKS)
916N/A
970N/A$(ROOTXPG4LINKS): $(ROOTXPG4PROG)
970N/A -$(RM) $@
970N/A -$(LN) $(ROOTXPG4PROG) $@
970N/A
970N/A$(POFILE): $(POFILES)
970N/A $(RM) $@
970N/A $(CP) $(POFILES) $@
970N/A
970N/A# Make the links locally for test purposes
970N/Atest: $(FFILE) $(EFILE)
970N/A
970N/A$(FFILE): $(XPG4PROG)
970N/A @$(RM) $(FFILE); $(LN) $(XPG4PROG) $(FFILE)
970N/A
970N/A$(EFILE): $(XPG4PROG)
970N/A @$(RM) $(EFILE); $(LN) $(XPG4PROG) $(EFILE)
970N/A
970N/Aclean:
970N/A
970N/Alint: lint_PROG
970N/A
970N/Ainclude ../Makefile.targ
970N/A