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/fs.d/ufs/fsirand\ 135 cmd/fuser \ 136 cmd/gcore \ 137 cmd/getconf \ 138 cmd/getdevpolicy \ 139 cmd/getfacl \ 140 cmd/getopt \ 141 cmd/gettext \ 142 cmd/grep \ 143 cmd/grep_xpg4 \ 144 cmd/groups \ 145 cmd/halt \ 146 cmd/head \ 147 cmd/hostid \ 148 cmd/init \ 149 cmd/intrstat \ 150 cmd/ipcrm \ 151 cmd/ipcs \ 152 cmd/isaexec \ 153 cmd/isalist \ 154 cmd/join \ 155 cmd/kbd \ 156 cmd/killall \ 157 cmd/last \ 158 cmd/lastcomm \ 159 cmd/ldapcachemgr \ 160 cmd/line \ 161 cmd/link \ 162 cmd/locator \ 163 cmd/lockstat \ 164 cmd/lofiadm \ 165 cmd/logadm \ 166 cmd/logger \ 167 cmd/login \ 168 cmd/logins \ 169 cmd/logname \ 170 cmd/ls \ 171 cmd/lvm \ 172 cmd/machid \ 173 cmd/makekey \ 174 cmd/mdb \ 175 cmd/mesg \ 176 cmd/mkdir \ 177 cmd/mkfifo \ 178 cmd/mkfile \ 179 cmd/mkmsgs \ 180 cmd/mknod \ 181 cmd/msgfmt \ 182 cmd/msgid \ 183 cmd/mt \ 184 cmd/mv \ 185 cmd/newform \ 186 cmd/newtask \ 187 cmd/nice \ 188 cmd/nispasswd \ 189 cmd/nl \ 190 cmd/nohup \ 191 cmd/pagesize \ 192 cmd/passwd \ 193 cmd/pathchk \ 194 cmd/pax \ 195 cmd/pbind \ 196 cmd/pfexec \ 197 cmd/pgrep \ 198 cmd/picl/picld \ 199 cmd/picl/prtpicl \ 200 cmd/plockstat \ 201 cmd/pools \ 202 cmd/ppgsz \ 203 cmd/praudit \ 204 cmd/prctl \ 205 cmd/priocntl \ 206 cmd/profiles \ 207 cmd/prstat \ 208 cmd/prtconf \ 209 cmd/prtdiag \ 210 cmd/prtvtoc \ 211 cmd/ps \ 212 cmd/psradm \ 213 cmd/psrinfo \ 214 cmd/psrset \ 215 cmd/pt_chmod \ 216 cmd/ptools \ 217 cmd/pwck \ 218 cmd/ramdiskadm \ 219 cmd/rcap \ 220 cmd/rcm_daemon \ 221 cmd/rctladm \ 222 cmd/renice \ 223 cmd/rm \ 224 cmd/rmdir \ 225 cmd/rmformat \ 226 cmd/rmt \ 227 cmd/roles \ 228 cmd/rpcgen \ 229 cmd/rpcsvc/rpc.bootparamd \ 230 cmd/runat \ 231 cmd/sed_xpg4 \ 232 cmd/setpgrp \ 233 cmd/smartcard \ 234 cmd/smbios \ 235 cmd/smserverd \ 236 cmd/sort \ 237 cmd/split \ 238 cmd/ssh \ 239 cmd/stat \ 240 cmd/streams/strcmd \ 241 cmd/strings \ 242 cmd/su \ 243 cmd/sulogin \ 244 cmd/sum \ 245 cmd/svc \ 246 cmd/swap \ 247 cmd/sync \ 248 cmd/syseventadm \ 249 cmd/syseventd \ 250 cmd/tabs \ 251 cmd/tail \ 252 cmd/tee \ 253 cmd/th_tools \ 254 cmd/tip \ 255 cmd/touch \ 256 cmd/tr \ 257 cmd/truss \ 258 cmd/tty \ 259 cmd/uadmin \ 260 cmd/ul \ 261 cmd/users \ 262 cmd/utmp_update \ 263 cmd/utmpd \ 264 cmd/valtools \ 265 cmd/wall \ 266 cmd/wbem \ 267 cmd/wc \ 268 cmd/who \ 269 cmd/whodo \ 270 cmd/wracct \ 271 cmd/xargs \ 272 cmd/xstr \ 273 cmd/yes \ 274 cmd/yppasswd \ 275 cmd/zdump \ 276 cmd/zlogin \ 277 cmd/zoneadm \ 278 cmd/zoneadmd \ 279 cmd/zonecfg \ 280 cmd/zonename \ 281 lib/abi \ 282 lib/auditd_plugins \ 283 lib/crypt_modules \ 284 lib/libadt_jni \ 285 lib/libaio \ 286 lib/libavl \ 287 lib/libbsm \ 288 lib/libc \ 289 lib/libc_db \ 290 lib/libcfgadm \ 291 lib/libcmdutils \ 292 lib/libcontract \ 293 lib/libcryptoutil \ 294 lib/libctf \ 295 lib/libdevice \ 296 lib/libdevid \ 297 lib/libdevinfo \ 298 lib/libdhcpagent \ 299 lib/libdhcpdu \ 300 lib/libdhcpsvc \ 301 lib/libdhcputil \ 302 lib/libdiskmgt \ 303 lib/libdladm \ 304 lib/libdlpi \ 305 lib/libdoor \ 306 lib/libdtrace \ 307 lib/libefi \ 308 lib/libelfsign \ 309 lib/libexacct \ 310 lib/libgen \ 311 lib/libgss \ 312 lib/libinetcfg \ 313 lib/libinetutil \ 314 lib/libipmp \ 315 lib/libipp \ 316 lib/libipsecutil \ 317 lib/libkstat \ 318 lib/liblaadm \ 319 lib/liblgrp \ 320 lib/liblm \ 321 lib/libmacadm \ 322 lib/libmalloc \ 323 lib/libmd5 \ 324 lib/libmp \ 325 lib/libnsl \ 326 lib/libnvpair \ 327 lib/libpam \ 328 lib/libpctx \ 329 lib/libpicl \ 330 lib/libpicltree \ 331 lib/libplot \ 332 lib/libpool \ 333 lib/libproc \ 334 lib/libpthread \ 335 lib/librcm \ 336 lib/librestart \ 337 lib/librt \ 338 lib/libscf \ 339 lib/libsec \ 340 lib/libsecdb \ 341 lib/libsendfile \ 342 lib/libsldap \ 343 lib/libslp \ 344 lib/libsmbios \ 345 lib/libsmedia \ 346 lib/libthread \ 347 lib/libumem \ 348 lib/libuutil \ 349 lib/libwanboot \ 350 lib/libwanbootutil \ 351 lib/libxnet \ 352 lib/libzonecfg \ 353 lib/libzoneinfo \ 354 lib/lvm \ 355 lib/madv \ 356 lib/mpss \ 357 lib/nametoaddr \ 358 lib/ncad_addr \ 359 lib/pam_modules \ 360 lib/passwdutil \ 361 lib/pkcs11 \ 362 lib/smartcard \ 363 lib/fm \ 364 lib/udapl \ 365 psm \ 366 ucbcmd/basename \ 367 ucbcmd/biff \ 368 ucbcmd/echo \ 369 ucbcmd/groups \ 370 ucbcmd/mkstr \ 371 ucbcmd/printenv \ 372 ucbcmd/sum \ 373 ucbcmd/test \ 374 ucbcmd/users \ 375 ucbcmd/whoami 376 377i386_SUBDIRS= \ 378 cmd/biosdev \ 379 cmd/rtc \ 380 cmd/fs.d/xmemfs 381 382sparc_SUBDIRS= \ 383 cmd/datadm \ 384 cmd/dcs \ 385 cmd/fruadm \ 386 cmd/mtst \ 387 cmd/prtfru \ 388 cmd/raidctl \ 389 cmd/sckmd \ 390 cmd/wrsmconf \ 391 cmd/wrsmstat \ 392 lib/libwrsmconf \ 393 lib/wrsm \ 394 stand 395 396LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 397 398.PARALLEL: $(LINTSUBDIRS) 399 400lint: uts .WAIT subdirs 401 402subdirs: $(LINTSUBDIRS) 403 404uts $(LINTSUBDIRS): FRC 405 @cd $@; pwd; $(MAKE) lint 406 407FRC: 408