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