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, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22 23# 24# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25# Use is subject to license terms. 26# 27# ident "%Z%%M% %I% %E% SMI" 28# 29 30# include global definitions 31include Makefile.master 32 33# 34# As pieces are made lint-clean, add them here so the nightly build 35# can be used to keep them that way. 36# 37COMMON_SUBDIRS = \ 38 cmd/acctadm \ 39 cmd/asa \ 40 cmd/amt \ 41 cmd/audit \ 42 cmd/auditconfig \ 43 cmd/auditd \ 44 cmd/auditreduce \ 45 cmd/auditstat \ 46 cmd/auths \ 47 cmd/autopush \ 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.iked \ 75 cmd/cmd-inet/usr.lib/in.mpathd \ 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/diskscan \ 106 cmd/dispadmin \ 107 cmd/dladm \ 108 cmd/dtrace \ 109 cmd/du \ 110 cmd/dumpadm \ 111 cmd/dumpcs \ 112 cmd/echo \ 113 cmd/emul64ioctl \ 114 cmd/env \ 115 cmd/expand \ 116 cmd/fdetach \ 117 cmd/fdformat \ 118 cmd/fgrep \ 119 cmd/file \ 120 cmd/find \ 121 cmd/fmthard \ 122 cmd/fmtmsg \ 123 cmd/fold \ 124 cmd/fm \ 125 cmd/format \ 126 cmd/fs.d/fd \ 127 cmd/fs.d/lofs/mount \ 128 cmd/fs.d/mntfs \ 129 cmd/fs.d/pcfs/mount \ 130 cmd/fs.d/proc \ 131 cmd/fs.d/tmpfs \ 132 cmd/fs.d/udfs/mount \ 133 cmd/fs.d/ufs/mount \ 134 cmd/fuser \ 135 cmd/gcore \ 136 cmd/getconf \ 137 cmd/getdevpolicy \ 138 cmd/getfacl \ 139 cmd/getopt \ 140 cmd/gettext \ 141 cmd/grep \ 142 cmd/grep_xpg4 \ 143 cmd/groups \ 144 cmd/halt \ 145 cmd/head \ 146 cmd/hostid \ 147 cmd/init \ 148 cmd/intrstat \ 149 cmd/ipcrm \ 150 cmd/ipcs \ 151 cmd/isaexec \ 152 cmd/isalist \ 153 cmd/join \ 154 cmd/kbd \ 155 cmd/killall \ 156 cmd/last \ 157 cmd/lastcomm \ 158 cmd/ldapcachemgr \ 159 cmd/line \ 160 cmd/link \ 161 cmd/locator \ 162 cmd/lockstat \ 163 cmd/lofiadm \ 164 cmd/logadm \ 165 cmd/logger \ 166 cmd/login \ 167 cmd/logins \ 168 cmd/logname \ 169 cmd/ls \ 170 cmd/lvm \ 171 cmd/machid \ 172 cmd/makekey \ 173 cmd/mdb \ 174 cmd/mesg \ 175 cmd/mkdir \ 176 cmd/mkfifo \ 177 cmd/mkfile \ 178 cmd/mkmsgs \ 179 cmd/mknod \ 180 cmd/msgfmt \ 181 cmd/msgid \ 182 cmd/mt \ 183 cmd/mv \ 184 cmd/newtask \ 185 cmd/nice \ 186 cmd/nispasswd \ 187 cmd/nl \ 188 cmd/nohup \ 189 cmd/pagesize \ 190 cmd/passwd \ 191 cmd/pathchk \ 192 cmd/pax \ 193 cmd/pbind \ 194 cmd/pfexec \ 195 cmd/pgrep \ 196 cmd/picl/picld \ 197 cmd/picl/prtpicl \ 198 cmd/plockstat \ 199 cmd/pools \ 200 cmd/ppgsz \ 201 cmd/praudit \ 202 cmd/prctl \ 203 cmd/priocntl \ 204 cmd/profiles \ 205 cmd/prstat \ 206 cmd/prtconf \ 207 cmd/prtdiag \ 208 cmd/prtvtoc \ 209 cmd/ps \ 210 cmd/psradm \ 211 cmd/psrinfo \ 212 cmd/psrset \ 213 cmd/pt_chmod \ 214 cmd/ptools \ 215 cmd/pwck \ 216 cmd/ramdiskadm \ 217 cmd/rcap \ 218 cmd/rcm_daemon \ 219 cmd/rctladm \ 220 cmd/renice \ 221 cmd/rm \ 222 cmd/rmdir \ 223 cmd/rmformat \ 224 cmd/rmt \ 225 cmd/roles \ 226 cmd/rpcgen \ 227 cmd/rpcsvc/rpc.bootparamd \ 228 cmd/runat \ 229 cmd/sed_xpg4 \ 230 cmd/smartcard \ 231 cmd/smserverd \ 232 cmd/sort \ 233 cmd/split \ 234 cmd/ssh \ 235 cmd/stat \ 236 cmd/strings \ 237 cmd/su \ 238 cmd/sulogin \ 239 cmd/sum \ 240 cmd/svc \ 241 cmd/swap \ 242 cmd/sync \ 243 cmd/syseventadm \ 244 cmd/syseventd \ 245 cmd/tail \ 246 cmd/tee \ 247 cmd/th_tools \ 248 cmd/touch \ 249 cmd/tr \ 250 cmd/truss \ 251 cmd/tty \ 252 cmd/uadmin \ 253 cmd/utmp_update \ 254 cmd/utmpd \ 255 cmd/valtools \ 256 cmd/wall \ 257 cmd/wbem \ 258 cmd/wc \ 259 cmd/who \ 260 cmd/whodo \ 261 cmd/wracct \ 262 cmd/xargs \ 263 cmd/yes \ 264 cmd/yppasswd \ 265 cmd/zdump \ 266 cmd/zlogin \ 267 cmd/zoneadm \ 268 cmd/zoneadmd \ 269 cmd/zonecfg \ 270 cmd/zonename \ 271 lib/abi \ 272 lib/auditd_plugins \ 273 lib/crypt_modules \ 274 lib/libadt_jni \ 275 lib/libaio \ 276 lib/libavl \ 277 lib/libbsm \ 278 lib/libc \ 279 lib/libc_db \ 280 lib/libcfgadm \ 281 lib/libcmdutils \ 282 lib/libcontract \ 283 lib/libcryptoutil \ 284 lib/libctf \ 285 lib/libdevice \ 286 lib/libdevid \ 287 lib/libdevinfo \ 288 lib/libdhcpagent \ 289 lib/libdhcpdu \ 290 lib/libdhcpsvc \ 291 lib/libdhcputil \ 292 lib/libdiskmgt \ 293 lib/libdladm \ 294 lib/libdlpi \ 295 lib/libdoor \ 296 lib/libdtrace \ 297 lib/libefi \ 298 lib/libelfsign \ 299 lib/libexacct \ 300 lib/libgen \ 301 lib/libgss \ 302 lib/libinetcfg \ 303 lib/libinetutil \ 304 lib/libipmp \ 305 lib/libipp \ 306 lib/libipsecutil \ 307 lib/libkstat \ 308 lib/liblaadm \ 309 lib/liblgrp \ 310 lib/liblm \ 311 lib/libmacadm \ 312 lib/libmalloc \ 313 lib/libmd5 \ 314 lib/libmp \ 315 lib/libnsl \ 316 lib/libnvpair \ 317 lib/libpam \ 318 lib/libpctx \ 319 lib/libpicl \ 320 lib/libpicltree \ 321 lib/libplot \ 322 lib/libpool \ 323 lib/libproc \ 324 lib/libpthread \ 325 lib/librcm \ 326 lib/librestart \ 327 lib/librt \ 328 lib/libscf \ 329 lib/libsec \ 330 lib/libsecdb \ 331 lib/libsendfile \ 332 lib/libsldap \ 333 lib/libslp \ 334 lib/libsmedia \ 335 lib/libthread \ 336 lib/libumem \ 337 lib/libuutil \ 338 lib/libwanboot \ 339 lib/libwanbootutil \ 340 lib/libxnet \ 341 lib/libzonecfg \ 342 lib/libzoneinfo \ 343 lib/lvm \ 344 lib/madv \ 345 lib/mpss \ 346 lib/nametoaddr \ 347 lib/ncad_addr \ 348 lib/pam_modules \ 349 lib/passwdutil \ 350 lib/pkcs11 \ 351 lib/smartcard \ 352 lib/fm \ 353 lib/udapl \ 354 psm \ 355 ucbcmd/basename \ 356 ucbcmd/biff \ 357 ucbcmd/echo \ 358 ucbcmd/groups \ 359 ucbcmd/mkstr \ 360 ucbcmd/printenv \ 361 ucbcmd/sum \ 362 ucbcmd/test \ 363 ucbcmd/users \ 364 ucbcmd/whoami 365 366i386_SUBDIRS= \ 367 cmd/biosdev \ 368 cmd/rtc \ 369 cmd/fs.d/xmemfs 370 371sparc_SUBDIRS= \ 372 cmd/datadm \ 373 cmd/dcs \ 374 cmd/fruadm \ 375 cmd/mtst \ 376 cmd/prtfru \ 377 cmd/raidctl \ 378 cmd/sckmd \ 379 cmd/wrsmconf \ 380 cmd/wrsmstat \ 381 lib/libwrsmconf \ 382 lib/wrsm \ 383 stand 384 385LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 386 387.PARALLEL: $(LINTSUBDIRS) 388 389lint: uts .WAIT subdirs 390 391subdirs: $(LINTSUBDIRS) 392 393uts $(LINTSUBDIRS): FRC 394 @cd $@; pwd; $(MAKE) lint 395 396FRC: 397