Print this page
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT
4029 remove tonic build bits
Reviewed by: Andy Stormont <andyjstormont@gmail.com>


  28 include ../Makefile.master
  29 
  30 #       Note that libcurses installs commands along with its library.
  31 #       This is a minor bug which probably should be fixed.
  32 #       Note also that a few extra libraries are kept in cmd source.
  33 #
  34 # Certain libraries are linked with, hence depend on, other libraries.
  35 #
  36 # Although we have historically used .WAIT to express dependencies, it
  37 # reduces the amount of parallelism and thus lengthens the time it
  38 # takes to build the libraries.  Thus, we now require that any new
  39 # libraries explicitly call out their dependencies.  Eventually, all
  40 # the library dependencies will be called out explicitly.  See
  41 # "Library interdependencies" near the end of this file.
  42 #
  43 # Aside from explicit dependencies (and legacy .WAITs), all libraries
  44 # are built in parallel.
  45 #
  46 .PARALLEL:
  47 
  48 #
  49 # The $(CLOSED_BUILD) additions to SUBDIRS & MSGSUBDIRS are unfortunate,
  50 # but required due to the "dependencies" of using .WAIT to barrier the
  51 # parallel dmake builds.  once 4631488 has been fixed, they can be
  52 # consolidated into one $(CLOSED_BUILD)SUBDIRS += (all closed libs) as
  53 # shown in HDRSUBDIRS
  54 #
  55 SUBDIRS= \
  56         common                  .WAIT   \
  57         ../cmd/sgs/libconv              \
  58         ../cmd/sgs/libdl        .WAIT
  59 
  60 SUBDIRS += \
  61         libc                    .WAIT   \
  62         ../cmd/sgs/libelf       .WAIT   \
  63         c_synonyms                      \
  64         libmd                           \
  65         libmd5                          \
  66         librsm                          \
  67         libmp                   .WAIT   \
  68         libnsl                  \
  69         libsecdb                .WAIT   \
  70         librpcsvc                       \
  71         libsocket               .WAIT   \
  72         libsctp                 \
  73         libsip                  \
  74         libcommputil            \


 166         passwdutil      \
 167         pam_modules     \
 168         crypt_modules   \
 169         libadt_jni      \
 170         abi             \
 171         auditd_plugins  \
 172         libvolmgt       \
 173         libdevice       \
 174         libdevid        \
 175         libdhcpsvc      \
 176         libc_db         \
 177         libndmp         \
 178         libsec          \
 179         libtnfprobe     \
 180         libtnf          \
 181         libtnfctl       \
 182         libdhcpagent    \
 183         libdhcpdu       \
 184         libdhcputil     \
 185         libxnet         \
 186         libipsecutil
 187 $(CLOSED_BUILD)SUBDIRS += \
 188         $(CLOSED)/lib/libike
 189 SUBDIRS += \
 190         nsswitch        \
 191         print           \
 192         libuutil        \
 193         libscf          \
 194         libinetsvc      \
 195         librestart      \
 196         libsched        \
 197         libelfsign      \
 198         pkcs11          .WAIT   \
 199         libpctx         .WAIT   \
 200         libcpc          \
 201         getloginx       \
 202         watchmalloc     \
 203         extendedFILE    \
 204         madv            \
 205         mpss            \
 206         libdisasm       \
 207         libwrap         \
 208         libxcurses      \
 209         libxcurses2     \


 495         fm              \
 496         udapl           \
 497         libmapid        \
 498         libkrb5         \
 499         libsmbfs        \
 500         libshare        \
 501         libidmap        \
 502         libvscan        \
 503         libgrubmgmt     \
 504         smbsrv          \
 505         libilb          \
 506         scsi            \
 507         hbaapi          \
 508         smhba           \
 509         libima          \
 510         libsun_ima      \
 511         mpapi           \
 512         libreparse      \
 513         $($(MACH)_HDRSUBDIRS)
 514 
 515 $(CLOSED_BUILD)HDRSUBDIRS += \
 516         $(CLOSED)/lib/libike
 517 
 518 i386_HDRSUBDIRS=        \
 519         libparted       \
 520         libfdisk        \
 521         libsaveargs
 522 
 523 sparc_HDRSUBDIRS=       \
 524         libds           \
 525         libdscp         \
 526         libpri          \
 527         libv12n         \
 528         storage
 529 
 530 all :=          TARGET= all
 531 check :=        TARGET= check
 532 clean :=        TARGET= clean
 533 clobber :=      TARGET= clobber
 534 install :=      TARGET= install
 535 install_h :=    TARGET= install_h
 536 lint :=         TARGET= lint
 537 _dc :=          TARGET= _dc


 590 libdladm:       libdevinfo libinetutil libsocket libscf librcm libnvpair \
 591                 libexacct libnsl libkstat libcurses
 592 libdll:         libast
 593 libdlpi:        libinetutil libdladm
 594 libds:          libsysevent
 595 libdscfg:       libnsctl libunistat libsocket libnsl
 596 libdtrace:      libproc libgen libctf
 597 libdtrace_jni:  libuutil libdtrace
 598 libefi:         libuuid
 599 libfstyp:       libnvpair
 600 libelfsign:     libcryptoutil libkmf
 601 libidmap:       libadutils libldap5 libavl libsldap libuutil
 602 libipadm:       libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
 603                 libdladm libsecdb
 604 libiscsit:      libc libnvpair libstmf libuuid libnsl
 605 libkmf:         libcryptoutil pkcs11
 606 libnsl:         libmd5
 607 libmapid:       libresolv
 608 librdc:         libsocket libnsl libnsctl libunistat libdscfg
 609 libuuid:        libdlpi
 610 $(CLOSED_BUILD)libike:  libipsecutil libxnet libcryptoutil
 611 libinetutil:    libsocket
 612 libipsecutil:   libtecla libsocket
 613 libinstzones:   libzonecfg libcontract
 614 libpkg:         libwanboot libscf libadm
 615 libnwam:        libscf
 616 libsecdb:       libnsl
 617 libsasl:        libgss libsocket pkcs11 libmd
 618 sasl_plugins:   pkcs11 libgss libsocket libsasl
 619 libsctp:        libsocket
 620 libshell:       libast libcmd libdll libsocket libsecdb
 621 libsip:         libmd5
 622 libsmbfs:       libcmdutils libsocket libnsl libkrb5
 623 libsocket:      libnsl
 624 libstmfproxy:   libstmf libsocket libnsl libpthread
 625 libsum:         libast
 626 libsysevent:    libsecdb
 627 libldap5:       libsasl libsocket libnsl libmd
 628 libsldap:       libldap5 libtsol libnsl libc libscf libresolv
 629 libpool:        libnvpair libexacct
 630 libpp:          libast




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







  48 SUBDIRS= \
  49         common                  .WAIT   \
  50         ../cmd/sgs/libconv              \
  51         ../cmd/sgs/libdl        .WAIT
  52 
  53 SUBDIRS += \
  54         libc                    .WAIT   \
  55         ../cmd/sgs/libelf       .WAIT   \
  56         c_synonyms                      \
  57         libmd                           \
  58         libmd5                          \
  59         librsm                          \
  60         libmp                   .WAIT   \
  61         libnsl                  \
  62         libsecdb                .WAIT   \
  63         librpcsvc                       \
  64         libsocket               .WAIT   \
  65         libsctp                 \
  66         libsip                  \
  67         libcommputil            \


 159         passwdutil      \
 160         pam_modules     \
 161         crypt_modules   \
 162         libadt_jni      \
 163         abi             \
 164         auditd_plugins  \
 165         libvolmgt       \
 166         libdevice       \
 167         libdevid        \
 168         libdhcpsvc      \
 169         libc_db         \
 170         libndmp         \
 171         libsec          \
 172         libtnfprobe     \
 173         libtnf          \
 174         libtnfctl       \
 175         libdhcpagent    \
 176         libdhcpdu       \
 177         libdhcputil     \
 178         libxnet         \
 179         libipsecutil    \



 180         nsswitch        \
 181         print           \
 182         libuutil        \
 183         libscf          \
 184         libinetsvc      \
 185         librestart      \
 186         libsched        \
 187         libelfsign      \
 188         pkcs11          .WAIT   \
 189         libpctx         .WAIT   \
 190         libcpc          \
 191         getloginx       \
 192         watchmalloc     \
 193         extendedFILE    \
 194         madv            \
 195         mpss            \
 196         libdisasm       \
 197         libwrap         \
 198         libxcurses      \
 199         libxcurses2     \


 485         fm              \
 486         udapl           \
 487         libmapid        \
 488         libkrb5         \
 489         libsmbfs        \
 490         libshare        \
 491         libidmap        \
 492         libvscan        \
 493         libgrubmgmt     \
 494         smbsrv          \
 495         libilb          \
 496         scsi            \
 497         hbaapi          \
 498         smhba           \
 499         libima          \
 500         libsun_ima      \
 501         mpapi           \
 502         libreparse      \
 503         $($(MACH)_HDRSUBDIRS)
 504 



 505 i386_HDRSUBDIRS=        \
 506         libparted       \
 507         libfdisk        \
 508         libsaveargs
 509 
 510 sparc_HDRSUBDIRS=       \
 511         libds           \
 512         libdscp         \
 513         libpri          \
 514         libv12n         \
 515         storage
 516 
 517 all :=          TARGET= all
 518 check :=        TARGET= check
 519 clean :=        TARGET= clean
 520 clobber :=      TARGET= clobber
 521 install :=      TARGET= install
 522 install_h :=    TARGET= install_h
 523 lint :=         TARGET= lint
 524 _dc :=          TARGET= _dc


 577 libdladm:       libdevinfo libinetutil libsocket libscf librcm libnvpair \
 578                 libexacct libnsl libkstat libcurses
 579 libdll:         libast
 580 libdlpi:        libinetutil libdladm
 581 libds:          libsysevent
 582 libdscfg:       libnsctl libunistat libsocket libnsl
 583 libdtrace:      libproc libgen libctf
 584 libdtrace_jni:  libuutil libdtrace
 585 libefi:         libuuid
 586 libfstyp:       libnvpair
 587 libelfsign:     libcryptoutil libkmf
 588 libidmap:       libadutils libldap5 libavl libsldap libuutil
 589 libipadm:       libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
 590                 libdladm libsecdb
 591 libiscsit:      libc libnvpair libstmf libuuid libnsl
 592 libkmf:         libcryptoutil pkcs11
 593 libnsl:         libmd5
 594 libmapid:       libresolv
 595 librdc:         libsocket libnsl libnsctl libunistat libdscfg
 596 libuuid:        libdlpi

 597 libinetutil:    libsocket
 598 libipsecutil:   libtecla libsocket
 599 libinstzones:   libzonecfg libcontract
 600 libpkg:         libwanboot libscf libadm
 601 libnwam:        libscf
 602 libsecdb:       libnsl
 603 libsasl:        libgss libsocket pkcs11 libmd
 604 sasl_plugins:   pkcs11 libgss libsocket libsasl
 605 libsctp:        libsocket
 606 libshell:       libast libcmd libdll libsocket libsecdb
 607 libsip:         libmd5
 608 libsmbfs:       libcmdutils libsocket libnsl libkrb5
 609 libsocket:      libnsl
 610 libstmfproxy:   libstmf libsocket libnsl libpthread
 611 libsum:         libast
 612 libsysevent:    libsecdb
 613 libldap5:       libsasl libsocket libnsl libmd
 614 libsldap:       libldap5 libtsol libnsl libc libscf libresolv
 615 libpool:        libnvpair libexacct
 616 libpp:          libast