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