#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018 Norm Jacobs
# Copyright (c) 2020 Michal Nowak
# Copyright (c) 2022 Klaus Ziegler
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

<transform link path=usr/bin/g.* -> default facet.compat.gnulinks true>
<transform link path=usr/share/man/man1/g.* -> default facet.compat.gnulinks true>

link path=usr/bin/gaddr2line target=../gnu/bin/addr2line
link path=usr/bin/gar target=../gnu/bin/ar
link path=usr/bin/gas target=../gnu/bin/as
link path=usr/bin/gc++filt target=../gnu/bin/c++filt
link path=usr/bin/gelfedit target=../gnu/bin/elfedit
link path=usr/bin/ggprof target=../gnu/bin/gprof
link path=usr/bin/gld target=../gnu/bin/ld
link path=usr/bin/gnm target=../gnu/bin/nm
link path=usr/bin/gobjcopy target=../gnu/bin/objcopy
link path=usr/bin/gobjdump target=../gnu/bin/objdump
link path=usr/bin/granlib target=../gnu/bin/ranlib
link path=usr/bin/readelf target=../gnu/bin/readelf
link path=usr/bin/gsize target=../gnu/bin/size
link path=usr/bin/gstrings target=../gnu/bin/strings
link path=usr/bin/gstrip target=../gnu/bin/strip
# SPARC linker scripts
$(sparc_ONLY)<include binutils.sparc>
# Intel linker scripts
$(i386_ONLY)<include binutils.i386>
# Binaries
file path=usr/gnu/bin/addr2line
file path=usr/gnu/bin/ar
file path=usr/gnu/bin/as
file path=usr/gnu/bin/c++filt
file path=usr/gnu/bin/elfedit
file path=usr/gnu/bin/gprof
file path=usr/gnu/bin/ld
hardlink path=usr/gnu/bin/ld.bfd target=ld
file path=usr/gnu/bin/nm
file path=usr/gnu/bin/objcopy
file path=usr/gnu/bin/objdump
file path=usr/gnu/bin/ranlib
file path=usr/gnu/bin/readelf
file path=usr/gnu/bin/size
file path=usr/gnu/bin/strings
file path=usr/gnu/bin/strip
file path=usr/gnu/lib/$(MACH64)/bfd-plugins/libdep.so
file path=usr/gnu/lib/$(MACH64)/libbfd.a
file path=usr/gnu/lib/$(MACH64)/libctf-nobfd.a
file path=usr/gnu/lib/$(MACH64)/libctf.a
file path=usr/gnu/lib/$(MACH64)/libopcodes.a
file path=usr/gnu/share/locale/bg/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/bg/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/bg/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/ca/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/da/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/da/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/da/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/da/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/da/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/de/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/de/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/de/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/eo/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/es/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/fi/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/fr/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/ga/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/ga/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/ga/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/hr/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/hr/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/hu/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/id/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/it/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/it/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/it/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/it/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/ja/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/ja/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/ja/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/ja/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/ja/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/ka/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/ka/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/ka/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/ms/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/ms/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/nl/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/nl/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/pt/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/pt/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/pt_BR/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/pt_BR/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/ro/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/ru/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/ru/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/ru/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/ru/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/ru/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/rw/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/rw/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/rw/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/rw/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/sk/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/sr/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/sr/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/sr/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/sr/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/sr/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/sv/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/tr/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/uk/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/vi/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/vi/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/vi/LC_MESSAGES/gprof.mo
file path=usr/gnu/share/locale/vi/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/vi/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/bfd.mo
file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/gas.mo
file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/ld.mo
file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
file path=usr/gnu/share/locale/zh_TW/LC_MESSAGES/binutils.mo
file path=usr/gnu/share/locale/zh_TW/LC_MESSAGES/ld.mo
file path=usr/gnu/share/man/man1/addr2line.1
file path=usr/gnu/share/man/man1/ar.1
file path=usr/gnu/share/man/man1/as.1
file path=usr/gnu/share/man/man1/c++filt.1
file path=usr/gnu/share/man/man1/dlltool.1
file path=usr/gnu/share/man/man1/elfedit.1
file path=usr/gnu/share/man/man1/gprof.1
file path=usr/gnu/share/man/man1/ld.1
file path=usr/gnu/share/man/man1/nm.1
file path=usr/gnu/share/man/man1/objcopy.1
file path=usr/gnu/share/man/man1/objdump.1
file path=usr/gnu/share/man/man1/ranlib.1
file path=usr/gnu/share/man/man1/readelf.1
file path=usr/gnu/share/man/man1/size.1
file path=usr/gnu/share/man/man1/strings.1
file path=usr/gnu/share/man/man1/strip.1
file path=usr/gnu/share/man/man1/windmc.1
file path=usr/gnu/share/man/man1/windres.1
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/ar target=../../bin/ar
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/as target=../../bin/as
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/ld target=../../bin/ld
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/ld.bfd target=../../bin/ld
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/nm target=../../bin/nm
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/objcopy target=../../bin/objcopy
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/objdump target=../../bin/objdump
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/ranlib target=../../bin/ranlib
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/readelf target=../../bin/readelf
hardlink path=usr/gnu/$(GNU_TRIPLET)/bin/strip target=../../bin/strip
file path=usr/include/ansidecl.h
file path=usr/include/bfd.h
file path=usr/include/bfdlink.h
file path=usr/include/ctf-api.h
file path=usr/include/ctf.h
file path=usr/include/diagnostics.h
file path=usr/include/dis-asm.h
file path=usr/include/plugin-api.h
file path=usr/include/sframe-api.h
file path=usr/include/sframe.h
file path=usr/include/symcat.h
file path=usr/share/info/as.info
file path=usr/share/info/bfd.info
file path=usr/share/info/binutils.info
file path=usr/share/info/gprof.info
file path=usr/share/info/ldint.info
file path=usr/share/info/ld.info
link path=usr/sfw/bin/gaddr2line target=../../gnu/bin/addr2line
link path=usr/sfw/bin/gar target=../../gnu/bin/ar
link path=usr/sfw/bin/gas target=../../gnu/bin/as
link path=usr/sfw/bin/gc++filt target=../../gnu/bin/c++filt
link path=usr/sfw/bin/gelfedit target=../../gnu/bin/elfedit
link path=usr/sfw/bin/ggprof target=../../gnu/bin/gprof
link path=usr/sfw/bin/gld target=../../gnu/bin/ld
link path=usr/sfw/bin/gnm target=../../gnu/bin/nm
link path=usr/sfw/bin/gobjcopy target=../../gnu/bin/objcopy
link path=usr/sfw/bin/gobjdump target=../../gnu/bin/objdump
link path=usr/sfw/bin/granlib target=../../gnu/bin/ranlib
link path=usr/sfw/bin/gsize target=../../gnu/bin/size
link path=usr/sfw/bin/gstrings target=../../gnu/bin/strings
link path=usr/sfw/bin/gstrip target=../../gnu/bin/strip
link path=usr/share/man/man1/gaddr2line.1 \
    target=../../../gnu/share/man/man1/addr2line.1
