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