Makefile revision 100
af062818b47340eef15700d2f0211576ba3506eevboxsync# CDDL HEADER START
af062818b47340eef15700d2f0211576ba3506eevboxsync# The contents of this file are subject to the terms of the
af062818b47340eef15700d2f0211576ba3506eevboxsync# Common Development and Distribution License (the "License").
af062818b47340eef15700d2f0211576ba3506eevboxsync# You may not use this file except in compliance with the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
af062818b47340eef15700d2f0211576ba3506eevboxsync# See the License for the specific language governing permissions
af062818b47340eef15700d2f0211576ba3506eevboxsync# and limitations under the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync# When distributing Covered Code, include this CDDL HEADER in each
af062818b47340eef15700d2f0211576ba3506eevboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
af062818b47340eef15700d2f0211576ba3506eevboxsync# If applicable, add the following below this CDDL HEADER, with the
af062818b47340eef15700d2f0211576ba3506eevboxsync# fields enclosed by brackets "[]" replaced with your own identifying
af062818b47340eef15700d2f0211576ba3506eevboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
af062818b47340eef15700d2f0211576ba3506eevboxsync# CDDL HEADER END
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncCOMPONENT_ARCHIVE_HASH= sha1:939144f16d05691753a87134436dd2bb8ea89851
af062818b47340eef15700d2f0211576ba3506eevboxsyncCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/coreutils/$(COMPONENT_ARCHIVE)
af062818b47340eef15700d2f0211576ba3506eevboxsync# common targets
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMDS_NONCONFLICTING=\[ base64 dir dircolors md5sum nproc pinky \
af062818b47340eef15700d2f0211576ba3506eevboxsyncprintenv ptx readlink seq sha1sum sha224sum sha256sum sha384sum sha512sum \
af062818b47340eef15700d2f0211576ba3506eevboxsyncshred shuf stat stdbuf tac timeout truncate users vdir whoami
af062818b47340eef15700d2f0211576ba3506eevboxsyncMANS_NONCONFLICTING=base64.1 dir.1 dircolors.1 md5sum.1 nproc.1 pinky.1 \
af062818b47340eef15700d2f0211576ba3506eevboxsyncprintenv.1 ptx.1 readlink.1 seq.1 sha1sum.1 sha224sum.1 sha256sum.1 \
af062818b47340eef15700d2f0211576ba3506eevboxsyncsha384sum.1 sha512sum.1 shred.1 shuf.1 stat.1 stdbuf.1 tac.1 \
af062818b47340eef15700d2f0211576ba3506eevboxsyncNEEDMV=if [ -e $(1) ]; then $(RM) $(2); /usr/bin/mv $(1) $(2); fi
af062818b47340eef15700d2f0211576ba3506eevboxsyncinstall: $(PROTOUSRBINDIR) $(PROTOUSRSHAREMAN1DIR) $(INSTALL_32)
af062818b47340eef15700d2f0211576ba3506eevboxsync $(PROTO_DIR)/$(GNUSHAREMAN1)/`basename $$manpage`; \
af062818b47340eef15700d2f0211576ba3506eevboxsync # whoami is in both /usr/bin and /usr/gnu/bin; mistake?
af062818b47340eef15700d2f0211576ba3506eevboxsync $(CP) $(PROTOUSRBINDIR)/whoami $(PROTOGNUBIN)/whoami
af062818b47340eef15700d2f0211576ba3506eevboxsync $(CP) $(PROTOUSRSHAREMAN1DIR)/whoami.1 $(PROTOGNUSHAREMAN1)/whoami.1
af062818b47340eef15700d2f0211576ba3506eevboxsync $(call NEEDMV,$(PROTOGNUBIN)/install,$(PROTOUSRBINDIR)/ginstall)