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