Print this page




   6 #
   7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   8 # or http://www.opensolaris.org/os/licensing.
   9 # See the License for the specific language governing permissions
  10 # and limitations under the License.
  11 #
  12 # When distributing Covered Code, include this CDDL HEADER in each
  13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  14 # If applicable, add the following below this CDDL HEADER, with the
  15 # fields enclosed by brackets "[]" replaced with your own identifying
  16 # information: Portions Copyright [yyyy] [name of copyright owner]
  17 #
  18 # CDDL HEADER END
  19 #
  20 
  21 #
  22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2011, Richard Lowe
  24 # Copyright (c) 2012 by Delphix. All rights reserved.
  25 # Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>
  26 # Copyright 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  27 # Copyright (c) 2013 RackTop Systems.
  28 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  29 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.

  30 #
  31 
  32 #
  33 # It is easier to think in terms of directory names without the ROOT macro
  34 # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
  35 # to work with ROOT prefixes when controlling conditional assignments.
  36 #
  37 
  38 DIRLINKS=       $(SYM.DIRS)
  39 $(BUILD64)      DIRLINKS += $(SYM.DIRS64)
  40 
  41 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
  42 $(BUILD64)      FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
  43 
  44 TARGETDIRS=     $(DIRS)
  45 $(BUILD64)      TARGETDIRS += $(DIRS64)
  46 
  47 TARGETDIRS      += $(FILELINKS) $(DIRLINKS)
  48 
  49 i386_DIRS=                      \
  50         /boot/acpi              \
  51         /boot/acpi/tables       \
  52         /boot/grub              \
  53         /boot/grub/bin          \
  54         /platform/i86pc         \
  55         /lib/libmvec            \
  56         /usr/lib/brand/lx       \
  57         /usr/lib/brand/lx/amd64 \
  58         /usr/lib/brand/lx/distros \
  59         /usr/lib/xen            \
  60         /usr/lib/xen/bin
  61 
  62 sparc_DIRS=                             \
  63         /usr/lib/ldoms
  64 
  65 sparc_64ONLY= $(POUND_SIGN)
  66 64ONLY=  $($(MACH)_64ONLY)
  67 
  68 $(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
  69 
  70 DIRS= \
  71         /boot \
  72         /boot/solaris \
  73         /boot/solaris/bin \
  74         $($(MACH)_DIRS) \
  75         /dev \
  76         /dev/dsk \
  77         /dev/fd \
  78         /dev/ipnet \


 232         /usr/include \
 233         /usr/include/ads \
 234         /usr/include/ast \
 235         /usr/include/fm \
 236         /usr/include/gssapi \
 237         /usr/include/hal \
 238         /usr/include/kerberosv5 \
 239         /usr/include/libmilter \
 240         /usr/include/libpolkit \
 241         /usr/include/sasl \
 242         /usr/include/scsi \
 243         /usr/include/security \
 244         /usr/include/sys/crypto \
 245         /usr/include/tsol \
 246         /usr/kernel  \
 247         /usr/kvm \
 248         /usr/lib \
 249         /usr/lib/abi \
 250         /usr/lib/brand \
 251         /usr/lib/brand/ipkg \

 252         /usr/lib/brand/labeled \
 253         /usr/lib/brand/shared \
 254         /usr/lib/brand/sn1 \
 255         /usr/lib/brand/solaris10 \
 256         /usr/lib/class \
 257         /usr/lib/class/FSS \
 258         /usr/lib/class/FX \
 259         /usr/lib/class/IA \
 260         /usr/lib/class/RT \
 261         /usr/lib/class/SDC \
 262         /usr/lib/class/TS \
 263         /usr/lib/crypto \
 264         /usr/lib/drv \
 265         /usr/lib/elfedit \
 266         /usr/lib/fm \
 267         /usr/lib/font \
 268         /usr/lib/fs \
 269         /usr/lib/fs/nfs \
 270         /usr/lib/fs/proc \
 271         /usr/lib/fs/smb \
 272         /usr/lib/fs/zfs \
 273         /usr/lib/gss \
 274         /usr/lib/hal \
 275         /usr/lib/inet \
 276         /usr/lib/inet/ilb \
 277         /usr/lib/inet/$(MACH32) \
 278         /usr/lib/inet/wanboot \
 279         /usr/lib/krb5 \
 280         /usr/lib/link_audit \
 281         /usr/lib/lwp \
 282         /usr/lib/mdb \
 283         /usr/lib/mdb/kvm \
 284         /usr/lib/mdb/proc \
 285         /usr/lib/nfs \
 286         /usr/lib/varpd \
 287         /usr/net \
 288         /usr/net/servers \
 289         /usr/lib/pool \
 290         /usr/lib/python$(PYTHON_VERSION) \
 291         /usr/lib/python$(PYTHON_VERSION)/vendor-packages \
 292         /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 \
 293         /usr/lib/python$(PYTHON_VERSION)/vendor-packages/solaris \
 294         /usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs \
 295         /usr/lib/python$(PYTHON_VERSION)/vendor-packages/beadm \
 296         /usr/lib/rcap \
 297         /usr/lib/rcap/$(MACH32) \
 298         /usr/lib/sa  \
 299         /usr/lib/saf \
 300         /usr/lib/sasl \
 301         /usr/lib/scsi \
 302         /usr/lib/secure \
 303         /usr/lib/security \
 304         /usr/lib/smbsrv \
 305         /usr/lib/vscan \
 306         /usr/lib/zfs \
 307         /usr/lib/zones \
 308         /usr/old \
 309         /usr/platform  \
 310         /usr/proc \
 311         /usr/proc/bin \
 312         /usr/sadm \
 313         /usr/sadm/install \
 314         /usr/sadm/install/bin \
 315         /usr/sadm/install/scripts \


 453         /usr/lib/$(MACH64)/gss \
 454         /usr/lib/brand/sn1/$(MACH64) \
 455         /usr/lib/brand/solaris10/$(MACH64) \
 456         /usr/lib/elfedit/$(MACH64) \
 457         /usr/lib/fm/$(MACH64) \
 458         /usr/lib/fs/nfs/$(MACH64) \
 459         /usr/lib/fs/smb/$(MACH64) \
 460         /usr/lib/inet/$(MACH64) \
 461         /usr/lib/krb5/$(MACH64) \
 462         /usr/lib/link_audit/$(MACH64) \
 463         /usr/lib/lwp/$(MACH64) \
 464         /usr/lib/mdb/kvm/$(MACH64) \
 465         /usr/lib/mdb/proc/$(MACH64) \
 466         /usr/lib/rcap/$(MACH64) \
 467         /usr/lib/sasl/$(MACH64) \
 468         /usr/lib/scsi/$(MACH64) \
 469         /usr/lib/secure/$(MACH64) \
 470         /usr/lib/security/$(MACH64) \
 471         /usr/lib/smbsrv/$(MACH64) \
 472         /usr/lib/abi/$(MACH64) \
 473         /usr/lib/varpd/$(MACH64) \
 474         /usr/sbin/$(MACH64) \
 475         /usr/ucb/$(MACH64) \
 476         /usr/ucblib/$(MACH64) \
 477         /usr/xpg4/lib/$(MACH64) \
 478         /var/ld/$(MACH64)
 479 
 480 # /var/mail/:saved is built directly by the rootdirs target in
 481 # /usr/src/Makefile because of the colon in its name.
 482 
 483 # macros for symbolic links
 484 SYM.DIRS= \
 485         /bin \
 486         /dev/stdin \
 487         /dev/stdout \
 488         /dev/stderr \
 489         /etc/lib/ld.so.1 \
 490         /etc/lib/libdl.so.1 \
 491         /etc/lib/nss_files.so.1 \
 492         /etc/log \
 493         /lib/32 \


 514         /var/ld/32
 515 
 516 i386_SYM.DIRS64= \
 517         /usr/lib/brand/lx/64
 518 
 519 sparc_SYM.DIRS64=
 520 
 521 SYM.DIRS64= \
 522         $($(MACH)_SYM.DIRS64) \
 523         /lib/64 \
 524         /lib/crypto/64 \
 525         /lib/secure/64 \
 526         /usr/lib/64 \
 527         /usr/lib/brand/sn1/64 \
 528         /usr/lib/brand/solaris10/64 \
 529         /usr/lib/elfedit/64 \
 530         /usr/lib/link_audit/64 \
 531         /usr/lib/lwp/64 \
 532         /usr/lib/secure/64 \
 533         /usr/lib/security/64 \
 534         /usr/lib/varpd/64 \
 535         /usr/xpg4/lib/64 \
 536         /var/ld/64 \
 537         /usr/ucblib/64
 538 
 539 # prepend the ROOT prefix
 540 
 541 ROOTDIRS=       $(TARGETDIRS:%=$(ROOT)%)
 542 
 543 # conditional assignments
 544 #
 545 # Target directories with non-default values for owner and group must
 546 # be referenced here, using their fully-prefixed names, and the non-
 547 # default values assigned.  If a directory is mentioned above and not
 548 # mentioned below, it has default values for attributes.
 549 #
 550 # The default value for DIRMODE is specified in usr/src/Makefile.master.
 551 #
 552 
 553 $(ROOT)/var/adm \
 554 $(ROOT)/var/adm/sa :=           DIRMODE= 775


 622 $(ROOT)/usr/lib/lwp/32:=                LINKDEST=.
 623 $(ROOT)/usr/lib/link_audit/32:=         LINKDEST=.
 624 $(ROOT)/usr/lib/secure/32:=             LINKDEST=.
 625 $(ROOT)/usr/ccs/lib/link_audit:=        LINKDEST=../../lib/link_audit
 626 $(ROOT)/var/ld/32:=                     LINKDEST=.
 627 $(ROOT)/usr/ucblib/32:=                 LINKDEST=.
 628 
 629 
 630 $(BUILD64) $(ROOT)/lib/64:=             LINKDEST=$(MACH64)
 631 $(BUILD64) $(ROOT)/lib/crypto/64:=      LINKDEST=$(MACH64)
 632 $(BUILD64) $(ROOT)/lib/secure/64:=      LINKDEST=$(MACH64)
 633 $(BUILD64) $(ROOT)/usr/lib/64:=         LINKDEST=$(MACH64)
 634 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
 635 $(BUILD64) $(ROOT)/usr/lib/brand/lx/64:=        LINKDEST=$(MACH64)
 636 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=       LINKDEST=$(MACH64)
 637 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
 638 $(BUILD64) $(ROOT)/usr/lib/lwp/64:=     LINKDEST=$(MACH64)
 639 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:=      LINKDEST=$(MACH64)
 640 $(BUILD64) $(ROOT)/usr/lib/secure/64:=  LINKDEST=$(MACH64)
 641 $(BUILD64) $(ROOT)/usr/lib/security/64:=        LINKDEST=$(MACH64)
 642 $(BUILD64) $(ROOT)/usr/lib/varpd/64:=   LINKDEST=$(MACH64)
 643 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:=    LINKDEST=$(MACH64)
 644 $(BUILD64) $(ROOT)/var/ld/64:=          LINKDEST=$(MACH64)
 645 $(BUILD64) $(ROOT)/usr/ucblib/64:=      LINKDEST=$(MACH64)
 646 
 647 #
 648 # Installing a directory symlink calls for overriding INS.dir to install
 649 # a symlink.
 650 #
 651 $(DIRLINKS:%=$(ROOT)%):= \
 652    INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 653 
 654 # Special symlinks to populate usr/ccs/lib, whose objects
 655 # have actually been moved to usr/lib
 656 # Rather than adding another set of rules, we add usr/lib/lwp files here
 657 $(ROOT)/usr/ccs/lib/libcurses.so:=      REALPATH=../../../lib/libcurses.so.1
 658 $(ROOT)/usr/ccs/lib/llib-lcurses:=      REALPATH=../../../lib/llib-lcurses
 659 $(ROOT)/usr/ccs/lib/llib-lcurses.ln:=   REALPATH=../../../lib/llib-lcurses.ln
 660 $(ROOT)/usr/ccs/lib/libform.so:=        REALPATH=../../lib/libform.so.1
 661 $(ROOT)/usr/ccs/lib/llib-lform:=        REALPATH=../../lib/llib-lform
 662 $(ROOT)/usr/ccs/lib/llib-lform.ln:=     REALPATH=../../lib/llib-lform.ln




   6 #
   7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   8 # or http://www.opensolaris.org/os/licensing.
   9 # See the License for the specific language governing permissions
  10 # and limitations under the License.
  11 #
  12 # When distributing Covered Code, include this CDDL HEADER in each
  13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  14 # If applicable, add the following below this CDDL HEADER, with the
  15 # fields enclosed by brackets "[]" replaced with your own identifying
  16 # information: Portions Copyright [yyyy] [name of copyright owner]
  17 #
  18 # CDDL HEADER END
  19 #
  20 
  21 #
  22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2011, Richard Lowe
  24 # Copyright (c) 2012 by Delphix. All rights reserved.
  25 # Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>

  26 # Copyright (c) 2013 RackTop Systems.
  27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  28 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  29 # Copyright 2015 OmniTI Computer Consulting, Inc.  All rights reserved.
  30 #
  31 
  32 #
  33 # It is easier to think in terms of directory names without the ROOT macro
  34 # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
  35 # to work with ROOT prefixes when controlling conditional assignments.
  36 #
  37 
  38 DIRLINKS=       $(SYM.DIRS)
  39 $(BUILD64)      DIRLINKS += $(SYM.DIRS64)
  40 
  41 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
  42 $(BUILD64)      FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
  43 
  44 TARGETDIRS=     $(DIRS)
  45 $(BUILD64)      TARGETDIRS += $(DIRS64)
  46 
  47 TARGETDIRS      += $(FILELINKS) $(DIRLINKS)
  48 
  49 i386_DIRS=                      \
  50         /boot/acpi              \
  51         /boot/acpi/tables       \
  52         /boot/grub              \
  53         /boot/grub/bin          \
  54         /platform/i86pc         \
  55         /lib/libmvec            \
  56         /usr/lib/brand/lx \
  57         /usr/lib/brand/lx/amd64 \

  58         /usr/lib/xen            \
  59         /usr/lib/xen/bin
  60 
  61 sparc_DIRS=                             \
  62         /usr/lib/ldoms
  63 
  64 sparc_64ONLY= $(POUND_SIGN)
  65 64ONLY=  $($(MACH)_64ONLY)
  66 
  67 $(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
  68 
  69 DIRS= \
  70         /boot \
  71         /boot/solaris \
  72         /boot/solaris/bin \
  73         $($(MACH)_DIRS) \
  74         /dev \
  75         /dev/dsk \
  76         /dev/fd \
  77         /dev/ipnet \


 231         /usr/include \
 232         /usr/include/ads \
 233         /usr/include/ast \
 234         /usr/include/fm \
 235         /usr/include/gssapi \
 236         /usr/include/hal \
 237         /usr/include/kerberosv5 \
 238         /usr/include/libmilter \
 239         /usr/include/libpolkit \
 240         /usr/include/sasl \
 241         /usr/include/scsi \
 242         /usr/include/security \
 243         /usr/include/sys/crypto \
 244         /usr/include/tsol \
 245         /usr/kernel  \
 246         /usr/kvm \
 247         /usr/lib \
 248         /usr/lib/abi \
 249         /usr/lib/brand \
 250         /usr/lib/brand/ipkg \
 251         /usr/lib/brand/lipkg \
 252         /usr/lib/brand/labeled \
 253         /usr/lib/brand/shared \
 254         /usr/lib/brand/sn1 \
 255         /usr/lib/brand/solaris10 \
 256         /usr/lib/class \
 257         /usr/lib/class/FSS \
 258         /usr/lib/class/FX \
 259         /usr/lib/class/IA \
 260         /usr/lib/class/RT \
 261         /usr/lib/class/SDC \
 262         /usr/lib/class/TS \
 263         /usr/lib/crypto \
 264         /usr/lib/drv \
 265         /usr/lib/elfedit \
 266         /usr/lib/fm \
 267         /usr/lib/font \
 268         /usr/lib/fs \
 269         /usr/lib/fs/nfs \
 270         /usr/lib/fs/proc \
 271         /usr/lib/fs/smb \
 272         /usr/lib/fs/zfs \
 273         /usr/lib/gss \
 274         /usr/lib/hal \
 275         /usr/lib/inet \
 276         /usr/lib/inet/ilb \
 277         /usr/lib/inet/$(MACH32) \
 278         /usr/lib/inet/wanboot \
 279         /usr/lib/krb5 \
 280         /usr/lib/link_audit \
 281         /usr/lib/lwp \
 282         /usr/lib/mdb \
 283         /usr/lib/mdb/kvm \
 284         /usr/lib/mdb/proc \
 285         /usr/lib/nfs \

 286         /usr/net \
 287         /usr/net/servers \
 288         /usr/lib/pool \
 289         /usr/lib/python2.6 \
 290         /usr/lib/python2.6/vendor-packages \
 291         /usr/lib/python2.6/vendor-packages/64 \
 292         /usr/lib/python2.6/vendor-packages/solaris \
 293         /usr/lib/python2.6/vendor-packages/zfs \
 294         /usr/lib/python2.6/vendor-packages/beadm \
 295         /usr/lib/rcap \
 296         /usr/lib/rcap/$(MACH32) \
 297         /usr/lib/sa  \
 298         /usr/lib/saf \
 299         /usr/lib/sasl \
 300         /usr/lib/scsi \
 301         /usr/lib/secure \
 302         /usr/lib/security \
 303         /usr/lib/smbsrv \
 304         /usr/lib/vscan \
 305         /usr/lib/zfs \
 306         /usr/lib/zones \
 307         /usr/old \
 308         /usr/platform  \
 309         /usr/proc \
 310         /usr/proc/bin \
 311         /usr/sadm \
 312         /usr/sadm/install \
 313         /usr/sadm/install/bin \
 314         /usr/sadm/install/scripts \


 452         /usr/lib/$(MACH64)/gss \
 453         /usr/lib/brand/sn1/$(MACH64) \
 454         /usr/lib/brand/solaris10/$(MACH64) \
 455         /usr/lib/elfedit/$(MACH64) \
 456         /usr/lib/fm/$(MACH64) \
 457         /usr/lib/fs/nfs/$(MACH64) \
 458         /usr/lib/fs/smb/$(MACH64) \
 459         /usr/lib/inet/$(MACH64) \
 460         /usr/lib/krb5/$(MACH64) \
 461         /usr/lib/link_audit/$(MACH64) \
 462         /usr/lib/lwp/$(MACH64) \
 463         /usr/lib/mdb/kvm/$(MACH64) \
 464         /usr/lib/mdb/proc/$(MACH64) \
 465         /usr/lib/rcap/$(MACH64) \
 466         /usr/lib/sasl/$(MACH64) \
 467         /usr/lib/scsi/$(MACH64) \
 468         /usr/lib/secure/$(MACH64) \
 469         /usr/lib/security/$(MACH64) \
 470         /usr/lib/smbsrv/$(MACH64) \
 471         /usr/lib/abi/$(MACH64) \

 472         /usr/sbin/$(MACH64) \
 473         /usr/ucb/$(MACH64) \
 474         /usr/ucblib/$(MACH64) \
 475         /usr/xpg4/lib/$(MACH64) \
 476         /var/ld/$(MACH64)
 477 
 478 # /var/mail/:saved is built directly by the rootdirs target in
 479 # /usr/src/Makefile because of the colon in its name.
 480 
 481 # macros for symbolic links
 482 SYM.DIRS= \
 483         /bin \
 484         /dev/stdin \
 485         /dev/stdout \
 486         /dev/stderr \
 487         /etc/lib/ld.so.1 \
 488         /etc/lib/libdl.so.1 \
 489         /etc/lib/nss_files.so.1 \
 490         /etc/log \
 491         /lib/32 \


 512         /var/ld/32
 513 
 514 i386_SYM.DIRS64= \
 515         /usr/lib/brand/lx/64
 516 
 517 sparc_SYM.DIRS64=
 518 
 519 SYM.DIRS64= \
 520         $($(MACH)_SYM.DIRS64) \
 521         /lib/64 \
 522         /lib/crypto/64 \
 523         /lib/secure/64 \
 524         /usr/lib/64 \
 525         /usr/lib/brand/sn1/64 \
 526         /usr/lib/brand/solaris10/64 \
 527         /usr/lib/elfedit/64 \
 528         /usr/lib/link_audit/64 \
 529         /usr/lib/lwp/64 \
 530         /usr/lib/secure/64 \
 531         /usr/lib/security/64 \

 532         /usr/xpg4/lib/64 \
 533         /var/ld/64 \
 534         /usr/ucblib/64
 535 
 536 # prepend the ROOT prefix
 537 
 538 ROOTDIRS=       $(TARGETDIRS:%=$(ROOT)%)
 539 
 540 # conditional assignments
 541 #
 542 # Target directories with non-default values for owner and group must
 543 # be referenced here, using their fully-prefixed names, and the non-
 544 # default values assigned.  If a directory is mentioned above and not
 545 # mentioned below, it has default values for attributes.
 546 #
 547 # The default value for DIRMODE is specified in usr/src/Makefile.master.
 548 #
 549 
 550 $(ROOT)/var/adm \
 551 $(ROOT)/var/adm/sa :=           DIRMODE= 775


 619 $(ROOT)/usr/lib/lwp/32:=                LINKDEST=.
 620 $(ROOT)/usr/lib/link_audit/32:=         LINKDEST=.
 621 $(ROOT)/usr/lib/secure/32:=             LINKDEST=.
 622 $(ROOT)/usr/ccs/lib/link_audit:=        LINKDEST=../../lib/link_audit
 623 $(ROOT)/var/ld/32:=                     LINKDEST=.
 624 $(ROOT)/usr/ucblib/32:=                 LINKDEST=.
 625 
 626 
 627 $(BUILD64) $(ROOT)/lib/64:=             LINKDEST=$(MACH64)
 628 $(BUILD64) $(ROOT)/lib/crypto/64:=      LINKDEST=$(MACH64)
 629 $(BUILD64) $(ROOT)/lib/secure/64:=      LINKDEST=$(MACH64)
 630 $(BUILD64) $(ROOT)/usr/lib/64:=         LINKDEST=$(MACH64)
 631 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
 632 $(BUILD64) $(ROOT)/usr/lib/brand/lx/64:=        LINKDEST=$(MACH64)
 633 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=       LINKDEST=$(MACH64)
 634 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
 635 $(BUILD64) $(ROOT)/usr/lib/lwp/64:=     LINKDEST=$(MACH64)
 636 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:=      LINKDEST=$(MACH64)
 637 $(BUILD64) $(ROOT)/usr/lib/secure/64:=  LINKDEST=$(MACH64)
 638 $(BUILD64) $(ROOT)/usr/lib/security/64:=        LINKDEST=$(MACH64)

 639 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:=    LINKDEST=$(MACH64)
 640 $(BUILD64) $(ROOT)/var/ld/64:=          LINKDEST=$(MACH64)
 641 $(BUILD64) $(ROOT)/usr/ucblib/64:=      LINKDEST=$(MACH64)
 642 
 643 #
 644 # Installing a directory symlink calls for overriding INS.dir to install
 645 # a symlink.
 646 #
 647 $(DIRLINKS:%=$(ROOT)%):= \
 648    INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 649 
 650 # Special symlinks to populate usr/ccs/lib, whose objects
 651 # have actually been moved to usr/lib
 652 # Rather than adding another set of rules, we add usr/lib/lwp files here
 653 $(ROOT)/usr/ccs/lib/libcurses.so:=      REALPATH=../../../lib/libcurses.so.1
 654 $(ROOT)/usr/ccs/lib/llib-lcurses:=      REALPATH=../../../lib/llib-lcurses
 655 $(ROOT)/usr/ccs/lib/llib-lcurses.ln:=   REALPATH=../../../lib/llib-lcurses.ln
 656 $(ROOT)/usr/ccs/lib/libform.so:=        REALPATH=../../lib/libform.so.1
 657 $(ROOT)/usr/ccs/lib/llib-lform:=        REALPATH=../../lib/llib-lform
 658 $(ROOT)/usr/ccs/lib/llib-lform.ln:=     REALPATH=../../lib/llib-lform.ln