xref: /titanic_51/usr/src/Makefile.lint (revision 978abfca9a7454fe5f18d723a4f4fca9569bc406)
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/clinfo \
69	cmd/cmd-crypto \
70	cmd/cmd-inet/lib \
71	cmd/cmd-inet/sbin \
72	cmd/cmd-inet/usr.bin \
73	cmd/cmd-inet/usr.lib/bridged \
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/col \
86	cmd/compress \
87	cmd/consadm \
88	cmd/coreadm \
89	cmd/cpc \
90	cmd/cpio \
91	cmd/crypt \
92	cmd/csplit \
93	cmd/ctrun \
94	cmd/ctstat \
95	cmd/ctwatch \
96	cmd/date \
97	cmd/dd \
98	cmd/deroff \
99	cmd/devctl \
100	cmd/devfsadm \
101	cmd/devinfo \
102	cmd/devmgmt \
103	cmd/devprop \
104	cmd/dfs.cmds \
105	cmd/diff3 \
106	cmd/dis \
107	cmd/dirname \
108	cmd/diskscan \
109	cmd/dispadmin \
110	cmd/dladm \
111	cmd/dlmgmtd \
112	cmd/dtrace \
113	cmd/du \
114	cmd/dumpadm \
115	cmd/dumpcs \
116	cmd/echo \
117	cmd/eject \
118	cmd/emul64ioctl \
119	cmd/env \
120	cmd/expand \
121	cmd/fcinfo \
122	cmd/fdetach \
123	cmd/fdformat \
124	cmd/fgrep \
125	cmd/file \
126	cmd/filebench \
127	cmd/find \
128	cmd/fmthard \
129	cmd/fmtmsg \
130	cmd/fold \
131	cmd/fm \
132	cmd/format \
133	cmd/fs.d/fd \
134	cmd/fs.d/lofs/mount \
135	cmd/fs.d/mntfs \
136	cmd/fs.d/pcfs/mount \
137	cmd/fs.d/proc \
138	cmd/fs.d/tmpfs \
139	cmd/fs.d/udfs/mount \
140	cmd/fs.d/ufs/mount \
141	cmd/fs.d/ufs/fsirand\
142	cmd/fs.d/zfs/fstyp \
143	cmd/fwflash \
144	cmd/fuser \
145	cmd/gcore \
146	cmd/genmsg \
147	cmd/getconf \
148	cmd/getdevpolicy \
149	cmd/getfacl \
150	cmd/getopt \
151	cmd/gettext \
152	cmd/grep \
153	cmd/grep_xpg4 \
154	cmd/groups \
155	cmd/halt \
156	cmd/head \
157	cmd/hostid \
158	cmd/hostname \
159	cmd/hotplug \
160	cmd/hotplugd \
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/kbd \
175	cmd/killall \
176	cmd/last \
177	cmd/lastcomm \
178	cmd/ldapcachemgr \
179	cmd/line \
180	cmd/link \
181	cmd/locator \
182	cmd/lockstat \
183	cmd/lofiadm \
184	cmd/logadm \
185	cmd/logger \
186	cmd/login \
187	cmd/logins \
188	cmd/ls \
189	cmd/luxadm \
190	cmd/lvm \
191	cmd/machid \
192	cmd/makekey \
193	cmd/mdb \
194	cmd/mesg \
195	cmd/mkdir \
196	cmd/mkfifo \
197	cmd/mkfile \
198	cmd/mkmsgs \
199	cmd/mknod \
200	cmd/mms	\
201	cmd/mpathadm \
202	cmd/modload \
203	cmd/msgfmt \
204	cmd/msgid \
205	cmd/mt \
206	cmd/mv \
207	cmd/ndmpadm \
208	cmd/ndmpd \
209	cmd/ndmpstat \
210	cmd/newform \
211	cmd/newgrp \
212	cmd/newtask \
213	cmd/nice \
214	cmd/nispasswd \
215	cmd/nl \
216	cmd/nohup \
217	cmd/nscd \
218	cmd/pagesize \
219	cmd/passwd \
220	cmd/pathchk \
221	cmd/pbind \
222	cmd/pcidr \
223	cmd/pcitool \
224	cmd/pfexec \
225	cmd/pgrep \
226	cmd/picl/picld \
227	cmd/picl/prtpicl \
228	cmd/plockstat \
229	cmd/pools \
230	cmd/power \
231	cmd/powertop \
232	cmd/latencytop \
233	cmd/ppgsz \
234	cmd/praudit \
235	cmd/prctl \
236	cmd/priocntl \
237	cmd/profiles \
238	cmd/prstat \
239	cmd/prtconf \
240	cmd/prtdiag \
241	cmd/prtvtoc \
242	cmd/ps \
243	cmd/psradm \
244	cmd/psrinfo \
245	cmd/psrset \
246	cmd/ptools \
247	cmd/pwck \
248	cmd/pwconv \
249	cmd/ramdiskadm \
250	cmd/raidctl \
251	cmd/rcap \
252	cmd/rcm_daemon \
253	cmd/rctladm \
254	cmd/renice \
255	cmd/rm \
256	cmd/rmdir \
257	cmd/rmformat \
258	cmd/rmt \
259	cmd/roles \
260	cmd/rpcgen \
261	cmd/rpcsvc/rpc.bootparamd \
262	cmd/runat \
263	cmd/sbdadm \
264	cmd/sdpadm \
265	cmd/setpgrp \
266	cmd/smbios \
267	cmd/sgs \
268	cmd/smbsrv \
269	cmd/smserverd \
270	cmd/sort \
271	cmd/split \
272	cmd/ssh \
273	cmd/stat \
274	cmd/stmfadm \
275	cmd/stmfsvc \
276	cmd/stmsboot \
277	cmd/streams/strcmd \
278	cmd/strings \
279	cmd/su \
280	cmd/sulogin \
281	cmd/svc \
282	cmd/swap \
283	cmd/sync \
284	cmd/syseventadm \
285	cmd/syseventd \
286	cmd/syslogd \
287	cmd/tabs \
288	cmd/th_tools \
289	cmd/tip \
290	cmd/touch \
291	cmd/truss \
292	cmd/tty \
293	cmd/uadmin \
294	cmd/ul \
295	cmd/users \
296	cmd/utmp_update \
297	cmd/utmpd \
298	cmd/valtools \
299	cmd/vt \
300	cmd/wall \
301	cmd/wbem \
302	cmd/who \
303	cmd/whodo \
304	cmd/wracct \
305	cmd/wusbadm \
306	cmd/xargs \
307	cmd/xstr \
308	cmd/yes \
309	cmd/yppasswd \
310	cmd/zdb \
311	cmd/zdump \
312	cmd/zfs \
313	cmd/zinject \
314	cmd/zlogin \
315	cmd/zoneadm \
316	cmd/zoneadmd \
317	cmd/zonecfg \
318	cmd/zonename \
319	cmd/zpool \
320	cmd/zlook \
321	cmd/ztest \
322	lib/abi \
323	lib/auditd_plugins \
324	lib/brand/native \
325	lib/brand/sn1 \
326	lib/brand/solaris10 \
327	lib/cfgadm_plugins/sdcard \
328	lib/crypt_modules \
329	lib/extendedFILE \
330	lib/libadutils \
331	lib/libadt_jni \
332	lib/libaio \
333	lib/libavl \
334	lib/libbrand \
335	lib/libbsdmalloc \
336	lib/libbsm \
337	lib/libc \
338	lib/libc_db \
339	lib/libcfgadm \
340	lib/libcmdutils \
341	lib/libcommputil \
342	lib/libcontract \
343	lib/libcryptoutil \
344	lib/libctf \
345	lib/libdevice \
346	lib/libdevid \
347	lib/libdevinfo \
348	lib/libdhcpagent \
349	lib/libdhcpdu \
350	lib/libdhcpsvc \
351	lib/libdhcputil \
352	lib/libdisasm \
353	lib/libdiskmgt \
354	lib/libdladm \
355	lib/libdlpi \
356	lib/libdoor \
357	lib/libdscfg \
358	lib/libdtrace \
359	lib/libefi \
360	lib/libelfsign \
361	lib/libexacct \
362	lib/libfcoe \
363	lib/libgen \
364	lib/libgrubmgmt \
365	lib/libgss \
366	lib/libhotplug \
367	lib/libidmap \
368	lib/libinetcfg \
369	lib/libinetsvc \
370	lib/libinetutil \
371	lib/libinstzones \
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/libreparse \
405	lib/librestart \
406	lib/librstp \
407	lib/librt \
408	lib/libscf \
409	lib/libsec \
410	lib/libsecdb \
411	lib/libsendfile \
412	lib/libsip \
413	lib/libshare \
414	lib/libsldap \
415	lib/libslp \
416	lib/libsmbios \
417	lib/libsmedia \
418	lib/libstmf \
419	lib/libsun_ima \
420	lib/libthread \
421	lib/libtsnet \
422	lib/libtsol \
423	lib/libumem \
424	lib/libunistat \
425	lib/libuuid \
426	lib/libuutil \
427	lib/libwanboot \
428	lib/libwanbootutil \
429	lib/libxnet \
430	lib/libzfs \
431	lib/libzfs_jni \
432	lib/libzonecfg \
433	lib/libzoneinfo \
434	lib/lvm \
435	lib/madv \
436	lib/mms	\
437	lib/mpss \
438	lib/nametoaddr \
439	lib/ncad_addr \
440	lib/nsswitch \
441	lib/pam_modules \
442	lib/passwdutil \
443	lib/pkcs11 \
444	lib/print \
445	lib/raidcfg_plugins \
446	lib/scsi \
447	lib/smbsrv \
448	lib/fm \
449	lib/udapl \
450	lib/watchmalloc \
451	psm \
452	ucbcmd/basename \
453	ucbcmd/biff \
454	ucbcmd/echo \
455	ucbcmd/groups \
456	ucbcmd/mkstr \
457	ucbcmd/printenv \
458	ucbcmd/sum \
459	ucbcmd/test \
460	ucbcmd/users \
461	ucbcmd/whoami
462
463$(CLOSED_BUILD)COMMON_SUBDIRS += \
464	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
465	$(CLOSED)/cmd/pax \
466	$(CLOSED)/cmd/sed_xpg4 \
467	$(CLOSED)/cmd/tail \
468	$(CLOSED)/cmd/tr_xpg4 \
469	$(CLOSED)/lib/libc_i18n
470
471i386_SUBDIRS= \
472	cmd/biosdev \
473	cmd/rtc \
474	cmd/ucodeadm \
475	lib/brand/lx \
476	lib/cfgadm_plugins/sata \
477	lib/libfdisk
478
479sparc_SUBDIRS= \
480	cmd/datadm \
481	cmd/dcs \
482	cmd/drd \
483	cmd/fps \
484	cmd/fruadm \
485	cmd/ldmad \
486	cmd/prtdscp \
487	cmd/prtfru \
488	cmd/sckmd \
489	cmd/vntsd \
490	lib/libds \
491	lib/libdscp \
492	lib/libpri \
493	lib/libpcp \
494	lib/libtsalarm \
495	lib/storage \
496	stand
497
498$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
499
500LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
501
502.PARALLEL:	$(LINTSUBDIRS)
503
504lint:		uts .WAIT subdirs
505
506subdirs:	$(LINTSUBDIRS)
507
508uts $(LINTSUBDIRS):	FRC
509	@cd $@; pwd; $(MAKE) lint
510
511FRC:
512