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