xref: /titanic_50/usr/src/Makefile.lint (revision 71be8d8f808a6f8b1a1bbb502fb01c7ccdb8512d)
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/bridged \
75	cmd/cmd-inet/usr.lib/dsvclockd \
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/wpad \
83	cmd/cmd-inet/usr.lib/wanboot \
84	cmd/cmd-inet/usr.sadm \
85	cmd/cmd-inet/usr.sbin \
86	cmd/cmp \
87	cmd/col \
88	cmd/comm \
89	cmd/compress \
90	cmd/consadm \
91	cmd/coreadm \
92	cmd/cpc \
93	cmd/cpio \
94	cmd/crypt \
95	cmd/csplit \
96	cmd/ctrun \
97	cmd/ctstat \
98	cmd/ctwatch \
99	cmd/cut \
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/fgrep \
129	cmd/file \
130	cmd/filebench \
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/grep_xpg4 \
158	cmd/groups \
159	cmd/halt \
160	cmd/head \
161	cmd/hostid \
162	cmd/hostname \
163	cmd/idmap \
164	cmd/init \
165	cmd/intrstat \
166	cmd/ipcrm \
167	cmd/ipcs \
168	cmd/isaexec \
169	cmd/isalist \
170	cmd/iscsi \
171	cmd/iscsiadm \
172	cmd/iscsid \
173	cmd/iscsitsvc \
174	cmd/isns \
175	cmd/itadm \
176	cmd/join \
177	cmd/kbd \
178	cmd/killall \
179	cmd/last \
180	cmd/lastcomm \
181	cmd/ldapcachemgr \
182	cmd/line \
183	cmd/link \
184	cmd/locator \
185	cmd/lockstat \
186	cmd/lofiadm \
187	cmd/logadm \
188	cmd/logger \
189	cmd/login \
190	cmd/logins \
191	cmd/logname \
192	cmd/ls \
193	cmd/luxadm \
194	cmd/lvm \
195	cmd/machid \
196	cmd/makekey \
197	cmd/mdb \
198	cmd/mesg \
199	cmd/mkdir \
200	cmd/mkfifo \
201	cmd/mkfile \
202	cmd/mkmsgs \
203	cmd/mknod \
204	cmd/mms	\
205	cmd/mpathadm \
206	cmd/modload \
207	cmd/msgfmt \
208	cmd/msgid \
209	cmd/mt \
210	cmd/mv \
211	cmd/ndmpadm \
212	cmd/ndmpd \
213	cmd/ndmpstat \
214	cmd/newform \
215	cmd/newgrp \
216	cmd/newtask \
217	cmd/nice \
218	cmd/nispasswd \
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/latencytop \
237	cmd/ppgsz \
238	cmd/praudit \
239	cmd/prctl \
240	cmd/priocntl \
241	cmd/profiles \
242	cmd/prstat \
243	cmd/prtconf \
244	cmd/prtdiag \
245	cmd/prtvtoc \
246	cmd/ps \
247	cmd/psradm \
248	cmd/psrinfo \
249	cmd/psrset \
250	cmd/ptools \
251	cmd/pwck \
252	cmd/pwconv \
253	cmd/ramdiskadm \
254	cmd/raidctl \
255	cmd/rcap \
256	cmd/rcm_daemon \
257	cmd/rctladm \
258	cmd/renice \
259	cmd/rm \
260	cmd/rmdir \
261	cmd/rmformat \
262	cmd/rmt \
263	cmd/roles \
264	cmd/rpcgen \
265	cmd/rpcsvc/rpc.bootparamd \
266	cmd/runat \
267	cmd/sbdadm \
268	cmd/sdpadm \
269	cmd/setpgrp \
270	cmd/smbios \
271	cmd/sgs \
272	cmd/smbsrv \
273	cmd/smserverd \
274	cmd/sort \
275	cmd/split \
276	cmd/ssh \
277	cmd/stat \
278	cmd/stmfadm \
279	cmd/stmfsvc \
280	cmd/stmsboot \
281	cmd/streams/strcmd \
282	cmd/strings \
283	cmd/su \
284	cmd/sulogin \
285	cmd/svc \
286	cmd/swap \
287	cmd/sync \
288	cmd/syseventadm \
289	cmd/syseventd \
290	cmd/syslogd \
291	cmd/tabs \
292	cmd/tee \
293	cmd/th_tools \
294	cmd/tip \
295	cmd/touch \
296	cmd/truss \
297	cmd/tty \
298	cmd/uadmin \
299	cmd/ul \
300	cmd/users \
301	cmd/utmp_update \
302	cmd/utmpd \
303	cmd/valtools \
304	cmd/vt \
305	cmd/wall \
306	cmd/wbem \
307	cmd/wc \
308	cmd/who \
309	cmd/whodo \
310	cmd/wracct \
311	cmd/wusbadm \
312	cmd/xargs \
313	cmd/xstr \
314	cmd/yes \
315	cmd/yppasswd \
316	cmd/zdb \
317	cmd/zdump \
318	cmd/zfs \
319	cmd/zinject \
320	cmd/zlogin \
321	cmd/zoneadm \
322	cmd/zoneadmd \
323	cmd/zonecfg \
324	cmd/zonename \
325	cmd/zpool \
326	cmd/zlook \
327	cmd/ztest \
328	lib/abi \
329	lib/auditd_plugins \
330	lib/brand/native \
331	lib/brand/sn1 \
332	lib/brand/solaris10 \
333	lib/cfgadm_plugins/sdcard \
334	lib/crypt_modules \
335	lib/extendedFILE \
336	lib/libadutils \
337	lib/libadt_jni \
338	lib/libaio \
339	lib/libavl \
340	lib/libbrand \
341	lib/libbsdmalloc \
342	lib/libbsm \
343	lib/libc \
344	lib/libc_db \
345	lib/libcfgadm \
346	lib/libcmdutils \
347	lib/libcommputil \
348	lib/libcontract \
349	lib/libcryptoutil \
350	lib/libctf \
351	lib/libdevice \
352	lib/libdevid \
353	lib/libdevinfo \
354	lib/libdhcpagent \
355	lib/libdhcpdu \
356	lib/libdhcpsvc \
357	lib/libdhcputil \
358	lib/libdisasm \
359	lib/libdiskmgt \
360	lib/libdladm \
361	lib/libdlpi \
362	lib/libdoor \
363	lib/libdscfg \
364	lib/libdtrace \
365	lib/libefi \
366	lib/libelfsign \
367	lib/libexacct \
368	lib/libfcoe \
369	lib/libgen \
370	lib/libgrubmgmt \
371	lib/libgss \
372	lib/libidmap \
373	lib/libinetcfg \
374	lib/libinetsvc \
375	lib/libinetutil \
376	lib/libinstzones \
377	lib/libipmi \
378	lib/libipmp \
379	lib/libipp \
380	lib/libipsecutil \
381	lib/libiscsit \
382	lib/libiscsitgt \
383	lib/libkmf \
384	lib/libkstat \
385	lib/liblgrp \
386	lib/liblm \
387	lib/libmalloc \
388	lib/libmapmalloc \
389	lib/libmapid \
390	lib/libmd \
391	lib/libmp \
392	lib/libmtmalloc \
393	lib/libndmp \
394	lib/libnsctl \
395	lib/libnsl \
396	lib/libnvpair \
397	lib/libnwam \
398	lib/libpam \
399	lib/libpctx \
400	lib/libpicl \
401	lib/libpicltree \
402	lib/libplot \
403	lib/libpool \
404	lib/libproc \
405	lib/libpthread \
406	lib/libraidcfg \
407	lib/librcm \
408	lib/librdc \
409	lib/libreparse \
410	lib/librestart \
411	lib/librstp \
412	lib/librt \
413	lib/libscf \
414	lib/libsec \
415	lib/libsecdb \
416	lib/libsendfile \
417	lib/libsip \
418	lib/libshare \
419	lib/libsldap \
420	lib/libslp \
421	lib/libsmbios \
422	lib/libsmedia \
423	lib/libstmf \
424	lib/libsun_ima \
425	lib/libthread \
426	lib/libtsnet \
427	lib/libtsol \
428	lib/libumem \
429	lib/libunistat \
430	lib/libuuid \
431	lib/libuutil \
432	lib/libwanboot \
433	lib/libwanbootutil \
434	lib/libxnet \
435	lib/libzfs \
436	lib/libzfs_jni \
437	lib/libzonecfg \
438	lib/libzoneinfo \
439	lib/lvm \
440	lib/madv \
441	lib/mms	\
442	lib/mpss \
443	lib/nametoaddr \
444	lib/ncad_addr \
445	lib/nsswitch \
446	lib/pam_modules \
447	lib/passwdutil \
448	lib/pkcs11 \
449	lib/print \
450	lib/raidcfg_plugins \
451	lib/scsi \
452	lib/smbsrv \
453	lib/fm \
454	lib/udapl \
455	lib/watchmalloc \
456	psm \
457	ucbcmd/basename \
458	ucbcmd/biff \
459	ucbcmd/echo \
460	ucbcmd/groups \
461	ucbcmd/mkstr \
462	ucbcmd/printenv \
463	ucbcmd/sum \
464	ucbcmd/test \
465	ucbcmd/users \
466	ucbcmd/whoami
467
468$(CLOSED_BUILD)COMMON_SUBDIRS += \
469	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
470	$(CLOSED)/cmd/pax \
471	$(CLOSED)/cmd/sed_xpg4 \
472	$(CLOSED)/cmd/tail \
473	$(CLOSED)/cmd/tr_xpg4 \
474	$(CLOSED)/lib/libc_i18n
475
476i386_SUBDIRS= \
477	cmd/biosdev \
478	cmd/rtc \
479	cmd/ucodeadm \
480	lib/brand/lx \
481	lib/cfgadm_plugins/sata \
482	lib/libfdisk
483
484sparc_SUBDIRS= \
485	cmd/datadm \
486	cmd/dcs \
487	cmd/drd \
488	cmd/fps \
489	cmd/fruadm \
490	cmd/ldmad \
491	cmd/prtdscp \
492	cmd/prtfru \
493	cmd/sckmd \
494	cmd/vntsd \
495	lib/libds \
496	lib/libdscp \
497	lib/libpri \
498	lib/libpcp \
499	lib/libtsalarm \
500	lib/storage \
501	stand
502
503$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
504
505LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
506
507.PARALLEL:	$(LINTSUBDIRS)
508
509lint:		uts .WAIT subdirs
510
511subdirs:	$(LINTSUBDIRS)
512
513uts $(LINTSUBDIRS):	FRC
514	@cd $@; pwd; $(MAKE) lint
515
516FRC:
517