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 22 # 23 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 24 # Copyright (c) 2012 by Delphix. All rights reserved. 25 # Copyright 2015 Garrett D'Amore <garrett@damore.org> 26 # Copyright 2018 Nexenta Systems, Inc. 27 # 28 29 # include global definitions 30 include Makefile.master 31 32 # 33 # As pieces are made lint-clean, add them here so the nightly build 34 # can be used to keep them that way. 35 # 36 COMMON_SUBDIRS = \ 37 cmd/acctadm \ 38 cmd/asa \ 39 cmd/amt \ 40 cmd/audio/audioctl \ 41 cmd/audio/audiotest \ 42 cmd/audit \ 43 cmd/auditconfig \ 44 cmd/auditd \ 45 cmd/auditreduce \ 46 cmd/auditstat \ 47 cmd/auths \ 48 cmd/autopush \ 49 cmd/availdevs \ 50 cmd/awk \ 51 cmd/banner \ 52 cmd/bart \ 53 cmd/basename \ 54 cmd/bdiff \ 55 cmd/busstat \ 56 cmd/boot \ 57 cmd/cal \ 58 cmd/captoinfo \ 59 cmd/cat \ 60 cmd/cdrw \ 61 cmd/cfgadm \ 62 cmd/checkeq \ 63 cmd/checknr \ 64 cmd/chgrp \ 65 cmd/chmod \ 66 cmd/chown \ 67 cmd/chroot \ 68 cmd/clinfo \ 69 cmd/cmd-crypto \ 70 cmd/cmd-inet/lib \ 71 cmd/cmd-inet/lib/netcfgd \ 72 cmd/cmd-inet/lib/nwamd \ 73 cmd/cmd-inet/sbin \ 74 cmd/cmd-inet/usr.bin \ 75 cmd/cmd-inet/usr.lib/bridged \ 76 cmd/cmd-inet/usr.lib/ilbd \ 77 cmd/cmd-inet/usr.lib/in.mpathd \ 78 cmd/cmd-inet/usr.lib/in.ndpd \ 79 cmd/cmd-inet/usr.lib/inetd \ 80 cmd/cmd-inet/usr.lib/pppoe \ 81 cmd/cmd-inet/usr.lib/slpd \ 82 cmd/cmd-inet/usr.lib/vrrpd \ 83 cmd/cmd-inet/usr.lib/wpad \ 84 cmd/cmd-inet/usr.sadm \ 85 cmd/cmd-inet/usr.sbin \ 86 cmd/cmd-inet/usr.sbin/ilbadm \ 87 cmd/cmd-inet/usr.sbin/nwamadm \ 88 cmd/cmd-inet/usr.sbin/nwamcfg \ 89 cmd/col \ 90 cmd/compress \ 91 cmd/consadm \ 92 cmd/coreadm \ 93 cmd/cpc \ 94 cmd/cpio \ 95 cmd/crypt \ 96 cmd/csplit \ 97 cmd/ctrun \ 98 cmd/ctstat \ 99 cmd/ctwatch \ 100 cmd/date \ 101 cmd/dd \ 102 cmd/deroff \ 103 cmd/devctl \ 104 cmd/devfsadm \ 105 cmd/devinfo \ 106 cmd/devmgmt \ 107 cmd/devprop \ 108 cmd/dfs.cmds \ 109 cmd/diff3 \ 110 cmd/dis \ 111 cmd/dirname \ 112 cmd/diskscan \ 113 cmd/dispadmin \ 114 cmd/dladm \ 115 cmd/dlmgmtd \ 116 cmd/dtrace \ 117 cmd/du \ 118 cmd/dumpadm \ 119 cmd/dumpcs \ 120 cmd/echo \ 121 cmd/eject \ 122 cmd/emul64ioctl \ 123 cmd/env \ 124 cmd/expand \ 125 cmd/fcinfo \ 126 cmd/fdetach \ 127 cmd/fdformat \ 128 cmd/fdisk \ 129 cmd/file \ 130 cmd/find \ 131 cmd/fmthard \ 132 cmd/fmtmsg \ 133 cmd/fold \ 134 cmd/fm \ 135 cmd/format \ 136 cmd/fs.d/fd \ 137 cmd/fs.d/lofs/mount \ 138 cmd/fs.d/mntfs \ 139 cmd/fs.d/pcfs/mount \ 140 cmd/fs.d/proc \ 141 cmd/fs.d/tmpfs \ 142 cmd/fs.d/udfs/mount \ 143 cmd/fs.d/ufs/mount \ 144 cmd/fs.d/ufs/fsirand\ 145 cmd/fs.d/zfs/fstyp \ 146 cmd/fwflash \ 147 cmd/fuser \ 148 cmd/gcore \ 149 cmd/genmsg \ 150 cmd/getconf \ 151 cmd/getdevpolicy \ 152 cmd/getfacl \ 153 cmd/getopt \ 154 cmd/gettext \ 155 cmd/grep \ 156 cmd/groups \ 157 cmd/halt \ 158 cmd/head \ 159 cmd/hostid \ 160 cmd/hostname \ 161 cmd/hotplug \ 162 cmd/hotplugd \ 163 cmd/idmap \ 164 cmd/init \ 165 cmd/intrstat \ 166 cmd/ipcrm \ 167 cmd/ipcs \ 168 cmd/isaexec \ 169 cmd/isalist \ 170 cmd/iscsiadm \ 171 cmd/iscsid \ 172 cmd/iscsitsvc \ 173 cmd/isns \ 174 cmd/itadm \ 175 cmd/kbd \ 176 cmd/killall \ 177 cmd/ldap \ 178 cmd/last \ 179 cmd/lastcomm \ 180 cmd/ldapcachemgr \ 181 cmd/line \ 182 cmd/link \ 183 cmd/locator \ 184 cmd/localedef \ 185 cmd/lockstat \ 186 cmd/lofiadm \ 187 cmd/logadm \ 188 cmd/logger \ 189 cmd/login \ 190 cmd/logins \ 191 cmd/ls \ 192 cmd/luxadm \ 193 cmd/mailwrapper \ 194 cmd/makekey \ 195 cmd/mdb \ 196 cmd/mesg \ 197 cmd/mkdir \ 198 cmd/mkfifo \ 199 cmd/mkfile \ 200 cmd/mkmsgs \ 201 cmd/mknod \ 202 cmd/mpathadm \ 203 cmd/modload \ 204 cmd/msgfmt \ 205 cmd/msgid \ 206 cmd/mt \ 207 cmd/mv \ 208 cmd/ndmpadm \ 209 cmd/ndmpd \ 210 cmd/ndmpstat \ 211 cmd/newform \ 212 cmd/newgrp \ 213 cmd/newtask \ 214 cmd/nice \ 215 cmd/nl \ 216 cmd/nohup \ 217 cmd/nscd \ 218 cmd/od \ 219 cmd/pagesize \ 220 cmd/passwd \ 221 cmd/pathchk \ 222 cmd/pbind \ 223 cmd/pcidr \ 224 cmd/pcitool \ 225 cmd/pfexec \ 226 cmd/pgrep \ 227 cmd/picl/picld \ 228 cmd/picl/prtpicl \ 229 cmd/plockstat \ 230 cmd/pools \ 231 cmd/power \ 232 cmd/powertop \ 233 cmd/printf \ 234 cmd/latencytop \ 235 cmd/ppgsz \ 236 cmd/praudit \ 237 cmd/prctl \ 238 cmd/priocntl \ 239 cmd/profiles \ 240 cmd/prstat \ 241 cmd/prtconf \ 242 cmd/prtdiag \ 243 cmd/prtvtoc \ 244 cmd/ps \ 245 cmd/psradm \ 246 cmd/psrinfo \ 247 cmd/psrset \ 248 cmd/ptools \ 249 cmd/pwck \ 250 cmd/pwconv \ 251 cmd/ramdiskadm \ 252 cmd/raidctl \ 253 cmd/rcap \ 254 cmd/rcm_daemon \ 255 cmd/rctladm \ 256 cmd/renice \ 257 cmd/rm \ 258 cmd/rmdir \ 259 cmd/rmformat \ 260 cmd/rmt \ 261 cmd/roles \ 262 cmd/rpcgen \ 263 cmd/rpcsvc/rpc.bootparamd \ 264 cmd/runat \ 265 cmd/savecore \ 266 cmd/sbdadm \ 267 cmd/sdpadm \ 268 cmd/sed \ 269 cmd/setpgrp \ 270 cmd/smbios \ 271 cmd/sgs \ 272 cmd/smbsrv \ 273 cmd/smserverd \ 274 cmd/sort \ 275 cmd/split \ 276 cmd/srptadm \ 277 cmd/srptsvc \ 278 cmd/stat \ 279 cmd/stmfadm \ 280 cmd/stmfsvc \ 281 cmd/stmsboot \ 282 cmd/streams/strcmd \ 283 cmd/strings \ 284 cmd/su \ 285 cmd/sulogin \ 286 cmd/svc \ 287 cmd/swap \ 288 cmd/sync \ 289 cmd/syseventadm \ 290 cmd/syseventd \ 291 cmd/syslogd \ 292 cmd/tabs \ 293 cmd/tail \ 294 cmd/th_tools \ 295 cmd/tip \ 296 cmd/touch \ 297 cmd/tr \ 298 cmd/truss \ 299 cmd/tty \ 300 cmd/tzreload \ 301 cmd/uadmin \ 302 cmd/ul \ 303 cmd/userattr \ 304 cmd/users \ 305 cmd/utmp_update \ 306 cmd/utmpd \ 307 cmd/valtools \ 308 cmd/vrrpadm \ 309 cmd/vt \ 310 cmd/wall \ 311 cmd/who \ 312 cmd/whodo \ 313 cmd/wracct \ 314 cmd/xargs \ 315 cmd/xstr \ 316 cmd/yes \ 317 cmd/yppasswd \ 318 cmd/zdb \ 319 cmd/zdump \ 320 cmd/zfs \ 321 cmd/zhack \ 322 cmd/zinject \ 323 cmd/zlogin \ 324 cmd/zoneadm \ 325 cmd/zoneadmd \ 326 cmd/zonecfg \ 327 cmd/zonename \ 328 cmd/zpool \ 329 cmd/zlook \ 330 cmd/ztest \ 331 lib/abi \ 332 lib/auditd_plugins \ 333 lib/libbe \ 334 lib/pylibbe \ 335 lib/brand/sn1 \ 336 lib/brand/solaris10 \ 337 lib/crypt_modules \ 338 lib/extendedFILE \ 339 lib/libadm \ 340 lib/libadutils \ 341 lib/libadt_jni \ 342 lib/libaio \ 343 lib/libavl \ 344 lib/libbrand \ 345 lib/libbsdmalloc \ 346 lib/libbsm \ 347 lib/libc \ 348 lib/libc_db \ 349 lib/libcfgadm \ 350 lib/libcmdutils \ 351 lib/libcommputil \ 352 lib/libcontract \ 353 lib/libcryptoutil \ 354 lib/libctf \ 355 lib/libdevice \ 356 lib/libdevid \ 357 lib/libdevinfo \ 358 lib/libdhcpagent \ 359 lib/libdhcputil \ 360 lib/libdisasm \ 361 lib/libdiskmgt \ 362 lib/libdladm \ 363 lib/libdlpi \ 364 lib/libdoor \ 365 lib/libdtrace \ 366 lib/libefi \ 367 lib/libelfsign \ 368 lib/libexacct \ 369 lib/libfcoe \ 370 lib/libgen \ 371 lib/libgrubmgmt \ 372 lib/libgss \ 373 lib/libhotplug \ 374 lib/libidmap \ 375 lib/libilb \ 376 lib/libinetsvc \ 377 lib/libinetutil \ 378 lib/libinstzones \ 379 lib/libipadm \ 380 lib/libipmi \ 381 lib/libipmp \ 382 lib/libipp \ 383 lib/libipsecutil \ 384 lib/libiscsit \ 385 lib/libkmf \ 386 lib/libkstat \ 387 lib/liblgrp \ 388 lib/liblm \ 389 lib/libm \ 390 lib/libm1 \ 391 lib/libmvec \ 392 lib/libmalloc \ 393 lib/libmapmalloc \ 394 lib/libmapid \ 395 lib/libmd \ 396 lib/libmp \ 397 lib/libmtmalloc \ 398 lib/libndmp \ 399 lib/libnsl \ 400 lib/libnvpair \ 401 lib/libnwam \ 402 lib/libpam \ 403 lib/libpctx \ 404 lib/libpicl \ 405 lib/libpicltree \ 406 lib/libpkg \ 407 lib/libpool \ 408 lib/libproc \ 409 lib/libpthread \ 410 lib/libraidcfg \ 411 lib/librcm \ 412 lib/libreparse \ 413 lib/librestart \ 414 lib/librstp \ 415 lib/librt \ 416 lib/libscf \ 417 lib/libsec \ 418 lib/libsecdb \ 419 lib/libsendfile \ 420 lib/libsip \ 421 lib/libshare \ 422 lib/libsldap \ 423 lib/libslp \ 424 lib/libsmbfs \ 425 lib/libsmbios \ 426 lib/libsmedia \ 427 lib/libsrpt \ 428 lib/libstmf \ 429 lib/libsun_ima \ 430 lib/libsysevent \ 431 lib/libthread \ 432 lib/libtsnet \ 433 lib/libtsol \ 434 lib/libumem \ 435 lib/libuuid \ 436 lib/libuutil \ 437 lib/libvrrpadm \ 438 lib/libxnet \ 439 lib/libzfs \ 440 lib/libzfs_jni \ 441 lib/libzonecfg \ 442 lib/libzoneinfo \ 443 lib/madv \ 444 lib/mpss \ 445 lib/nametoaddr \ 446 lib/ncad_addr \ 447 lib/nsswitch \ 448 lib/pam_modules \ 449 lib/passwdutil \ 450 lib/pkcs11 \ 451 lib/print \ 452 lib/raidcfg_plugins \ 453 lib/scsi \ 454 lib/smbsrv \ 455 lib/fm \ 456 lib/udapl \ 457 lib/watchmalloc \ 458 psm \ 459 test \ 460 ucbcmd/basename \ 461 ucbcmd/biff \ 462 ucbcmd/echo \ 463 ucbcmd/groups \ 464 ucbcmd/mkstr \ 465 ucbcmd/printenv \ 466 ucbcmd/sum \ 467 ucbcmd/test \ 468 ucbcmd/users \ 469 ucbcmd/whoami 470 471 i386_SUBDIRS= \ 472 cmd/acpihpd \ 473 cmd/biosdev \ 474 cmd/rtc \ 475 cmd/ucodeadm \ 476 lib/cfgadm_plugins/sata \ 477 lib/cfgadm_plugins/sbd \ 478 lib/libfdisk 479 480 sparc_SUBDIRS= \ 481 cmd/datadm \ 482 cmd/dcs \ 483 cmd/drd \ 484 cmd/fruadm \ 485 cmd/ldmad \ 486 cmd/prtdscp \ 487 cmd/prtfru \ 488 cmd/sckmd \ 489 cmd/virtinfo \ 490 cmd/vntsd \ 491 lib/libds \ 492 lib/libdscp \ 493 lib/libpri \ 494 lib/libpcp \ 495 lib/libtsalarm \ 496 lib/libv12n \ 497 lib/storage \ 498 stand 499 500 LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 501 502 .PARALLEL: $(LINTSUBDIRS) 503 504 lint: uts .WAIT subdirs 505 506 subdirs: $(LINTSUBDIRS) 507 508 uts $(LINTSUBDIRS): FRC 509 @cd $@; pwd; $(MAKE) lint 510 511 FRC: