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/linker@$(PKGVERS)
  28 set name=pkg.description \
  29     value="utilities for software development, including ld, ldd, od, and truss"
  30 set name=pkg.summary value="Programming Tools"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:Development/System
  33 set name=variant.arch value=$(ARCH)
  34 dir path=usr group=sys
  35 dir path=usr/bin
  36 dir path=usr/bin/$(ARCH32)
  37 $(BUILD64)dir path=usr/bin/$(ARCH64)
  38 dir path=usr/ccs
  39 dir path=usr/ccs/bin
  40 $(BUILD64)dir path=usr/ccs/bin/$(ARCH64)
  41 dir path=usr/ccs/lib
  42 dir path=usr/lib
  43 $(BUILD64)dir path=usr/lib/$(ARCH64)
  44 dir path=usr/lib/abi
  45 dir path=usr/lib/ld
  46 $(BUILD64)dir path=usr/lib/ld/$(ARCH64)
  47 dir path=usr/lib/link_audit
  48 $(BUILD64)dir path=usr/lib/link_audit/$(ARCH64)
  49 dir path=usr/share/man
  50 dir path=usr/share/man/man1
  51 dir path=usr/share/man/man4
  52 file path=usr/bin/$(ARCH32)/gcore mode=0555
  53 $(i386_ONLY)file path=usr/bin/$(ARCH32)/plimit mode=0555
  54 file path=usr/bin/$(ARCH32)/strings mode=0555
  55 file path=usr/bin/$(ARCH32)/truss mode=0555
  56 $(BUILD64)file path=usr/bin/$(ARCH64)/elfwrap mode=0555
  57 $(BUILD64)file path=usr/bin/$(ARCH64)/gcore mode=0555
  58 $(BUILD64)file path=usr/bin/$(ARCH64)/ld mode=0755
  59 $(BUILD64)file path=usr/bin/$(ARCH64)/ldd mode=0555
  60 $(BUILD64)file path=usr/bin/$(ARCH64)/plimit mode=0555
  61 $(BUILD64)file path=usr/bin/$(ARCH64)/pvs mode=0555
  62 $(BUILD64)file path=usr/bin/$(ARCH64)/strings mode=0555
  63 $(BUILD64)file path=usr/bin/$(ARCH64)/truss mode=0555
  64 file path=usr/bin/ctags mode=0555
  65 file path=usr/bin/elfsign mode=0555
  66 file path=usr/bin/elfwrap mode=0555
  67 file path=usr/bin/exstr mode=0555
  68 file path=usr/bin/ld mode=0755
  69 file path=usr/bin/ldd mode=0555
  70 file path=usr/bin/od mode=0555
  71 file path=usr/bin/pvs mode=0555
  72 file path=usr/bin/regcmp mode=0555
  73 file path=usr/bin/sotruss mode=0755
  74 file path=usr/bin/whocalls mode=0755
  75 $(BUILD64)file path=usr/lib/$(ARCH64)/lddstub mode=0555
  76 $(BUILD64)file path=usr/lib/$(ARCH64)/libldstab.so.1
  77 file path=usr/lib/abi/spec2map mode=0755
  78 file path=usr/lib/abi/spec2trace mode=0755
  79 file path=usr/lib/ld/map.above4G mode=0444
  80 file path=usr/lib/ld/map.below4G mode=0444
  81 file path=usr/lib/ld/map.bssalign mode=0444
  82 file path=usr/lib/ld/map.default mode=0444
  83 file path=usr/lib/ld/map.execdata mode=0444
  84 file path=usr/lib/ld/map.filter mode=0444
  85 file path=usr/lib/ld/map.noexbss mode=0444
  86 file path=usr/lib/ld/map.noexdata mode=0444
  87 file path=usr/lib/ld/map.noexstk mode=0444
  88 file path=usr/lib/ld/map.pagealign mode=0444
  89 file path=usr/lib/lddstub mode=0555
  90 file path=usr/lib/libldstab.so.1
  91 $(BUILD64)file path=usr/lib/link_audit/$(ARCH64)/ldprof.so.1
  92 $(BUILD64)file path=usr/lib/link_audit/$(ARCH64)/truss.so.1
  93 $(BUILD64)file path=usr/lib/link_audit/$(ARCH64)/who.so.1
  94 file path=usr/lib/link_audit/ldprof.so.1
  95 file path=usr/lib/link_audit/truss.so.1
  96 file path=usr/lib/link_audit/who.so.1
  97 file path=usr/share/man/man1/ctags.1
  98 file path=usr/share/man/man1/elfsign.1
  99 file path=usr/share/man/man1/elfwrap.1
 100 file path=usr/share/man/man1/exstr.1
 101 file path=usr/share/man/man1/gcore.1
 102 file path=usr/share/man/man1/ld.1
 103 file path=usr/share/man/man1/ldd.1
 104 file path=usr/share/man/man1/od.1
 105 file path=usr/share/man/man1/plimit.1
 106 file path=usr/share/man/man1/pvs.1
 107 file path=usr/share/man/man1/regcmp.1
 108 file path=usr/share/man/man1/sotruss.1
 109 file path=usr/share/man/man1/strings.1
 110 file path=usr/share/man/man1/truss.1
 111 file path=usr/share/man/man1/whocalls.1
 112 file path=usr/share/man/man4/a.out.4
 113 hardlink path=usr/bin/gcore target=../../usr/lib/isaexec
 114 hardlink path=usr/bin/plimit target=../../usr/lib/isaexec
 115 hardlink path=usr/bin/strings target=../../usr/lib/isaexec
 116 hardlink path=usr/bin/truss target=../../usr/lib/isaexec
 117 legacy pkg=SUNWtoo \
 118     desc="utilities for software development, including ld, ldd, od, and truss" \
 119     name="Programming Tools"
 120 license cr_ATT license=cr_ATT
 121 license cr_Sun license=cr_Sun
 122 license lic_CDDL license=lic_CDDL
 123 license lic_OSBL license=lic_OSBL
 124 license lic_OSBL_preamble license=lic_OSBL_preamble
 125 $(BUILD64)link path=usr/ccs/bin/$(ARCH64)/ld target=../../../bin/$(ARCH64)/ld
 126 link path=usr/ccs/bin/ld target=../../bin/ld
 127 link path=usr/ccs/bin/regcmp target=../../bin/regcmp
 128 link path=usr/ccs/lib/link_audit target=../../lib/link_audit
 129 $(BUILD64)link path=usr/lib/ld/$(ARCH64)/map.above4G target=../map.above4G
 130 $(BUILD64)link path=usr/lib/ld/$(ARCH64)/map.below4G target=../map.below4G
 131 $(BUILD64)link path=usr/lib/ld/$(ARCH64)/map.default target=../map.default
 132 link path=usr/lib/link_audit/32 target=.
 133 $(BUILD64)link path=usr/lib/link_audit/64 target=$(ARCH64)