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