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/msgfmt \ 203 cmd/msgid \ 204 cmd/mt \ 205 cmd/mv \ 206 cmd/ndmpadm \ 207 cmd/ndmpd \ 208 cmd/ndmpstat \ 209 cmd/newform \ 210 cmd/newgrp \ 211 cmd/newtask \ 212 cmd/nice \ 213 cmd/nispasswd \ 214 cmd/nl \ 215 cmd/nohup \ 216 cmd/nscd \ 217 cmd/pagesize \ 218 cmd/passwd \ 219 cmd/pathchk \ 220 cmd/pbind \ 221 cmd/pcidr \ 222 cmd/pfexec \ 223 cmd/pgrep \ 224 cmd/picl/picld \ 225 cmd/picl/prtpicl \ 226 cmd/plockstat \ 227 cmd/pools \ 228 cmd/power \ 229 cmd/powertop \ 230 cmd/ppgsz \ 231 cmd/praudit \ 232 cmd/prctl \ 233 cmd/priocntl \ 234 cmd/profiles \ 235 cmd/prstat \ 236 cmd/prtconf \ 237 cmd/prtdiag \ 238 cmd/prtvtoc \ 239 cmd/ps \ 240 cmd/psradm \ 241 cmd/psrinfo \ 242 cmd/psrset \ 243 cmd/ptools \ 244 cmd/pwck \ 245 cmd/pwconv \ 246 cmd/ramdiskadm \ 247 cmd/raidctl \ 248 cmd/rcap \ 249 cmd/rcm_daemon \ 250 cmd/rctladm \ 251 cmd/renice \ 252 cmd/rm \ 253 cmd/rmdir \ 254 cmd/rmformat \ 255 cmd/rmt \ 256 cmd/roles \ 257 cmd/rpcgen \ 258 cmd/rpcsvc/rpc.bootparamd \ 259 cmd/runat \ 260 cmd/sbdadm \ 261 cmd/sdpadm \ 262 cmd/setpgrp \ 263 cmd/smbios \ 264 cmd/sgs \ 265 cmd/smbsrv \ 266 cmd/smserverd \ 267 cmd/sort \ 268 cmd/split \ 269 cmd/ssh \ 270 cmd/stat \ 271 cmd/stmfadm \ 272 cmd/stmfsvc \ 273 cmd/stmsboot \ 274 cmd/streams/strcmd \ 275 cmd/strings \ 276 cmd/su \ 277 cmd/sulogin \ 278 cmd/svc \ 279 cmd/swap \ 280 cmd/sync \ 281 cmd/syseventadm \ 282 cmd/syseventd \ 283 cmd/syslogd \ 284 cmd/tabs \ 285 cmd/tee \ 286 cmd/th_tools \ 287 cmd/tip \ 288 cmd/touch \ 289 cmd/truss \ 290 cmd/tty \ 291 cmd/uadmin \ 292 cmd/ul \ 293 cmd/users \ 294 cmd/utmp_update \ 295 cmd/utmpd \ 296 cmd/valtools \ 297 cmd/vna \ 298 cmd/vt \ 299 cmd/wall \ 300 cmd/wbem \ 301 cmd/wc \ 302 cmd/who \ 303 cmd/whodo \ 304 cmd/wracct \ 305 cmd/xargs \ 306 cmd/xstr \ 307 cmd/yes \ 308 cmd/yppasswd \ 309 cmd/zdb \ 310 cmd/zdump \ 311 cmd/zfs \ 312 cmd/zinject \ 313 cmd/zlogin \ 314 cmd/zoneadm \ 315 cmd/zoneadmd \ 316 cmd/zonecfg \ 317 cmd/zonename \ 318 cmd/zpool \ 319 cmd/ztest \ 320 lib/abi \ 321 lib/auditd_plugins \ 322 lib/brand/native \ 323 lib/brand/sn1 \ 324 lib/cfgadm_plugins/sdcard \ 325 lib/crypt_modules \ 326 lib/extendedFILE \ 327 lib/libadutils \ 328 lib/libadt_jni \ 329 lib/libaio \ 330 lib/libavl \ 331 lib/libbrand \ 332 lib/libbsdmalloc \ 333 lib/libbsm \ 334 lib/libc \ 335 lib/libc_db \ 336 lib/libcfgadm \ 337 lib/libcmdutils \ 338 lib/libcommputil \ 339 lib/libcontract \ 340 lib/libcryptoutil \ 341 lib/libctf \ 342 lib/libdevice \ 343 lib/libdevid \ 344 lib/libdevinfo \ 345 lib/libdhcpagent \ 346 lib/libdhcpdu \ 347 lib/libdhcpsvc \ 348 lib/libdhcputil \ 349 lib/libdisasm \ 350 lib/libdiskmgt \ 351 lib/libdladm \ 352 lib/libdlpi \ 353 lib/libdoor \ 354 lib/libdscfg \ 355 lib/libdtrace \ 356 lib/libefi \ 357 lib/libelfsign \ 358 lib/libexacct \ 359 lib/libfcoe \ 360 lib/libgen \ 361 lib/libgrubmgmt \ 362 lib/libgss \ 363 lib/libidmap \ 364 lib/libinetcfg \ 365 lib/libinetsvc \ 366 lib/libinetutil \ 367 lib/libipmi \ 368 lib/libipmp \ 369 lib/libipp \ 370 lib/libipsecutil \ 371 lib/libiscsit \ 372 lib/libiscsitgt \ 373 lib/libkmf \ 374 lib/libkstat \ 375 lib/liblgrp \ 376 lib/liblm \ 377 lib/libmalloc \ 378 lib/libmapmalloc \ 379 lib/libmapid \ 380 lib/libmd \ 381 lib/libmp \ 382 lib/libmtmalloc \ 383 lib/libndmp \ 384 lib/libnsctl \ 385 lib/libnsl \ 386 lib/libnvpair \ 387 lib/libnwam \ 388 lib/libpam \ 389 lib/libpctx \ 390 lib/libpicl \ 391 lib/libpicltree \ 392 lib/libplot \ 393 lib/libpool \ 394 lib/libproc \ 395 lib/libpthread \ 396 lib/libraidcfg \ 397 lib/librcm \ 398 lib/librdc \ 399 lib/librestart \ 400 lib/librt \ 401 lib/libscf \ 402 lib/libsec \ 403 lib/libsecdb \ 404 lib/libsendfile \ 405 lib/libsip \ 406 lib/libshare \ 407 lib/libsldap \ 408 lib/libslp \ 409 lib/libsmbios \ 410 lib/libsmedia \ 411 lib/libstmf \ 412 lib/libsun_ima \ 413 lib/libthread \ 414 lib/libtsnet \ 415 lib/libtsol \ 416 lib/libumem \ 417 lib/libunistat \ 418 lib/libuuid \ 419 lib/libuutil \ 420 lib/libwanboot \ 421 lib/libwanbootutil \ 422 lib/libxnet \ 423 lib/libzfs \ 424 lib/libzfs_jni \ 425 lib/libzonecfg \ 426 lib/libzoneinfo \ 427 lib/lvm \ 428 lib/madv \ 429 lib/mms \ 430 lib/mpss \ 431 lib/nametoaddr \ 432 lib/ncad_addr \ 433 lib/nsswitch \ 434 lib/openssl/libcrypto \ 435 lib/pam_modules \ 436 lib/passwdutil \ 437 lib/pkcs11 \ 438 lib/print \ 439 lib/raidcfg_plugins \ 440 lib/scsi \ 441 lib/smbsrv \ 442 lib/fm \ 443 lib/udapl \ 444 lib/watchmalloc \ 445 psm \ 446 ucbcmd/basename \ 447 ucbcmd/biff \ 448 ucbcmd/echo \ 449 ucbcmd/groups \ 450 ucbcmd/mkstr \ 451 ucbcmd/printenv \ 452 ucbcmd/sum \ 453 ucbcmd/test \ 454 ucbcmd/users \ 455 ucbcmd/whoami 456 457$(CLOSED_BUILD)COMMON_SUBDIRS += \ 458 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 459 $(CLOSED)/cmd/pax \ 460 $(CLOSED)/cmd/pcitool \ 461 $(CLOSED)/cmd/sed_xpg4 \ 462 $(CLOSED)/cmd/smartcard \ 463 $(CLOSED)/cmd/tail \ 464 $(CLOSED)/cmd/tr_xpg4 \ 465 $(CLOSED)/lib/libc_i18n \ 466 $(CLOSED)/lib/smartcard 467 468i386_SUBDIRS= \ 469 cmd/biosdev \ 470 cmd/rtc \ 471 cmd/ucodeadm \ 472 lib/brand/lx \ 473 lib/cfgadm_plugins/sata 474 475sparc_SUBDIRS= \ 476 cmd/datadm \ 477 cmd/dcs \ 478 cmd/drd \ 479 cmd/fps \ 480 cmd/fruadm \ 481 cmd/prtdscp \ 482 cmd/prtfru \ 483 cmd/sckmd \ 484 cmd/vntsd \ 485 lib/libds \ 486 lib/libdscp \ 487 lib/libpri \ 488 lib/libpcp \ 489 lib/libtsalarm \ 490 lib/storage \ 491 stand 492 493$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 494 495LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 496 497.PARALLEL: $(LINTSUBDIRS) 498 499lint: uts .WAIT subdirs 500 501subdirs: $(LINTSUBDIRS) 502 503uts $(LINTSUBDIRS): FRC 504 @cd $@; pwd; $(MAKE) lint 505 506FRC: 507