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/fwflash \ 143 cmd/fuser \ 144 cmd/gcore \ 145 cmd/genmsg \ 146 cmd/getconf \ 147 cmd/getdevpolicy \ 148 cmd/getfacl \ 149 cmd/getopt \ 150 cmd/gettext \ 151 cmd/grep \ 152 cmd/grep_xpg4 \ 153 cmd/groups \ 154 cmd/halt \ 155 cmd/head \ 156 cmd/hostid \ 157 cmd/hostname \ 158 cmd/idmap \ 159 cmd/init \ 160 cmd/intrstat \ 161 cmd/ipcrm \ 162 cmd/ipcs \ 163 cmd/isaexec \ 164 cmd/isalist \ 165 cmd/iscsi \ 166 cmd/join \ 167 cmd/kbd \ 168 cmd/killall \ 169 cmd/last \ 170 cmd/lastcomm \ 171 cmd/ldapcachemgr \ 172 cmd/line \ 173 cmd/link \ 174 cmd/dlmgmtd \ 175 cmd/locator \ 176 cmd/lockstat \ 177 cmd/lofiadm \ 178 cmd/logadm \ 179 cmd/logger \ 180 cmd/login \ 181 cmd/logins \ 182 cmd/logname \ 183 cmd/ls \ 184 cmd/lvm \ 185 cmd/machid \ 186 cmd/makekey \ 187 cmd/mdb \ 188 cmd/mesg \ 189 cmd/mkdir \ 190 cmd/mkfifo \ 191 cmd/mkfile \ 192 cmd/mkmsgs \ 193 cmd/mknod \ 194 cmd/msgfmt \ 195 cmd/msgid \ 196 cmd/mt \ 197 cmd/mv \ 198 cmd/newform \ 199 cmd/newgrp \ 200 cmd/newtask \ 201 cmd/nice \ 202 cmd/nispasswd \ 203 cmd/nl \ 204 cmd/nohup \ 205 cmd/nscd \ 206 cmd/pagesize \ 207 cmd/passwd \ 208 cmd/pathchk \ 209 cmd/pbind \ 210 cmd/pcidr \ 211 cmd/pfexec \ 212 cmd/pgrep \ 213 cmd/picl/picld \ 214 cmd/picl/prtpicl \ 215 cmd/plockstat \ 216 cmd/pools \ 217 cmd/power \ 218 cmd/ppgsz \ 219 cmd/praudit \ 220 cmd/prctl \ 221 cmd/priocntl \ 222 cmd/profiles \ 223 cmd/prstat \ 224 cmd/prtconf \ 225 cmd/prtdiag \ 226 cmd/prtvtoc \ 227 cmd/ps \ 228 cmd/psradm \ 229 cmd/psrinfo \ 230 cmd/psrset \ 231 cmd/ptools \ 232 cmd/pwck \ 233 cmd/pwconv \ 234 cmd/ramdiskadm \ 235 cmd/raidctl \ 236 cmd/rcap \ 237 cmd/rcm_daemon \ 238 cmd/rctladm \ 239 cmd/renice \ 240 cmd/rm \ 241 cmd/rmdir \ 242 cmd/rmformat \ 243 cmd/rmt \ 244 cmd/roles \ 245 cmd/rpcgen \ 246 cmd/rpcsvc/rpc.bootparamd \ 247 cmd/runat \ 248 cmd/sdpadm \ 249 cmd/setpgrp \ 250 cmd/smbios \ 251 cmd/sgs \ 252 cmd/smbsrv \ 253 cmd/smserverd \ 254 cmd/sort \ 255 cmd/split \ 256 cmd/ssh \ 257 cmd/stat \ 258 cmd/streams/strcmd \ 259 cmd/strings \ 260 cmd/su \ 261 cmd/sulogin \ 262 cmd/sum \ 263 cmd/svc \ 264 cmd/swap \ 265 cmd/sync \ 266 cmd/syseventadm \ 267 cmd/syseventd \ 268 cmd/syslogd \ 269 cmd/tabs \ 270 cmd/tee \ 271 cmd/th_tools \ 272 cmd/tip \ 273 cmd/touch \ 274 cmd/truss \ 275 cmd/tty \ 276 cmd/uadmin \ 277 cmd/ul \ 278 cmd/users \ 279 cmd/utmp_update \ 280 cmd/utmpd \ 281 cmd/valtools \ 282 cmd/vna \ 283 cmd/wall \ 284 cmd/wbem \ 285 cmd/wc \ 286 cmd/who \ 287 cmd/whodo \ 288 cmd/wracct \ 289 cmd/xargs \ 290 cmd/xstr \ 291 cmd/yes \ 292 cmd/yppasswd \ 293 cmd/zdb \ 294 cmd/zdump \ 295 cmd/zfs \ 296 cmd/zinject \ 297 cmd/zlogin \ 298 cmd/zoneadm \ 299 cmd/zoneadmd \ 300 cmd/zonecfg \ 301 cmd/zonename \ 302 cmd/zpool \ 303 cmd/ztest \ 304 lib/abi \ 305 lib/auditd_plugins \ 306 lib/brand/native \ 307 lib/brand/sn1 \ 308 lib/crypt_modules \ 309 lib/extendedFILE \ 310 lib/libadt_jni \ 311 lib/libaio \ 312 lib/libavl \ 313 lib/libbrand \ 314 lib/libbsdmalloc \ 315 lib/libbsm \ 316 lib/libc \ 317 lib/libc_db \ 318 lib/libcfgadm \ 319 lib/libcmdutils \ 320 lib/libcommputil \ 321 lib/libcontract \ 322 lib/libcryptoutil \ 323 lib/libctf \ 324 lib/libdevice \ 325 lib/libdevid \ 326 lib/libdevinfo \ 327 lib/libdhcpagent \ 328 lib/libdhcpdu \ 329 lib/libdhcpsvc \ 330 lib/libdhcputil \ 331 lib/libdisasm \ 332 lib/libdiskmgt \ 333 lib/libdladm \ 334 lib/libdlpi \ 335 lib/libdoor \ 336 lib/libdtrace \ 337 lib/libefi \ 338 lib/libelfsign \ 339 lib/libexacct \ 340 lib/libgen \ 341 lib/libgss \ 342 lib/libidmap \ 343 lib/libinetcfg \ 344 lib/libinetsvc \ 345 lib/libinetutil \ 346 lib/libipmi \ 347 lib/libipmp \ 348 lib/libipp \ 349 lib/libipsecutil \ 350 lib/libiscsitgt \ 351 lib/libkmf \ 352 lib/libkstat \ 353 lib/liblgrp \ 354 lib/liblm \ 355 lib/libmalloc \ 356 lib/libmapmalloc \ 357 lib/libmapid \ 358 lib/libmd \ 359 lib/libmp \ 360 lib/libmtmalloc \ 361 lib/libnsl \ 362 lib/libnvpair \ 363 lib/libpam \ 364 lib/libpctx \ 365 lib/libpicl \ 366 lib/libpicltree \ 367 lib/libplot \ 368 lib/libpool \ 369 lib/libproc \ 370 lib/libpthread \ 371 lib/libraidcfg \ 372 lib/librcm \ 373 lib/librestart \ 374 lib/librt \ 375 lib/libscf \ 376 lib/libsec \ 377 lib/libsecdb \ 378 lib/libsendfile \ 379 lib/libsip \ 380 lib/libshare \ 381 lib/libsldap \ 382 lib/libslp \ 383 lib/libsmbios \ 384 lib/libsmedia \ 385 lib/libthread \ 386 lib/libtsnet \ 387 lib/libtsol \ 388 lib/libumem \ 389 lib/libuuid \ 390 lib/libuutil \ 391 lib/libwanboot \ 392 lib/libwanbootutil \ 393 lib/libxnet \ 394 lib/libzfs \ 395 lib/libzfs_jni \ 396 lib/libzonecfg \ 397 lib/libzoneinfo \ 398 lib/lvm \ 399 lib/madv \ 400 lib/mpss \ 401 lib/nametoaddr \ 402 lib/ncad_addr \ 403 lib/nsswitch \ 404 lib/pam_modules \ 405 lib/passwdutil \ 406 lib/pkcs11 \ 407 lib/print \ 408 lib/raidcfg_plugins \ 409 lib/scsi \ 410 lib/smbsrv \ 411 lib/fm \ 412 lib/udapl \ 413 lib/watchmalloc \ 414 psm \ 415 ucbcmd/basename \ 416 ucbcmd/biff \ 417 ucbcmd/echo \ 418 ucbcmd/groups \ 419 ucbcmd/mkstr \ 420 ucbcmd/printenv \ 421 ucbcmd/sum \ 422 ucbcmd/test \ 423 ucbcmd/users \ 424 ucbcmd/whoami 425 426$(CLOSED_BUILD)COMMON_SUBDIRS += \ 427 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 428 $(CLOSED)/cmd/ndmpadm \ 429 $(CLOSED)/cmd/ndmpd \ 430 $(CLOSED)/cmd/ndmpstat \ 431 $(CLOSED)/cmd/pax \ 432 $(CLOSED)/cmd/pcitool \ 433 $(CLOSED)/cmd/sed_xpg4 \ 434 $(CLOSED)/cmd/smartcard \ 435 $(CLOSED)/cmd/tail \ 436 $(CLOSED)/cmd/tr_xpg4 \ 437 $(CLOSED)/lib/libc_i18n \ 438 $(CLOSED)/lib/libndmp \ 439 $(CLOSED)/lib/smartcard 440 441i386_SUBDIRS= \ 442 cmd/biosdev \ 443 cmd/rtc \ 444 cmd/ucodeadm \ 445 lib/brand/lx \ 446 lib/cfgadm_plugins/sata 447 448sparc_SUBDIRS= \ 449 cmd/datadm \ 450 cmd/dcs \ 451 cmd/drd \ 452 cmd/fps \ 453 cmd/fruadm \ 454 cmd/prtdscp \ 455 cmd/prtfru \ 456 cmd/sckmd \ 457 cmd/vntsd \ 458 lib/libdscp \ 459 lib/libpri \ 460 lib/libpcp \ 461 lib/libtsalarm \ 462 stand 463 464$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 465 466LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 467 468.PARALLEL: $(LINTSUBDIRS) 469 470lint: uts .WAIT subdirs 471 472subdirs: $(LINTSUBDIRS) 473 474uts $(LINTSUBDIRS): FRC 475 @cd $@; pwd; $(MAKE) lint 476 477FRC: 478