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/pt_chmod \ 221 cmd/ptools \ 222 cmd/pwck \ 223 cmd/pwconv \ 224 cmd/ramdiskadm \ 225 cmd/raidctl \ 226 cmd/rcap \ 227 cmd/rcm_daemon \ 228 cmd/rctladm \ 229 cmd/renice \ 230 cmd/rm \ 231 cmd/rmdir \ 232 cmd/rmformat \ 233 cmd/rmt \ 234 cmd/roles \ 235 cmd/rpcgen \ 236 cmd/rpcsvc/rpc.bootparamd \ 237 cmd/runat \ 238 cmd/setpgrp \ 239 cmd/smbios \ 240 cmd/smserverd \ 241 cmd/sort \ 242 cmd/split \ 243 cmd/ssh \ 244 cmd/stat \ 245 cmd/streams/strcmd \ 246 cmd/strings \ 247 cmd/su \ 248 cmd/sulogin \ 249 cmd/sum \ 250 cmd/svc \ 251 cmd/swap \ 252 cmd/sync \ 253 cmd/syseventadm \ 254 cmd/syseventd \ 255 cmd/syslogd \ 256 cmd/tabs \ 257 cmd/tee \ 258 cmd/th_tools \ 259 cmd/tip \ 260 cmd/touch \ 261 cmd/truss \ 262 cmd/tty \ 263 cmd/uadmin \ 264 cmd/ul \ 265 cmd/users \ 266 cmd/utmp_update \ 267 cmd/utmpd \ 268 cmd/valtools \ 269 cmd/wall \ 270 cmd/wbem \ 271 cmd/wc \ 272 cmd/who \ 273 cmd/whodo \ 274 cmd/wracct \ 275 cmd/xargs \ 276 cmd/xstr \ 277 cmd/yes \ 278 cmd/yppasswd \ 279 cmd/zdb \ 280 cmd/zdump \ 281 cmd/zfs \ 282 cmd/zinject \ 283 cmd/zlogin \ 284 cmd/zoneadm \ 285 cmd/zoneadmd \ 286 cmd/zonecfg \ 287 cmd/zonename \ 288 cmd/zpool \ 289 cmd/ztest \ 290 lib/abi \ 291 lib/auditd_plugins \ 292 lib/crypt_modules \ 293 lib/extendedFILE \ 294 lib/libadt_jni \ 295 lib/libaio \ 296 lib/libavl \ 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/libmapid \ 335 lib/libmd \ 336 lib/libmp \ 337 lib/libnsl \ 338 lib/libnvpair \ 339 lib/libpam \ 340 lib/libpctx \ 341 lib/libpicl \ 342 lib/libpicltree \ 343 lib/libplot \ 344 lib/libpool \ 345 lib/libproc \ 346 lib/libpthread \ 347 lib/librcm \ 348 lib/librestart \ 349 lib/librt \ 350 lib/libscf \ 351 lib/libsec \ 352 lib/libsecdb \ 353 lib/libsendfile \ 354 lib/libsldap \ 355 lib/libslp \ 356 lib/libsmbios \ 357 lib/libsmedia \ 358 lib/libthread \ 359 lib/libtsnet \ 360 lib/libtsol \ 361 lib/libumem \ 362 lib/libuutil \ 363 lib/libwanboot \ 364 lib/libwanbootutil \ 365 lib/libxnet \ 366 lib/libzfs \ 367 lib/libzfs_jni \ 368 lib/libzonecfg \ 369 lib/libzoneinfo \ 370 lib/lvm \ 371 lib/madv \ 372 lib/mpss \ 373 lib/nametoaddr \ 374 lib/ncad_addr \ 375 lib/pam_modules \ 376 lib/passwdutil \ 377 lib/pkcs11 \ 378 lib/print \ 379 lib/fm \ 380 lib/udapl \ 381 psm \ 382 ucbcmd/basename \ 383 ucbcmd/biff \ 384 ucbcmd/echo \ 385 ucbcmd/groups \ 386 ucbcmd/mkstr \ 387 ucbcmd/printenv \ 388 ucbcmd/sum \ 389 ucbcmd/test \ 390 ucbcmd/users \ 391 ucbcmd/whoami 392 393$(CLOSED_BUILD)COMMON_SUBDIRS += \ 394 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \ 395 $(CLOSED)/cmd/pax \ 396 $(CLOSED)/cmd/pcitool \ 397 $(CLOSED)/cmd/sed_xpg4 \ 398 $(CLOSED)/cmd/smartcard \ 399 $(CLOSED)/cmd/tail \ 400 $(CLOSED)/cmd/tr \ 401 $(CLOSED)/lib/libc_i18n \ 402 $(CLOSED)/lib/libelfsign \ 403 $(CLOSED)/lib/smartcard 404 405i386_SUBDIRS= \ 406 cmd/biosdev \ 407 cmd/rtc \ 408 cmd/fs.d/xmemfs \ 409 lib/cfgadm_plugins/sata 410 411sparc_SUBDIRS= \ 412 cmd/datadm \ 413 cmd/dcs \ 414 cmd/drd \ 415 cmd/fruadm \ 416 cmd/prtdscp \ 417 cmd/prtfru \ 418 cmd/sckmd \ 419 cmd/wrsmconf \ 420 cmd/wrsmstat \ 421 lib/libdscp \ 422 lib/libwrsmconf \ 423 lib/wrsm \ 424 lib/libpcp \ 425 stand 426 427$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst 428 429LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 430 431.PARALLEL: $(LINTSUBDIRS) 432 433lint: uts .WAIT subdirs 434 435subdirs: $(LINTSUBDIRS) 436 437uts $(LINTSUBDIRS): FRC 438 @cd $@; pwd; $(MAKE) lint 439 440FRC: 441