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 2019 OmniOS Community Edition (OmniOSce) Association.
  25 # Copyright 2020 Joyent, Inc.
  26 #
  27 
  28 set name=pkg.fmri value=pkg:/developer/object-file@$(PKGVERS)
  29 set name=pkg.description \
  30     value="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc"
  31 set name=pkg.summary value="CCS tools bundled with SunOS"
  32 set name=info.classification value=org.opensolaris.category.2008:System/Core
  33 set name=variant.arch value=$(ARCH)
  34 dir path=usr group=sys
  35 dir path=usr/bin
  36 dir path=usr/bin/$(ARCH64)
  37 dir path=usr/ccs
  38 dir path=usr/ccs/bin
  39 dir path=usr/ccs/bin/$(ARCH64)
  40 dir path=usr/ccs/lib
  41 dir path=usr/lib
  42 dir path=usr/lib/$(ARCH64)
  43 dir path=usr/lib/elfedit
  44 dir path=usr/lib/elfedit/$(ARCH64)
  45 dir path=usr/share
  46 dir path=usr/share/lib
  47 dir path=usr/share/lib/ccs
  48 dir path=usr/share/man/man1
  49 file path=usr/bin/$(ARCH64)/ar mode=0555
  50 file path=usr/bin/$(ARCH64)/dump mode=0555
  51 file path=usr/bin/$(ARCH64)/elfdump mode=0555
  52 file path=usr/bin/$(ARCH64)/elfedit mode=0555
  53 file path=usr/bin/$(ARCH64)/mcs mode=0555
  54 file path=usr/bin/$(ARCH64)/nm mode=0555
  55 file path=usr/bin/$(ARCH64)/size mode=0555
  56 file path=usr/bin/ar mode=0555
  57 file path=usr/bin/demangle mode=0555
  58 file path=usr/bin/dis mode=0555
  59 file path=usr/bin/dump mode=0555
  60 file path=usr/bin/elfdump mode=0555
  61 file path=usr/bin/elfedit mode=0555
  62 file path=usr/bin/error mode=0555
  63 file path=usr/bin/gprof mode=0555
  64 file path=usr/bin/lari mode=0555
  65 file path=usr/bin/lex mode=0555
  66 file path=usr/bin/lorder mode=0555
  67 file path=usr/bin/mcs mode=0555
  68 file path=usr/bin/nm mode=0555
  69 file path=usr/bin/prof mode=0555
  70 file path=usr/bin/ranlib mode=0555
  71 file path=usr/bin/rpcgen mode=0555
  72 file path=usr/bin/size mode=0555
  73 file path=usr/bin/symorder mode=0555
  74 file path=usr/bin/tsort mode=0555
  75 file path=usr/bin/unifdef mode=0555
  76 file path=usr/bin/yacc mode=0555
  77 file path=usr/lib/elfedit/$(ARCH64)/cap.so
  78 file path=usr/lib/elfedit/$(ARCH64)/dyn.so
  79 file path=usr/lib/elfedit/$(ARCH64)/ehdr.so
  80 file path=usr/lib/elfedit/$(ARCH64)/phdr.so
  81 file path=usr/lib/elfedit/$(ARCH64)/shdr.so
  82 file path=usr/lib/elfedit/$(ARCH64)/str.so
  83 file path=usr/lib/elfedit/$(ARCH64)/sym.so
  84 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/share/lib/ccs/gprof.callg.blurb mode=0444
  94 file path=usr/share/lib/ccs/gprof.flat.blurb mode=0444
  95 file path=usr/share/lib/ccs/nceucform
  96 file path=usr/share/lib/ccs/ncform
  97 file path=usr/share/lib/ccs/nrform
  98 file path=usr/share/lib/ccs/yaccpar
  99 file path=usr/share/man/man1/ar.1
 100 file path=usr/share/man/man1/demangle.1
 101 file path=usr/share/man/man1/dis.1
 102 file path=usr/share/man/man1/dump.1
 103 file path=usr/share/man/man1/elfdump.1
 104 file path=usr/share/man/man1/elfedit.1
 105 file path=usr/share/man/man1/gprof.1
 106 file path=usr/share/man/man1/lari.1
 107 file path=usr/share/man/man1/lex.1
 108 file path=usr/share/man/man1/lorder.1
 109 file path=usr/share/man/man1/mcs.1
 110 file path=usr/share/man/man1/nm.1
 111 file path=usr/share/man/man1/prof.1
 112 file path=usr/share/man/man1/ranlib.1
 113 file path=usr/share/man/man1/rpcgen.1
 114 file path=usr/share/man/man1/size.1
 115 file path=usr/share/man/man1/strip.1
 116 file path=usr/share/man/man1/symorder.1
 117 file path=usr/share/man/man1/tsort.1
 118 file path=usr/share/man/man1/unifdef.1
 119 file path=usr/share/man/man1/yacc.1
 120 hardlink path=usr/bin/$(ARCH64)/strip target=../../bin/$(ARCH64)/mcs
 121 hardlink path=usr/bin/strip target=../bin/mcs
 122 legacy pkg=SUNWbtool \
 123     desc="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs, nm, prof, ranlib, rpcgen, size, strip, tsort, and yacc" \
 124     name="CCS tools bundled with SunOS"
 125 license cr_Sun license=cr_Sun
 126 license lic_CDDL license=lic_CDDL
 127 license usr/src/cmd/backup/dump/THIRDPARTYLICENSE \
 128     license=usr/src/cmd/backup/dump/THIRDPARTYLICENSE
 129 link path=usr/ccs/bin/$(ARCH64)/ar target=../../../bin/$(ARCH64)/ar
 130 link path=usr/ccs/bin/$(ARCH64)/dump target=../../../bin/$(ARCH64)/dump
 131 link path=usr/ccs/bin/$(ARCH64)/elfdump target=../../../bin/$(ARCH64)/elfdump
 132 link path=usr/ccs/bin/$(ARCH64)/mcs target=../../../bin/$(ARCH64)/mcs
 133 link path=usr/ccs/bin/$(ARCH64)/nm target=../../../bin/$(ARCH64)/nm
 134 link path=usr/ccs/bin/$(ARCH64)/size target=../../../bin/$(ARCH64)/size
 135 link path=usr/ccs/bin/$(ARCH64)/strip target=../../../bin/$(ARCH64)/strip
 136 link path=usr/ccs/bin/ar target=../../bin/ar
 137 link path=usr/ccs/bin/dis target=../../bin/dis
 138 link path=usr/ccs/bin/dump target=../../bin/dump
 139 link path=usr/ccs/bin/elfdump target=../../bin/elfdump
 140 link path=usr/ccs/bin/error target=../../bin/error
 141 link path=usr/ccs/bin/gprof target=../../bin/gprof
 142 link path=usr/ccs/bin/lari target=../../bin/lari
 143 link path=usr/ccs/bin/lex target=../../bin/lex
 144 link path=usr/ccs/bin/lorder target=../../bin/lorder
 145 link path=usr/ccs/bin/mcs target=../../bin/mcs
 146 link path=usr/ccs/bin/nm target=../../bin/nm
 147 link path=usr/ccs/bin/prof target=../../bin/prof
 148 link path=usr/ccs/bin/ranlib target=../../bin/ranlib
 149 link path=usr/ccs/bin/size target=../../bin/size
 150 link path=usr/ccs/bin/strip target=../../bin/strip
 151 link path=usr/ccs/bin/symorder target=../../bin/symorder
 152 link path=usr/ccs/bin/tsort target=../../bin/tsort
 153 link path=usr/ccs/bin/unifdef target=../../bin/unifdef
 154 link path=usr/ccs/bin/yacc target=../../bin/yacc
 155 link path=usr/ccs/bin/yaccpar target=../../share/lib/ccs/yaccpar
 156 link path=usr/lib/elfedit/32 target=.
 157 link path=usr/lib/elfedit/64 target=$(ARCH64)
 158 depend fmri=developer/macro/cpp type=require
 159 depend fmri=runtime/perl$(PERL_PKGVERS) type=require