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/inetd \ 76 cmd/cmd-inet/usr.lib/mipagent \ 77 cmd/cmd-inet/usr.lib/pppoe \ 78 cmd/cmd-inet/usr.lib/slpd \ 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/dfs.cmds \ 103 cmd/diff3 \ 104 cmd/dis \ 105 cmd/dirname \ 106 cmd/diskscan \ 107 cmd/dispadmin \ 108 cmd/dladm \ 109 cmd/dtrace \ 110 cmd/du \ 111 cmd/dumpadm \ 112 cmd/dumpcs \ 113 cmd/echo \ 114 cmd/emul64ioctl \ 115 cmd/env \ 116 cmd/expand \ 117 cmd/fdetach \ 118 cmd/fdformat \ 119 cmd/fgrep \ 120 cmd/file \ 121 cmd/find \ 122 cmd/fmthard \ 123 cmd/fmtmsg \ 124 cmd/fold \ 125 cmd/fm \ 126 cmd/format \ 127 cmd/fs.d/fd \ 128 cmd/fs.d/lofs/mount \ 129 cmd/fs.d/mntfs \ 130 cmd/fs.d/pcfs/mount \ 131 cmd/fs.d/proc \ 132 cmd/fs.d/tmpfs \ 133 cmd/fs.d/udfs/mount \ 134 cmd/fs.d/ufs/mount \ 135 cmd/fs.d/ufs/fsirand\ 136 cmd/fs.d/zfs/fstyp \ 137 cmd/fuser \ 138 cmd/gcore \ 139 cmd/getconf \ 140 cmd/getdevpolicy \ 141 cmd/getfacl \ 142 cmd/getopt \ 143 cmd/gettext \ 144 cmd/grep \ 145 cmd/grep_xpg4 \ 146 cmd/groups \ 147 cmd/halt \ 148 cmd/head \ 149 cmd/hostid \ 150 cmd/init \ 151 cmd/intrstat \ 152 cmd/ipcrm \ 153 cmd/ipcs \ 154 cmd/isaexec \ 155 cmd/isalist \ 156 cmd/join \ 157 cmd/kbd \ 158 cmd/killall \ 159 cmd/last \ 160 cmd/lastcomm \ 161 cmd/ldapcachemgr \ 162 cmd/line \ 163 cmd/link \ 164 cmd/locator \ 165 cmd/lockstat \ 166 cmd/lofiadm \ 167 cmd/logadm \ 168 cmd/logger \ 169 cmd/login \ 170 cmd/logins \ 171 cmd/logname \ 172 cmd/ls \ 173 cmd/lvm \ 174 cmd/machid \ 175 cmd/makekey \ 176 cmd/mdb \ 177 cmd/mesg \ 178 cmd/mkdir \ 179 cmd/mkfifo \ 180 cmd/mkfile \ 181 cmd/mkmsgs \ 182 cmd/mknod \ 183 cmd/msgfmt \ 184 cmd/msgid \ 185 cmd/mt \ 186 cmd/mv \ 187 cmd/newform \ 188 cmd/newtask \ 189 cmd/nice \ 190 cmd/nispasswd \ 191 cmd/nl \ 192 cmd/nohup \ 193 cmd/pagesize \ 194 cmd/passwd \ 195 cmd/pathchk \ 196 cmd/pbind \ 197 cmd/pcidr \ 198 cmd/pfexec \ 199 cmd/pgrep \ 200 cmd/picl/picld \ 201 cmd/picl/prtpicl \ 202 cmd/plockstat \ 203 cmd/pools \ 204 cmd/ppgsz \ 205 cmd/praudit \ 206 cmd/prctl \ 207 cmd/priocntl \ 208 cmd/profiles \ 209 cmd/prstat \ 210 cmd/prtconf \ 211 cmd/prtdiag \ 212 cmd/prtvtoc \ 213 cmd/ps \ 214 cmd/psradm \ 215 cmd/psrinfo \ 216 cmd/psrset \ 217 cmd/pt_chmod \ 218 cmd/ptools \ 219 cmd/pwck \ 220 cmd/pwconv \ 221 cmd/ramdiskadm \ 222 cmd/raidctl \ 223 cmd/rcap \ 224 cmd/rcm_daemon \ 225 cmd/rctladm \ 226 cmd/renice \ 227 cmd/rm \ 228 cmd/rmdir \ 229 cmd/rmformat \ 230 cmd/rmt \ 231 cmd/roles \ 232 cmd/rpcgen \ 233 cmd/rpcsvc/rpc.bootparamd \ 234 cmd/runat \ 235 cmd/setpgrp \ 236 cmd/smbios \ 237 cmd/smserverd \ 238 cmd/sort \ 239 cmd/split \ 240 cmd/ssh \ 241 cmd/stat \ 242 cmd/streams/strcmd \ 243 cmd/strings \ 244 cmd/su \ 245 cmd/sulogin \ 246 cmd/sum \ 247 cmd/svc \ 248 cmd/swap \ 249 cmd/sync \ 250 cmd/syseventadm \ 251 cmd/syseventd \ 252 cmd/tabs \ 253 cmd/tee \ 254 cmd/th_tools \ 255 cmd/tip \ 256 cmd/touch \ 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/zdb \ 276 cmd/zdump \ 277 cmd/zfs \ 278 cmd/zinject \ 279 cmd/zlogin \ 280 cmd/zoneadm \ 281 cmd/zoneadmd \ 282 cmd/zonecfg \ 283 cmd/zonename \ 284 cmd/zpool \ 285 cmd/ztest \ 286 lib/abi \ 287 lib/auditd_plugins \ 288 lib/crypt_modules \ 289 lib/libadt_jni \ 290 lib/libaio \ 291 lib/libavl \ 292 lib/libbsm \ 293 lib/libc \ 294 lib/libc_db \ 295 lib/libcfgadm \ 296 lib/libcmdutils \ 297 lib/libcontract \ 298 lib/libcryptoutil \ 299 lib/libctf \ 300 lib/libdevice \ 301 lib/libdevid \ 302 lib/libdevinfo \ 303 lib/libdhcpagent \ 304 lib/libdhcpdu \ 305 lib/libdhcpsvc \ 306 lib/libdhcputil \ 307 lib/libdisasm \ 308 lib/libdiskmgt \ 309 lib/libdladm \ 310 lib/libdlpi \ 311 lib/libdoor \ 312 lib/libdtrace \ 313 lib/libefi \ 314 lib/libexacct \ 315 lib/libgen \ 316 lib/libgss \ 317 lib/libinetcfg \ 318 lib/libinetsvc \ 319 lib/libinetutil \ 320 lib/libipmp \ 321 lib/libipp \ 322 lib/libipsecutil \ 323 lib/libkstat \ 324 lib/liblaadm \ 325 lib/liblgrp \ 326 lib/liblm \ 327 lib/libmacadm \ 328 lib/libmalloc \ 329 lib/libmd5 \ 330 lib/libmp \ 331 lib/libnsl \ 332 lib/libnvpair \ 333 lib/libpam \ 334 lib/libpctx \ 335 lib/libpicl \ 336 lib/libpicltree \ 337 lib/libplot \ 338 lib/libpool \ 339 lib/libproc \ 340 lib/libpthread \ 341 lib/librcm \ 342 lib/librestart \ 343 lib/librt \ 344 lib/libscf \ 345 lib/libsec \ 346 lib/libsecdb \ 347 lib/libsendfile \ 348 lib/libsldap \ 349 lib/libslp \ 350 lib/libsmbios \ 351 lib/libsmedia \ 352 lib/libthread \ 353 lib/libumem \ 354 lib/libuutil \ 355 lib/libwanboot \ 356 lib/libwanbootutil \ 357 lib/libxnet \ 358 lib/libzfs \ 359 lib/libzfs_jni \ 360 lib/libzonecfg \ 361 lib/libzoneinfo \ 362 lib/lvm \ 363 lib/madv \ 364 lib/mpss \ 365 lib/nametoaddr \ 366 lib/ncad_addr \ 367 lib/pam_modules \ 368 lib/passwdutil \ 369 lib/pkcs11 \ 370 lib/print \ 371 lib/fm \ 372 lib/udapl \ 373 psm \ 374 ucbcmd/basename \ 375 ucbcmd/biff \ 376 ucbcmd/echo \ 377 ucbcmd/groups \ 378 ucbcmd/mkstr \ 379 ucbcmd/printenv \ 380 ucbcmd/sum \ 381 ucbcmd/test \ 382 ucbcmd/users \ 383 ucbcmd/whoami 384 385$(CLOSED_BUILD)COMMON_SUBDIRS += \ 386 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 387 $(CLOSED)/cmd/pax \ 388 $(CLOSED)/cmd/sed_xpg4 \ 389 $(CLOSED)/cmd/smartcard \ 390 $(CLOSED)/cmd/tail \ 391 $(CLOSED)/cmd/tr \ 392 $(CLOSED)/lib/libc_i18n \ 393 $(CLOSED)/lib/libelfsign \ 394 $(CLOSED)/lib/smartcard 395 396i386_SUBDIRS= \ 397 cmd/biosdev \ 398 cmd/rtc \ 399 cmd/fs.d/xmemfs \ 400 lib/cfgadm_plugins/sata 401 402sparc_SUBDIRS= \ 403 cmd/datadm \ 404 cmd/dcs \ 405 cmd/fruadm \ 406 cmd/prtfru \ 407 cmd/sckmd \ 408 cmd/wrsmconf \ 409 cmd/wrsmstat \ 410 lib/libwrsmconf \ 411 lib/wrsm \ 412 lib/libpcp \ 413 stand 414 415$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 416 417LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 418 419.PARALLEL: $(LINTSUBDIRS) 420 421lint: uts .WAIT subdirs 422 423subdirs: $(LINTSUBDIRS) 424 425uts $(LINTSUBDIRS): FRC 426 @cd $@; pwd; $(MAKE) lint 427 428FRC: 429