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