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