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 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright (c) 2012 by Delphix. All rights reserved.
  24 
  25 # include global definitions
  26 include Makefile.master
  27 
  28 #
  29 # As pieces are made lint-clean, add them here so the nightly build
  30 # can be used to keep them that way.
  31 #
  32 COMMON_SUBDIRS = \
  33         cmd/acctadm \
  34         cmd/asa \
  35         cmd/amt \
  36         cmd/audio/audioctl \
  37         cmd/audio/audiotest \
  38         cmd/audit \
  39         cmd/auditconfig \
  40         cmd/auditd \
  41         cmd/auditreduce \
  42         cmd/auditstat \
  43         cmd/auths \
  44         cmd/autopush \
  45         cmd/availdevs \
  46         cmd/avs \
  47         cmd/awk \
  48         cmd/banner \
  49         cmd/bart \
  50         cmd/basename \
  51         cmd/bdiff \
  52         cmd/bfs \
  53         cmd/busstat \
  54         cmd/boot \
  55         cmd/cal \
  56         cmd/captoinfo \
  57         cmd/cat \
  58         cmd/cdrw \
  59         cmd/cfgadm \
  60         cmd/checkeq \
  61         cmd/checknr \
  62         cmd/chgrp \
  63         cmd/chmod \
  64         cmd/chown \
  65         cmd/chroot \
  66         cmd/clinfo \
  67         cmd/cmd-crypto \
  68         cmd/cmd-inet/lib \
  69         cmd/cmd-inet/lib/netcfgd \
  70         cmd/cmd-inet/lib/nwamd \
  71         cmd/cmd-inet/sbin \
  72         cmd/cmd-inet/usr.bin \
  73         cmd/cmd-inet/usr.lib/bridged \
  74         cmd/cmd-inet/usr.lib/dsvclockd \
  75         cmd/cmd-inet/usr.lib/ilbd \
  76         cmd/cmd-inet/usr.lib/in.dhcpd \
  77         cmd/cmd-inet/usr.lib/in.mpathd \
  78         cmd/cmd-inet/usr.lib/in.ndpd \
  79         cmd/cmd-inet/usr.lib/inetd \
  80         cmd/cmd-inet/usr.lib/pppoe \
  81         cmd/cmd-inet/usr.lib/slpd \
  82         cmd/cmd-inet/usr.lib/vrrpd \
  83         cmd/cmd-inet/usr.lib/wpad \
  84         cmd/cmd-inet/usr.lib/wanboot \
  85         cmd/cmd-inet/usr.sadm \
  86         cmd/cmd-inet/usr.sbin \
  87         cmd/cmd-inet/usr.sbin/ilbadm \
  88         cmd/cmd-inet/usr.sbin/nwamadm \
  89         cmd/cmd-inet/usr.sbin/nwamcfg \
  90         cmd/col \
  91         cmd/compress \
  92         cmd/consadm \
  93         cmd/coreadm \
  94         cmd/cpc \
  95         cmd/cpio \
  96         cmd/crypt \
  97         cmd/csplit \
  98         cmd/ctrun \
  99         cmd/ctstat \
 100         cmd/ctwatch \
 101         cmd/date \
 102         cmd/dd \
 103         cmd/deroff \
 104         cmd/devctl \
 105         cmd/devfsadm \
 106         cmd/devinfo \
 107         cmd/devmgmt \
 108         cmd/devprop \
 109         cmd/dfs.cmds \
 110         cmd/diff3 \
 111         cmd/dis \
 112         cmd/dirname \
 113         cmd/diskscan \
 114         cmd/dispadmin \
 115         cmd/dladm \
 116         cmd/dlmgmtd \
 117         cmd/dtrace \
 118         cmd/du \
 119         cmd/dumpadm \
 120         cmd/dumpcs \
 121         cmd/echo \
 122         cmd/eject \
 123         cmd/emul64ioctl \
 124         cmd/env \
 125         cmd/expand \
 126         cmd/fcinfo \
 127         cmd/fdetach \
 128         cmd/fdformat \
 129         cmd/fdisk \
 130         cmd/fgrep \
 131         cmd/file \
 132         cmd/filebench \
 133         cmd/find \
 134         cmd/fmthard \
 135         cmd/fmtmsg \
 136         cmd/fold \
 137         cmd/fm \
 138         cmd/format \
 139         cmd/fs.d/fd \
 140         cmd/fs.d/lofs/mount \
 141         cmd/fs.d/mntfs \
 142         cmd/fs.d/pcfs/mount \
 143         cmd/fs.d/proc \
 144         cmd/fs.d/tmpfs \
 145         cmd/fs.d/udfs/mount \
 146         cmd/fs.d/ufs/mount \
 147         cmd/fs.d/ufs/fsirand\
 148         cmd/fs.d/zfs/fstyp \
 149         cmd/fwflash \
 150         cmd/fuser \
 151         cmd/gcore \
 152         cmd/genmsg \
 153         cmd/getconf \
 154         cmd/getdevpolicy \
 155         cmd/getfacl \
 156         cmd/getopt \
 157         cmd/gettext \
 158         cmd/grep \
 159         cmd/grep_xpg4 \
 160         cmd/groups \
 161         cmd/halt \
 162         cmd/head \
 163         cmd/hostid \
 164         cmd/hostname \
 165         cmd/hotplug \
 166         cmd/hotplugd \
 167         cmd/idmap \
 168         cmd/init \
 169         cmd/intrstat \
 170         cmd/ipcrm \
 171         cmd/ipcs \
 172         cmd/isaexec \
 173         cmd/isalist \
 174         cmd/iscsiadm \
 175         cmd/iscsid \
 176         cmd/iscsitsvc \
 177         cmd/isns \
 178         cmd/itadm \
 179         cmd/kbd \
 180         cmd/killall \
 181         cmd/ldap \
 182         cmd/last \
 183         cmd/lastcomm \
 184         cmd/ldapcachemgr \
 185         cmd/line \
 186         cmd/link \
 187         cmd/locator \
 188         cmd/localedef \
 189         cmd/lockstat \
 190         cmd/lofiadm \
 191         cmd/logadm \
 192         cmd/logger \
 193         cmd/login \
 194         cmd/logins \
 195         cmd/ls \
 196         cmd/luxadm \
 197         cmd/lvm \
 198         cmd/machid \
 199         cmd/makekey \
 200         cmd/mdb \
 201         cmd/mesg \
 202         cmd/mkdir \
 203         cmd/mkfifo \
 204         cmd/mkfile \
 205         cmd/mkmsgs \
 206         cmd/mknod \
 207         cmd/mpathadm \
 208         cmd/modload \
 209         cmd/msgfmt \
 210         cmd/msgid \
 211         cmd/mt \
 212         cmd/mv \
 213         cmd/ndmpadm \
 214         cmd/ndmpd \
 215         cmd/ndmpstat \
 216         cmd/newform \
 217         cmd/newgrp \
 218         cmd/newtask \
 219         cmd/nice \
 220         cmd/nl \
 221         cmd/nohup \
 222         cmd/nscd \
 223         cmd/od \
 224         cmd/pagesize \
 225         cmd/passwd \
 226         cmd/pathchk \
 227         cmd/pbind \
 228         cmd/pcidr \
 229         cmd/pcitool \
 230         cmd/pfexec \
 231         cmd/pgrep \
 232         cmd/picl/picld \
 233         cmd/picl/prtpicl \
 234         cmd/plockstat \
 235         cmd/pools \
 236         cmd/power \
 237         cmd/powertop \
 238         cmd/printf \
 239         cmd/latencytop \
 240         cmd/ppgsz \
 241         cmd/praudit \
 242         cmd/prctl \
 243         cmd/priocntl \
 244         cmd/profiles \
 245         cmd/prstat \
 246         cmd/prtconf \
 247         cmd/prtdiag \
 248         cmd/prtvtoc \
 249         cmd/ps \
 250         cmd/psradm \
 251         cmd/psrinfo \
 252         cmd/psrset \
 253         cmd/ptools \
 254         cmd/pwck \
 255         cmd/pwconv \
 256         cmd/ramdiskadm \
 257         cmd/raidctl \
 258         cmd/rcap \
 259         cmd/rcm_daemon \
 260         cmd/rctladm \
 261         cmd/renice \
 262         cmd/rm \
 263         cmd/rmdir \
 264         cmd/rmformat \
 265         cmd/rmt \
 266         cmd/roles \
 267         cmd/rpcgen \
 268         cmd/rpcsvc/rpc.bootparamd \
 269         cmd/runat \
 270         cmd/savecore \
 271         cmd/sbdadm \
 272         cmd/sdpadm \
 273         cmd/sed \
 274         cmd/setpgrp \
 275         cmd/smbios \
 276         cmd/sgs \
 277         cmd/smbsrv \
 278         cmd/smserverd \
 279         cmd/sort \
 280         cmd/split \
 281         cmd/srptadm \
 282         cmd/srptsvc \
 283         cmd/ssh \
 284         cmd/stat \
 285         cmd/stmfadm \
 286         cmd/stmfsvc \
 287         cmd/stmsboot \
 288         cmd/streams/strcmd \
 289         cmd/strings \
 290         cmd/su \
 291         cmd/sulogin \
 292         cmd/svc \
 293         cmd/swap \
 294         cmd/sync \
 295         cmd/syseventadm \
 296         cmd/syseventd \
 297         cmd/syslogd \
 298         cmd/tabs \
 299         cmd/tail \
 300         cmd/th_tools \
 301         cmd/tip \
 302         cmd/touch \
 303         cmd/tr \
 304         cmd/truss \
 305         cmd/tty \
 306         cmd/tzreload \
 307         cmd/uadmin \
 308         cmd/ul \
 309         cmd/userattr \
 310         cmd/users \
 311         cmd/utmp_update \
 312         cmd/utmpd \
 313         cmd/valtools \
 314         cmd/vrrpadm \
 315         cmd/vt \
 316         cmd/wall \
 317         cmd/who \
 318         cmd/whodo \
 319         cmd/wracct \
 320         cmd/wusbadm \
 321         cmd/xargs \
 322         cmd/xstr \
 323         cmd/yes \
 324         cmd/yppasswd \
 325         cmd/zdb \
 326         cmd/zdump \
 327         cmd/zfs \
 328         cmd/zhack \
 329         cmd/zinject \
 330         cmd/zlogin \
 331         cmd/zoneadm \
 332         cmd/zoneadmd \
 333         cmd/zonecfg \
 334         cmd/zonename \
 335         cmd/zpool \
 336         cmd/zlook \
 337         cmd/ztest \
 338         lib/abi \
 339         lib/auditd_plugins \
 340         lib/libbe \
 341         lib/pylibbe \
 342         lib/brand/sn1 \
 343         lib/brand/solaris10 \
 344         lib/crypt_modules \
 345         lib/extendedFILE \
 346         lib/libadm \
 347         lib/libadutils \
 348         lib/libadt_jni \
 349         lib/libaio \
 350         lib/libavl \
 351         lib/libbrand \
 352         lib/libbsdmalloc \
 353         lib/libbsm \
 354         lib/libc \
 355         lib/libc_db \
 356         lib/libcfgadm \
 357         lib/libcmdutils \
 358         lib/libcommputil \
 359         lib/libcontract \
 360         lib/libcryptoutil \
 361         lib/libctf \
 362         lib/libdevice \
 363         lib/libdevid \
 364         lib/libdevinfo \
 365         lib/libdhcpagent \
 366         lib/libdhcpdu \
 367         lib/libdhcpsvc \
 368         lib/libdhcputil \
 369         lib/libdisasm \
 370         lib/libdiskmgt \
 371         lib/libdladm \
 372         lib/libdlpi \
 373         lib/libdoor \
 374         lib/libdscfg \
 375         lib/libdtrace \
 376         lib/libefi \
 377         lib/libelfsign \
 378         lib/libexacct \
 379         lib/libfcoe \
 380         lib/libgen \
 381         lib/libgrubmgmt \
 382         lib/libgss \
 383         lib/libhotplug \
 384         lib/libidmap \
 385         lib/libilb \
 386         lib/libinetsvc \
 387         lib/libinetutil \
 388         lib/libinstzones \
 389         lib/libipadm \
 390         lib/libipmi \
 391         lib/libipmp \
 392         lib/libipp \
 393         lib/libipsecutil \
 394         lib/libiscsit \
 395         lib/libkmf \
 396         lib/libkstat \
 397         lib/liblgrp \
 398         lib/liblm \
 399         lib/libmalloc \
 400         lib/libmapmalloc \
 401         lib/libmapid \
 402         lib/libmd \
 403         lib/libmp \
 404         lib/libmtmalloc \
 405         lib/libndmp \
 406         lib/libnsctl \
 407         lib/libnsl \
 408         lib/libnvpair \
 409         lib/libnwam \
 410         lib/libpam \
 411         lib/libpctx \
 412         lib/libpicl \
 413         lib/libpicltree \
 414         lib/libpkg \
 415         lib/libpool \
 416         lib/libproc \
 417         lib/libpthread \
 418         lib/libraidcfg \
 419         lib/librcm \
 420         lib/librdc \
 421         lib/libreparse \
 422         lib/librestart \
 423         lib/librstp \
 424         lib/librt \
 425         lib/libscf \
 426         lib/libsec \
 427         lib/libsecdb \
 428         lib/libsendfile \
 429         lib/libsip \
 430         lib/libshare \
 431         lib/libsldap \
 432         lib/libslp \
 433         lib/libsmbfs \
 434         lib/libsmbios \
 435         lib/libsmedia \
 436         lib/libsrpt \
 437         lib/libstmf \
 438         lib/libsun_ima \
 439         lib/libsysevent \
 440         lib/libthread \
 441         lib/libtsnet \
 442         lib/libtsol \
 443         lib/libumem \
 444         lib/libunistat \
 445         lib/libuuid \
 446         lib/libuutil \
 447         lib/libvrrpadm \
 448         lib/libwanboot \
 449         lib/libwanbootutil \
 450         lib/libxnet \
 451         lib/libzfs \
 452         lib/libzfs_jni \
 453         lib/libzonecfg \
 454         lib/libzoneinfo \
 455         lib/lvm \
 456         lib/madv \
 457         lib/mpss \
 458         lib/nametoaddr \
 459         lib/ncad_addr \
 460         lib/nsswitch \
 461         lib/pam_modules \
 462         lib/passwdutil \
 463         lib/pkcs11 \
 464         lib/print \
 465         lib/raidcfg_plugins \
 466         lib/scsi \
 467         lib/smbsrv \
 468         lib/fm \
 469         lib/udapl \
 470         lib/watchmalloc \
 471         psm \
 472         test \
 473         ucbcmd/basename \
 474         ucbcmd/biff \
 475         ucbcmd/echo \
 476         ucbcmd/groups \
 477         ucbcmd/mkstr \
 478         ucbcmd/printenv \
 479         ucbcmd/sum \
 480         ucbcmd/test \
 481         ucbcmd/users \
 482         ucbcmd/whoami
 483 
 484 i386_SUBDIRS= \
 485         cmd/acpihpd \
 486         cmd/biosdev \
 487         cmd/rtc \
 488         cmd/ucodeadm \
 489         lib/brand/lx \
 490         lib/cfgadm_plugins/sata \
 491         lib/cfgadm_plugins/sbd \
 492         lib/libfdisk
 493 
 494 sparc_SUBDIRS= \
 495         cmd/datadm \
 496         cmd/dcs \
 497         cmd/drd \
 498         cmd/fruadm \
 499         cmd/ldmad \
 500         cmd/prtdscp \
 501         cmd/prtfru \
 502         cmd/sckmd \
 503         cmd/virtinfo \
 504         cmd/vntsd \
 505         lib/libds \
 506         lib/libdscp \
 507         lib/libpri \
 508         lib/libpcp \
 509         lib/libtsalarm \
 510         lib/libv12n \
 511         lib/storage \
 512         stand
 513 
 514 LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
 515 
 516 .PARALLEL:      $(LINTSUBDIRS)
 517 
 518 lint:           uts .WAIT subdirs
 519 
 520 subdirs:        $(LINTSUBDIRS)
 521 
 522 uts $(LINTSUBDIRS):     FRC
 523         @cd $@; pwd; $(MAKE) lint
 524 
 525 FRC: