7 #
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
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:
153 libdscfg \
154 librdc \
155 libinstzones \
156 libpkg \
157 libpcidb \
158 libm1 \
159 libm \
160 libmvec
161
162
163 SUBDIRS += \
164 passwdutil \
165 pam_modules \
166 crypt_modules \
167 libadt_jni \
168 abi \
169 auditd_plugins \
170 libvolmgt \
171 libdevice \
172 libdevid \
173 libdhcpsvc \
174 libc_db \
175 libndmp \
176 libsec \
177 libtnfprobe \
178 libtnf \
179 libtnfctl \
180 libdhcpagent \
181 libdhcpdu \
182 libdhcputil \
183 libxnet \
184 libipsecutil \
185 nsswitch \
186 print \
187 libuutil \
188 libscf \
189 libinetsvc \
190 librestart \
191 libsched \
192 libelfsign \
193 pkcs11 .WAIT \
194 libpctx .WAIT \
195 libcpc \
196 getloginx \
197 watchmalloc \
198 extendedFILE \
199 madv \
200 mpss \
201 libdisasm \
300 NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
301
302 DCSUBDIRS = \
303 lvm
304
305 MSGSUBDIRS= \
306 abi \
307 auditd_plugins \
308 brand \
309 cfgadm_plugins \
310 gss_mechs/mech_dh \
311 gss_mechs/mech_krb5 \
312 krb5 \
313 libast \
314 libbsm \
315 libc \
316 libcfgadm \
317 libcmd \
318 libcontract \
319 libcurses \
320 libdhcpsvc \
321 libdhcputil \
322 libipsecutil \
323 libdiskmgt \
324 libdladm \
325 libdll \
326 libgrubmgmt \
327 libgss \
328 libidmap \
329 libipmp \
330 libilb \
331 libinetutil \
332 libinstzones \
333 libipadm \
334 libnsl \
335 libnwam \
336 libpam \
337 libpicl \
338 libpool \
339 libpkg \
340 libpp \
380 libbrand \
381 libbsm \
382 libc \
383 libcmd \
384 libcmdutils \
385 libcommputil \
386 libcontract \
387 libcpc \
388 libctf \
389 libcurses \
390 libtermcap \
391 libcryptoutil \
392 libdevice \
393 libdevid \
394 libdevinfo \
395 libdiskmgt \
396 libdladm \
397 libdll \
398 libdlpi \
399 libdhcpagent \
400 libdhcpsvc \
401 libdhcputil \
402 libdisasm \
403 libdns_sd \
404 libdscfg \
405 libdtrace \
406 libdtrace_jni \
407 libelfsign \
408 libeti \
409 libfru \
410 libfstyp \
411 libgen \
412 libipadm \
413 libipd \
414 libipsecutil \
415 libinetsvc \
416 libinetutil \
417 libinstzones \
418 libipmi \
419 libipmp \
420 libipp \
558
559 _dc: $(DCSUBDIRS:%=%-nodepend)
560
561 #
562 # Library interdependencies are called out explicitly here
563 #
564 auditd_plugins: libbsm libnsl libsecdb
565 gss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
566 libadt_jni: libbsm
567 libast: libsocket libm
568 libadutils: libldap5 libresolv libsocket libnsl
569 nsswitch: libadutils libidmap
570 libbe: libzfs
571 libbsm: libtsol
572 libcmd: libsum libast libsocket libnsl
573 libcmdutils: libavl
574 libcontract: libnvpair
575 libdevid: libdevinfo
576 libdevinfo: libnvpair libsec
577 libdhcpagent: libsocket libdhcputil libuuid libdlpi libcontract
578 libdhcpsvc: libinetutil
579 libdhcputil: libnsl libgen libinetutil libdlpi
580 libdladm: libdevinfo libinetutil libsocket libscf librcm libnvpair \
581 libexacct libnsl libkstat libcurses
582 libdll: libast
583 libdlpi: libinetutil libdladm
584 libds: libsysevent
585 libdscfg: libnsctl libunistat libsocket libnsl
586 libdtrace: libproc libgen libctf
587 libdtrace_jni: libuutil libdtrace
588 libefi: libuuid
589 libfstyp: libnvpair
590 libelfsign: libcryptoutil libkmf
591 libidmap: libadutils libldap5 libavl libsldap libuutil
592 libipadm: libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
593 libdladm libsecdb
594 libiscsit: libc libnvpair libstmf libuuid libnsl
595 libkmf: libcryptoutil pkcs11
596 libm: libc
597 libm1: libc libm
598 libmvec: libc libm
|
7 #
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:
154 libdscfg \
155 librdc \
156 libinstzones \
157 libpkg \
158 libpcidb \
159 libm1 \
160 libm \
161 libmvec
162
163
164 SUBDIRS += \
165 passwdutil \
166 pam_modules \
167 crypt_modules \
168 libadt_jni \
169 abi \
170 auditd_plugins \
171 libvolmgt \
172 libdevice \
173 libdevid \
174 libc_db \
175 libndmp \
176 libsec \
177 libtnfprobe \
178 libtnf \
179 libtnfctl \
180 libdhcpagent \
181 libdhcputil \
182 libxnet \
183 libipsecutil \
184 nsswitch \
185 print \
186 libuutil \
187 libscf \
188 libinetsvc \
189 librestart \
190 libsched \
191 libelfsign \
192 pkcs11 .WAIT \
193 libpctx .WAIT \
194 libcpc \
195 getloginx \
196 watchmalloc \
197 extendedFILE \
198 madv \
199 mpss \
200 libdisasm \
299 NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
300
301 DCSUBDIRS = \
302 lvm
303
304 MSGSUBDIRS= \
305 abi \
306 auditd_plugins \
307 brand \
308 cfgadm_plugins \
309 gss_mechs/mech_dh \
310 gss_mechs/mech_krb5 \
311 krb5 \
312 libast \
313 libbsm \
314 libc \
315 libcfgadm \
316 libcmd \
317 libcontract \
318 libcurses \
319 libdhcputil \
320 libipsecutil \
321 libdiskmgt \
322 libdladm \
323 libdll \
324 libgrubmgmt \
325 libgss \
326 libidmap \
327 libipmp \
328 libilb \
329 libinetutil \
330 libinstzones \
331 libipadm \
332 libnsl \
333 libnwam \
334 libpam \
335 libpicl \
336 libpool \
337 libpkg \
338 libpp \
378 libbrand \
379 libbsm \
380 libc \
381 libcmd \
382 libcmdutils \
383 libcommputil \
384 libcontract \
385 libcpc \
386 libctf \
387 libcurses \
388 libtermcap \
389 libcryptoutil \
390 libdevice \
391 libdevid \
392 libdevinfo \
393 libdiskmgt \
394 libdladm \
395 libdll \
396 libdlpi \
397 libdhcpagent \
398 libdhcputil \
399 libdisasm \
400 libdns_sd \
401 libdscfg \
402 libdtrace \
403 libdtrace_jni \
404 libelfsign \
405 libeti \
406 libfru \
407 libfstyp \
408 libgen \
409 libipadm \
410 libipd \
411 libipsecutil \
412 libinetsvc \
413 libinetutil \
414 libinstzones \
415 libipmi \
416 libipmp \
417 libipp \
555
556 _dc: $(DCSUBDIRS:%=%-nodepend)
557
558 #
559 # Library interdependencies are called out explicitly here
560 #
561 auditd_plugins: libbsm libnsl libsecdb
562 gss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
563 libadt_jni: libbsm
564 libast: libsocket libm
565 libadutils: libldap5 libresolv libsocket libnsl
566 nsswitch: libadutils libidmap
567 libbe: libzfs
568 libbsm: libtsol
569 libcmd: libsum libast libsocket libnsl
570 libcmdutils: libavl
571 libcontract: libnvpair
572 libdevid: libdevinfo
573 libdevinfo: libnvpair libsec
574 libdhcpagent: libsocket libdhcputil libuuid libdlpi libcontract
575 libdhcputil: libnsl libgen libinetutil libdlpi
576 libdladm: libdevinfo libinetutil libsocket libscf librcm libnvpair \
577 libexacct libnsl libkstat libcurses
578 libdll: libast
579 libdlpi: libinetutil libdladm
580 libds: libsysevent
581 libdscfg: libnsctl libunistat libsocket libnsl
582 libdtrace: libproc libgen libctf
583 libdtrace_jni: libuutil libdtrace
584 libefi: libuuid
585 libfstyp: libnvpair
586 libelfsign: libcryptoutil libkmf
587 libidmap: libadutils libldap5 libavl libsldap libuutil
588 libipadm: libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
589 libdladm libsecdb
590 libiscsit: libc libnvpair libstmf libuuid libnsl
591 libkmf: libcryptoutil pkcs11
592 libm: libc
593 libm1: libc libm
594 libmvec: libc libm
|