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