Home | History | Annotate | Download | only in bcc
      1 #!/bin/sh
      2 #
      3 # CDDL HEADER START
      4 #
      5 # The contents of this file are subject to the terms of the
      6 # Common Development and Distribution License (the "License").
      7 # You may not use this file except in compliance with the License.
      8 #
      9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     10 # or http://www.opensolaris.org/os/licensing.
     11 # See the License for the specific language governing permissions
     12 # and limitations under the License.
     13 #
     14 # When distributing Covered Code, include this CDDL HEADER in each
     15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     16 # If applicable, add the following below this CDDL HEADER, with the
     17 # fields enclosed by brackets "[]" replaced with your own identifying
     18 # information: Portions Copyright [yyyy] [name of copyright owner]
     19 #
     20 # CDDL HEADER END
     21 #
     22 #
     23 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)install-sfw	1.1	07/07/11 SMI"
     27 
     28 TOP=`pwd`
     29 PREFIX=${ROOT}/usr
     30 BINDIR=${PREFIX}/bin
     31 INFODIR=${PREFIX}/sfw/info
     32 SHAREDIR=${PREFIX}/share
     33 MAN1DIR=${SHAREDIR}/man/man1
     34 
     35 . ${SRC}/tools/install.subr
     36 
     37 # The bcc manpages are updated by Sun to include an
     38 # ATTRIBUTES section with stability classification and a NOTES 
     39 # section containing a pointer to the source package. We do this 
     40 # automatically at install time. If the package is revised, it is
     41 # possible that additional changes may be required.  This can be
     42 # generally be done by updating the sunman-stability file.
     43 
     44 MANSCRIPT=sunman-stability
     45 
     46 for manpage in as86.1 bcc.1 ld86.1
     47 do
     48 	_install M ${VERS}/man/${manpage} ${MAN1DIR}/${manpage} 444
     49 done
     50 
     51 _install E ${VERS}/ar/ar86 ${BINDIR}/ar86 555
     52 _install E ${VERS}/as/as86 ${BINDIR}/as86 555
     53 _install E ${VERS}/bcc/bcc ${BINDIR}/bcc 555
     54 _install E ${VERS}/ld/ld86 ${BINDIR}/ld86 555
     55 _install E ${VERS}/bcc/bcc-cc1 ${PREFIX}/lib/bcc/bcc-cc1 555
     56 
     57 exit 0
     58