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