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 2010 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/audioctl \ 39 cmd/audio/audiotest \ 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/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/dsvclockd \ 77 cmd/cmd-inet/usr.lib/ilbd \ 78 cmd/cmd-inet/usr.lib/in.dhcpd \ 79 cmd/cmd-inet/usr.lib/in.mpathd \ 80 cmd/cmd-inet/usr.lib/in.ndpd \ 81 cmd/cmd-inet/usr.lib/inetd \ 82 cmd/cmd-inet/usr.lib/pppoe \ 83 cmd/cmd-inet/usr.lib/slpd \ 84 cmd/cmd-inet/usr.lib/vrrpd \ 85 cmd/cmd-inet/usr.lib/wpad \ 86 cmd/cmd-inet/usr.lib/wanboot \ 87 cmd/cmd-inet/usr.sadm \ 88 cmd/cmd-inet/usr.sbin \ 89 cmd/cmd-inet/usr.sbin/ilbadm \ 90 cmd/cmd-inet/usr.sbin/nwamadm \ 91 cmd/cmd-inet/usr.sbin/nwamcfg \ 92 cmd/col \ 93 cmd/compress \ 94 cmd/consadm \ 95 cmd/coreadm \ 96 cmd/cpc \ 97 cmd/cpio \ 98 cmd/crypt \ 99 cmd/csplit \ 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/fgrep \ 132 cmd/file \ 133 cmd/filebench \ 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/last \ 183 cmd/lastcomm \ 184 cmd/ldapcachemgr \ 185 cmd/line \ 186 cmd/link \ 187 cmd/locator \ 188 cmd/lockstat \ 189 cmd/lofiadm \ 190 cmd/logadm \ 191 cmd/logger \ 192 cmd/login \ 193 cmd/logins \ 194 cmd/ls \ 195 cmd/luxadm \ 196 cmd/lvm \ 197 cmd/machid \ 198 cmd/makekey \ 199 cmd/mdb \ 200 cmd/mesg \ 201 cmd/mkdir \ 202 cmd/mkfifo \ 203 cmd/mkfile \ 204 cmd/mkmsgs \ 205 cmd/mknod \ 206 cmd/mms \ 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/pagesize \ 224 cmd/passwd \ 225 cmd/pathchk \ 226 cmd/pbind \ 227 cmd/pcidr \ 228 cmd/pcitool \ 229 cmd/pfexec \ 230 cmd/pgrep \ 231 cmd/picl/picld \ 232 cmd/picl/prtpicl \ 233 cmd/plockstat \ 234 cmd/pools \ 235 cmd/power \ 236 cmd/powertop \ 237 cmd/latencytop \ 238 cmd/ppgsz \ 239 cmd/praudit \ 240 cmd/prctl \ 241 cmd/priocntl \ 242 cmd/profiles \ 243 cmd/prstat \ 244 cmd/prtconf \ 245 cmd/prtdiag \ 246 cmd/prtvtoc \ 247 cmd/ps \ 248 cmd/psradm \ 249 cmd/psrinfo \ 250 cmd/psrset \ 251 cmd/ptools \ 252 cmd/pwck \ 253 cmd/pwconv \ 254 cmd/ramdiskadm \ 255 cmd/raidctl \ 256 cmd/rcap \ 257 cmd/rcm_daemon \ 258 cmd/rctladm \ 259 cmd/renice \ 260 cmd/rm \ 261 cmd/rmdir \ 262 cmd/rmformat \ 263 cmd/rmt \ 264 cmd/roles \ 265 cmd/rpcgen \ 266 cmd/rpcsvc/rpc.bootparamd \ 267 cmd/runat \ 268 cmd/sbdadm \ 269 cmd/sdpadm \ 270 cmd/setpgrp \ 271 cmd/smbios \ 272 cmd/sgs \ 273 cmd/smbsrv \ 274 cmd/smserverd \ 275 cmd/sort \ 276 cmd/split \ 277 cmd/ssh \ 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/th_tools \ 294 cmd/tip \ 295 cmd/touch \ 296 cmd/truss \ 297 cmd/tty \ 298 cmd/tzreload \ 299 cmd/uadmin \ 300 cmd/ul \ 301 cmd/users \ 302 cmd/utmp_update \ 303 cmd/utmpd \ 304 cmd/valtools \ 305 cmd/vrrpadm \ 306 cmd/vt \ 307 cmd/wall \ 308 cmd/wbem \ 309 cmd/who \ 310 cmd/whodo \ 311 cmd/wracct \ 312 cmd/wusbadm \ 313 cmd/xargs \ 314 cmd/xstr \ 315 cmd/yes \ 316 cmd/yppasswd \ 317 cmd/zdb \ 318 cmd/zdump \ 319 cmd/zfs \ 320 cmd/zinject \ 321 cmd/zlogin \ 322 cmd/zoneadm \ 323 cmd/zoneadmd \ 324 cmd/zonecfg \ 325 cmd/zonename \ 326 cmd/zpool \ 327 cmd/zlook \ 328 cmd/ztest \ 329 lib/abi \ 330 lib/auditd_plugins \ 331 lib/brand/sn1 \ 332 lib/brand/solaris10 \ 333 lib/cfgadm_plugins/sdcard \ 334 lib/crypt_modules \ 335 lib/extendedFILE \ 336 lib/libadutils \ 337 lib/libadt_jni \ 338 lib/libaio \ 339 lib/libavl \ 340 lib/libbrand \ 341 lib/libbsdmalloc \ 342 lib/libbsm \ 343 lib/libc \ 344 lib/libc_db \ 345 lib/libcfgadm \ 346 lib/libcmdutils \ 347 lib/libcommputil \ 348 lib/libcontract \ 349 lib/libcryptoutil \ 350 lib/libctf \ 351 lib/libdevice \ 352 lib/libdevid \ 353 lib/libdevinfo \ 354 lib/libdhcpagent \ 355 lib/libdhcpdu \ 356 lib/libdhcpsvc \ 357 lib/libdhcputil \ 358 lib/libdisasm \ 359 lib/libdiskmgt \ 360 lib/libdladm \ 361 lib/libdlpi \ 362 lib/libdoor \ 363 lib/libdscfg \ 364 lib/libdtrace \ 365 lib/libefi \ 366 lib/libelfsign \ 367 lib/libexacct \ 368 lib/libfcoe \ 369 lib/libgen \ 370 lib/libgrubmgmt \ 371 lib/libgss \ 372 lib/libhotplug \ 373 lib/libidmap \ 374 lib/libilb \ 375 lib/libinetcfg \ 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/libmalloc \ 390 lib/libmapmalloc \ 391 lib/libmapid \ 392 lib/libmd \ 393 lib/libmp \ 394 lib/libmtmalloc \ 395 lib/libndmp \ 396 lib/libnsctl \ 397 lib/libnsl \ 398 lib/libnvpair \ 399 lib/libnwam \ 400 lib/libpam \ 401 lib/libpctx \ 402 lib/libpicl \ 403 lib/libpicltree \ 404 lib/libplot \ 405 lib/libpool \ 406 lib/libproc \ 407 lib/libpthread \ 408 lib/libraidcfg \ 409 lib/librcm \ 410 lib/librdc \ 411 lib/libreparse \ 412 lib/librestart \ 413 lib/librstp \ 414 lib/librt \ 415 lib/libscf \ 416 lib/libsec \ 417 lib/libsecdb \ 418 lib/libsendfile \ 419 lib/libsip \ 420 lib/libshare \ 421 lib/libsldap \ 422 lib/libslp \ 423 lib/libsmbfs \ 424 lib/libsmbios \ 425 lib/libsmedia \ 426 lib/libstmf \ 427 lib/libsun_ima \ 428 lib/libthread \ 429 lib/libtsnet \ 430 lib/libtsol \ 431 lib/libumem \ 432 lib/libunistat \ 433 lib/libuuid \ 434 lib/libuutil \ 435 lib/libvrrpadm \ 436 lib/libwanboot \ 437 lib/libwanbootutil \ 438 lib/libxnet \ 439 lib/libzfs \ 440 lib/libzfs_jni \ 441 lib/libzonecfg \ 442 lib/libzoneinfo \ 443 lib/lvm \ 444 lib/madv \ 445 lib/mms \ 446 lib/mpss \ 447 lib/nametoaddr \ 448 lib/ncad_addr \ 449 lib/nsswitch \ 450 lib/pam_modules \ 451 lib/passwdutil \ 452 lib/pkcs11 \ 453 lib/print \ 454 lib/raidcfg_plugins \ 455 lib/scsi \ 456 lib/smbsrv \ 457 lib/fm \ 458 lib/udapl \ 459 lib/watchmalloc \ 460 psm \ 461 ucbcmd/basename \ 462 ucbcmd/biff \ 463 ucbcmd/echo \ 464 ucbcmd/groups \ 465 ucbcmd/mkstr \ 466 ucbcmd/printenv \ 467 ucbcmd/sum \ 468 ucbcmd/test \ 469 ucbcmd/users \ 470 ucbcmd/whoami 471 472$(CLOSED_BUILD)COMMON_SUBDIRS += \ 473 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 474 $(CLOSED)/cmd/pax \ 475 $(CLOSED)/cmd/sed_xpg4 \ 476 $(CLOSED)/cmd/tail \ 477 $(CLOSED)/cmd/tr_xpg4 \ 478 $(CLOSED)/lib/libc_i18n 479 480i386_SUBDIRS= \ 481 cmd/acpihpd \ 482 cmd/biosdev \ 483 cmd/rtc \ 484 cmd/ucodeadm \ 485 lib/brand/lx \ 486 lib/cfgadm_plugins/sata \ 487 lib/cfgadm_plugins/sbd \ 488 lib/libfdisk 489 490sparc_SUBDIRS= \ 491 cmd/datadm \ 492 cmd/dcs \ 493 cmd/drd \ 494 cmd/fps \ 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 511$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 512 513LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 514 515.PARALLEL: $(LINTSUBDIRS) 516 517lint: uts .WAIT subdirs 518 519subdirs: $(LINTSUBDIRS) 520 521uts $(LINTSUBDIRS): FRC 522 @cd $@; pwd; $(MAKE) lint 523 524FRC: 525