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/dfs.cmds \ 105 cmd/diff3 \ 106 cmd/dis \ 107 cmd/dirname \ 108 cmd/diskscan \ 109 cmd/dispadmin \ 110 cmd/dladm \ 111 cmd/dtrace \ 112 cmd/du \ 113 cmd/dumpadm \ 114 cmd/dumpcs \ 115 cmd/echo \ 116 cmd/eject \ 117 cmd/emul64ioctl \ 118 cmd/env \ 119 cmd/expand \ 120 cmd/fdetach \ 121 cmd/fdformat \ 122 cmd/fgrep \ 123 cmd/file \ 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/fuser \ 141 cmd/gcore \ 142 cmd/genmsg \ 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/libcmdutils \ 312 lib/libcontract \ 313 lib/libcryptoutil \ 314 lib/libctf \ 315 lib/libdevice \ 316 lib/libdevid \ 317 lib/libdevinfo \ 318 lib/libdhcpagent \ 319 lib/libdhcpdu \ 320 lib/libdhcpsvc \ 321 lib/libdhcputil \ 322 lib/libdisasm \ 323 lib/libdiskmgt \ 324 lib/libdladm \ 325 lib/libdlpi \ 326 lib/libdoor \ 327 lib/libdtrace \ 328 lib/libefi \ 329 lib/libexacct \ 330 lib/libgen \ 331 lib/libgss \ 332 lib/libidmap \ 333 lib/libinetcfg \ 334 lib/libinetsvc \ 335 lib/libinetutil \ 336 lib/libipmi \ 337 lib/libipmp \ 338 lib/libipp \ 339 lib/libipsecutil \ 340 lib/libiscsitgt \ 341 lib/libkmf \ 342 lib/libkstat \ 343 lib/liblgrp \ 344 lib/liblm \ 345 lib/libmalloc \ 346 lib/libmapmalloc \ 347 lib/libmapid \ 348 lib/libmd \ 349 lib/libmp \ 350 lib/libmtmalloc \ 351 lib/libnsl \ 352 lib/libnvpair \ 353 lib/libpam \ 354 lib/libpctx \ 355 lib/libpicl \ 356 lib/libpicltree \ 357 lib/libplot \ 358 lib/libpool \ 359 lib/libproc \ 360 lib/libpthread \ 361 lib/libraidcfg \ 362 lib/librcm \ 363 lib/librestart \ 364 lib/librt \ 365 lib/libscf \ 366 lib/libsec \ 367 lib/libsecdb \ 368 lib/libsendfile \ 369 lib/libsip \ 370 lib/libshare \ 371 lib/libsldap \ 372 lib/libslp \ 373 lib/libsmbios \ 374 lib/libsmedia \ 375 lib/libthread \ 376 lib/libtsnet \ 377 lib/libtsol \ 378 lib/libumem \ 379 lib/libuutil \ 380 lib/libwanboot \ 381 lib/libwanbootutil \ 382 lib/libxnet \ 383 lib/libzfs \ 384 lib/libzfs_jni \ 385 lib/libzonecfg \ 386 lib/libzoneinfo \ 387 lib/lvm \ 388 lib/madv \ 389 lib/mpss \ 390 lib/nametoaddr \ 391 lib/ncad_addr \ 392 lib/nsswitch \ 393 lib/pam_modules \ 394 lib/passwdutil \ 395 lib/pkcs11 \ 396 lib/print \ 397 lib/raidcfg_plugins \ 398 lib/fm \ 399 lib/udapl \ 400 lib/watchmalloc \ 401 psm \ 402 ucbcmd/basename \ 403 ucbcmd/biff \ 404 ucbcmd/echo \ 405 ucbcmd/groups \ 406 ucbcmd/mkstr \ 407 ucbcmd/printenv \ 408 ucbcmd/sum \ 409 ucbcmd/test \ 410 ucbcmd/users \ 411 ucbcmd/whoami 412 413$(CLOSED_BUILD)COMMON_SUBDIRS += \ 414 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 415 $(CLOSED)/cmd/fwflash \ 416 $(CLOSED)/cmd/pax \ 417 $(CLOSED)/cmd/pcitool \ 418 $(CLOSED)/cmd/sed_xpg4 \ 419 $(CLOSED)/cmd/smartcard \ 420 $(CLOSED)/cmd/tail \ 421 $(CLOSED)/cmd/tr \ 422 $(CLOSED)/lib/libc_i18n \ 423 $(CLOSED)/lib/libelfsign \ 424 $(CLOSED)/lib/smartcard 425 426i386_SUBDIRS= \ 427 cmd/biosdev \ 428 cmd/rtc \ 429 cmd/ucodeadm \ 430 lib/brand/lx \ 431 lib/cfgadm_plugins/sata 432 433sparc_SUBDIRS= \ 434 cmd/datadm \ 435 cmd/dcs \ 436 cmd/drd \ 437 cmd/fruadm \ 438 cmd/prtdscp \ 439 cmd/prtfru \ 440 cmd/sckmd \ 441 cmd/vntsd \ 442 lib/libdscp \ 443 lib/libpri \ 444 lib/libpcp \ 445 lib/libtsalarm \ 446 stand 447 448$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 449 450LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 451 452.PARALLEL: $(LINTSUBDIRS) 453 454lint: uts .WAIT subdirs 455 456subdirs: $(LINTSUBDIRS) 457 458uts $(LINTSUBDIRS): FRC 459 @cd $@; pwd; $(MAKE) lint 460 461FRC: 462