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