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