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/iscsi \ 176 cmd/iscsiadm \ 177 cmd/iscsid \ 178 cmd/iscsitsvc \ 179 cmd/isns \ 180 cmd/itadm \ 181 cmd/kbd \ 182 cmd/killall \ 183 cmd/last \ 184 cmd/lastcomm \ 185 cmd/ldapcachemgr \ 186 cmd/line \ 187 cmd/link \ 188 cmd/locator \ 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/makekey \ 200 cmd/mdb \ 201 cmd/mesg \ 202 cmd/mkdir \ 203 cmd/mkfifo \ 204 cmd/mkfile \ 205 cmd/mkmsgs \ 206 cmd/mknod \ 207 cmd/mms \ 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/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/latencytop \ 239 cmd/ppgsz \ 240 cmd/praudit \ 241 cmd/prctl \ 242 cmd/priocntl \ 243 cmd/profiles \ 244 cmd/prstat \ 245 cmd/prtconf \ 246 cmd/prtdiag \ 247 cmd/prtvtoc \ 248 cmd/ps \ 249 cmd/psradm \ 250 cmd/psrinfo \ 251 cmd/psrset \ 252 cmd/ptools \ 253 cmd/pwck \ 254 cmd/pwconv \ 255 cmd/ramdiskadm \ 256 cmd/raidctl \ 257 cmd/rcap \ 258 cmd/rcm_daemon \ 259 cmd/rctladm \ 260 cmd/renice \ 261 cmd/rm \ 262 cmd/rmdir \ 263 cmd/rmformat \ 264 cmd/rmt \ 265 cmd/roles \ 266 cmd/rpcgen \ 267 cmd/rpcsvc/rpc.bootparamd \ 268 cmd/runat \ 269 cmd/sbdadm \ 270 cmd/sdpadm \ 271 cmd/setpgrp \ 272 cmd/smbios \ 273 cmd/sgs \ 274 cmd/smbsrv \ 275 cmd/smserverd \ 276 cmd/sort \ 277 cmd/split \ 278 cmd/ssh \ 279 cmd/stat \ 280 cmd/stmfadm \ 281 cmd/stmfsvc \ 282 cmd/stmsboot \ 283 cmd/streams/strcmd \ 284 cmd/strings \ 285 cmd/su \ 286 cmd/sulogin \ 287 cmd/svc \ 288 cmd/swap \ 289 cmd/sync \ 290 cmd/syseventadm \ 291 cmd/syseventd \ 292 cmd/syslogd \ 293 cmd/tabs \ 294 cmd/th_tools \ 295 cmd/tip \ 296 cmd/touch \ 297 cmd/truss \ 298 cmd/tty \ 299 cmd/tzreload \ 300 cmd/uadmin \ 301 cmd/ul \ 302 cmd/users \ 303 cmd/utmp_update \ 304 cmd/utmpd \ 305 cmd/valtools \ 306 cmd/vrrpadm \ 307 cmd/vt \ 308 cmd/wall \ 309 cmd/wbem \ 310 cmd/who \ 311 cmd/whodo \ 312 cmd/wracct \ 313 cmd/wusbadm \ 314 cmd/xargs \ 315 cmd/xstr \ 316 cmd/yes \ 317 cmd/yppasswd \ 318 cmd/zdb \ 319 cmd/zdump \ 320 cmd/zfs \ 321 cmd/zinject \ 322 cmd/zlogin \ 323 cmd/zoneadm \ 324 cmd/zoneadmd \ 325 cmd/zonecfg \ 326 cmd/zonename \ 327 cmd/zpool \ 328 cmd/zlook \ 329 cmd/ztest \ 330 lib/abi \ 331 lib/auditd_plugins \ 332 lib/brand/native \ 333 lib/brand/sn1 \ 334 lib/brand/solaris10 \ 335 lib/cfgadm_plugins/sdcard \ 336 lib/crypt_modules \ 337 lib/extendedFILE \ 338 lib/libadutils \ 339 lib/libadt_jni \ 340 lib/libaio \ 341 lib/libavl \ 342 lib/libbrand \ 343 lib/libbsdmalloc \ 344 lib/libbsm \ 345 lib/libc \ 346 lib/libc_db \ 347 lib/libcfgadm \ 348 lib/libcmdutils \ 349 lib/libcommputil \ 350 lib/libcontract \ 351 lib/libcryptoutil \ 352 lib/libctf \ 353 lib/libdevice \ 354 lib/libdevid \ 355 lib/libdevinfo \ 356 lib/libdhcpagent \ 357 lib/libdhcpdu \ 358 lib/libdhcpsvc \ 359 lib/libdhcputil \ 360 lib/libdisasm \ 361 lib/libdiskmgt \ 362 lib/libdladm \ 363 lib/libdlpi \ 364 lib/libdoor \ 365 lib/libdscfg \ 366 lib/libdtrace \ 367 lib/libefi \ 368 lib/libelfsign \ 369 lib/libexacct \ 370 lib/libfcoe \ 371 lib/libgen \ 372 lib/libgrubmgmt \ 373 lib/libgss \ 374 lib/libhotplug \ 375 lib/libidmap \ 376 lib/libilb \ 377 lib/libinetcfg \ 378 lib/libinetsvc \ 379 lib/libinetutil \ 380 lib/libinstzones \ 381 lib/libipmi \ 382 lib/libipmp \ 383 lib/libipp \ 384 lib/libipsecutil \ 385 lib/libiscsit \ 386 lib/libiscsitgt \ 387 lib/libkmf \ 388 lib/libkstat \ 389 lib/liblgrp \ 390 lib/liblm \ 391 lib/libmalloc \ 392 lib/libmapmalloc \ 393 lib/libmapid \ 394 lib/libmd \ 395 lib/libmp \ 396 lib/libmtmalloc \ 397 lib/libndmp \ 398 lib/libnsctl \ 399 lib/libnsl \ 400 lib/libnvpair \ 401 lib/libnwam \ 402 lib/libpam \ 403 lib/libpctx \ 404 lib/libpicl \ 405 lib/libpicltree \ 406 lib/libplot \ 407 lib/libpool \ 408 lib/libproc \ 409 lib/libpthread \ 410 lib/libraidcfg \ 411 lib/librcm \ 412 lib/librdc \ 413 lib/libreparse \ 414 lib/librestart \ 415 lib/librstp \ 416 lib/librt \ 417 lib/libscf \ 418 lib/libsec \ 419 lib/libsecdb \ 420 lib/libsendfile \ 421 lib/libsip \ 422 lib/libshare \ 423 lib/libsldap \ 424 lib/libslp \ 425 lib/libsmbfs \ 426 lib/libsmbios \ 427 lib/libsmedia \ 428 lib/libstmf \ 429 lib/libsun_ima \ 430 lib/libthread \ 431 lib/libtsnet \ 432 lib/libtsol \ 433 lib/libumem \ 434 lib/libunistat \ 435 lib/libuuid \ 436 lib/libuutil \ 437 lib/libvrrpadm \ 438 lib/libwanboot \ 439 lib/libwanbootutil \ 440 lib/libxnet \ 441 lib/libzfs \ 442 lib/libzfs_jni \ 443 lib/libzonecfg \ 444 lib/libzoneinfo \ 445 lib/lvm \ 446 lib/madv \ 447 lib/mms \ 448 lib/mpss \ 449 lib/nametoaddr \ 450 lib/ncad_addr \ 451 lib/nsswitch \ 452 lib/pam_modules \ 453 lib/passwdutil \ 454 lib/pkcs11 \ 455 lib/print \ 456 lib/raidcfg_plugins \ 457 lib/scsi \ 458 lib/smbsrv \ 459 lib/fm \ 460 lib/udapl \ 461 lib/watchmalloc \ 462 psm \ 463 ucbcmd/basename \ 464 ucbcmd/biff \ 465 ucbcmd/echo \ 466 ucbcmd/groups \ 467 ucbcmd/mkstr \ 468 ucbcmd/printenv \ 469 ucbcmd/sum \ 470 ucbcmd/test \ 471 ucbcmd/users \ 472 ucbcmd/whoami 473 474$(CLOSED_BUILD)COMMON_SUBDIRS += \ 475 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 476 $(CLOSED)/cmd/pax \ 477 $(CLOSED)/cmd/sed_xpg4 \ 478 $(CLOSED)/cmd/tail \ 479 $(CLOSED)/cmd/tr_xpg4 \ 480 $(CLOSED)/lib/libc_i18n 481 482i386_SUBDIRS= \ 483 cmd/biosdev \ 484 cmd/rtc \ 485 cmd/ucodeadm \ 486 lib/brand/lx \ 487 lib/cfgadm_plugins/sata \ 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/vntsd \ 501 lib/libds \ 502 lib/libdscp \ 503 lib/libpri \ 504 lib/libpcp \ 505 lib/libtsalarm \ 506 lib/storage \ 507 stand 508 509$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 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