Print this page
6117 Many small bugs prevent a clean build on SPARC


   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 # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 by Delphix. All rights reserved.
  25 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
  26 # Copyright (c) 2013 Gary Mills
  27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>

  28 
  29 include ../Makefile.master
  30 
  31 #       Note that libcurses installs commands along with its library.
  32 #       This is a minor bug which probably should be fixed.
  33 #       Note also that a few extra libraries are kept in cmd source.
  34 #
  35 # Certain libraries are linked with, hence depend on, other libraries.
  36 #
  37 # Although we have historically used .WAIT to express dependencies, it
  38 # reduces the amount of parallelism and thus lengthens the time it
  39 # takes to build the libraries.  Thus, we now require that any new
  40 # libraries explicitly call out their dependencies.  Eventually, all
  41 # the library dependencies will be called out explicitly.  See
  42 # "Library interdependencies" near the end of this file.
  43 #
  44 # Aside from explicit dependencies (and legacy .WAITs), all libraries
  45 # are built in parallel.
  46 #
  47 .PARALLEL:


 544 
 545 install:                $(SUBDIRS) .WAIT install_extra
 546 
 547 # extra libraries kept in other source areas
 548 install_extra:
 549         @cd ../cmd/sgs; pwd; $(MAKE) install_lib
 550         @pwd
 551 
 552 clean clobber lint:     $(NOWAIT_SUBDIRS:%=%-nodepend)
 553 
 554 install_h check:        $(HDRSUBDIRS:%=%-nodepend)
 555 
 556 _msg:                   $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
 557 
 558 _dc:                    $(DCSUBDIRS:%=%-nodepend)
 559 
 560 #
 561 # Library interdependencies are called out explicitly here
 562 #
 563 auditd_plugins: libbsm libnsl libsecdb

 564 gss_mechs/mech_krb5:    libgss libnsl libsocket libresolv pkcs11

 565 libadt_jni:     libbsm
 566 libast:         libsocket libm
 567 libadutils:     libldap5 libresolv libsocket libnsl
 568 nsswitch:       libadutils libidmap
 569 libbe:          libzfs
 570 libbsm:         libtsol
 571 libcmd:         libsum libast libsocket libnsl
 572 libcmdutils:    libavl
 573 libcontract:    libnvpair

 574 libdevid:       libdevinfo
 575 libdevinfo:     libnvpair libsec
 576 libdhcpagent:   libsocket libdhcputil libuuid libdlpi libcontract
 577 libdhcputil:    libnsl libgen libinetutil libdlpi
 578 libdladm:       libdevinfo libinetutil libsocket libscf librcm libnvpair \
 579                 libexacct libnsl libkstat libcurses

 580 libdll:         libast
 581 libdlpi:        libinetutil libdladm
 582 libds:          libsysevent
 583 libdscfg:       libnsctl libunistat libsocket libnsl
 584 libdtrace:      libproc libgen libctf
 585 libdtrace_jni:  libuutil libdtrace
 586 libefi:         libuuid

 587 libfstyp:       libnvpair
 588 libelfsign:     libcryptoutil libkmf
 589 libidmap:       libadutils libldap5 libavl libsldap libuutil
 590 libipadm:       libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
 591                 libdladm libsecdb
 592 libiscsit:      libc libnvpair libstmf libuuid libnsl
 593 libkmf:         libcryptoutil pkcs11
 594 libm:           libc
 595 libm1:          libc libm
 596 libmvec:        libc libm
 597 libnsl:         libmd5
 598 libmapid:       libresolv


 599 librdc:         libsocket libnsl libnsctl libunistat libdscfg
 600 libuuid:        libdlpi
 601 libinetutil:    libsocket
 602 libipsecutil:   libtecla libsocket
 603 libinstzones:   libzonecfg libcontract
 604 libpkg:         libwanboot libscf libadm
 605 libnwam:        libscf
 606 libsecdb:       libnsl
 607 libsasl:        libgss libsocket pkcs11 libmd
 608 sasl_plugins:   pkcs11 libgss libsocket libsasl
 609 libsctp:        libsocket
 610 libshell:       libast libcmd libdll libsocket libsecdb libm
 611 libsip:         libmd5
 612 libsmbfs:       libcmdutils libsocket libnsl libkrb5
 613 libsocket:      libnsl
 614 libstmfproxy:   libstmf libsocket libnsl libpthread
 615 libsum:         libast
 616 libsysevent:    libsecdb
 617 libldap5:       libsasl libsocket libnsl libmd
 618 libsldap:       libldap5 libtsol libnsl libc libscf libresolv
 619 libpool:        libnvpair libexacct
 620 libpp:          libast
 621 libzonecfg:     libc libsocket libnsl libuuid libnvpair libsysevent libsec \
 622                 libbrand libpool libscf
 623 libproc:        ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf libsaveargs
 624 libproject:     libpool libproc libsecdb
 625 libtermcap:     libcurses
 626 libtsnet:       libnsl libtsol libsecdb
 627 libwrap:        libnsl libsocket
 628 libwanboot:     libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
 629                 libdhcputil
 630 libwanbootutil: libnsl
 631 pam_modules:    libproject passwdutil smbsrv
 632 libscf:         libuutil libmd libgen libsmbios libnsl
 633 libinetsvc:     libscf
 634 librestart:     libuutil libscf
 635 libsaveargs:    libdisasm
 636 ../cmd/sgs/libdl:       ../cmd/sgs/libconv
 637 ../cmd/sgs/libelf:      ../cmd/sgs/libconv
 638 pkcs11:         libcryptoutil


 639 print:          libldap5
 640 udapl/udapl_tavor:      udapl/libdat
 641 libzfs:         libdevid libgen libnvpair libuutil \
 642                 libadm libavl libefi libidmap libmd libzfs_core libm
 643 libzfs_core:    libnvpair
 644 libzfs_jni:     libdiskmgt libnvpair libzfs
 645 libzpool:       libavl libumem libnvpair libcmdutils
 646 libsec:         libavl libidmap
 647 brand:          libc libsocket
 648 libshare:       libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
 649 libexacct/demo: libexacct libproject libsocket libnsl
 650 libtsalarm:     libpcp
 651 smbsrv:         libsocket libnsl libmd libxnet libpthread librt \
 652                 libshare libidmap pkcs11 libsqlite libcryptoutil \
 653                 libreparse libcmdutils libfakekernel
 654 libv12n:        libds libuuid
 655 libvrrpadm:     libsocket libdladm libscf
 656 libvscan:       libscf
 657 libfru:         libfruutils
 658 scsi:           libnvpair libfru




   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 # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2012 by Delphix. All rights reserved.
  25 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
  26 # Copyright (c) 2013 Gary Mills
  27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  28 # Copyright (c) 2015 Gary Mills
  29 
  30 include ../Makefile.master
  31 
  32 #       Note that libcurses installs commands along with its library.
  33 #       This is a minor bug which probably should be fixed.
  34 #       Note also that a few extra libraries are kept in cmd source.
  35 #
  36 # Certain libraries are linked with, hence depend on, other libraries.
  37 #
  38 # Although we have historically used .WAIT to express dependencies, it
  39 # reduces the amount of parallelism and thus lengthens the time it
  40 # takes to build the libraries.  Thus, we now require that any new
  41 # libraries explicitly call out their dependencies.  Eventually, all
  42 # the library dependencies will be called out explicitly.  See
  43 # "Library interdependencies" near the end of this file.
  44 #
  45 # Aside from explicit dependencies (and legacy .WAITs), all libraries
  46 # are built in parallel.
  47 #
  48 .PARALLEL:


 545 
 546 install:                $(SUBDIRS) .WAIT install_extra
 547 
 548 # extra libraries kept in other source areas
 549 install_extra:
 550         @cd ../cmd/sgs; pwd; $(MAKE) install_lib
 551         @pwd
 552 
 553 clean clobber lint:     $(NOWAIT_SUBDIRS:%=%-nodepend)
 554 
 555 install_h check:        $(HDRSUBDIRS:%=%-nodepend)
 556 
 557 _msg:                   $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
 558 
 559 _dc:                    $(DCSUBDIRS:%=%-nodepend)
 560 
 561 #
 562 # Library interdependencies are called out explicitly here
 563 #
 564 auditd_plugins: libbsm libnsl libsecdb
 565 krb5:           gss_mechs/mech_krb5
 566 gss_mechs/mech_krb5:    libgss libnsl libsocket libresolv pkcs11
 567 gss_mechs/mech_spnego:  gss_mechs/mech_krb5
 568 libadt_jni:     libbsm
 569 libast:         libsocket libm
 570 libadutils:     libldap5 libresolv libsocket libnsl
 571 nsswitch:       libadutils libidmap
 572 libbe:          libzfs
 573 libbsm:         libtsol
 574 libcmd:         libsum libast libsocket libnsl
 575 libcmdutils:    libavl libnvpair
 576 libcontract:    libnvpair
 577 libcpc:         libdevinfo
 578 libdevid:       libdevinfo
 579 libdevinfo:     libnvpair libsec
 580 libdhcpagent:   libsocket libdhcputil libuuid libdlpi libcontract
 581 libdhcputil:    libnsl libgen libinetutil libdlpi
 582 libdladm:       libdevinfo libinetutil libsocket libscf librcm libnvpair \
 583                 libexacct libnsl libkstat libcurses
 584 libdevice:      libnvpair
 585 libdll:         libast
 586 libdlpi:        libinetutil libdladm
 587 libds:          libsysevent
 588 libdscfg:       libnsctl libunistat libsocket libnsl
 589 libdtrace:      libproc libgen libctf libmapmalloc
 590 libdtrace_jni:  libuutil libdtrace
 591 libefi:         libuuid
 592 libfcoe:        libdladm
 593 libfstyp:       libnvpair
 594 libelfsign:     libcryptoutil libkmf
 595 libidmap:       libadutils libldap5 libavl libsldap libuutil
 596 libipadm:       libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
 597                 libdladm libsecdb
 598 libiscsit:      libc libnvpair libstmf libuuid libnsl
 599 libkmf:         libcryptoutil pkcs11
 600 libm:           libc
 601 libm1:          libc libm
 602 libmvec:        libc libm
 603 libnsl:         libmd5
 604 libmapid:       libresolv
 605 libnisdb:       libnsl libldap5
 606 librcm:         libnvpair
 607 librdc:         libsocket libnsl libnsctl libunistat libdscfg
 608 libuuid:        libdlpi
 609 libinetutil:    libsocket
 610 libipsecutil:   libtecla libsocket
 611 libinstzones:   libzonecfg libcontract
 612 libpkg:         libwanboot libscf libadm
 613 libnwam:        libscf libbsm libdladm
 614 libsecdb:       libnsl
 615 libsasl:        libgss libsocket pkcs11 libmd
 616 sasl_plugins:   pkcs11 libgss libsocket libsasl
 617 libsctp:        libsocket
 618 libshell:       libast libcmd libdll libsocket libsecdb libm
 619 libsip:         libmd5
 620 libsmbfs:       libcmdutils libsocket libnsl libkrb5 libsec libidmap
 621 libsocket:      libnsl
 622 libstmfproxy:   libstmf libsocket libnsl libpthread
 623 libsum:         libast
 624 libsysevent:    libsecdb libnvpair
 625 libldap5:       libsasl libsocket libnsl libmd
 626 libsldap:       libldap5 libtsol libnsl libc libscf libresolv
 627 libpool:        libnvpair libexacct
 628 libpp:          libast
 629 libzonecfg:     libc libsocket libnsl libuuid libnvpair libsysevent libsec \
 630                 libbrand libpool libscf
 631 libproc:        ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf libsaveargs
 632 libproject:     libpool libproc libsecdb
 633 libtermcap:     libcurses
 634 libtsnet:       libnsl libtsol libsecdb
 635 libwrap:        libnsl libsocket
 636 libwanboot:     libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
 637                 libdhcputil
 638 libwanbootutil: libnsl
 639 pam_modules:    libproject passwdutil smbsrv libtsnet
 640 libscf:         libuutil libmd libgen libsmbios libnsl libnvpair
 641 libinetsvc:     libscf
 642 librestart:     libuutil libscf libpool libproject libsecdb libnvpair
 643 libsaveargs:    libdisasm
 644 ../cmd/sgs/libdl:       ../cmd/sgs/libconv
 645 ../cmd/sgs/libelf:      ../cmd/sgs/libconv
 646 passwdutil:     libsldap
 647 pkcs11:         libcryptoutil libmd
 648 #               Adding libuuid or libdladm results in a circular dependancy
 649 print:          libldap5
 650 udapl/udapl_tavor:      udapl/libdat
 651 libzfs:         libdevid libgen libnvpair libuutil \
 652                 libadm libavl libefi libidmap libmd libzfs_core libm
 653 libzfs_core:    libnvpair
 654 libzfs_jni:     libdiskmgt libnvpair libzfs
 655 libzpool:       libavl libumem libnvpair libcmdutils
 656 libsec:         libavl libidmap
 657 brand:          libc libsocket
 658 libshare:       libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
 659 libexacct/demo: libexacct libproject libsocket libnsl
 660 libtsalarm:     libpcp
 661 smbsrv:         libsocket libnsl libmd libxnet libpthread librt \
 662                 libshare libidmap pkcs11 libsqlite libcryptoutil \
 663                 libreparse libcmdutils libfakekernel
 664 libv12n:        libds libuuid
 665 libvrrpadm:     libsocket libdladm libscf
 666 libvscan:       libscf
 667 libfru:         libfruutils
 668 scsi:           libnvpair libfru