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