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