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:
247 libshare \
248 libsqlite \
249 libidmap \
250 libadutils \
251 libipmi \
252 libexacct/demo \
253 libvrrpadm \
254 libvscan \
255 libgrubmgmt \
256 smbsrv \
257 libilb \
258 scsi \
259 libima \
260 libsun_ima \
261 mpapi \
262 librstp \
263 libreparse \
264 libhotplug \
265 libfruutils .WAIT \
266 libfru \
267 $($(MACH)_SUBDIRS)
268
269 i386_SUBDIRS= \
270 libfdisk \
271 libsaveargs
272
273 sparc_SUBDIRS= .WAIT \
274 efcode \
275 libds \
276 libdscp \
277 libprtdiag .WAIT \
278 libprtdiag_psr \
279 libpri \
280 librsc \
281 storage \
282 libpcp \
283 libtsalarm \
284 libv12n
285
286 FM_sparc_DEPLIBS= libpri
484 passwdutil \
485 ../cmd/sendmail/libmilter \
486 fm \
487 udapl \
488 libmapid \
489 libkrb5 \
490 libsmbfs \
491 libshare \
492 libidmap \
493 libvscan \
494 libgrubmgmt \
495 smbsrv \
496 libilb \
497 scsi \
498 hbaapi \
499 smhba \
500 libima \
501 libsun_ima \
502 mpapi \
503 libreparse \
504 $($(MACH)_HDRSUBDIRS)
505
506 i386_HDRSUBDIRS= \
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
623 libtermcap: libcurses
624 libtsnet: libnsl libtsol libsecdb
625 libwrap: libnsl libsocket
626 libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
627 libdhcputil
628 libwanbootutil: libnsl
629 pam_modules: libproject passwdutil smbsrv
630 libscf: libuutil libmd libgen libsmbios libnsl
631 libinetsvc: libscf
632 librestart: libuutil libscf
633 libsaveargs: libdisasm
634 ../cmd/sgs/libdl: ../cmd/sgs/libconv
635 ../cmd/sgs/libelf: ../cmd/sgs/libconv
636 pkcs11: libcryptoutil
637 print: libldap5
638 udapl/udapl_tavor: udapl/libdat
639 libzfs: libdevid libgen libnvpair libuutil \
640 libadm libavl libefi libidmap libmd libzfs_core libm
641 libzfs_core: libnvpair
642 libzfs_jni: libdiskmgt libnvpair libzfs
643 libzpool: libavl libumem libnvpair libcmdutils
644 libsec: libavl libidmap
645 brand: libc libsocket
646 libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
647 libexacct/demo: libexacct libproject libsocket libnsl
648 libtsalarm: libpcp
649 smbsrv: libsocket libnsl libmd libxnet libpthread librt \
650 libshare libidmap pkcs11 libsqlite libcryptoutil \
651 libreparse libcmdutils
652 libv12n: libds libuuid
653 libvrrpadm: libsocket libdladm libscf
654 libvscan: libscf
655 libfru: libfruutils
656 scsi: libnvpair libfru
657 mpapi: libpthread libdevinfo libsysevent libnvpair
658 sun_fc: libdevinfo libsysevent libnvpair
659 libsun_ima: libdevinfo libsysevent libnsl
660 sun_sas: libdevinfo libsysevent libnvpair libkstat libdevid
661 libgrubmgmt: libdevinfo libzfs libfstyp
662 pylibbe: libbe libzfs
663 pyzfs: libnvpair libzfs
|
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:
248 libshare \
249 libsqlite \
250 libidmap \
251 libadutils \
252 libipmi \
253 libexacct/demo \
254 libvrrpadm \
255 libvscan \
256 libgrubmgmt \
257 smbsrv \
258 libilb \
259 scsi \
260 libima \
261 libsun_ima \
262 mpapi \
263 librstp \
264 libreparse \
265 libhotplug \
266 libfruutils .WAIT \
267 libfru \
268 zlib \
269 $($(MACH)_SUBDIRS)
270
271 i386_SUBDIRS= \
272 libfdisk \
273 libsaveargs
274
275 sparc_SUBDIRS= .WAIT \
276 efcode \
277 libds \
278 libdscp \
279 libprtdiag .WAIT \
280 libprtdiag_psr \
281 libpri \
282 librsc \
283 storage \
284 libpcp \
285 libtsalarm \
286 libv12n
287
288 FM_sparc_DEPLIBS= libpri
486 passwdutil \
487 ../cmd/sendmail/libmilter \
488 fm \
489 udapl \
490 libmapid \
491 libkrb5 \
492 libsmbfs \
493 libshare \
494 libidmap \
495 libvscan \
496 libgrubmgmt \
497 smbsrv \
498 libilb \
499 scsi \
500 hbaapi \
501 smhba \
502 libima \
503 libsun_ima \
504 mpapi \
505 libreparse \
506 zlib \
507 $($(MACH)_HDRSUBDIRS)
508
509 i386_HDRSUBDIRS= \
510 libfdisk \
511 libsaveargs
512
513 sparc_HDRSUBDIRS= \
514 libds \
515 libdscp \
516 libpri \
517 libv12n \
518 storage
519
520 all := TARGET= all
521 check := TARGET= check
522 clean := TARGET= clean
523 clobber := TARGET= clobber
524 install := TARGET= install
525 install_h := TARGET= install_h
526 lint := TARGET= lint
626 libtermcap: libcurses
627 libtsnet: libnsl libtsol libsecdb
628 libwrap: libnsl libsocket
629 libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
630 libdhcputil
631 libwanbootutil: libnsl
632 pam_modules: libproject passwdutil smbsrv
633 libscf: libuutil libmd libgen libsmbios libnsl
634 libinetsvc: libscf
635 librestart: libuutil libscf
636 libsaveargs: libdisasm
637 ../cmd/sgs/libdl: ../cmd/sgs/libconv
638 ../cmd/sgs/libelf: ../cmd/sgs/libconv
639 pkcs11: libcryptoutil
640 print: libldap5
641 udapl/udapl_tavor: udapl/libdat
642 libzfs: libdevid libgen libnvpair libuutil \
643 libadm libavl libefi libidmap libmd libzfs_core libm
644 libzfs_core: libnvpair
645 libzfs_jni: libdiskmgt libnvpair libzfs
646 libzpool: libavl libumem libnvpair libcmdutils zlib
647 libsec: libavl libidmap
648 brand: libc libsocket
649 libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
650 libexacct/demo: libexacct libproject libsocket libnsl
651 libtsalarm: libpcp
652 smbsrv: libsocket libnsl libmd libxnet libpthread librt \
653 libshare libidmap pkcs11 libsqlite libcryptoutil \
654 libreparse libcmdutils
655 libv12n: libds libuuid
656 libvrrpadm: libsocket libdladm libscf
657 libvscan: libscf
658 libfru: libfruutils
659 scsi: libnvpair libfru
660 mpapi: libpthread libdevinfo libsysevent libnvpair
661 sun_fc: libdevinfo libsysevent libnvpair
662 libsun_ima: libdevinfo libsysevent libnsl
663 sun_sas: libdevinfo libsysevent libnvpair libkstat libdevid
664 libgrubmgmt: libdevinfo libzfs libfstyp
665 pylibbe: libbe libzfs
666 pyzfs: libnvpair libzfs
|