Print this page
1427 import libssl


   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 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  26 # Copyright (c) 2013 RackTop Systems.
  27 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.

  28 #
  29 
  30 #
  31 # It is easier to think in terms of directory names without the ROOT macro
  32 # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
  33 # to work with ROOT prefixes when controlling conditional assignments.
  34 #
  35 
  36 DIRLINKS=       $(SYM.DIRS)
  37 $(BUILD64)      DIRLINKS += $(SYM.DIRS64)
  38 
  39 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
  40 $(BUILD64)      FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
  41 
  42 TARGETDIRS=     $(DIRS)
  43 $(BUILD64)      TARGETDIRS += $(DIRS64)
  44 
  45 TARGETDIRS      += $(FILELINKS) $(DIRLINKS)
  46 
  47 i386_DIRS=                      \


 144         /etc/rcS.d  \
 145         /etc/saf \
 146         /etc/sasl       \
 147         /etc/sfw \
 148         /etc/skel       \
 149         /etc/svc \
 150         /etc/svc/profile \
 151         /etc/svc/profile/site \
 152         /etc/svc/volatile \
 153         /etc/tm  \
 154         /etc/usb   \
 155         /etc/user_attr.d \
 156         /etc/zfs  \
 157         /etc/zones  \
 158         /export  \
 159         /home  \
 160         /lib \
 161         /lib/crypto \
 162         /lib/inet \
 163         /lib/fm \


 164         /lib/secure \
 165         /lib/svc \
 166         /lib/svc/bin \
 167         /lib/svc/capture \
 168         /lib/svc/manifest \
 169         /lib/svc/manifest/milestone \
 170         /lib/svc/manifest/device \
 171         /lib/svc/manifest/system \
 172         /lib/svc/manifest/system/device \
 173         /lib/svc/manifest/system/filesystem \
 174         /lib/svc/manifest/system/security \
 175         /lib/svc/manifest/system/svc \
 176         /lib/svc/manifest/network \
 177         /lib/svc/manifest/network/dns \
 178         /lib/svc/manifest/network/ipsec \
 179         /lib/svc/manifest/network/ldap \
 180         /lib/svc/manifest/network/nfs \
 181         /lib/svc/manifest/network/nis \
 182         /lib/svc/manifest/network/rpc \
 183         /lib/svc/manifest/network/security \


 505         /platform/sun4u/lib \
 506         /platform/sun4u/lib/$(MACH64) \
 507         /usr/platform/sun4u \
 508         /usr/platform/sun4u/sbin \
 509         /usr/platform/sun4u/lib \
 510         /platform/sun4v/lib \
 511         /platform/sun4v/lib/$(MACH64) \
 512         /usr/platform/sun4v/sbin \
 513         /usr/platform/sun4v/lib \
 514         /usr/platform/sun4u-us3/lib \
 515         /usr/platform/sun4u-opl/lib
 516 
 517 amd64_DIRS64= \
 518         /platform/i86pc/amd64
 519 
 520 DIRS64= \
 521         $($(MACH64)_DIRS64) \
 522         /lib/$(MACH64) \
 523         /lib/crypto/$(MACH64) \
 524         /lib/fm/$(MACH64) \

 525         /lib/secure/$(MACH64) \
 526         /usr/bin/$(MACH64) \
 527         /usr/ccs/bin/$(MACH64)  \
 528         /usr/ccs/lib/$(MACH64) \
 529         /usr/lib/$(MACH64) \
 530         /usr/lib/$(MACH64)/gss \
 531         /usr/lib/brand/sn1/$(MACH64) \
 532         /usr/lib/brand/solaris10/$(MACH64) \
 533         /usr/lib/elfedit/$(MACH64) \
 534         /usr/lib/fm/$(MACH64) \
 535         /usr/lib/fs/nfs/$(MACH64) \
 536         /usr/lib/fs/smb/$(MACH64) \
 537         /usr/lib/inet/$(MACH64) \
 538         /usr/lib/krb5/$(MACH64) \
 539         /usr/lib/libp/$(MACH64) \
 540         /usr/lib/link_audit/$(MACH64) \
 541         /usr/lib/lwp/$(MACH64) \
 542         /usr/lib/mdb/kvm/$(MACH64) \
 543         /usr/lib/mdb/proc/$(MACH64) \
 544         /usr/lib/rcap/$(MACH64) \


 581         /usr/lib/elfedit/32 \
 582         /usr/lib/libp/32 \
 583         /usr/lib/lwp/32 \
 584         /usr/lib/link_audit/32 \
 585         /usr/lib/secure/32 \
 586         /usr/mail \
 587         /usr/man \
 588         /usr/pub \
 589         /usr/src \
 590         /usr/tmp \
 591         /usr/ucblib/32 \
 592         /var/ld/32
 593 
 594 sparc_SYM.DIRS64=
 595 
 596 SYM.DIRS64= \
 597         $($(MACH)_SYM.DIRS64) \
 598         /lib/64 \
 599         /lib/crypto/64 \
 600         /lib/secure/64 \

 601         /usr/lib/64 \
 602         /usr/lib/brand/sn1/64 \
 603         /usr/lib/brand/solaris10/64 \
 604         /usr/lib/elfedit/64 \
 605         /usr/lib/libp/64 \
 606         /usr/lib/link_audit/64 \
 607         /usr/lib/lwp/64 \
 608         /usr/lib/secure/64 \
 609         /usr/lib/security/64 \
 610         /usr/xpg4/lib/64 \
 611         /var/ld/64 \
 612         /usr/ucblib/64
 613 
 614 # prepend the ROOT prefix
 615 
 616 ROOTDIRS=       $(TARGETDIRS:%=$(ROOT)%)
 617 
 618 # conditional assignments
 619 #
 620 # Target directories with non-default values for owner and group must


 688 $(ROOT)/usr/mail:=                      LINKDEST=../var/mail
 689 $(ROOT)/usr/news:=                      LINKDEST=../var/news
 690 $(ROOT)/usr/preserve:=                  LINKDEST=../var/preserve
 691 $(ROOT)/usr/spool:=                     LINKDEST=../var/spool
 692 $(ROOT)/usr/tmp:=                       LINKDEST=../var/tmp
 693 $(ROOT)/usr/lib/tmac:=                  LINKDEST=../share/lib/tmac
 694 $(ROOT)/usr/lib/32:=                    LINKDEST=.
 695 $(ROOT)/usr/lib/elfedit/32:=            LINKDEST=.
 696 $(ROOT)/usr/lib/libp/32:=               LINKDEST=.
 697 $(ROOT)/usr/lib/lwp/32:=                LINKDEST=.
 698 $(ROOT)/usr/lib/link_audit/32:=         LINKDEST=.
 699 $(ROOT)/usr/lib/secure/32:=             LINKDEST=.
 700 $(ROOT)/usr/ccs/lib/link_audit:=        LINKDEST=../../lib/link_audit
 701 $(ROOT)/var/ld/32:=                     LINKDEST=.
 702 $(ROOT)/usr/ucblib/32:=                 LINKDEST=.
 703 
 704 
 705 $(BUILD64) $(ROOT)/lib/64:=             LINKDEST=$(MACH64)
 706 $(BUILD64) $(ROOT)/lib/crypto/64:=      LINKDEST=$(MACH64)
 707 $(BUILD64) $(ROOT)/lib/secure/64:=      LINKDEST=$(MACH64)

 708 $(BUILD64) $(ROOT)/usr/lib/64:=         LINKDEST=$(MACH64)
 709 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
 710 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=       LINKDEST=$(MACH64)
 711 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
 712 $(BUILD64) $(ROOT)/usr/lib/libp/64:=    LINKDEST=$(MACH64)
 713 $(BUILD64) $(ROOT)/usr/lib/lwp/64:=     LINKDEST=$(MACH64)
 714 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:=      LINKDEST=$(MACH64)
 715 $(BUILD64) $(ROOT)/usr/lib/secure/64:=  LINKDEST=$(MACH64)
 716 $(BUILD64) $(ROOT)/usr/lib/security/64:=        LINKDEST=$(MACH64)
 717 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:=    LINKDEST=$(MACH64)
 718 $(BUILD64) $(ROOT)/var/ld/64:=          LINKDEST=$(MACH64)
 719 $(BUILD64) $(ROOT)/usr/ucblib/64:=      LINKDEST=$(MACH64)
 720 
 721 #
 722 # Installing a directory symlink calls for overriding INS.dir to install
 723 # a symlink.
 724 #
 725 $(DIRLINKS:%=$(ROOT)%):= \
 726    INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 727 




   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 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  26 # Copyright (c) 2013 RackTop Systems.
  27 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  28 # Copyright 2015 Gary Mills
  29 #
  30 
  31 #
  32 # It is easier to think in terms of directory names without the ROOT macro
  33 # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
  34 # to work with ROOT prefixes when controlling conditional assignments.
  35 #
  36 
  37 DIRLINKS=       $(SYM.DIRS)
  38 $(BUILD64)      DIRLINKS += $(SYM.DIRS64)
  39 
  40 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
  41 $(BUILD64)      FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
  42 
  43 TARGETDIRS=     $(DIRS)
  44 $(BUILD64)      TARGETDIRS += $(DIRS64)
  45 
  46 TARGETDIRS      += $(FILELINKS) $(DIRLINKS)
  47 
  48 i386_DIRS=                      \


 145         /etc/rcS.d  \
 146         /etc/saf \
 147         /etc/sasl       \
 148         /etc/sfw \
 149         /etc/skel       \
 150         /etc/svc \
 151         /etc/svc/profile \
 152         /etc/svc/profile/site \
 153         /etc/svc/volatile \
 154         /etc/tm  \
 155         /etc/usb   \
 156         /etc/user_attr.d \
 157         /etc/zfs  \
 158         /etc/zones  \
 159         /export  \
 160         /home  \
 161         /lib \
 162         /lib/crypto \
 163         /lib/inet \
 164         /lib/fm \
 165         /lib/openssl \
 166         /lib/openssl/engines \
 167         /lib/secure \
 168         /lib/svc \
 169         /lib/svc/bin \
 170         /lib/svc/capture \
 171         /lib/svc/manifest \
 172         /lib/svc/manifest/milestone \
 173         /lib/svc/manifest/device \
 174         /lib/svc/manifest/system \
 175         /lib/svc/manifest/system/device \
 176         /lib/svc/manifest/system/filesystem \
 177         /lib/svc/manifest/system/security \
 178         /lib/svc/manifest/system/svc \
 179         /lib/svc/manifest/network \
 180         /lib/svc/manifest/network/dns \
 181         /lib/svc/manifest/network/ipsec \
 182         /lib/svc/manifest/network/ldap \
 183         /lib/svc/manifest/network/nfs \
 184         /lib/svc/manifest/network/nis \
 185         /lib/svc/manifest/network/rpc \
 186         /lib/svc/manifest/network/security \


 508         /platform/sun4u/lib \
 509         /platform/sun4u/lib/$(MACH64) \
 510         /usr/platform/sun4u \
 511         /usr/platform/sun4u/sbin \
 512         /usr/platform/sun4u/lib \
 513         /platform/sun4v/lib \
 514         /platform/sun4v/lib/$(MACH64) \
 515         /usr/platform/sun4v/sbin \
 516         /usr/platform/sun4v/lib \
 517         /usr/platform/sun4u-us3/lib \
 518         /usr/platform/sun4u-opl/lib
 519 
 520 amd64_DIRS64= \
 521         /platform/i86pc/amd64
 522 
 523 DIRS64= \
 524         $($(MACH64)_DIRS64) \
 525         /lib/$(MACH64) \
 526         /lib/crypto/$(MACH64) \
 527         /lib/fm/$(MACH64) \
 528         /lib/openssl/engines/$(MACH64) \
 529         /lib/secure/$(MACH64) \
 530         /usr/bin/$(MACH64) \
 531         /usr/ccs/bin/$(MACH64)  \
 532         /usr/ccs/lib/$(MACH64) \
 533         /usr/lib/$(MACH64) \
 534         /usr/lib/$(MACH64)/gss \
 535         /usr/lib/brand/sn1/$(MACH64) \
 536         /usr/lib/brand/solaris10/$(MACH64) \
 537         /usr/lib/elfedit/$(MACH64) \
 538         /usr/lib/fm/$(MACH64) \
 539         /usr/lib/fs/nfs/$(MACH64) \
 540         /usr/lib/fs/smb/$(MACH64) \
 541         /usr/lib/inet/$(MACH64) \
 542         /usr/lib/krb5/$(MACH64) \
 543         /usr/lib/libp/$(MACH64) \
 544         /usr/lib/link_audit/$(MACH64) \
 545         /usr/lib/lwp/$(MACH64) \
 546         /usr/lib/mdb/kvm/$(MACH64) \
 547         /usr/lib/mdb/proc/$(MACH64) \
 548         /usr/lib/rcap/$(MACH64) \


 585         /usr/lib/elfedit/32 \
 586         /usr/lib/libp/32 \
 587         /usr/lib/lwp/32 \
 588         /usr/lib/link_audit/32 \
 589         /usr/lib/secure/32 \
 590         /usr/mail \
 591         /usr/man \
 592         /usr/pub \
 593         /usr/src \
 594         /usr/tmp \
 595         /usr/ucblib/32 \
 596         /var/ld/32
 597 
 598 sparc_SYM.DIRS64=
 599 
 600 SYM.DIRS64= \
 601         $($(MACH)_SYM.DIRS64) \
 602         /lib/64 \
 603         /lib/crypto/64 \
 604         /lib/secure/64 \
 605         /lib/openssl/engines/64 \
 606         /usr/lib/64 \
 607         /usr/lib/brand/sn1/64 \
 608         /usr/lib/brand/solaris10/64 \
 609         /usr/lib/elfedit/64 \
 610         /usr/lib/libp/64 \
 611         /usr/lib/link_audit/64 \
 612         /usr/lib/lwp/64 \
 613         /usr/lib/secure/64 \
 614         /usr/lib/security/64 \
 615         /usr/xpg4/lib/64 \
 616         /var/ld/64 \
 617         /usr/ucblib/64
 618 
 619 # prepend the ROOT prefix
 620 
 621 ROOTDIRS=       $(TARGETDIRS:%=$(ROOT)%)
 622 
 623 # conditional assignments
 624 #
 625 # Target directories with non-default values for owner and group must


 693 $(ROOT)/usr/mail:=                      LINKDEST=../var/mail
 694 $(ROOT)/usr/news:=                      LINKDEST=../var/news
 695 $(ROOT)/usr/preserve:=                  LINKDEST=../var/preserve
 696 $(ROOT)/usr/spool:=                     LINKDEST=../var/spool
 697 $(ROOT)/usr/tmp:=                       LINKDEST=../var/tmp
 698 $(ROOT)/usr/lib/tmac:=                  LINKDEST=../share/lib/tmac
 699 $(ROOT)/usr/lib/32:=                    LINKDEST=.
 700 $(ROOT)/usr/lib/elfedit/32:=            LINKDEST=.
 701 $(ROOT)/usr/lib/libp/32:=               LINKDEST=.
 702 $(ROOT)/usr/lib/lwp/32:=                LINKDEST=.
 703 $(ROOT)/usr/lib/link_audit/32:=         LINKDEST=.
 704 $(ROOT)/usr/lib/secure/32:=             LINKDEST=.
 705 $(ROOT)/usr/ccs/lib/link_audit:=        LINKDEST=../../lib/link_audit
 706 $(ROOT)/var/ld/32:=                     LINKDEST=.
 707 $(ROOT)/usr/ucblib/32:=                 LINKDEST=.
 708 
 709 
 710 $(BUILD64) $(ROOT)/lib/64:=             LINKDEST=$(MACH64)
 711 $(BUILD64) $(ROOT)/lib/crypto/64:=      LINKDEST=$(MACH64)
 712 $(BUILD64) $(ROOT)/lib/secure/64:=      LINKDEST=$(MACH64)
 713 $(BUILD64) $(ROOT)/lib/openssl/engines/64:=     LINKDEST=$(MACH64)
 714 $(BUILD64) $(ROOT)/usr/lib/64:=         LINKDEST=$(MACH64)
 715 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
 716 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=       LINKDEST=$(MACH64)
 717 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
 718 $(BUILD64) $(ROOT)/usr/lib/libp/64:=    LINKDEST=$(MACH64)
 719 $(BUILD64) $(ROOT)/usr/lib/lwp/64:=     LINKDEST=$(MACH64)
 720 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:=      LINKDEST=$(MACH64)
 721 $(BUILD64) $(ROOT)/usr/lib/secure/64:=  LINKDEST=$(MACH64)
 722 $(BUILD64) $(ROOT)/usr/lib/security/64:=        LINKDEST=$(MACH64)
 723 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:=    LINKDEST=$(MACH64)
 724 $(BUILD64) $(ROOT)/var/ld/64:=          LINKDEST=$(MACH64)
 725 $(BUILD64) $(ROOT)/usr/ucblib/64:=      LINKDEST=$(MACH64)
 726 
 727 #
 728 # Installing a directory symlink calls for overriding INS.dir to install
 729 # a symlink.
 730 #
 731 $(DIRLINKS:%=$(ROOT)%):= \
 732    INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 733