1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2014 Andrew Stormont.
  25 #
  26 
  27 set name=pkg.fmri value=pkg:/developer/object-file@$(PKGVERS)
  28 set name=pkg.description \
  29     value="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc"
  30 set name=pkg.summary value="CCS tools bundled with SunOS"
  31 set name=info.classification value=org.opensolaris.category.2008:System/Core
  32 set name=variant.arch value=$(ARCH)
  33 dir path=usr group=sys
  34 dir path=usr/bin
  35 $(BUILD64)dir path=usr/bin/$(ARCH64)
  36 dir path=usr/ccs
  37 dir path=usr/ccs/bin
  38 $(BUILD64)dir path=usr/ccs/bin/$(ARCH64)
  39 dir path=usr/ccs/lib
  40 dir path=usr/lib
  41 $(BUILD64)dir path=usr/lib/$(ARCH64)
  42 dir path=usr/lib/elfedit
  43 $(BUILD64)dir path=usr/lib/elfedit/$(ARCH64)
  44 dir path=usr/share
  45 dir path=usr/share/lib
  46 dir path=usr/share/lib/ccs
  47 dir path=usr/share/man/man1
  48 $(BUILD64)file path=usr/bin/$(ARCH64)/ar mode=0555
  49 $(BUILD64)file path=usr/bin/$(ARCH64)/dump mode=0555
  50 $(BUILD64)file path=usr/bin/$(ARCH64)/elfdump mode=0555
  51 $(BUILD64)file path=usr/bin/$(ARCH64)/elfedit mode=0555
  52 $(BUILD64)file path=usr/bin/$(ARCH64)/mcs mode=0555
  53 $(BUILD64)file path=usr/bin/$(ARCH64)/nm mode=0555
  54 $(BUILD64)file path=usr/bin/$(ARCH64)/size mode=0555
  55 file path=usr/bin/ar mode=0555
  56 file path=usr/bin/dis mode=0555
  57 file path=usr/bin/dump mode=0555
  58 file path=usr/bin/elfdump mode=0555
  59 file path=usr/bin/elfedit mode=0555
  60 file path=usr/bin/error mode=0555
  61 file path=usr/bin/gprof mode=0555
  62 file path=usr/bin/lari mode=0555
  63 file path=usr/bin/lex mode=0555
  64 file path=usr/bin/lorder mode=0555
  65 file path=usr/bin/mcs mode=0555
  66 file path=usr/bin/nm mode=0555
  67 file path=usr/bin/prof mode=0555
  68 file path=usr/bin/ranlib mode=0555
  69 file path=usr/bin/rpcgen mode=0555
  70 file path=usr/bin/size mode=0555
  71 file path=usr/bin/symorder mode=0555
  72 file path=usr/bin/tsort mode=0555
  73 file path=usr/bin/unifdef mode=0555
  74 file path=usr/bin/yacc mode=0555
  75 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-ll.ln
  76 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-ly.ln
  77 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/cap.so
  78 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/dyn.so
  79 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/ehdr.so
  80 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/phdr.so
  81 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/shdr.so
  82 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/str.so
  83 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/sym.so
  84 $(BUILD64)file path=usr/lib/elfedit/$(ARCH64)/syminfo.so
  85 file path=usr/lib/elfedit/cap.so
  86 file path=usr/lib/elfedit/dyn.so
  87 file path=usr/lib/elfedit/ehdr.so
  88 file path=usr/lib/elfedit/phdr.so
  89 file path=usr/lib/elfedit/shdr.so
  90 file path=usr/lib/elfedit/str.so
  91 file path=usr/lib/elfedit/sym.so
  92 file path=usr/lib/elfedit/syminfo.so
  93 file path=usr/lib/llib-ll
  94 file path=usr/lib/llib-ll.ln
  95 file path=usr/lib/llib-ly
  96 file path=usr/lib/llib-ly.ln
  97 file path=usr/share/lib/ccs/gprof.callg.blurb mode=0444
  98 file path=usr/share/lib/ccs/gprof.flat.blurb mode=0444
  99 file path=usr/share/lib/ccs/nceucform
 100 file path=usr/share/lib/ccs/ncform
 101 file path=usr/share/lib/ccs/nrform
 102 file path=usr/share/lib/ccs/yaccpar
 103 file path=usr/share/man/man1/ar.1
 104 file path=usr/share/man/man1/dis.1
 105 file path=usr/share/man/man1/dump.1
 106 file path=usr/share/man/man1/elfdump.1
 107 file path=usr/share/man/man1/elfedit.1
 108 file path=usr/share/man/man1/gprof.1
 109 file path=usr/share/man/man1/lari.1
 110 file path=usr/share/man/man1/lex.1
 111 file path=usr/share/man/man1/lorder.1
 112 file path=usr/share/man/man1/mcs.1
 113 file path=usr/share/man/man1/nm.1
 114 file path=usr/share/man/man1/prof.1
 115 file path=usr/share/man/man1/ranlib.1
 116 file path=usr/share/man/man1/rpcgen.1
 117 file path=usr/share/man/man1/size.1
 118 file path=usr/share/man/man1/strip.1
 119 file path=usr/share/man/man1/symorder.1
 120 file path=usr/share/man/man1/tsort.1
 121 file path=usr/share/man/man1/unifdef.1
 122 file path=usr/share/man/man1/yacc.1
 123 $(BUILD64)hardlink path=usr/bin/$(ARCH64)/strip target=../../bin/$(ARCH64)/mcs
 124 hardlink path=usr/bin/strip target=../bin/mcs
 125 legacy pkg=SUNWbtool \
 126     desc="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc" \
 127     name="CCS tools bundled with SunOS"
 128 license cr_Sun license=cr_Sun
 129 license lic_CDDL license=lic_CDDL
 130 license usr/src/cmd/backup/dump/THIRDPARTYLICENSE \
 131     license=usr/src/cmd/backup/dump/THIRDPARTYLICENSE
 132 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/ar target=../../../bin/$(ARCH64)/ar
 133 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/dump \
 134     target=../../../bin/$(ARCH64)/dump
 135 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/elfdump \
 136     target=../../../bin/$(ARCH64)/elfdump
 137 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/mcs \
 138     target=../../../bin/$(ARCH64)/mcs
 139 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/nm target=../../../bin/$(ARCH64)/nm
 140 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/size \
 141     target=../../../bin/$(ARCH64)/size
 142 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/strip \
 143     target=../../../bin/$(ARCH64)/strip
 144 link path=usr/ccs/bin/ar target=../../bin/ar
 145 link path=usr/ccs/bin/dis target=../../bin/dis
 146 link path=usr/ccs/bin/dump target=../../bin/dump
 147 link path=usr/ccs/bin/elfdump target=../../bin/elfdump
 148 link path=usr/ccs/bin/error target=../../bin/error
 149 link path=usr/ccs/bin/gprof target=../../bin/gprof
 150 link path=usr/ccs/bin/lari target=../../bin/lari
 151 link path=usr/ccs/bin/lex target=../../bin/lex
 152 link path=usr/ccs/bin/lorder target=../../bin/lorder
 153 link path=usr/ccs/bin/mcs target=../../bin/mcs
 154 link path=usr/ccs/bin/nm target=../../bin/nm
 155 link path=usr/ccs/bin/prof target=../../bin/prof
 156 link path=usr/ccs/bin/ranlib target=../../bin/ranlib
 157 link path=usr/ccs/bin/size target=../../bin/size
 158 link path=usr/ccs/bin/strip target=../../bin/strip
 159 link path=usr/ccs/bin/symorder target=../../bin/symorder
 160 link path=usr/ccs/bin/tsort target=../../bin/tsort
 161 link path=usr/ccs/bin/unifdef target=../../bin/unifdef
 162 link path=usr/ccs/bin/yacc target=../../bin/yacc
 163 link path=usr/ccs/bin/yaccpar target=../../share/lib/ccs/yaccpar
 164 link path=usr/ccs/lib/llib-ll.ln target=../../lib/llib-ll.ln
 165 link path=usr/ccs/lib/llib-ly.ln target=../../lib/llib-ly.ln
 166 link path=usr/lib/elfedit/32 target=.
 167 $(BUILD64)link path=usr/lib/elfedit/64 target=$(ARCH64)
 168 depend fmri=developer/macro/cpp type=require
 169 depend fmri=runtime/perl-510 type=require