1 #!/bin/ksh93 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 2008 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 #ident "@(#)install-sfw-64 1.1 08/11/12 SMI" 27 28 VERS=pegasus-2.8.0 29 PREFIX=${ROOT}/usr 30 SBINDIR=${PREFIX}/sbin/${MACH64} 31 BINDIR=${PREFIX}/bin/${MACH64} 32 LIBDIR=${PREFIX}/lib/${MACH64} 33 ETCDIR=${PREFIX}/etc 34 SHAREDIR=${PREFIX}/share 35 MAN1DIR=${SHAREDIR}/man/man1 36 MAN8DIR=${SHAREDIR}/man/man8 37 38 BLDDIR=${VERS}/build64_${MACH} 39 40 . ${SRC}/tools/install.subr 41 42 # Library Files 43 44 PEG_LIBLIST="\ 45 libCIMQueryCapabilitiesProvider.so \ 46 libCIMxmlIndicationHandler.so \ 47 libCertificateProvider.so \ 48 libCMPIProviderManager.so \ 49 libConfigSettingProvider.so \ 50 libDefaultProviderManager.so \ 51 libInteropProvider.so \ 52 libIPProviderModule.so \ 53 libNamespaceProvider.so \ 54 libProviderRegistrationProvider.so \ 55 libUserAuthProvider.so \ 56 libcmpiCppImpl.so \ 57 libpegCLIClientLib.so \ 58 libpegauthentication.so \ 59 libpegclient.so \ 60 libpegcliutils.so \ 61 libpegcommon.so \ 62 libpegcompiler.so \ 63 libpegconfig.so \ 64 libpegcql.so \ 65 libpegexportclient.so \ 66 libpegexportserver.so \ 67 libpeggetoopt.so \ 68 libpeghandlerservice.so \ 69 libpegindicationservice.so \ 70 libpeglistener.so \ 71 libpegpmservice.so \ 72 libpegprm.so \ 73 libpegprovider.so \ 74 libpegprovidermanager.so \ 75 libpegquerycommon.so \ 76 libpegqueryexpression.so \ 77 libpegrepository.so \ 78 libpegserver.so \ 79 libpegservice.so \ 80 libpegslp.so \ 81 libpegslp_client.so \ 82 libpeguser.so \ 83 libpegwql.so \ 84 libsnmpIndicationHandler.so \ 85 libComputerSystemProvider.so \ 86 libOSProvider.so \ 87 libProcessProvider.so \ 88 libProcessorProviderModule.so \ 89 libSLPProvider.so \ 90 libSimpleDisplayConsumer.so \ 91 libpegdynlistener.so \ 92 libpegmanagedclient.so " 93 mkdir -p -m 755 ${LIBDIR} 94 95 for i in ${PEG_LIBLIST} 96 do 97 _install D ${BLDDIR}/lib/${i} ${LIBDIR}/${i} 755 98 done 99 100 101 # sbin 102 103 PEG_SBINLIST="\ 104 cimauth \ 105 cimconfig \ 106 cimcrl \ 107 cimprovagt \ 108 cimreparchive \ 109 cimserver \ 110 cimtrust \ 111 cimuser \ 112 repupgrade" 113 114 mkdir -p -m 755 ${SBINDIR} 115 116 for i in ${PEG_SBINLIST} 117 do 118 _install E ${BLDDIR}/bin/${i} ${SBINDIR}/${i} 750 119 done 120 121 # bin 122 123 PEG_BINLIST="\ 124 cimcli \ 125 cimmof \ 126 cimmofl \ 127 cimprovider \ 128 cimsub \ 129 osinfo \ 130 wbemexec" 131 132 mkdir -p -m 755 ${BINDIR} 133 134 for i in ${PEG_BINLIST} 135 do 136 _install E ${BLDDIR}/bin/${i} ${BINDIR}/${i} 755 137 done 138 139 exit 0 140