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