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 2006 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/sbin \ 71 cmd/cmd-inet/usr.bin \ 72 cmd/cmd-inet/usr.lib/dsvclockd \ 73 cmd/cmd-inet/usr.lib/in.dhcpd \ 74 cmd/cmd-inet/usr.lib/in.mpathd \ 75 cmd/cmd-inet/usr.lib/in.ndpd \ 76 cmd/cmd-inet/usr.lib/inetd \ 77 cmd/cmd-inet/usr.lib/mipagent \ 78 cmd/cmd-inet/usr.lib/pppoe \ 79 cmd/cmd-inet/usr.lib/slpd \ 80 cmd/cmd-inet/usr.lib/wanboot \ 81 cmd/cmd-inet/usr.sadm \ 82 cmd/cmd-inet/usr.sbin \ 83 cmd/cmp \ 84 cmd/col \ 85 cmd/comm \ 86 cmd/compress \ 87 cmd/consadm \ 88 cmd/coreadm \ 89 cmd/cpc \ 90 cmd/crypt \ 91 cmd/csplit \ 92 cmd/ctrun \ 93 cmd/ctstat \ 94 cmd/ctwatch \ 95 cmd/cut \ 96 cmd/date \ 97 cmd/dd \ 98 cmd/deroff \ 99 cmd/devctl \ 100 cmd/devfsadm \ 101 cmd/devinfo \ 102 cmd/devmgmt \ 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/emul64ioctl \ 116 cmd/env \ 117 cmd/expand \ 118 cmd/fdetach \ 119 cmd/fdformat \ 120 cmd/fgrep \ 121 cmd/file \ 122 cmd/find \ 123 cmd/fmthard \ 124 cmd/fmtmsg \ 125 cmd/fold \ 126 cmd/fm \ 127 cmd/format \ 128 cmd/fs.d/fd \ 129 cmd/fs.d/lofs/mount \ 130 cmd/fs.d/mntfs \ 131 cmd/fs.d/pcfs/mount \ 132 cmd/fs.d/proc \ 133 cmd/fs.d/tmpfs \ 134 cmd/fs.d/udfs/mount \ 135 cmd/fs.d/ufs/mount \ 136 cmd/fs.d/ufs/fsirand\ 137 cmd/fs.d/zfs/fstyp \ 138 cmd/fuser \ 139 cmd/gcore \ 140 cmd/getconf \ 141 cmd/getdevpolicy \ 142 cmd/getfacl \ 143 cmd/getopt \ 144 cmd/gettext \ 145 cmd/grep \ 146 cmd/grep_xpg4 \ 147 cmd/groups \ 148 cmd/halt \ 149 cmd/head \ 150 cmd/hostid \ 151 cmd/hostname \ 152 cmd/init \ 153 cmd/intrstat \ 154 cmd/ipcrm \ 155 cmd/ipcs \ 156 cmd/isaexec \ 157 cmd/isalist \ 158 cmd/iscsi \ 159 cmd/join \ 160 cmd/kbd \ 161 cmd/killall \ 162 cmd/last \ 163 cmd/lastcomm \ 164 cmd/ldapcachemgr \ 165 cmd/line \ 166 cmd/link \ 167 cmd/locator \ 168 cmd/lockstat \ 169 cmd/lofiadm \ 170 cmd/logadm \ 171 cmd/logger \ 172 cmd/login \ 173 cmd/logins \ 174 cmd/logname \ 175 cmd/ls \ 176 cmd/lvm \ 177 cmd/machid \ 178 cmd/makekey \ 179 cmd/mdb \ 180 cmd/mesg \ 181 cmd/mkdir \ 182 cmd/mkfifo \ 183 cmd/mkfile \ 184 cmd/mkmsgs \ 185 cmd/mknod \ 186 cmd/msgfmt \ 187 cmd/msgid \ 188 cmd/mt \ 189 cmd/mv \ 190 cmd/newform \ 191 cmd/newgrp \ 192 cmd/newtask \ 193 cmd/nice \ 194 cmd/nispasswd \ 195 cmd/nl \ 196 cmd/nohup \ 197 cmd/nscd \ 198 cmd/pagesize \ 199 cmd/passwd \ 200 cmd/pathchk \ 201 cmd/pbind \ 202 cmd/pcidr \ 203 cmd/pfexec \ 204 cmd/pgrep \ 205 cmd/picl/picld \ 206 cmd/picl/prtpicl \ 207 cmd/plockstat \ 208 cmd/pools \ 209 cmd/ppgsz \ 210 cmd/praudit \ 211 cmd/prctl \ 212 cmd/priocntl \ 213 cmd/profiles \ 214 cmd/prstat \ 215 cmd/prtconf \ 216 cmd/prtdiag \ 217 cmd/prtvtoc \ 218 cmd/ps \ 219 cmd/psradm \ 220 cmd/psrinfo \ 221 cmd/psrset \ 222 cmd/ptools \ 223 cmd/pwck \ 224 cmd/pwconv \ 225 cmd/ramdiskadm \ 226 cmd/raidctl \ 227 cmd/rcap \ 228 cmd/rcm_daemon \ 229 cmd/rctladm \ 230 cmd/renice \ 231 cmd/rm \ 232 cmd/rmdir \ 233 cmd/rmformat \ 234 cmd/rmt \ 235 cmd/roles \ 236 cmd/rpcgen \ 237 cmd/rpcsvc/rpc.bootparamd \ 238 cmd/runat \ 239 cmd/setpgrp \ 240 cmd/smbios \ 241 cmd/smserverd \ 242 cmd/sort \ 243 cmd/split \ 244 cmd/ssh \ 245 cmd/stat \ 246 cmd/streams/strcmd \ 247 cmd/strings \ 248 cmd/su \ 249 cmd/sulogin \ 250 cmd/sum \ 251 cmd/svc \ 252 cmd/swap \ 253 cmd/sync \ 254 cmd/syseventadm \ 255 cmd/syseventd \ 256 cmd/syslogd \ 257 cmd/tabs \ 258 cmd/tee \ 259 cmd/th_tools \ 260 cmd/tip \ 261 cmd/touch \ 262 cmd/truss \ 263 cmd/tty \ 264 cmd/uadmin \ 265 cmd/ul \ 266 cmd/users \ 267 cmd/utmp_update \ 268 cmd/utmpd \ 269 cmd/valtools \ 270 cmd/wall \ 271 cmd/wbem \ 272 cmd/wc \ 273 cmd/who \ 274 cmd/whodo \ 275 cmd/wracct \ 276 cmd/xargs \ 277 cmd/xstr \ 278 cmd/yes \ 279 cmd/yppasswd \ 280 cmd/zdb \ 281 cmd/zdump \ 282 cmd/zfs \ 283 cmd/zinject \ 284 cmd/zlogin \ 285 cmd/zoneadm \ 286 cmd/zoneadmd \ 287 cmd/zonecfg \ 288 cmd/zonename \ 289 cmd/zpool \ 290 cmd/ztest \ 291 lib/abi \ 292 lib/auditd_plugins \ 293 lib/brand/sn1 \ 294 lib/crypt_modules \ 295 lib/extendedFILE \ 296 lib/libadt_jni \ 297 lib/libaio \ 298 lib/libavl \ 299 lib/libbrand \ 300 lib/libbsdmalloc \ 301 lib/libbsm \ 302 lib/libc \ 303 lib/libc_db \ 304 lib/libcfgadm \ 305 lib/libcmdutils \ 306 lib/libcontract \ 307 lib/libcryptoutil \ 308 lib/libctf \ 309 lib/libdevice \ 310 lib/libdevid \ 311 lib/libdevinfo \ 312 lib/libdhcpagent \ 313 lib/libdhcpdu \ 314 lib/libdhcpsvc \ 315 lib/libdhcputil \ 316 lib/libdisasm \ 317 lib/libdiskmgt \ 318 lib/libdladm \ 319 lib/libdlpi \ 320 lib/libdoor \ 321 lib/libdtrace \ 322 lib/libefi \ 323 lib/libexacct \ 324 lib/libgen \ 325 lib/libgss \ 326 lib/libinetcfg \ 327 lib/libinetsvc \ 328 lib/libinetutil \ 329 lib/libipmp \ 330 lib/libipp \ 331 lib/libipsecutil \ 332 lib/libkstat \ 333 lib/liblaadm \ 334 lib/liblgrp \ 335 lib/liblm \ 336 lib/libmacadm \ 337 lib/libmalloc \ 338 lib/libmapmalloc \ 339 lib/libmapid \ 340 lib/libmd \ 341 lib/libmp \ 342 lib/libmtmalloc \ 343 lib/libnsl \ 344 lib/libnvpair \ 345 lib/libpam \ 346 lib/libpctx \ 347 lib/libpicl \ 348 lib/libpicltree \ 349 lib/libplot \ 350 lib/libpool \ 351 lib/libproc \ 352 lib/libpthread \ 353 lib/librcm \ 354 lib/librestart \ 355 lib/librt \ 356 lib/libscf \ 357 lib/libsec \ 358 lib/libsecdb \ 359 lib/libsendfile \ 360 lib/libsldap \ 361 lib/libslp \ 362 lib/libsmbios \ 363 lib/libsmedia \ 364 lib/libthread \ 365 lib/libtsnet \ 366 lib/libtsol \ 367 lib/libumem \ 368 lib/libuutil \ 369 lib/libwanboot \ 370 lib/libwanbootutil \ 371 lib/libxnet \ 372 lib/libzfs \ 373 lib/libzfs_jni \ 374 lib/libzonecfg \ 375 lib/libzoneinfo \ 376 lib/lvm \ 377 lib/madv \ 378 lib/mpss \ 379 lib/nametoaddr \ 380 lib/ncad_addr \ 381 lib/nsswitch \ 382 lib/pam_modules \ 383 lib/passwdutil \ 384 lib/pkcs11 \ 385 lib/print \ 386 lib/fm \ 387 lib/udapl \ 388 lib/watchmalloc \ 389 psm \ 390 ucbcmd/basename \ 391 ucbcmd/biff \ 392 ucbcmd/echo \ 393 ucbcmd/groups \ 394 ucbcmd/mkstr \ 395 ucbcmd/printenv \ 396 ucbcmd/sum \ 397 ucbcmd/test \ 398 ucbcmd/users \ 399 ucbcmd/whoami 400 401$(CLOSED_BUILD)COMMON_SUBDIRS += \ 402 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 403 $(CLOSED)/cmd/pax \ 404 $(CLOSED)/cmd/pcitool \ 405 $(CLOSED)/cmd/sed_xpg4 \ 406 $(CLOSED)/cmd/smartcard \ 407 $(CLOSED)/cmd/tail \ 408 $(CLOSED)/cmd/tr \ 409 $(CLOSED)/lib/libc_i18n \ 410 $(CLOSED)/lib/libelfsign \ 411 $(CLOSED)/lib/smartcard 412 413i386_SUBDIRS= \ 414 cmd/biosdev \ 415 cmd/fs.d/xmemfs \ 416 cmd/rtc \ 417 lib/brand/lx \ 418 lib/cfgadm_plugins/sata 419 420sparc_SUBDIRS= \ 421 cmd/datadm \ 422 cmd/dcs \ 423 cmd/drd \ 424 cmd/fruadm \ 425 cmd/prtdscp \ 426 cmd/prtfru \ 427 cmd/sckmd \ 428 cmd/vntsd \ 429 cmd/wrsmconf \ 430 cmd/wrsmstat \ 431 lib/libdscp \ 432 lib/libwrsmconf \ 433 lib/wrsm \ 434 lib/libpcp \ 435 stand 436 437$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 438 439LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 440 441.PARALLEL: $(LINTSUBDIRS) 442 443lint: uts .WAIT subdirs 444 445subdirs: $(LINTSUBDIRS) 446 447uts $(LINTSUBDIRS): FRC 448 @cd $@; pwd; $(MAKE) lint 449 450FRC: 451