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