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/wall \ 285 cmd/wbem \ 286 cmd/wc \ 287 cmd/who \ 288 cmd/whodo \ 289 cmd/wracct \ 290 cmd/xargs \ 291 cmd/xstr \ 292 cmd/yes \ 293 cmd/yppasswd \ 294 cmd/zdb \ 295 cmd/zdump \ 296 cmd/zfs \ 297 cmd/zinject \ 298 cmd/zlogin \ 299 cmd/zoneadm \ 300 cmd/zoneadmd \ 301 cmd/zonecfg \ 302 cmd/zonename \ 303 cmd/zpool \ 304 cmd/ztest \ 305 lib/abi \ 306 lib/auditd_plugins \ 307 lib/brand/native \ 308 lib/brand/sn1 \ 309 lib/cfgadm_plugins/sdcard \ 310 lib/crypt_modules \ 311 lib/extendedFILE \ 312 lib/libadt_jni \ 313 lib/libaio \ 314 lib/libavl \ 315 lib/libbrand \ 316 lib/libbsdmalloc \ 317 lib/libbsm \ 318 lib/libc \ 319 lib/libc_db \ 320 lib/libcfgadm \ 321 lib/libcmdutils \ 322 lib/libcommputil \ 323 lib/libcontract \ 324 lib/libcryptoutil \ 325 lib/libctf \ 326 lib/libdevice \ 327 lib/libdevid \ 328 lib/libdevinfo \ 329 lib/libdhcpagent \ 330 lib/libdhcpdu \ 331 lib/libdhcpsvc \ 332 lib/libdhcputil \ 333 lib/libdisasm \ 334 lib/libdiskmgt \ 335 lib/libdladm \ 336 lib/libdlpi \ 337 lib/libdoor \ 338 lib/libdtrace \ 339 lib/libefi \ 340 lib/libelfsign \ 341 lib/libexacct \ 342 lib/libgen \ 343 lib/libgss \ 344 lib/libidmap \ 345 lib/libinetcfg \ 346 lib/libinetsvc \ 347 lib/libinetutil \ 348 lib/libipmi \ 349 lib/libipmp \ 350 lib/libipp \ 351 lib/libipsecutil \ 352 lib/libiscsitgt \ 353 lib/libkmf \ 354 lib/libkstat \ 355 lib/liblgrp \ 356 lib/liblm \ 357 lib/libmalloc \ 358 lib/libmapmalloc \ 359 lib/libmapid \ 360 lib/libmd \ 361 lib/libmp \ 362 lib/libmtmalloc \ 363 lib/libnsl \ 364 lib/libnvpair \ 365 lib/libnwam \ 366 lib/libpam \ 367 lib/libpctx \ 368 lib/libpicl \ 369 lib/libpicltree \ 370 lib/libplot \ 371 lib/libpool \ 372 lib/libproc \ 373 lib/libpthread \ 374 lib/libraidcfg \ 375 lib/librcm \ 376 lib/librestart \ 377 lib/librt \ 378 lib/libscf \ 379 lib/libsec \ 380 lib/libsecdb \ 381 lib/libsendfile \ 382 lib/libsip \ 383 lib/libshare \ 384 lib/libsldap \ 385 lib/libslp \ 386 lib/libsmbios \ 387 lib/libsmedia \ 388 lib/libthread \ 389 lib/libtsnet \ 390 lib/libtsol \ 391 lib/libumem \ 392 lib/libuuid \ 393 lib/libuutil \ 394 lib/libwanboot \ 395 lib/libwanbootutil \ 396 lib/libxnet \ 397 lib/libzfs \ 398 lib/libzfs_jni \ 399 lib/libzonecfg \ 400 lib/libzoneinfo \ 401 lib/lvm \ 402 lib/madv \ 403 lib/mms \ 404 lib/mpss \ 405 lib/nametoaddr \ 406 lib/ncad_addr \ 407 lib/nsswitch \ 408 lib/openssl/libcrypto \ 409 lib/pam_modules \ 410 lib/passwdutil \ 411 lib/pkcs11 \ 412 lib/print \ 413 lib/raidcfg_plugins \ 414 lib/scsi \ 415 lib/smbsrv \ 416 lib/fm \ 417 lib/udapl \ 418 lib/watchmalloc \ 419 psm \ 420 ucbcmd/basename \ 421 ucbcmd/biff \ 422 ucbcmd/echo \ 423 ucbcmd/groups \ 424 ucbcmd/mkstr \ 425 ucbcmd/printenv \ 426 ucbcmd/sum \ 427 ucbcmd/test \ 428 ucbcmd/users \ 429 ucbcmd/whoami 430 431$(CLOSED_BUILD)COMMON_SUBDIRS += \ 432 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 433 $(CLOSED)/cmd/ndmpadm \ 434 $(CLOSED)/cmd/ndmpd \ 435 $(CLOSED)/cmd/ndmpstat \ 436 $(CLOSED)/cmd/pax \ 437 $(CLOSED)/cmd/pcitool \ 438 $(CLOSED)/cmd/sed_xpg4 \ 439 $(CLOSED)/cmd/smartcard \ 440 $(CLOSED)/cmd/tail \ 441 $(CLOSED)/cmd/tr_xpg4 \ 442 $(CLOSED)/lib/libc_i18n \ 443 $(CLOSED)/lib/libndmp \ 444 $(CLOSED)/lib/smartcard 445 446i386_SUBDIRS= \ 447 cmd/biosdev \ 448 cmd/rtc \ 449 cmd/ucodeadm \ 450 lib/brand/lx \ 451 lib/cfgadm_plugins/sata 452 453sparc_SUBDIRS= \ 454 cmd/datadm \ 455 cmd/dcs \ 456 cmd/drd \ 457 cmd/fps \ 458 cmd/fruadm \ 459 cmd/prtdscp \ 460 cmd/prtfru \ 461 cmd/sckmd \ 462 cmd/vntsd \ 463 lib/libdscp \ 464 lib/libpri \ 465 lib/libpcp \ 466 lib/libtsalarm \ 467 stand 468 469$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 470 471LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 472 473.PARALLEL: $(LINTSUBDIRS) 474 475lint: uts .WAIT subdirs 476 477subdirs: $(LINTSUBDIRS) 478 479uts $(LINTSUBDIRS): FRC 480 @cd $@; pwd; $(MAKE) lint 481 482FRC: 483