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