xref: /titanic_44/usr/src/Makefile.lint (revision 1cb6af97c6f66f456d4f726ef056e1ebc0f73305)
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/fuser \
136	cmd/gcore \
137	cmd/getconf \
138	cmd/getdevpolicy \
139	cmd/getfacl \
140	cmd/getopt \
141	cmd/gettext \
142	cmd/grep \
143	cmd/grep_xpg4 \
144	cmd/groups \
145	cmd/halt \
146	cmd/head \
147	cmd/hostid \
148	cmd/init \
149	cmd/intrstat \
150	cmd/ipcrm \
151	cmd/ipcs \
152	cmd/isaexec \
153	cmd/isalist \
154	cmd/join \
155	cmd/kbd \
156	cmd/killall \
157	cmd/last \
158	cmd/lastcomm \
159	cmd/ldapcachemgr \
160	cmd/line \
161	cmd/link \
162	cmd/locator \
163	cmd/lockstat \
164	cmd/lofiadm \
165	cmd/logadm \
166	cmd/logger \
167	cmd/login \
168	cmd/logins \
169	cmd/logname \
170	cmd/ls \
171	cmd/lvm \
172	cmd/machid \
173	cmd/makekey \
174	cmd/mdb \
175	cmd/mesg \
176	cmd/mkdir \
177	cmd/mkfifo \
178	cmd/mkfile \
179	cmd/mkmsgs \
180	cmd/mknod \
181	cmd/msgfmt \
182	cmd/msgid \
183	cmd/mt \
184	cmd/mv \
185	cmd/newform \
186	cmd/newtask \
187	cmd/nice \
188	cmd/nispasswd \
189	cmd/nl \
190	cmd/nohup \
191	cmd/pagesize \
192	cmd/passwd \
193	cmd/pathchk \
194	cmd/pax \
195	cmd/pbind \
196	cmd/pfexec \
197	cmd/pgrep \
198	cmd/picl/picld \
199	cmd/picl/prtpicl \
200	cmd/plockstat \
201	cmd/pools \
202	cmd/ppgsz \
203	cmd/praudit \
204	cmd/prctl \
205	cmd/priocntl \
206	cmd/profiles \
207	cmd/prstat \
208	cmd/prtconf \
209	cmd/prtdiag \
210	cmd/prtvtoc \
211	cmd/ps \
212	cmd/psradm \
213	cmd/psrinfo \
214	cmd/psrset \
215	cmd/pt_chmod \
216	cmd/ptools \
217	cmd/pwck \
218	cmd/ramdiskadm \
219	cmd/rcap \
220	cmd/rcm_daemon \
221	cmd/rctladm \
222	cmd/renice \
223	cmd/rm \
224	cmd/rmdir \
225	cmd/rmformat \
226	cmd/rmt \
227	cmd/roles \
228	cmd/rpcgen \
229	cmd/rpcsvc/rpc.bootparamd \
230	cmd/runat \
231	cmd/sed_xpg4 \
232	cmd/smartcard \
233	cmd/smbios \
234	cmd/smserverd \
235	cmd/sort \
236	cmd/split \
237	cmd/ssh \
238	cmd/stat \
239	cmd/streams/strcmd \
240	cmd/strings \
241	cmd/su \
242	cmd/sulogin \
243	cmd/sum \
244	cmd/svc \
245	cmd/swap \
246	cmd/sync \
247	cmd/syseventadm \
248	cmd/syseventd \
249	cmd/tabs \
250	cmd/tail \
251	cmd/tee \
252	cmd/th_tools \
253	cmd/tip \
254	cmd/touch \
255	cmd/tr \
256	cmd/truss \
257	cmd/tty \
258	cmd/uadmin \
259	cmd/users \
260	cmd/utmp_update \
261	cmd/utmpd \
262	cmd/valtools \
263	cmd/wall \
264	cmd/wbem \
265	cmd/wc \
266	cmd/who \
267	cmd/whodo \
268	cmd/wracct \
269	cmd/xargs \
270	cmd/xstr \
271	cmd/yes \
272	cmd/yppasswd \
273	cmd/zdump \
274	cmd/zlogin \
275	cmd/zoneadm \
276	cmd/zoneadmd \
277	cmd/zonecfg \
278	cmd/zonename \
279	lib/abi \
280	lib/auditd_plugins \
281	lib/crypt_modules \
282	lib/libadt_jni \
283	lib/libaio \
284	lib/libavl \
285	lib/libbsm \
286	lib/libc \
287	lib/libc_db \
288	lib/libcfgadm \
289	lib/libcmdutils \
290	lib/libcontract \
291	lib/libcryptoutil \
292	lib/libctf \
293	lib/libdevice \
294	lib/libdevid \
295	lib/libdevinfo \
296	lib/libdhcpagent \
297	lib/libdhcpdu \
298	lib/libdhcpsvc \
299	lib/libdhcputil \
300	lib/libdiskmgt \
301	lib/libdladm \
302	lib/libdlpi \
303	lib/libdoor \
304	lib/libdtrace \
305	lib/libefi \
306	lib/libelfsign \
307	lib/libexacct \
308	lib/libgen \
309	lib/libgss \
310	lib/libinetcfg \
311	lib/libinetutil \
312	lib/libipmp \
313	lib/libipp \
314	lib/libipsecutil \
315	lib/libkstat \
316	lib/liblaadm \
317	lib/liblgrp \
318	lib/liblm \
319	lib/libmacadm \
320	lib/libmalloc \
321	lib/libmd5 \
322	lib/libmp \
323	lib/libnsl \
324	lib/libnvpair \
325	lib/libpam \
326	lib/libpctx \
327	lib/libpicl \
328	lib/libpicltree \
329	lib/libplot \
330	lib/libpool \
331	lib/libproc \
332	lib/libpthread \
333	lib/librcm \
334	lib/librestart \
335	lib/librt \
336	lib/libscf \
337	lib/libsec \
338	lib/libsecdb \
339	lib/libsendfile \
340	lib/libsldap \
341	lib/libslp \
342	lib/libsmbios \
343	lib/libsmedia \
344	lib/libthread \
345	lib/libumem \
346	lib/libuutil \
347	lib/libwanboot \
348	lib/libwanbootutil \
349	lib/libxnet \
350	lib/libzonecfg \
351	lib/libzoneinfo \
352	lib/lvm \
353	lib/madv \
354	lib/mpss \
355	lib/nametoaddr \
356	lib/ncad_addr \
357	lib/pam_modules \
358	lib/passwdutil \
359	lib/pkcs11 \
360	lib/smartcard \
361	lib/fm \
362	lib/udapl \
363	psm \
364	ucbcmd/basename \
365	ucbcmd/biff \
366	ucbcmd/echo \
367	ucbcmd/groups \
368	ucbcmd/mkstr \
369	ucbcmd/printenv \
370	ucbcmd/sum \
371	ucbcmd/test \
372	ucbcmd/users \
373	ucbcmd/whoami
374
375i386_SUBDIRS= \
376	cmd/biosdev \
377	cmd/rtc \
378	cmd/fs.d/xmemfs
379
380sparc_SUBDIRS= \
381	cmd/datadm \
382	cmd/dcs \
383	cmd/fruadm \
384	cmd/mtst \
385	cmd/prtfru \
386	cmd/raidctl \
387	cmd/sckmd \
388	cmd/wrsmconf \
389	cmd/wrsmstat \
390	lib/libwrsmconf \
391	lib/wrsm \
392	stand
393
394LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
395
396.PARALLEL:	$(LINTSUBDIRS)
397
398lint:		uts .WAIT subdirs
399
400subdirs:	$(LINTSUBDIRS)
401
402uts $(LINTSUBDIRS):	FRC
403	@cd $@; pwd; $(MAKE) lint
404
405FRC:
406