#
# 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, 2015, Oracle and/or its affiliates. All rights reserved.
#
# All libraries directly installed under /usr/gcc/3.4/lib should have
# equivalent links under /usr/sfw/lib for backward compatibility.
<transform file link path=usr/gcc/3.4/lib/([^/]*.so.[0-9]*)$ -> \
emit link path=usr/sfw/lib/%<1> target=../../gcc/3.4/lib/%<1>>
# Include /usr/sfw/lib links for 64 bit library support
<transform file link path=usr/gcc/3.4/lib/$(MACH64)/([^/]*.so.[0-9]*)$ -> \
emit link path=usr/sfw/lib/$(MACH64)/%<1> \
target=../../../gcc/3.4/lib/$(MACH64)/%<1>>
#
set name=pkg.fmri \
value=pkg:/system/library/gcc-3-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="GCC Runtime libraries"
set name=pkg.description \
value="GCC Runtime - Shared libraries used by gcc and other gnu components"
set name=com.oracle.info.description value="the GNU Compiler Collection"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification value=org.opensolaris.category.2008:Development/C
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2000/488 value=PSARC/2012/255
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
#
link path=usr/gcc/3.4/lib/$(MACH64)/libg2c.so target=libg2c.so.0.0.0
link path=usr/gcc/3.4/lib/$(MACH64)/libg2c.so.0 target=libg2c.so.0.0.0
file path=usr/gcc/3.4/lib/$(MACH64)/libg2c.so.0.0.0
link path=usr/gcc/3.4/lib/$(MACH64)/libgcc_s.so target=libgcc_s.so.1
file path=usr/gcc/3.4/lib/$(MACH64)/libgcc_s.so.1
link path=usr/gcc/3.4/lib/$(MACH64)/libgcc_s_$(MACH64).so target=libgcc_s.so.1
link path=usr/gcc/3.4/lib/$(MACH64)/libobjc.so target=libobjc.so.1.0.0
link path=usr/gcc/3.4/lib/$(MACH64)/libobjc.so.1 target=libobjc.so.1.0.0
file path=usr/gcc/3.4/lib/$(MACH64)/libobjc.so.1.0.0
link path=usr/gcc/3.4/lib/$(MACH64)/libstdc++.so target=libstdc++.so.6.0.3
link path=usr/gcc/3.4/lib/$(MACH64)/libstdc++.so.6 target=libstdc++.so.6.0.3
file path=usr/gcc/3.4/lib/$(MACH64)/libstdc++.so.6.0.3
link path=usr/gcc/3.4/lib/64 target=$(MACH64)
link path=usr/gcc/3.4/lib/libg2c.so target=libg2c.so.0.0.0
link path=usr/gcc/3.4/lib/libg2c.so.0 target=libg2c.so.0.0.0
file path=usr/gcc/3.4/lib/libg2c.so.0.0.0
link path=usr/gcc/3.4/lib/libgcc_s.so target=libgcc_s.so.1
file path=usr/gcc/3.4/lib/libgcc_s.so.1
link path=usr/gcc/3.4/lib/libobjc.so target=libobjc.so.1.0.0
link path=usr/gcc/3.4/lib/libobjc.so.1 target=libobjc.so.1.0.0
file path=usr/gcc/3.4/lib/libobjc.so.1.0.0
link path=usr/gcc/3.4/lib/libstdc++.so target=libstdc++.so.6.0.3
link path=usr/gcc/3.4/lib/libstdc++.so.6 target=libstdc++.so.6.0.3
file path=usr/gcc/3.4/lib/libstdc++.so.6.0.3
#
link path=usr/sfw/lib/64 target=$(MACH64)
#
legacy pkg=SUNWgccruntime \
desc="GCC Runtime - Shared libraries used by gcc and other gnu components" \
name="GCC Runtime libraries"
#
license gcc.license license=GPLv2