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/ppgsz \ 218 cmd/praudit \ 219 cmd/prctl \ 220 cmd/priocntl \ 221 cmd/profiles \ 222 cmd/prstat \ 223 cmd/prtconf \ 224 cmd/prtdiag \ 225 cmd/prtvtoc \ 226 cmd/ps \ 227 cmd/psradm \ 228 cmd/psrinfo \ 229 cmd/psrset \ 230 cmd/ptools \ 231 cmd/pwck \ 232 cmd/pwconv \ 233 cmd/ramdiskadm \ 234 cmd/raidctl \ 235 cmd/rcap \ 236 cmd/rcm_daemon \ 237 cmd/rctladm \ 238 cmd/renice \ 239 cmd/rm \ 240 cmd/rmdir \ 241 cmd/rmformat \ 242 cmd/rmt \ 243 cmd/roles \ 244 cmd/rpcgen \ 245 cmd/rpcsvc/rpc.bootparamd \ 246 cmd/runat \ 247 cmd/sdpadm \ 248 cmd/setpgrp \ 249 cmd/smbios \ 250 cmd/sgs \ 251 cmd/smbsrv \ 252 cmd/smserverd \ 253 cmd/sort \ 254 cmd/split \ 255 cmd/ssh \ 256 cmd/stat \ 257 cmd/stmsboot \ 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/cfgadm_plugins/sdcard \ 309 lib/crypt_modules \ 310 lib/extendedFILE \ 311 lib/libadt_jni \ 312 lib/libaio \ 313 lib/libavl \ 314 lib/libbrand \ 315 lib/libbsdmalloc \ 316 lib/libbsm \ 317 lib/libc \ 318 lib/libc_db \ 319 lib/libcfgadm \ 320 lib/libcmdutils \ 321 lib/libcommputil \ 322 lib/libcontract \ 323 lib/libcryptoutil \ 324 lib/libctf \ 325 lib/libdevice \ 326 lib/libdevid \ 327 lib/libdevinfo \ 328 lib/libdhcpagent \ 329 lib/libdhcpdu \ 330 lib/libdhcpsvc \ 331 lib/libdhcputil \ 332 lib/libdisasm \ 333 lib/libdiskmgt \ 334 lib/libdladm \ 335 lib/libdlpi \ 336 lib/libdoor \ 337 lib/libdtrace \ 338 lib/libefi \ 339 lib/libelfsign \ 340 lib/libexacct \ 341 lib/libgen \ 342 lib/libgss \ 343 lib/libidmap \ 344 lib/libinetcfg \ 345 lib/libinetsvc \ 346 lib/libinetutil \ 347 lib/libipmi \ 348 lib/libipmp \ 349 lib/libipp \ 350 lib/libipsecutil \ 351 lib/libiscsitgt \ 352 lib/libkmf \ 353 lib/libkstat \ 354 lib/liblgrp \ 355 lib/liblm \ 356 lib/libmalloc \ 357 lib/libmapmalloc \ 358 lib/libmapid \ 359 lib/libmd \ 360 lib/libmp \ 361 lib/libmtmalloc \ 362 lib/libnsl \ 363 lib/libnvpair \ 364 lib/libpam \ 365 lib/libpctx \ 366 lib/libpicl \ 367 lib/libpicltree \ 368 lib/libplot \ 369 lib/libpool \ 370 lib/libproc \ 371 lib/libpthread \ 372 lib/libraidcfg \ 373 lib/librcm \ 374 lib/librestart \ 375 lib/librt \ 376 lib/libscf \ 377 lib/libsec \ 378 lib/libsecdb \ 379 lib/libsendfile \ 380 lib/libsip \ 381 lib/libshare \ 382 lib/libsldap \ 383 lib/libslp \ 384 lib/libsmbios \ 385 lib/libsmedia \ 386 lib/libthread \ 387 lib/libtsnet \ 388 lib/libtsol \ 389 lib/libumem \ 390 lib/libuuid \ 391 lib/libuutil \ 392 lib/libwanboot \ 393 lib/libwanbootutil \ 394 lib/libxnet \ 395 lib/libzfs \ 396 lib/libzfs_jni \ 397 lib/libzonecfg \ 398 lib/libzoneinfo \ 399 lib/lvm \ 400 lib/madv \ 401 lib/mms \ 402 lib/mpss \ 403 lib/nametoaddr \ 404 lib/ncad_addr \ 405 lib/nsswitch \ 406 lib/openssl/libcrypto \ 407 lib/pam_modules \ 408 lib/passwdutil \ 409 lib/pkcs11 \ 410 lib/print \ 411 lib/raidcfg_plugins \ 412 lib/scsi \ 413 lib/smbsrv \ 414 lib/fm \ 415 lib/udapl \ 416 lib/watchmalloc \ 417 psm \ 418 ucbcmd/basename \ 419 ucbcmd/biff \ 420 ucbcmd/echo \ 421 ucbcmd/groups \ 422 ucbcmd/mkstr \ 423 ucbcmd/printenv \ 424 ucbcmd/sum \ 425 ucbcmd/test \ 426 ucbcmd/users \ 427 ucbcmd/whoami 428 429$(CLOSED_BUILD)COMMON_SUBDIRS += \ 430 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 431 $(CLOSED)/cmd/ndmpadm \ 432 $(CLOSED)/cmd/ndmpd \ 433 $(CLOSED)/cmd/ndmpstat \ 434 $(CLOSED)/cmd/pax \ 435 $(CLOSED)/cmd/pcitool \ 436 $(CLOSED)/cmd/sed_xpg4 \ 437 $(CLOSED)/cmd/smartcard \ 438 $(CLOSED)/cmd/tail \ 439 $(CLOSED)/cmd/tr_xpg4 \ 440 $(CLOSED)/lib/libc_i18n \ 441 $(CLOSED)/lib/libndmp \ 442 $(CLOSED)/lib/smartcard 443 444i386_SUBDIRS= \ 445 cmd/biosdev \ 446 cmd/rtc \ 447 cmd/ucodeadm \ 448 lib/brand/lx \ 449 lib/cfgadm_plugins/sata 450 451sparc_SUBDIRS= \ 452 cmd/datadm \ 453 cmd/dcs \ 454 cmd/drd \ 455 cmd/fps \ 456 cmd/fruadm \ 457 cmd/prtdscp \ 458 cmd/prtfru \ 459 cmd/sckmd \ 460 cmd/vntsd \ 461 lib/libdscp \ 462 lib/libpri \ 463 lib/libpcp \ 464 lib/libtsalarm \ 465 stand 466 467$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 468 469LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 470 471.PARALLEL: $(LINTSUBDIRS) 472 473lint: uts .WAIT subdirs 474 475subdirs: $(LINTSUBDIRS) 476 477uts $(LINTSUBDIRS): FRC 478 @cd $@; pwd; $(MAKE) lint 479 480FRC: 481