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