usr/src/cmd/bcc/install-sfw
author Cyril Plisko <cyril.plisko@grigale.com>
Mon, 21 Mar 2011 01:49:39 -0800
changeset 72 82bde2a81435
parent 0 b34509ac961f
permissions -rw-r--r--
Import sfw build 162 Bugs Fixed ---------- 7021535 remove bison runtime bits from SUNWgccruntime 7023530 remove even more things from sfw 7023710 net-ssleay 1.35 in SFW does not build with OpenSSL 1.0.0 7024341 emacs doesn't build on 160

#!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)install-sfw	1.1	07/07/11 SMI"

TOP=`pwd`
PREFIX=${ROOT}/usr
BINDIR=${PREFIX}/bin
INFODIR=${PREFIX}/sfw/info
SHAREDIR=${PREFIX}/share
MAN1DIR=${SHAREDIR}/man/man1

. ${SRC}/tools/install.subr

# The bcc manpages are updated by Sun to include an
# ATTRIBUTES section with stability classification and a NOTES 
# section containing a pointer to the source package. We do this 
# automatically at install time. If the package is revised, it is
# possible that additional changes may be required.  This can be
# generally be done by updating the sunman-stability file.

MANSCRIPT=sunman-stability

for manpage in as86.1 bcc.1 ld86.1
do
	_install M ${VERS}/man/${manpage} ${MAN1DIR}/${manpage} 444
done

_install E ${VERS}/ar/ar86 ${BINDIR}/ar86 555
_install E ${VERS}/as/as86 ${BINDIR}/as86 555
_install E ${VERS}/bcc/bcc ${BINDIR}/bcc 555
_install E ${VERS}/ld/ld86 ${BINDIR}/ld86 555
_install E ${VERS}/bcc/bcc-cc1 ${PREFIX}/lib/bcc/bcc-cc1 555

exit 0