xref: /titanic_51/usr/src/Makefile.lint (revision 7f0009305822c9b9969a6e87e2c5c63d0615c7ee)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23#
24# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
25# Use is subject to license terms.
26#
27# ident	"%Z%%M%	%I%	%E% SMI"
28#
29
30# include global definitions
31include Makefile.master
32
33#
34# As pieces are made lint-clean, add them here so the nightly build
35# can be used to keep them that way.
36#
37COMMON_SUBDIRS = \
38	cmd/acctadm \
39	cmd/asa \
40	cmd/amt \
41	cmd/audit \
42	cmd/auditconfig \
43	cmd/auditd \
44	cmd/auditreduce \
45	cmd/auditstat \
46	cmd/auths \
47	cmd/autopush \
48	cmd/awk \
49	cmd/banner \
50	cmd/bart \
51	cmd/basename \
52	cmd/bdiff \
53	cmd/bfs \
54	cmd/busstat \
55	cmd/boot \
56	cmd/cal \
57	cmd/captoinfo \
58	cmd/cat \
59	cmd/cdrw \
60	cmd/cfgadm \
61	cmd/checkeq \
62	cmd/checknr \
63	cmd/chgrp \
64	cmd/chmod \
65	cmd/chown \
66	cmd/chroot \
67	cmd/cksum \
68	cmd/clinfo \
69	cmd/cmd-crypto \
70	cmd/cmd-inet/sbin \
71	cmd/cmd-inet/usr.bin \
72	cmd/cmd-inet/usr.lib/dsvclockd \
73	cmd/cmd-inet/usr.lib/in.dhcpd \
74	cmd/cmd-inet/usr.lib/in.iked \
75	cmd/cmd-inet/usr.lib/in.mpathd \
76	cmd/cmd-inet/usr.lib/inetd \
77	cmd/cmd-inet/usr.lib/mipagent \
78	cmd/cmd-inet/usr.lib/pppoe \
79	cmd/cmd-inet/usr.lib/slpd \
80	cmd/cmd-inet/usr.lib/wanboot \
81	cmd/cmd-inet/usr.sadm \
82	cmd/cmd-inet/usr.sbin \
83	cmd/cmp \
84	cmd/col \
85	cmd/comm \
86	cmd/compress \
87	cmd/consadm \
88	cmd/coreadm \
89	cmd/cpc \
90	cmd/crypt \
91	cmd/csplit \
92	cmd/ctrun \
93	cmd/ctstat \
94	cmd/ctwatch \
95	cmd/cut \
96	cmd/date \
97	cmd/dd \
98	cmd/deroff \
99	cmd/devctl \
100	cmd/devfsadm \
101	cmd/devinfo \
102	cmd/devmgmt \
103	cmd/dfs.cmds \
104	cmd/diff3 \
105	cmd/diskscan \
106	cmd/dispadmin \
107	cmd/dladm \
108	cmd/dtrace \
109	cmd/du \
110	cmd/dumpadm \
111	cmd/dumpcs \
112	cmd/echo \
113	cmd/emul64ioctl \
114	cmd/env \
115	cmd/expand \
116	cmd/fdetach \
117	cmd/fdformat \
118	cmd/fgrep \
119	cmd/file \
120	cmd/find \
121	cmd/fmthard \
122	cmd/fmtmsg \
123	cmd/fold \
124	cmd/fm \
125	cmd/format \
126	cmd/fs.d/fd \
127	cmd/fs.d/lofs/mount \
128	cmd/fs.d/mntfs \
129	cmd/fs.d/pcfs/mount \
130	cmd/fs.d/proc \
131	cmd/fs.d/tmpfs \
132	cmd/fs.d/udfs/mount \
133	cmd/fs.d/ufs/mount \
134	cmd/fs.d/ufs/fsirand\
135	cmd/fs.d/zfs/fstyp \
136	cmd/fuser \
137	cmd/gcore \
138	cmd/getconf \
139	cmd/getdevpolicy \
140	cmd/getfacl \
141	cmd/getopt \
142	cmd/gettext \
143	cmd/grep \
144	cmd/grep_xpg4 \
145	cmd/groups \
146	cmd/halt \
147	cmd/head \
148	cmd/hostid \
149	cmd/init \
150	cmd/intrstat \
151	cmd/ipcrm \
152	cmd/ipcs \
153	cmd/isaexec \
154	cmd/isalist \
155	cmd/join \
156	cmd/kbd \
157	cmd/killall \
158	cmd/last \
159	cmd/lastcomm \
160	cmd/ldapcachemgr \
161	cmd/line \
162	cmd/link \
163	cmd/locator \
164	cmd/lockstat \
165	cmd/lofiadm \
166	cmd/logadm \
167	cmd/logger \
168	cmd/login \
169	cmd/logins \
170	cmd/logname \
171	cmd/ls \
172	cmd/lvm \
173	cmd/machid \
174	cmd/makekey \
175	cmd/mdb \
176	cmd/mesg \
177	cmd/mkdir \
178	cmd/mkfifo \
179	cmd/mkfile \
180	cmd/mkmsgs \
181	cmd/mknod \
182	cmd/msgfmt \
183	cmd/msgid \
184	cmd/mt \
185	cmd/mv \
186	cmd/newform \
187	cmd/newtask \
188	cmd/nice \
189	cmd/nispasswd \
190	cmd/nl \
191	cmd/nohup \
192	cmd/pagesize \
193	cmd/passwd \
194	cmd/pathchk \
195	cmd/pax \
196	cmd/pbind \
197	cmd/pcidr \
198	cmd/pfexec \
199	cmd/pgrep \
200	cmd/picl/picld \
201	cmd/picl/prtpicl \
202	cmd/plockstat \
203	cmd/pools \
204	cmd/ppgsz \
205	cmd/praudit \
206	cmd/prctl \
207	cmd/priocntl \
208	cmd/profiles \
209	cmd/prstat \
210	cmd/prtconf \
211	cmd/prtdiag \
212	cmd/prtvtoc \
213	cmd/ps \
214	cmd/psradm \
215	cmd/psrinfo \
216	cmd/psrset \
217	cmd/pt_chmod \
218	cmd/ptools \
219	cmd/pwck \
220	cmd/ramdiskadm \
221	cmd/raidctl \
222	cmd/rcap \
223	cmd/rcm_daemon \
224	cmd/rctladm \
225	cmd/renice \
226	cmd/rm \
227	cmd/rmdir \
228	cmd/rmformat \
229	cmd/rmt \
230	cmd/roles \
231	cmd/rpcgen \
232	cmd/rpcsvc/rpc.bootparamd \
233	cmd/runat \
234	cmd/sed_xpg4 \
235	cmd/setpgrp \
236	cmd/smartcard \
237	cmd/smbios \
238	cmd/smserverd \
239	cmd/sort \
240	cmd/split \
241	cmd/ssh \
242	cmd/stat \
243	cmd/streams/strcmd \
244	cmd/strings \
245	cmd/su \
246	cmd/sulogin \
247	cmd/sum \
248	cmd/svc \
249	cmd/swap \
250	cmd/sync \
251	cmd/syseventadm \
252	cmd/syseventd \
253	cmd/tabs \
254	cmd/tail \
255	cmd/tee \
256	cmd/th_tools \
257	cmd/tip \
258	cmd/touch \
259	cmd/tr \
260	cmd/truss \
261	cmd/tty \
262	cmd/uadmin \
263	cmd/ul \
264	cmd/users \
265	cmd/utmp_update \
266	cmd/utmpd \
267	cmd/valtools \
268	cmd/wall \
269	cmd/wbem \
270	cmd/wc \
271	cmd/who \
272	cmd/whodo \
273	cmd/wracct \
274	cmd/xargs \
275	cmd/xstr \
276	cmd/yes \
277	cmd/yppasswd \
278	cmd/zdb \
279	cmd/zdump \
280	cmd/zfs \
281	cmd/zlogin \
282	cmd/zoneadm \
283	cmd/zoneadmd \
284	cmd/zonecfg \
285	cmd/zonename \
286	cmd/zpool \
287	cmd/ztest \
288	lib/abi \
289	lib/auditd_plugins \
290	lib/crypt_modules \
291	lib/libadt_jni \
292	lib/libaio \
293	lib/libavl \
294	lib/libbsm \
295	lib/libc \
296	lib/libc_db \
297	lib/libc_i18n \
298	lib/libcfgadm \
299	lib/libcmdutils \
300	lib/libcontract \
301	lib/libcryptoutil \
302	lib/libctf \
303	lib/libdevice \
304	lib/libdevid \
305	lib/libdevinfo \
306	lib/libdhcpagent \
307	lib/libdhcpdu \
308	lib/libdhcpsvc \
309	lib/libdhcputil \
310	lib/libdiskmgt \
311	lib/libdladm \
312	lib/libdlpi \
313	lib/libdoor \
314	lib/libdtrace \
315	lib/libefi \
316	lib/libelfsign \
317	lib/libexacct \
318	lib/libgen \
319	lib/libgss \
320	lib/libinetcfg \
321	lib/libinetutil \
322	lib/libipmp \
323	lib/libipp \
324	lib/libipsecutil \
325	lib/libkstat \
326	lib/liblaadm \
327	lib/liblgrp \
328	lib/liblm \
329	lib/libmacadm \
330	lib/libmalloc \
331	lib/libmd5 \
332	lib/libmp \
333	lib/libnsl \
334	lib/libnvpair \
335	lib/libpam \
336	lib/libpctx \
337	lib/libpicl \
338	lib/libpicltree \
339	lib/libplot \
340	lib/libpool \
341	lib/libproc \
342	lib/libpthread \
343	lib/librcm \
344	lib/librestart \
345	lib/librt \
346	lib/libscf \
347	lib/libsec \
348	lib/libsecdb \
349	lib/libsendfile \
350	lib/libsldap \
351	lib/libslp \
352	lib/libsmbios \
353	lib/libsmedia \
354	lib/libthread \
355	lib/libumem \
356	lib/libuutil \
357	lib/libwanboot \
358	lib/libwanbootutil \
359	lib/libxnet \
360	lib/libzfs \
361	lib/libzfs_jni \
362	lib/libzonecfg \
363	lib/libzoneinfo \
364	lib/lvm \
365	lib/madv \
366	lib/mpss \
367	lib/nametoaddr \
368	lib/ncad_addr \
369	lib/pam_modules \
370	lib/passwdutil \
371	lib/pkcs11 \
372	lib/smartcard \
373	lib/fm \
374	lib/udapl \
375	psm \
376	ucbcmd/basename \
377	ucbcmd/biff \
378	ucbcmd/echo \
379	ucbcmd/groups \
380	ucbcmd/mkstr \
381	ucbcmd/printenv \
382	ucbcmd/sum \
383	ucbcmd/test \
384	ucbcmd/users \
385	ucbcmd/whoami
386
387i386_SUBDIRS= \
388	cmd/biosdev \
389	cmd/rtc \
390	cmd/fs.d/xmemfs
391
392sparc_SUBDIRS= \
393	cmd/datadm \
394	cmd/dcs \
395	cmd/fruadm \
396	cmd/mtst \
397	cmd/prtfru \
398	cmd/sckmd \
399	cmd/wrsmconf \
400	cmd/wrsmstat \
401	lib/libwrsmconf \
402	lib/wrsm \
403	stand
404
405LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
406
407.PARALLEL:	$(LINTSUBDIRS)
408
409lint:		uts .WAIT subdirs
410
411subdirs:	$(LINTSUBDIRS)
412
413uts $(LINTSUBDIRS):	FRC
414	@cd $@; pwd; $(MAKE) lint
415
416FRC:
417