Paul Cheng | 74b5a35 | 2010-04-24 08:01:59 -0700 | [diff] [blame] | 1 | # |
| 2 | # CDDL HEADER START |
| 3 | # |
| 4 | # The contents of this file are subject to the terms of the |
| 5 | # Common Development and Distribution License (the "License"). |
| 6 | # You may not use this file except in compliance with the License. |
| 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 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 22 | # |
Sue Gleeson | c3a558e | 2010-04-05 15:20:40 -0400 | [diff] [blame] | 23 | # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. |
Matthew Ahrens | 4445fff | 2012-06-30 13:00:47 -0700 | [diff] [blame] | 24 | # Copyright (c) 2012 by Delphix. All rights reserved. |
Robert Mustacchi | abc79d9 | 2013-04-02 17:25:01 -0700 | [diff] [blame] | 25 | # Copyright (c) 2012, Joyent, Inc. All rights reserved. |
Gary Mills | 0a1278f | 2013-10-08 08:27:49 -0700 | [diff] [blame] | 26 | # Copyright (c) 2013 Gary Mills |
Bart Coddens | 786d1ee | 2014-11-04 14:39:24 -0500 | [diff] [blame] | 27 | # Copyright 2014 Garrett D'Amore <garrett@damore.org> |
Gary Mills | fca4268 | 2015-09-06 19:00:17 -0500 | [diff] [blame] | 28 | # Copyright (c) 2015 Gary Mills |
Toomas Soome | afc2ba1 | 2015-08-30 15:37:04 +0300 | [diff] [blame] | 29 | # Copyright 2016 Toomas Soome <tsoome@me.com> |
Yuri Pankov | 986347b | 2018-02-05 04:11:44 +0300 | [diff] [blame] | 30 | # Copyright 2018 Nexenta Systems, Inc. |
Chris Fraire | b31320a | 2016-11-18 11:29:24 -0700 | [diff] [blame] | 31 | # Copyright (c) 2016, Chris Fraire <cfraire@me.com>. |
Andrew Stormont | f06dce2 | 2017-11-13 01:52:27 +0000 | [diff] [blame] | 32 | # Copyright 2017 RackTop Systems. |
Jason King | 4226f63 | 2017-05-27 18:46:17 -0500 | [diff] [blame] | 33 | # Copyirght 2018 Jason King |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 34 | # |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 35 | |
| 36 | include ../Makefile.master |
| 37 | |
| 38 | # Note that libcurses installs commands along with its library. |
| 39 | # This is a minor bug which probably should be fixed. |
| 40 | # Note also that a few extra libraries are kept in cmd source. |
| 41 | # |
| 42 | # Certain libraries are linked with, hence depend on, other libraries. |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 43 | # Library dependencies are called out explicitly, see "Library |
| 44 | # interdependencies" below. |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 45 | .PARALLEL: |
| 46 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 47 | # Build libc and its dependencies |
| 48 | SUBDIRS= \ |
Richard Lowe | 3e76f9d | 2014-04-16 20:03:15 +0100 | [diff] [blame] | 49 | crt \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 50 | ../cmd/sgs/libconv \ |
| 51 | ../cmd/sgs/libdl \ |
| 52 | libc \ |
| 53 | .WAIT |
kupfer | fb9f9b9 | 2005-12-21 19:47:57 -0800 | [diff] [blame] | 54 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 55 | # Build libraries with lots of dependents |
| 56 | SUBDIRS += \ |
| 57 | libm \ |
| 58 | libmd \ |
| 59 | libmp \ |
| 60 | libnsl \ |
| 61 | libnvpair \ |
| 62 | libsocket \ |
| 63 | .WAIT |
| 64 | |
| 65 | # Build everything else. Aside from explicit dependencies, all libraries |
| 66 | # are built in parallel. |
| 67 | SUBDIRS += \ |
| 68 | ../cmd/sendmail/libmilter \ |
| 69 | ../cmd/sgs/libelf \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 70 | ../cmd/sgs/librtld_db \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 71 | abi \ |
| 72 | auditd_plugins \ |
| 73 | brand \ |
| 74 | c_synonyms \ |
| 75 | cfgadm_plugins \ |
| 76 | crypt_modules \ |
| 77 | extendedFILE \ |
| 78 | fm \ |
| 79 | getloginx \ |
| 80 | gss_mechs/mech_dh \ |
| 81 | gss_mechs/mech_dummy \ |
| 82 | gss_mechs/mech_krb5 \ |
| 83 | gss_mechs/mech_spnego \ |
| 84 | hal \ |
| 85 | hbaapi \ |
| 86 | krb5 \ |
| 87 | libadm \ |
| 88 | libads \ |
| 89 | libadt_jni \ |
| 90 | libadutils \ |
| 91 | libaio \ |
| 92 | libast \ |
| 93 | libavl \ |
| 94 | libbe \ |
| 95 | libbrand \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 96 | libbsdmalloc \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 97 | libbsm \ |
| 98 | libc_db \ |
| 99 | libcfgadm \ |
| 100 | libcmd \ |
| 101 | libcmdutils \ |
| 102 | libcommputil \ |
| 103 | libcontract \ |
| 104 | libcpc \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 105 | libcrypt \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 106 | libcryptoutil \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 107 | libctf \ |
| 108 | libcurses \ |
Jason King | 500cf85 | 2018-02-16 16:21:53 +0000 | [diff] [blame] | 109 | libcustr \ |
Jason King | 4226f63 | 2017-05-27 18:46:17 -0500 | [diff] [blame] | 110 | libdemangle \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 111 | libdevice \ |
| 112 | libdevid \ |
| 113 | libdevinfo \ |
| 114 | libdhcpagent \ |
| 115 | libdhcputil \ |
| 116 | libdisasm \ |
| 117 | libdiskmgt \ |
| 118 | libdladm \ |
| 119 | libdll \ |
| 120 | libdlpi \ |
| 121 | libdns_sd \ |
| 122 | libdoor \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 123 | libdtrace \ |
| 124 | libdtrace_jni \ |
| 125 | libefi \ |
| 126 | libelfsign \ |
| 127 | libeti \ |
| 128 | libexacct \ |
| 129 | libexacct/demo \ |
| 130 | libfakekernel \ |
| 131 | libfcoe \ |
Toomas Soome | afc2ba1 | 2015-08-30 15:37:04 +0300 | [diff] [blame] | 132 | libficl \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 133 | libfru \ |
| 134 | libfruutils \ |
| 135 | libfsmgt \ |
| 136 | libfstyp \ |
| 137 | libgen \ |
| 138 | libgrubmgmt \ |
| 139 | libgss \ |
| 140 | libhotplug \ |
| 141 | libidmap \ |
| 142 | libilb \ |
| 143 | libima \ |
| 144 | libinetsvc \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 145 | libinetutil \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 146 | libinstzones \ |
| 147 | libintl \ |
Girish Moodalbail | 6e91bba | 2010-03-26 17:53:11 -0400 | [diff] [blame] | 148 | libipadm \ |
Robert Mustacchi | fe77cc0 | 2013-09-29 14:27:52 -0700 | [diff] [blame] | 149 | libipd \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 150 | libipmi \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 151 | libipmp \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 152 | libipp \ |
| 153 | libipsecutil \ |
Peter Dunlap | a6d42e7 | 2008-10-30 15:49:07 -0600 | [diff] [blame] | 154 | libiscsit \ |
wyllys | 99ebb4c | 2006-11-10 15:34:56 -0800 | [diff] [blame] | 155 | libkmf \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 156 | libkrb5 \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 157 | libkstat \ |
| 158 | libkvm \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 159 | libldap5 \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 160 | liblgrp \ |
| 161 | liblm \ |
| 162 | libm1 \ |
| 163 | libmail \ |
| 164 | libmalloc \ |
| 165 | libmapid \ |
| 166 | libmapmalloc \ |
| 167 | libmd5 \ |
Gordon Ross | 3299f39 | 2013-01-05 10:21:33 -0500 | [diff] [blame] | 168 | libmlrpc \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 169 | libmtmalloc \ |
| 170 | libmvec \ |
| 171 | libndmp \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 172 | libnisdb \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 173 | libnls \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 174 | libnwam \ |
Yuri Pankov | e96f841 | 2017-05-31 04:42:39 +0300 | [diff] [blame] | 175 | libofmt \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 176 | libpam \ |
| 177 | libpcidb \ |
| 178 | libpctx \ |
| 179 | libpicl \ |
| 180 | libpicltree \ |
| 181 | libpkg \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 182 | libpool \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 183 | libpp \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 184 | libproc \ |
| 185 | libproject \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 186 | libpthread \ |
| 187 | libraidcfg \ |
| 188 | librcm \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 189 | libreparse \ |
| 190 | libresolv \ |
| 191 | libresolv2 \ |
| 192 | librestart \ |
| 193 | librpcsvc \ |
| 194 | librsm \ |
| 195 | librstp \ |
| 196 | librt \ |
| 197 | libsasl \ |
| 198 | libscf \ |
| 199 | libsched \ |
| 200 | libsctp \ |
| 201 | libsec \ |
| 202 | libsecdb \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 203 | libsendfile \ |
Robert Mustacchi | 45d3dd9 | 2017-09-21 17:35:16 +0000 | [diff] [blame] | 204 | libsff \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 205 | libshare \ |
| 206 | libshell \ |
| 207 | libsip \ |
| 208 | libsldap \ |
| 209 | libslp \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 210 | libsmbfs \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 211 | libsmbios \ |
| 212 | libsmedia \ |
| 213 | libsqlite \ |
Sue Gleeson | c3a558e | 2010-04-05 15:20:40 -0400 | [diff] [blame] | 214 | libsrpt \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 215 | libstmf \ |
John Forte | 4503966 | 2009-10-06 19:56:15 -0700 | [diff] [blame] | 216 | libstmfproxy \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 217 | libsum \ |
| 218 | libsun_ima \ |
| 219 | libsys \ |
| 220 | libsysevent \ |
| 221 | libtecla \ |
| 222 | libtermcap \ |
| 223 | libthread \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 224 | libtnf \ |
| 225 | libtnfctl \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 226 | libtnfprobe \ |
| 227 | libtsnet \ |
| 228 | libtsol \ |
| 229 | libumem \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 230 | libuuid \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 231 | libuutil \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 232 | libvolmgt \ |
| 233 | libvrrpadm \ |
| 234 | libvscan \ |
| 235 | libw \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 236 | libwrap \ |
| 237 | libxcurses \ |
| 238 | libxcurses2 \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 239 | libxnet \ |
| 240 | libzfs \ |
| 241 | libzfs_core \ |
| 242 | libzfs_jni \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 243 | libzonecfg \ |
| 244 | libzoneinfo \ |
Steve Lawrence | efd4c9b | 2010-08-16 15:11:00 -0700 | [diff] [blame] | 245 | libzonestat \ |
ahrens | fa9e406 | 2005-10-31 11:33:35 -0800 | [diff] [blame] | 246 | libzpool \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 247 | madv \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 248 | mpapi \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 249 | mpss \ |
| 250 | nametoaddr \ |
| 251 | ncad_addr \ |
| 252 | nsswitch \ |
| 253 | pam_modules \ |
| 254 | passwdutil \ |
| 255 | pkcs11 \ |
| 256 | policykit \ |
| 257 | print \ |
| 258 | pylibbe \ |
| 259 | pysolaris \ |
| 260 | pyzfs \ |
| 261 | raidcfg_plugins \ |
| 262 | rpcsec_gss \ |
| 263 | sasl_plugins \ |
| 264 | scsi \ |
| 265 | smbsrv \ |
| 266 | smhba \ |
| 267 | sun_fc \ |
| 268 | sun_sas \ |
| 269 | udapl \ |
| 270 | watchmalloc \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 271 | $($(MACH)_SUBDIRS) |
| 272 | |
Mark Logan | 7e7bd3d | 2009-05-19 18:34:13 -0700 | [diff] [blame] | 273 | i386_SUBDIRS= \ |
Richard Lowe | 702941c | 2013-02-09 17:21:16 -0500 | [diff] [blame] | 274 | libfdisk \ |
| 275 | libsaveargs |
Mark Logan | 7e7bd3d | 2009-05-19 18:34:13 -0700 | [diff] [blame] | 276 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 277 | sparc_SUBDIRS= \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 278 | efcode \ |
Mike Christensen | 3058821 | 2008-09-25 17:36:37 -0700 | [diff] [blame] | 279 | libds \ |
jl139090 | 25cf1a3 | 2006-04-08 10:25:15 -0700 | [diff] [blame] | 280 | libdscp \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 281 | libprtdiag \ |
stevel | 03831d3 | 2006-03-29 15:44:11 -0800 | [diff] [blame] | 282 | libprtdiag_psr \ |
rb144127 | ef88468 | 2007-01-31 21:19:07 -0800 | [diff] [blame] | 283 | libpri \ |
stevel | 03831d3 | 2006-03-29 15:44:11 -0800 | [diff] [blame] | 284 | librsc \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 285 | storage \ |
willard | 4a6822d | 2007-08-31 16:18:41 -0700 | [diff] [blame] | 286 | libpcp \ |
Mike Christensen | 82629e3 | 2010-03-01 18:02:46 -0800 | [diff] [blame] | 287 | libtsalarm \ |
| 288 | libv12n |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 289 | |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 290 | # |
| 291 | # Create a special version of $(SUBDIRS) with no .WAIT's, for use with the |
| 292 | # clean and clobber targets (for more information, see those targets, below). |
| 293 | # |
| 294 | NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=) |
| 295 | |
Yuri Pankov | 5f10ef6 | 2016-10-07 19:54:32 +0300 | [diff] [blame] | 296 | DCSUBDIRS= |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 297 | |
| 298 | MSGSUBDIRS= \ |
| 299 | abi \ |
| 300 | auditd_plugins \ |
nn35248 | 9acbbea | 2006-09-11 22:51:59 -0700 | [diff] [blame] | 301 | brand \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 302 | cfgadm_plugins \ |
| 303 | gss_mechs/mech_dh \ |
| 304 | gss_mechs/mech_krb5 \ |
| 305 | krb5 \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 306 | libast \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 307 | libbsm \ |
| 308 | libc \ |
| 309 | libcfgadm \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 310 | libcmd \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 311 | libcontract \ |
| 312 | libcurses \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 313 | libdhcputil \ |
mmusante | 181c2f4 | 2007-04-20 17:46:13 -0700 | [diff] [blame] | 314 | libdiskmgt \ |
meem | 33343a9 | 2006-11-27 19:14:01 -0800 | [diff] [blame] | 315 | libdladm \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 316 | libdll \ |
Sherry Moore | 753a6d4 | 2009-03-24 14:38:50 -0700 | [diff] [blame] | 317 | libgrubmgmt \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 318 | libgss \ |
nw141292 | c5c4113 | 2007-06-21 19:11:00 -0700 | [diff] [blame] | 319 | libidmap \ |
Sangeeta Misra | dbed73c | 2009-11-03 23:15:19 -0800 | [diff] [blame] | 320 | libilb \ |
Moriah Waterland | 5c51f12 | 2009-06-03 20:16:25 -0600 | [diff] [blame] | 321 | libinstzones \ |
Girish Moodalbail | 6e91bba | 2010-03-26 17:53:11 -0400 | [diff] [blame] | 322 | libipadm \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 323 | libipmp \ |
| 324 | libipsecutil \ |
| 325 | libldap5 \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 326 | libnsl \ |
Anurag S. Maskey | 6ba597c | 2010-02-25 22:05:58 -0500 | [diff] [blame] | 327 | libnwam \ |
Yuri Pankov | e96f841 | 2017-05-31 04:42:39 +0300 | [diff] [blame] | 328 | libofmt \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 329 | libpam \ |
| 330 | libpicl \ |
Moriah Waterland | 5c51f12 | 2009-06-03 20:16:25 -0600 | [diff] [blame] | 331 | libpkg \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 332 | libpool \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 333 | libpp \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 334 | libreparse \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 335 | libsasl \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 336 | libscf \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 337 | libsecdb \ |
dougm | 6185db8 | 2006-11-01 16:37:33 -0800 | [diff] [blame] | 338 | libshare \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 339 | libshell \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 340 | libsldap \ |
| 341 | libslp \ |
thurlow | 4bff34e | 2008-02-13 19:51:22 -0800 | [diff] [blame] | 342 | libsmbfs \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 343 | libsmedia \ |
April Chin | 7c2fbfb | 2008-12-27 14:59:38 -0800 | [diff] [blame] | 344 | libsum \ |
jpk | 45916cd | 2006-03-24 12:29:20 -0800 | [diff] [blame] | 345 | libtsol \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 346 | libuutil \ |
Cathy Zhou | 1cb875a | 2009-11-17 09:17:48 -0800 | [diff] [blame] | 347 | libvrrpadm \ |
jm199354 | 911106d | 2007-11-08 16:09:20 -0800 | [diff] [blame] | 348 | libvscan \ |
ck153898 | c3aa2a3 | 2007-02-01 11:16:06 -0800 | [diff] [blame] | 349 | libzfs \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 350 | libzonecfg \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 351 | madv \ |
| 352 | mpss \ |
| 353 | pam_modules \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 354 | pyzfs \ |
Dai Ngo | 7a286c4 | 2009-10-14 11:15:07 -0500 | [diff] [blame] | 355 | rpcsec_gss \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 356 | $($(MACH)_MSGSUBDIRS) |
| 357 | |
stevel | 03831d3 | 2006-03-29 15:44:11 -0800 | [diff] [blame] | 358 | sparc_MSGSUBDIRS= \ |
| 359 | libprtdiag \ |
| 360 | libprtdiag_psr |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 361 | |
Sheshadri Vasudevan | aa1b14e | 2009-07-02 08:59:40 +0530 | [diff] [blame] | 362 | i386_MSGSUBDIRS= libfdisk |
| 363 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 364 | HDRSUBDIRS= \ |
| 365 | ../cmd/sendmail/libmilter \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 366 | auditd_plugins \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 367 | fm \ |
| 368 | hal \ |
| 369 | hbaapi \ |
Gordon Ross | b3700b0 | 2014-06-05 14:30:31 -0400 | [diff] [blame] | 370 | libads \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 371 | libast \ |
nn35248 | 9acbbea | 2006-09-11 22:51:59 -0700 | [diff] [blame] | 372 | libbrand \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 373 | libbsm \ |
| 374 | libc \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 375 | libcmd \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 376 | libcmdutils \ |
Girish Moodalbail | 6e91bba | 2010-03-26 17:53:11 -0400 | [diff] [blame] | 377 | libcommputil \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 378 | libcontract \ |
| 379 | libcpc \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 380 | libcryptoutil \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 381 | libctf \ |
| 382 | libcurses \ |
Jason King | 500cf85 | 2018-02-16 16:21:53 +0000 | [diff] [blame] | 383 | libcustr \ |
Jason King | 4226f63 | 2017-05-27 18:46:17 -0500 | [diff] [blame] | 384 | libdemangle \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 385 | libdevice \ |
| 386 | libdevid \ |
| 387 | libdevinfo \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 388 | libdhcpagent \ |
| 389 | libdhcputil \ |
| 390 | libdisasm \ |
sjelinek | 3e1bd7a | 2005-10-27 09:01:18 -0700 | [diff] [blame] | 391 | libdiskmgt \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 392 | libdladm \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 393 | libdll \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 394 | libdlpi \ |
rs200217 | 4b22b93 | 2007-08-20 11:44:22 -0700 | [diff] [blame] | 395 | libdns_sd \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 396 | libdtrace \ |
tomee | fb3fb4f | 2006-02-16 12:15:27 -0800 | [diff] [blame] | 397 | libdtrace_jni \ |
johnz | df8bdeb | 2007-10-05 14:39:44 -0700 | [diff] [blame] | 398 | libelfsign \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 399 | libeti \ |
Gordon Ross | b819cea | 2013-06-17 10:34:00 -0400 | [diff] [blame] | 400 | libfakekernel \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 401 | libfcoe \ |
Sundeep Panicker | c69f580 | 2009-11-18 13:06:09 -0800 | [diff] [blame] | 402 | libfru \ |
artem | 0e42dee | 2006-06-16 11:47:43 -0700 | [diff] [blame] | 403 | libfstyp \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 404 | libgen \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 405 | libgrubmgmt \ |
| 406 | libidmap \ |
| 407 | libilb \ |
| 408 | libima \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 409 | libinetsvc \ |
| 410 | libinetutil \ |
Moriah Waterland | 22fb2ee | 2009-09-04 10:51:44 -0600 | [diff] [blame] | 411 | libinstzones \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 412 | libipadm \ |
| 413 | libipd \ |
eschrock | 9113a79 | 2007-03-10 17:17:25 -0800 | [diff] [blame] | 414 | libipmi \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 415 | libipmp \ |
| 416 | libipp \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 417 | libipsecutil \ |
Peter Dunlap | a6d42e7 | 2008-10-30 15:49:07 -0600 | [diff] [blame] | 418 | libiscsit \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 419 | libkrb5 \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 420 | libkstat \ |
| 421 | libkvm \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 422 | libmail \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 423 | libmapid \ |
darrenm | 734b6a9 | 2006-03-28 08:45:30 -0800 | [diff] [blame] | 424 | libmd \ |
Gordon Ross | 3299f39 | 2013-01-05 10:21:33 -0500 | [diff] [blame] | 425 | libmlrpc \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 426 | libmtmalloc \ |
Reza Sabdar | 2654012 | 2008-10-23 11:42:48 -0700 | [diff] [blame] | 427 | libndmp \ |
jpk | 45916cd | 2006-03-24 12:29:20 -0800 | [diff] [blame] | 428 | libnsl \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 429 | libnvpair \ |
James Carlson | b00044a | 2008-09-19 16:27:53 -0400 | [diff] [blame] | 430 | libnwam \ |
Yuri Pankov | e96f841 | 2017-05-31 04:42:39 +0300 | [diff] [blame] | 431 | libofmt \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 432 | libpam \ |
Robert Mustacchi | abc79d9 | 2013-04-02 17:25:01 -0700 | [diff] [blame] | 433 | libpcidb \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 434 | libpctx \ |
| 435 | libpicl \ |
| 436 | libpicltree \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 437 | libpool \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 438 | libpp \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 439 | libproc \ |
jc156560 | 3e4f289 | 2007-02-08 18:32:09 -0800 | [diff] [blame] | 440 | libraidcfg \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 441 | librcm \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 442 | libreparse \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 443 | librestart \ |
| 444 | librpcsvc \ |
| 445 | librsm \ |
Rishi Srivatsavai | 4eaa471 | 2009-09-10 15:11:49 -0400 | [diff] [blame] | 446 | librstp \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 447 | libsasl \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 448 | libscf \ |
ahrens | fa9e406 | 2005-10-31 11:33:35 -0800 | [diff] [blame] | 449 | libsec \ |
Robert Mustacchi | 45d3dd9 | 2017-09-21 17:35:16 +0000 | [diff] [blame] | 450 | libsff \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 451 | libshare \ |
chin | da2e3eb | 2007-08-17 12:01:52 -0700 | [diff] [blame] | 452 | libshell \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 453 | libsip \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 454 | libslp \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 455 | libsmbfs \ |
| 456 | libsmbios \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 457 | libsmedia \ |
Girish Moodalbail | 6e91bba | 2010-03-26 17:53:11 -0400 | [diff] [blame] | 458 | libsocket \ |
nw141292 | c5c4113 | 2007-06-21 19:11:00 -0700 | [diff] [blame] | 459 | libsqlite \ |
Sue Gleeson | c3a558e | 2010-04-05 15:20:40 -0400 | [diff] [blame] | 460 | libsrpt \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 461 | libstmf \ |
John Forte | 4503966 | 2009-10-06 19:56:15 -0700 | [diff] [blame] | 462 | libstmfproxy \ |
April Chin | 7c2fbfb | 2008-12-27 14:59:38 -0800 | [diff] [blame] | 463 | libsum \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 464 | libsun_ima \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 465 | libsysevent \ |
| 466 | libtecla \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 467 | libtermcap \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 468 | libtnf \ |
| 469 | libtnfctl \ |
| 470 | libtnfprobe \ |
jpk | 45916cd | 2006-03-24 12:29:20 -0800 | [diff] [blame] | 471 | libtsnet \ |
| 472 | libtsol \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 473 | libumem \ |
| 474 | libuutil \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 475 | libvolmgt \ |
| 476 | libvrrpadm \ |
| 477 | libvscan \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 478 | libwrap \ |
| 479 | libxcurses2 \ |
ahrens | fa9e406 | 2005-10-31 11:33:35 -0800 | [diff] [blame] | 480 | libzfs \ |
Matthew Ahrens | 4445fff | 2012-06-30 13:00:47 -0700 | [diff] [blame] | 481 | libzfs_core \ |
eschrock | 088e9d4 | 2005-11-18 22:47:38 -0800 | [diff] [blame] | 482 | libzfs_jni \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 483 | libzoneinfo \ |
Steve Lawrence | efd4c9b | 2010-08-16 15:11:00 -0700 | [diff] [blame] | 484 | libzonestat \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 485 | mpapi \ |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 486 | passwdutil \ |
| 487 | pkcs11 \ |
| 488 | policykit \ |
| 489 | scsi \ |
| 490 | smbsrv \ |
| 491 | smhba \ |
| 492 | udapl \ |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 493 | $($(MACH)_HDRSUBDIRS) |
| 494 | |
Mark Logan | 964db34 | 2009-06-19 08:50:26 -0700 | [diff] [blame] | 495 | i386_HDRSUBDIRS= \ |
Richard Lowe | 702941c | 2013-02-09 17:21:16 -0500 | [diff] [blame] | 496 | libfdisk \ |
| 497 | libsaveargs |
Mark Logan | 964db34 | 2009-06-19 08:50:26 -0700 | [diff] [blame] | 498 | |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 499 | sparc_HDRSUBDIRS= \ |
Mike Christensen | 3058821 | 2008-09-25 17:36:37 -0700 | [diff] [blame] | 500 | libds \ |
jl139090 | 25cf1a3 | 2006-04-08 10:25:15 -0700 | [diff] [blame] | 501 | libdscp \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 502 | libpri \ |
Mike Christensen | 82629e3 | 2010-03-01 18:02:46 -0800 | [diff] [blame] | 503 | libv12n \ |
John Forte | fcf3ce4 | 2008-10-14 15:09:13 -0700 | [diff] [blame] | 504 | storage |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 505 | |
| 506 | all := TARGET= all |
| 507 | check := TARGET= check |
| 508 | clean := TARGET= clean |
| 509 | clobber := TARGET= clobber |
| 510 | install := TARGET= install |
| 511 | install_h := TARGET= install_h |
| 512 | lint := TARGET= lint |
| 513 | _dc := TARGET= _dc |
| 514 | _msg := TARGET= _msg |
| 515 | |
| 516 | .KEEP_STATE: |
| 517 | |
| 518 | # |
| 519 | # For the all and install targets, we clearly must respect library |
| 520 | # dependencies so that the libraries link correctly. However, for |
| 521 | # the remaining targets (check, clean, clobber, install_h, lint, _dc |
| 522 | # and _msg), libraries do not have any dependencies on one another |
| 523 | # and thus respecting dependencies just slows down the build. |
| 524 | # As such, for these rules, we use pattern replacement to explicitly |
| 525 | # avoid triggering the dependency information. Note that for clean, |
| 526 | # clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than |
| 527 | # $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'. |
| 528 | # |
| 529 | |
| 530 | all: $(SUBDIRS) |
| 531 | |
| 532 | install: $(SUBDIRS) .WAIT install_extra |
| 533 | |
| 534 | # extra libraries kept in other source areas |
| 535 | install_extra: |
| 536 | @cd ../cmd/sgs; pwd; $(MAKE) install_lib |
| 537 | @pwd |
| 538 | |
| 539 | clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend) |
| 540 | |
| 541 | install_h check: $(HDRSUBDIRS:%=%-nodepend) |
| 542 | |
| 543 | _msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc |
| 544 | |
| 545 | _dc: $(DCSUBDIRS:%=%-nodepend) |
| 546 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 547 | # Library interdependencies are called out explicitly here. |
Richard Lowe | 3e76f9d | 2014-04-16 20:03:15 +0100 | [diff] [blame] | 548 | ../cmd/sgs/libconv: crt |
| 549 | ../cmd/sgs/libdl: crt |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 550 | libc: ../cmd/sgs/libconv ../cmd/sgs/libdl |
| 551 | |
| 552 | libm: libc |
| 553 | libmd: libc |
| 554 | libmp: libc |
| 555 | libnsl: libc libmd libmp |
| 556 | libnvpair: libc libnsl |
| 557 | libsocket: libc libnsl |
| 558 | |
| 559 | basedeps: libc libm libmd libmp libnsl libnvpair libsocket |
| 560 | basedeps := TARGET=install |
| 561 | |
Yuri Pankov | 8a154f4 | 2017-01-13 14:23:45 +0300 | [diff] [blame] | 562 | # The following dependencies are currently required by libdbus-1 and should |
| 563 | # be used for anything linking against it. |
| 564 | dbusdeps: libsecdb libtsol libinetutil libscf libuutil libgen libsmbios |
| 565 | |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 566 | # The following dependencies don't need to be listed below as they are built |
| 567 | # before everything else: |
| 568 | # libc libm libmd libmp libnsl libnvpair libsocket |
| 569 | abi: libctf libmapmalloc libproc |
| 570 | auditd_plugins: libbsm libsecdb libgss libmtmalloc |
| 571 | brand: libzonecfg libmapmalloc |
| 572 | cfgadm_plugins: libdevice libdevinfo libhotplug librcm hbaapi libkstat libscf |
| 573 | fm: libexacct libipmi libzfs scsi libdevinfo libdevid libcfgadm \ |
Jason King | 6578fdf | 2018-04-14 12:31:45 -0500 | [diff] [blame] | 574 | libcontract libsysevent ../cmd/sgs/libelf libdladm libsff \ |
| 575 | libpcidb |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 576 | $(SPARC_BLD)fm: libpri |
| 577 | gss_mechs/mech_dh: libgss |
| 578 | gss_mechs/mech_dummy: libgss |
| 579 | gss_mechs/mech_krb5: libgss libresolv2 pkcs11 libkstat |
| 580 | gss_mechs/mech_spnego: gss_mechs/mech_krb5 |
Yuri Pankov | 8a154f4 | 2017-01-13 14:23:45 +0300 | [diff] [blame] | 581 | hal: dbusdeps |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 582 | krb5: gss_mechs/mech_krb5 libtecla libldap5 |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 583 | libadt_jni: libbsm |
Toomas Soome | f5e5a2c | 2015-06-11 10:46:16 +0300 | [diff] [blame] | 584 | libadutils: libldap5 libresolv2 |
| 585 | libbe: libzfs libinstzones libuuid libgen libdevinfo libefi libficl |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 586 | libbsm: libinetutil libscf libsecdb libtsol |
| 587 | libcfgadm: libdevinfo |
Toomas Soome | f5e5a2c | 2015-06-11 10:46:16 +0300 | [diff] [blame] | 588 | libcmd: libsum libast |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 589 | libcmdutils: libavl |
| 590 | libcpc: libpctx |
| 591 | libcrypt: libgen |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 592 | libdevid: libdevinfo |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 593 | libdevinfo: libsec libgen |
| 594 | libdhcpagent: libdhcputil libuuid libdlpi libcontract |
| 595 | libdhcputil: libgen libinetutil libdlpi |
| 596 | libdiskmgt: libdevid libdevinfo libadm libefi libkstat libsysevent |
| 597 | $(INTEL_BLD)libdiskmgt: libfdisk |
| 598 | libdladm: libdevinfo libinetutil libscf librcm libexacct libkstat \ |
| 599 | libpool |
Sebastien Roy | 591e0e1 | 2017-01-12 13:27:24 -0500 | [diff] [blame] | 600 | libdll: libast |
yz147064 | d62bc4b | 2008-01-23 18:09:15 -0800 | [diff] [blame] | 601 | libdlpi: libinetutil libdladm |
Mike Christensen | 82629e3 | 2010-03-01 18:02:46 -0800 | [diff] [blame] | 602 | libds: libsysevent |
Gary Mills | fca4268 | 2015-09-06 19:00:17 -0500 | [diff] [blame] | 603 | libdtrace: libproc libgen libctf libmapmalloc |
tomee | fb3fb4f | 2006-02-16 12:15:27 -0800 | [diff] [blame] | 604 | libdtrace_jni: libuutil libdtrace |
Andy Fiddaman | 4540c8e | 2018-04-26 08:23:48 +0000 | [diff] [blame] | 605 | libefi: libuuid libsmbios |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 606 | libelfsign: libcryptoutil libkmf ../cmd/sgs/libelf |
| 607 | libeti: libcurses |
| 608 | libexacct/demo: libexacct libproject |
| 609 | libfakekernel: libumem libcryptoutil |
Gary Mills | fca4268 | 2015-09-06 19:00:17 -0500 | [diff] [blame] | 610 | libfcoe: libdladm |
Toomas Soome | fdff6ce | 2016-12-06 21:49:24 +0200 | [diff] [blame] | 611 | libficl: libuuid libumem |
Hyon Kim | ac88567 | 2010-04-11 11:20:12 -0700 | [diff] [blame] | 612 | libfru: libfruutils |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 613 | libfsmgt: libkstat |
| 614 | libgrubmgmt: libdevinfo libzfs libfstyp libefi |
| 615 | $(INTEL_BLD)libgrubmgmt: libfdisk |
| 616 | libidmap: libavl libuutil |
| 617 | libinetsvc: libscf |
| 618 | libinstzones: libzonecfg libcontract |
Chris Fraire | b31320a | 2016-11-18 11:29:24 -0700 | [diff] [blame] | 619 | libipadm: libinetutil libdlpi libdhcpagent libdladm libsecdb libdhcputil |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 620 | libipmp: libinetutil |
Jason King | bdc560a | 2018-02-27 00:07:42 -0600 | [diff] [blame] | 621 | libipsecutil: libtecla libtsol libkmf |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 622 | libiscsit: libstmf libuuid |
Jason King | bdc560a | 2018-02-27 00:07:42 -0600 | [diff] [blame] | 623 | libkmf: libcryptoutil pkcs11 libcustr |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 624 | libkvm: ../cmd/sgs/libelf |
| 625 | libldap5: libsasl |
| 626 | libmapid: libresolv2 libscf |
Gordon Ross | 3299f39 | 2013-01-05 10:21:33 -0500 | [diff] [blame] | 627 | libmlrpc: libsmbfs libuuid |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 628 | libndmp: libscf |
| 629 | libnisdb: libldap5 |
Chris Fraire | b31320a | 2016-11-18 11:29:24 -0700 | [diff] [blame] | 630 | libnwam: libscf libbsm libdladm libipadm |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 631 | libpcp: libumem libdevinfo |
| 632 | libpctx: libproc |
Andy Fiddaman | bf5d9f1 | 2018-02-07 15:01:24 +0000 | [diff] [blame] | 633 | libpkg: libscf libadm |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 634 | libpool: libscf libexacct |
| 635 | libpp: libast |
| 636 | libproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf |
| 637 | $(INTEL_BLD)libproc: libsaveargs |
| 638 | libproject: libpool libproc libsecdb |
| 639 | libprtdiag: libkstat |
| 640 | libprtdiag_psr: libprtdiag |
| 641 | libraidcfg: libdevinfo |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 642 | librestart: libuutil libscf libpool libproject libsecdb libsysevent |
| 643 | libsasl: libgss pkcs11 |
| 644 | libsaveargs: libdisasm |
| 645 | libscf: libuutil libgen libsmbios |
| 646 | libsec: libavl libidmap |
Robert Mustacchi | 45d3dd9 | 2017-09-21 17:35:16 +0000 | [diff] [blame] | 647 | libsff: libnvpair |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 648 | libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs |
| 649 | libshell: libast libcmd libdll libsecdb |
| 650 | libsip: libmd5 |
| 651 | libsldap: libldap5 libscf |
| 652 | libsmbfs: libkrb5 libsec libidmap pkcs11 |
Toomas Soome | 1951a93 | 2016-12-10 01:03:02 +0200 | [diff] [blame] | 653 | libsmbios: libdevinfo |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 654 | libsrpt: libstmf |
| 655 | libstmf: libscf |
Sebastien Roy | 591e0e1 | 2017-01-12 13:27:24 -0500 | [diff] [blame] | 656 | libstmfproxy: libstmf libpthread |
| 657 | libsum: libast |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 658 | libsun_ima: libdevinfo libsysevent |
| 659 | libsysevent: libsecdb |
| 660 | libtecla: libcurses |
| 661 | libtermcap: libcurses |
| 662 | libtnfctl: ../cmd/sgs/libelf |
| 663 | libtsalarm: libpcp |
| 664 | libtsnet: libtsol libsecdb |
| 665 | libtsol: libsecdb |
| 666 | libuuid: libdlpi |
| 667 | libv12n: libds libuuid |
| 668 | libvolmgt: libadm |
| 669 | libvrrpadm: libdladm libscf |
| 670 | libvscan: libscf libsecdb |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 671 | libzfs: libdevid libgen libuutil libadm libavl libefi libidmap \ |
Sebastien Roy | 591e0e1 | 2017-01-12 13:27:24 -0500 | [diff] [blame] | 672 | libumem libtsol libzfs_core |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 673 | libzfs_jni: libdiskmgt libzfs |
| 674 | libzonecfg: libuuid libsysevent libsec libbrand libpool libscf libproc \ |
| 675 | libuutil libbsm libsecdb |
| 676 | libzonestat: libcmdutils libumem |
Andrew Stormont | f06dce2 | 2017-11-13 01:52:27 +0000 | [diff] [blame] | 677 | libzpool: libavl libumem libcmdutils libsysevent libfakekernel |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 678 | madv: libgen |
| 679 | mpapi: libpthread libdevinfo libsysevent |
| 680 | mpss: libgen |
| 681 | nsswitch: libadutils libidmap libdns_sd libscf libldap5 libsldap |
| 682 | pam_modules: libproject passwdutil smbsrv libtsnet libpam libbsm libsecdb |
| 683 | passwdutil: libsldap |
| 684 | pkcs11: libcryptoutil libgen libuuid |
Yuri Pankov | 8a154f4 | 2017-01-13 14:23:45 +0300 | [diff] [blame] | 685 | policykit: dbusdeps |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 686 | print: libldap5 libmd5 libsendfile |
Sebastien Roy | 591e0e1 | 2017-01-12 13:27:24 -0500 | [diff] [blame] | 687 | pylibbe: libbe libzfs |
Sam Falkner | e4d060f | 2010-02-25 11:47:05 -0700 | [diff] [blame] | 688 | pysolaris: libsec libidmap |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 689 | pyzfs: libzfs |
| 690 | raidcfg_plugins: libraidcfg librcm libcfgadm libpicl libpicltree |
| 691 | rpcsec_gss: libgss |
| 692 | sasl_plugins: pkcs11 libgss libsasl |
Yuri Pankov | b5254d6 | 2015-12-14 17:04:05 -0500 | [diff] [blame] | 693 | scsi: libfru libumem libdevid libdevinfo |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 694 | smbsrv: libxnet libpthread librt libshare libidmap pkcs11 libsqlite \ |
| 695 | libcryptoutil libreparse libcmdutils libresolv2 libsmbfs \ |
Gordon Ross | 3299f39 | 2013-01-05 10:21:33 -0500 | [diff] [blame] | 696 | libuuid libfakekernel libads libgss libldap5 krb5 libmlrpc |
Yuri Pankov | ba9ca91 | 2015-11-29 04:48:44 +0300 | [diff] [blame] | 697 | storage: libdevice libdevinfo libdevid |
| 698 | sun_fc: libdevinfo libsysevent |
| 699 | sun_sas: libdevinfo libsysevent libkstat libdevid |
| 700 | udapl: libdevinfo libdladm |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 701 | |
| 702 | # |
| 703 | # The reason this rule checks for the existence of the |
| 704 | # Makefile is that some of the directories do not exist |
kupfer | fb9f9b9 | 2005-12-21 19:47:57 -0800 | [diff] [blame] | 705 | # in certain situations (e.g., exportable source builds, |
| 706 | # OpenSolaris). |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 707 | # |
raf | f808c85 | 2006-08-08 23:21:36 -0700 | [diff] [blame] | 708 | $(SUBDIRS): FRC |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 709 | @if [ -f $@/Makefile ]; then \ |
| 710 | cd $@; pwd; $(MAKE) $(TARGET); \ |
| 711 | else \ |
| 712 | true; \ |
| 713 | fi |
| 714 | |
raf | f808c85 | 2006-08-08 23:21:36 -0700 | [diff] [blame] | 715 | $(SUBDIRS:%=%-nodepend): |
stevel@tonic-gate | 7c478bd | 2005-06-14 00:00:00 -0700 | [diff] [blame] | 716 | @if [ -f $(@:%-nodepend=%)/Makefile ]; then \ |
| 717 | cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \ |
| 718 | else \ |
| 719 | true; \ |
| 720 | fi |
| 721 | |
| 722 | FRC: |