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 27# include global definitions 28include Makefile.master 29 30# 31# As pieces are made lint-clean, add them here so the nightly build 32# can be used to keep them that way. 33# 34COMMON_SUBDIRS = \ 35 cmd/acctadm \ 36 cmd/asa \ 37 cmd/amt \ 38 cmd/audit \ 39 cmd/auditconfig \ 40 cmd/auditd \ 41 cmd/auditreduce \ 42 cmd/auditstat \ 43 cmd/auths \ 44 cmd/autopush \ 45 cmd/availdevs \ 46 cmd/awk \ 47 cmd/banner \ 48 cmd/bart \ 49 cmd/basename \ 50 cmd/bdiff \ 51 cmd/bfs \ 52 cmd/busstat \ 53 cmd/boot \ 54 cmd/cal \ 55 cmd/captoinfo \ 56 cmd/cat \ 57 cmd/cdrw \ 58 cmd/cfgadm \ 59 cmd/checkeq \ 60 cmd/checknr \ 61 cmd/chgrp \ 62 cmd/chmod \ 63 cmd/chown \ 64 cmd/chroot \ 65 cmd/cksum \ 66 cmd/clinfo \ 67 cmd/cmd-crypto \ 68 cmd/cmd-inet/lib \ 69 cmd/cmd-inet/sbin \ 70 cmd/cmd-inet/usr.bin \ 71 cmd/cmd-inet/usr.lib/dsvclockd \ 72 cmd/cmd-inet/usr.lib/in.dhcpd \ 73 cmd/cmd-inet/usr.lib/in.mpathd \ 74 cmd/cmd-inet/usr.lib/in.ndpd \ 75 cmd/cmd-inet/usr.lib/inetd \ 76 cmd/cmd-inet/usr.lib/pppoe \ 77 cmd/cmd-inet/usr.lib/slpd \ 78 cmd/cmd-inet/usr.lib/wpad \ 79 cmd/cmd-inet/usr.lib/wanboot \ 80 cmd/cmd-inet/usr.sadm \ 81 cmd/cmd-inet/usr.sbin \ 82 cmd/cmp \ 83 cmd/col \ 84 cmd/comm \ 85 cmd/compress \ 86 cmd/consadm \ 87 cmd/coreadm \ 88 cmd/cpc \ 89 cmd/crypt \ 90 cmd/csplit \ 91 cmd/ctrun \ 92 cmd/ctstat \ 93 cmd/ctwatch \ 94 cmd/cut \ 95 cmd/date \ 96 cmd/dd \ 97 cmd/deroff \ 98 cmd/devctl \ 99 cmd/devfsadm \ 100 cmd/devinfo \ 101 cmd/devmgmt \ 102 cmd/devprop \ 103 cmd/dfs.cmds \ 104 cmd/diff3 \ 105 cmd/dis \ 106 cmd/dirname \ 107 cmd/diskscan \ 108 cmd/dispadmin \ 109 cmd/dladm \ 110 cmd/dtrace \ 111 cmd/du \ 112 cmd/dumpadm \ 113 cmd/dumpcs \ 114 cmd/echo \ 115 cmd/eject \ 116 cmd/emul64ioctl \ 117 cmd/env \ 118 cmd/expand \ 119 cmd/fdetach \ 120 cmd/fdformat \ 121 cmd/fgrep \ 122 cmd/file \ 123 cmd/filebench \ 124 cmd/find \ 125 cmd/fmthard \ 126 cmd/fmtmsg \ 127 cmd/fold \ 128 cmd/fm \ 129 cmd/format \ 130 cmd/fs.d/fd \ 131 cmd/fs.d/lofs/mount \ 132 cmd/fs.d/mntfs \ 133 cmd/fs.d/pcfs/mount \ 134 cmd/fs.d/proc \ 135 cmd/fs.d/tmpfs \ 136 cmd/fs.d/udfs/mount \ 137 cmd/fs.d/ufs/mount \ 138 cmd/fs.d/ufs/fsirand\ 139 cmd/fs.d/zfs/fstyp \ 140 cmd/fwflash \ 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/dlmgmtd \ 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/mms \ 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/powertop \ 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/stmsboot \ 259 cmd/streams/strcmd \ 260 cmd/strings \ 261 cmd/su \ 262 cmd/sulogin \ 263 cmd/sum \ 264 cmd/svc \ 265 cmd/swap \ 266 cmd/sync \ 267 cmd/syseventadm \ 268 cmd/syseventd \ 269 cmd/syslogd \ 270 cmd/tabs \ 271 cmd/tee \ 272 cmd/th_tools \ 273 cmd/tip \ 274 cmd/touch \ 275 cmd/truss \ 276 cmd/tty \ 277 cmd/uadmin \ 278 cmd/ul \ 279 cmd/users \ 280 cmd/utmp_update \ 281 cmd/utmpd \ 282 cmd/valtools \ 283 cmd/vna \ 284 cmd/vt \ 285 cmd/wall \ 286 cmd/wbem \ 287 cmd/wc \ 288 cmd/who \ 289 cmd/whodo \ 290 cmd/wracct \ 291 cmd/xargs \ 292 cmd/xstr \ 293 cmd/yes \ 294 cmd/yppasswd \ 295 cmd/zdb \ 296 cmd/zdump \ 297 cmd/zfs \ 298 cmd/zinject \ 299 cmd/zlogin \ 300 cmd/zoneadm \ 301 cmd/zoneadmd \ 302 cmd/zonecfg \ 303 cmd/zonename \ 304 cmd/zpool \ 305 cmd/ztest \ 306 lib/abi \ 307 lib/auditd_plugins \ 308 lib/brand/native \ 309 lib/brand/sn1 \ 310 lib/cfgadm_plugins/sdcard \ 311 lib/crypt_modules \ 312 lib/extendedFILE \ 313 lib/libadt_jni \ 314 lib/libaio \ 315 lib/libavl \ 316 lib/libbrand \ 317 lib/libbsdmalloc \ 318 lib/libbsm \ 319 lib/libc \ 320 lib/libc_db \ 321 lib/libcfgadm \ 322 lib/libcmdutils \ 323 lib/libcommputil \ 324 lib/libcontract \ 325 lib/libcryptoutil \ 326 lib/libctf \ 327 lib/libdevice \ 328 lib/libdevid \ 329 lib/libdevinfo \ 330 lib/libdhcpagent \ 331 lib/libdhcpdu \ 332 lib/libdhcpsvc \ 333 lib/libdhcputil \ 334 lib/libdisasm \ 335 lib/libdiskmgt \ 336 lib/libdladm \ 337 lib/libdlpi \ 338 lib/libdoor \ 339 lib/libdtrace \ 340 lib/libefi \ 341 lib/libelfsign \ 342 lib/libexacct \ 343 lib/libgen \ 344 lib/libgss \ 345 lib/libidmap \ 346 lib/libinetcfg \ 347 lib/libinetsvc \ 348 lib/libinetutil \ 349 lib/libipmi \ 350 lib/libipmp \ 351 lib/libipp \ 352 lib/libipsecutil \ 353 lib/libiscsitgt \ 354 lib/libkmf \ 355 lib/libkstat \ 356 lib/liblgrp \ 357 lib/liblm \ 358 lib/libmalloc \ 359 lib/libmapmalloc \ 360 lib/libmapid \ 361 lib/libmd \ 362 lib/libmp \ 363 lib/libmtmalloc \ 364 lib/libnsl \ 365 lib/libnvpair \ 366 lib/libnwam \ 367 lib/libpam \ 368 lib/libpctx \ 369 lib/libpicl \ 370 lib/libpicltree \ 371 lib/libplot \ 372 lib/libpool \ 373 lib/libproc \ 374 lib/libpthread \ 375 lib/libraidcfg \ 376 lib/librcm \ 377 lib/librestart \ 378 lib/librt \ 379 lib/libscf \ 380 lib/libsec \ 381 lib/libsecdb \ 382 lib/libsendfile \ 383 lib/libsip \ 384 lib/libshare \ 385 lib/libsldap \ 386 lib/libslp \ 387 lib/libsmbios \ 388 lib/libsmedia \ 389 lib/libthread \ 390 lib/libtsnet \ 391 lib/libtsol \ 392 lib/libumem \ 393 lib/libuuid \ 394 lib/libuutil \ 395 lib/libwanboot \ 396 lib/libwanbootutil \ 397 lib/libxnet \ 398 lib/libzfs \ 399 lib/libzfs_jni \ 400 lib/libzonecfg \ 401 lib/libzoneinfo \ 402 lib/lvm \ 403 lib/madv \ 404 lib/mms \ 405 lib/mpss \ 406 lib/nametoaddr \ 407 lib/ncad_addr \ 408 lib/nsswitch \ 409 lib/openssl/libcrypto \ 410 lib/pam_modules \ 411 lib/passwdutil \ 412 lib/pkcs11 \ 413 lib/print \ 414 lib/raidcfg_plugins \ 415 lib/scsi \ 416 lib/smbsrv \ 417 lib/fm \ 418 lib/udapl \ 419 lib/watchmalloc \ 420 psm \ 421 ucbcmd/basename \ 422 ucbcmd/biff \ 423 ucbcmd/echo \ 424 ucbcmd/groups \ 425 ucbcmd/mkstr \ 426 ucbcmd/printenv \ 427 ucbcmd/sum \ 428 ucbcmd/test \ 429 ucbcmd/users \ 430 ucbcmd/whoami 431 432$(CLOSED_BUILD)COMMON_SUBDIRS += \ 433 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 434 $(CLOSED)/cmd/ndmpadm \ 435 $(CLOSED)/cmd/ndmpd \ 436 $(CLOSED)/cmd/ndmpstat \ 437 $(CLOSED)/cmd/pax \ 438 $(CLOSED)/cmd/pcitool \ 439 $(CLOSED)/cmd/sed_xpg4 \ 440 $(CLOSED)/cmd/smartcard \ 441 $(CLOSED)/cmd/tail \ 442 $(CLOSED)/cmd/tr_xpg4 \ 443 $(CLOSED)/lib/libc_i18n \ 444 $(CLOSED)/lib/libndmp \ 445 $(CLOSED)/lib/smartcard 446 447i386_SUBDIRS= \ 448 cmd/biosdev \ 449 cmd/rtc \ 450 cmd/ucodeadm \ 451 lib/brand/lx \ 452 lib/cfgadm_plugins/sata 453 454sparc_SUBDIRS= \ 455 cmd/datadm \ 456 cmd/dcs \ 457 cmd/drd \ 458 cmd/fps \ 459 cmd/fruadm \ 460 cmd/prtdscp \ 461 cmd/prtfru \ 462 cmd/sckmd \ 463 cmd/vntsd \ 464 lib/libdscp \ 465 lib/libpri \ 466 lib/libpcp \ 467 lib/libtsalarm \ 468 stand 469 470$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 471 472LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 473 474.PARALLEL: $(LINTSUBDIRS) 475 476lint: uts .WAIT subdirs 477 478subdirs: $(LINTSUBDIRS) 479 480uts $(LINTSUBDIRS): FRC 481 @cd $@; pwd; $(MAKE) lint 482 483FRC: 484