link path=usr/share/man/man1/gar.1 target=../../../gnu/share/man/man1/ar.1
link path=usr/share/man/man1/gas.1 target=../../../gnu/share/man/man1/as.1
link path=usr/share/man/man1/gc++filt.1 \
    target=../../../gnu/share/man/man1/c++filt.1
link path=usr/share/man/man1/gelfedit.1 \
    target=../../../gnu/share/man/man1/elfedit.1
link path=usr/share/man/man1/ggprof.1 target=../../../gnu/share/man/man1/gprof.1
link path=usr/share/man/man1/gld.1 target=../../../gnu/share/man/man1/ld.1
link path=usr/share/man/man1/gnm.1 target=../../../gnu/share/man/man1/nm.1
link path=usr/share/man/man1/gobjcopy.1 \
    target=../../../gnu/share/man/man1/objcopy.1
link path=usr/share/man/man1/gobjdump.1 \
    target=../../../gnu/share/man/man1/objdump.1
link path=usr/share/man/man1/granlib.1 \
    target=../../../gnu/share/man/man1/ranlib.1
link path=usr/share/man/man1/greadelf.1 \
    target=../../../gnu/share/man/man1/readelf.1
link path=usr/share/man/man1/gsize.1 target=../../../gnu/share/man/man1/size.1
link path=usr/share/man/man1/gstrings.1 \
    target=../../../gnu/share/man/man1/strings.1
link path=usr/share/man/man1/gstrip.1 \
    target=../../../gnu/share/man/man1/strip.1
legacy pkg=SUNWbinutils desc="GNU binutils - Binary file utilities" \
    name="binutils - GNU binutils"