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/msgfmt \ 193 cmd/msgid \ 194 cmd/mt \ 195 cmd/mv \ 196 cmd/newform \ 197 cmd/newgrp \ 198 cmd/newtask \ 199 cmd/nice \ 200 cmd/nispasswd \ 201 cmd/nl \ 202 cmd/nohup \ 203 cmd/nscd \ 204 cmd/pagesize \ 205 cmd/passwd \ 206 cmd/pathchk \ 207 cmd/pbind \ 208 cmd/pcidr \ 209 cmd/pfexec \ 210 cmd/pgrep \ 211 cmd/picl/picld \ 212 cmd/picl/prtpicl \ 213 cmd/plockstat \ 214 cmd/pools \ 215 cmd/power \ 216 cmd/ppgsz \ 217 cmd/praudit \ 218 cmd/prctl \ 219 cmd/priocntl \ 220 cmd/profiles \ 221 cmd/prstat \ 222 cmd/prtconf \ 223 cmd/prtdiag \ 224 cmd/prtvtoc \ 225 cmd/ps \ 226 cmd/psradm \ 227 cmd/psrinfo \ 228 cmd/psrset \ 229 cmd/ptools \ 230 cmd/pwck \ 231 cmd/pwconv \ 232 cmd/ramdiskadm \ 233 cmd/raidctl \ 234 cmd/rcap \ 235 cmd/rcm_daemon \ 236 cmd/rctladm \ 237 cmd/renice \ 238 cmd/rm \ 239 cmd/rmdir \ 240 cmd/rmformat \ 241 cmd/rmt \ 242 cmd/roles \ 243 cmd/rpcgen \ 244 cmd/rpcsvc/rpc.bootparamd \ 245 cmd/runat \ 246 cmd/sdpadm \ 247 cmd/setpgrp \ 248 cmd/smbios \ 249 cmd/sgs \ 250 cmd/smbsrv \ 251 cmd/smserverd \ 252 cmd/sort \ 253 cmd/split \ 254 cmd/ssh \ 255 cmd/stat \ 256 cmd/streams/strcmd \ 257 cmd/strings \ 258 cmd/su \ 259 cmd/sulogin \ 260 cmd/sum \ 261 cmd/svc \ 262 cmd/swap \ 263 cmd/sync \ 264 cmd/syseventadm \ 265 cmd/syseventd \ 266 cmd/syslogd \ 267 cmd/tabs \ 268 cmd/tee \ 269 cmd/th_tools \ 270 cmd/tip \ 271 cmd/touch \ 272 cmd/truss \ 273 cmd/tty \ 274 cmd/uadmin \ 275 cmd/ul \ 276 cmd/users \ 277 cmd/utmp_update \ 278 cmd/utmpd \ 279 cmd/valtools \ 280 cmd/vna \ 281 cmd/wall \ 282 cmd/wbem \ 283 cmd/wc \ 284 cmd/who \ 285 cmd/whodo \ 286 cmd/wracct \ 287 cmd/xargs \ 288 cmd/xstr \ 289 cmd/yes \ 290 cmd/yppasswd \ 291 cmd/zdb \ 292 cmd/zdump \ 293 cmd/zfs \ 294 cmd/zinject \ 295 cmd/zlogin \ 296 cmd/zoneadm \ 297 cmd/zoneadmd \ 298 cmd/zonecfg \ 299 cmd/zonename \ 300 cmd/zpool \ 301 cmd/ztest \ 302 lib/abi \ 303 lib/auditd_plugins \ 304 lib/brand/native \ 305 lib/brand/sn1 \ 306 lib/cfgadm_plugins/sdcard \ 307 lib/crypt_modules \ 308 lib/extendedFILE \ 309 lib/libadt_jni \ 310 lib/libaio \ 311 lib/libavl \ 312 lib/libbrand \ 313 lib/libbsdmalloc \ 314 lib/libbsm \ 315 lib/libc \ 316 lib/libc_db \ 317 lib/libcfgadm \ 318 lib/libcmdutils \ 319 lib/libcommputil \ 320 lib/libcontract \ 321 lib/libcryptoutil \ 322 lib/libctf \ 323 lib/libdevice \ 324 lib/libdevid \ 325 lib/libdevinfo \ 326 lib/libdhcpagent \ 327 lib/libdhcpdu \ 328 lib/libdhcpsvc \ 329 lib/libdhcputil \ 330 lib/libdisasm \ 331 lib/libdiskmgt \ 332 lib/libdladm \ 333 lib/libdlpi \ 334 lib/libdoor \ 335 lib/libdtrace \ 336 lib/libefi \ 337 lib/libelfsign \ 338 lib/libexacct \ 339 lib/libgen \ 340 lib/libgss \ 341 lib/libidmap \ 342 lib/libinetcfg \ 343 lib/libinetsvc \ 344 lib/libinetutil \ 345 lib/libipmi \ 346 lib/libipmp \ 347 lib/libipp \ 348 lib/libipsecutil \ 349 lib/libiscsitgt \ 350 lib/libkmf \ 351 lib/libkstat \ 352 lib/liblgrp \ 353 lib/liblm \ 354 lib/libmalloc \ 355 lib/libmapmalloc \ 356 lib/libmapid \ 357 lib/libmd \ 358 lib/libmp \ 359 lib/libmtmalloc \ 360 lib/libnsl \ 361 lib/libnvpair \ 362 lib/libpam \ 363 lib/libpctx \ 364 lib/libpicl \ 365 lib/libpicltree \ 366 lib/libplot \ 367 lib/libpool \ 368 lib/libproc \ 369 lib/libpthread \ 370 lib/libraidcfg \ 371 lib/librcm \ 372 lib/librestart \ 373 lib/librt \ 374 lib/libscf \ 375 lib/libsec \ 376 lib/libsecdb \ 377 lib/libsendfile \ 378 lib/libsip \ 379 lib/libshare \ 380 lib/libsldap \ 381 lib/libslp \ 382 lib/libsmbios \ 383 lib/libsmedia \ 384 lib/libthread \ 385 lib/libtsnet \ 386 lib/libtsol \ 387 lib/libumem \ 388 lib/libuuid \ 389 lib/libuutil \ 390 lib/libwanboot \ 391 lib/libwanbootutil \ 392 lib/libxnet \ 393 lib/libzfs \ 394 lib/libzfs_jni \ 395 lib/libzonecfg \ 396 lib/libzoneinfo \ 397 lib/lvm \ 398 lib/madv \ 399 lib/mpss \ 400 lib/nametoaddr \ 401 lib/ncad_addr \ 402 lib/nsswitch \ 403 lib/pam_modules \ 404 lib/passwdutil \ 405 lib/pkcs11 \ 406 lib/print \ 407 lib/raidcfg_plugins \ 408 lib/scsi \ 409 lib/smbsrv \ 410 lib/fm \ 411 lib/udapl \ 412 lib/watchmalloc \ 413 psm \ 414 ucbcmd/basename \ 415 ucbcmd/biff \ 416 ucbcmd/echo \ 417 ucbcmd/groups \ 418 ucbcmd/mkstr \ 419 ucbcmd/printenv \ 420 ucbcmd/sum \ 421 ucbcmd/test \ 422 ucbcmd/users \ 423 ucbcmd/whoami 424 425$(CLOSED_BUILD)COMMON_SUBDIRS += \ 426 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 427 $(CLOSED)/cmd/ndmpadm \ 428 $(CLOSED)/cmd/ndmpd \ 429 $(CLOSED)/cmd/ndmpstat \ 430 $(CLOSED)/cmd/pax \ 431 $(CLOSED)/cmd/pcitool \ 432 $(CLOSED)/cmd/sed_xpg4 \ 433 $(CLOSED)/cmd/smartcard \ 434 $(CLOSED)/cmd/tail \ 435 $(CLOSED)/cmd/tr_xpg4 \ 436 $(CLOSED)/lib/libc_i18n \ 437 $(CLOSED)/lib/libndmp \ 438 $(CLOSED)/lib/smartcard 439 440i386_SUBDIRS= \ 441 cmd/biosdev \ 442 cmd/rtc \ 443 cmd/ucodeadm \ 444 lib/brand/lx \ 445 lib/cfgadm_plugins/sata 446 447sparc_SUBDIRS= \ 448 cmd/datadm \ 449 cmd/dcs \ 450 cmd/drd \ 451 cmd/fps \ 452 cmd/fruadm \ 453 cmd/prtdscp \ 454 cmd/prtfru \ 455 cmd/sckmd \ 456 cmd/vntsd \ 457 lib/libdscp \ 458 lib/libpri \ 459 lib/libpcp \ 460 lib/libtsalarm \ 461 stand 462 463$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 464 465LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 466 467.PARALLEL: $(LINTSUBDIRS) 468 469lint: uts .WAIT subdirs 470 471subdirs: $(LINTSUBDIRS) 472 473uts $(LINTSUBDIRS): FRC 474 @cd $@; pwd; $(MAKE) lint 475 476FRC: 477