xref: /titanic_51/usr/src/Makefile.lint (revision f6db9f272f0061301cfaa1c0001b7d636eae31f4)
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/pfexec \
198	cmd/pgrep \
199	cmd/picl/picld \
200	cmd/picl/prtpicl \
201	cmd/plockstat \
202	cmd/pools \
203	cmd/ppgsz \
204	cmd/praudit \
205	cmd/prctl \
206	cmd/priocntl \
207	cmd/profiles \
208	cmd/prstat \
209	cmd/prtconf \
210	cmd/prtdiag \
211	cmd/prtvtoc \
212	cmd/ps \
213	cmd/psradm \
214	cmd/psrinfo \
215	cmd/psrset \
216	cmd/pt_chmod \
217	cmd/ptools \
218	cmd/pwck \
219	cmd/ramdiskadm \
220	cmd/rcap \
221	cmd/rcm_daemon \
222	cmd/rctladm \
223	cmd/renice \
224	cmd/rm \
225	cmd/rmdir \
226	cmd/rmformat \
227	cmd/rmt \
228	cmd/roles \
229	cmd/rpcgen \
230	cmd/rpcsvc/rpc.bootparamd \
231	cmd/runat \
232	cmd/sed_xpg4 \
233	cmd/setpgrp \
234	cmd/smartcard \
235	cmd/smbios \
236	cmd/smserverd \
237	cmd/sort \
238	cmd/split \
239	cmd/ssh \
240	cmd/stat \
241	cmd/streams/strcmd \
242	cmd/strings \
243	cmd/su \
244	cmd/sulogin \
245	cmd/sum \
246	cmd/svc \
247	cmd/swap \
248	cmd/sync \
249	cmd/syseventadm \
250	cmd/syseventd \
251	cmd/tabs \
252	cmd/tail \
253	cmd/tee \
254	cmd/th_tools \
255	cmd/tip \
256	cmd/touch \
257	cmd/tr \
258	cmd/truss \
259	cmd/tty \
260	cmd/uadmin \
261	cmd/ul \
262	cmd/users \
263	cmd/utmp_update \
264	cmd/utmpd \
265	cmd/valtools \
266	cmd/wall \
267	cmd/wbem \
268	cmd/wc \
269	cmd/who \
270	cmd/whodo \
271	cmd/wracct \
272	cmd/xargs \
273	cmd/xstr \
274	cmd/yes \
275	cmd/yppasswd \
276	cmd/zdb \
277	cmd/zdump \
278	cmd/zfs \
279	cmd/zlogin \
280	cmd/zoneadm \
281	cmd/zoneadmd \
282	cmd/zonecfg \
283	cmd/zonename \
284	cmd/zpool \
285	cmd/ztest \
286	lib/abi \
287	lib/auditd_plugins \
288	lib/crypt_modules \
289	lib/libadt_jni \
290	lib/libaio \
291	lib/libavl \
292	lib/libbsm \
293	lib/libc \
294	lib/libc_db \
295	lib/libcfgadm \
296	lib/libcmdutils \
297	lib/libcontract \
298	lib/libcryptoutil \
299	lib/libctf \
300	lib/libdevice \
301	lib/libdevid \
302	lib/libdevinfo \
303	lib/libdhcpagent \
304	lib/libdhcpdu \
305	lib/libdhcpsvc \
306	lib/libdhcputil \
307	lib/libdiskmgt \
308	lib/libdladm \
309	lib/libdlpi \
310	lib/libdoor \
311	lib/libdtrace \
312	lib/libefi \
313	lib/libelfsign \
314	lib/libexacct \
315	lib/libgen \
316	lib/libgss \
317	lib/libinetcfg \
318	lib/libinetutil \
319	lib/libipmp \
320	lib/libipp \
321	lib/libipsecutil \
322	lib/libkstat \
323	lib/liblaadm \
324	lib/liblgrp \
325	lib/liblm \
326	lib/libmacadm \
327	lib/libmalloc \
328	lib/libmd5 \
329	lib/libmp \
330	lib/libnsl \
331	lib/libnvpair \
332	lib/libpam \
333	lib/libpctx \
334	lib/libpicl \
335	lib/libpicltree \
336	lib/libplot \
337	lib/libpool \
338	lib/libproc \
339	lib/libpthread \
340	lib/librcm \
341	lib/librestart \
342	lib/librt \
343	lib/libscf \
344	lib/libsec \
345	lib/libsecdb \
346	lib/libsendfile \
347	lib/libsldap \
348	lib/libslp \
349	lib/libsmbios \
350	lib/libsmedia \
351	lib/libthread \
352	lib/libumem \
353	lib/libuutil \
354	lib/libwanboot \
355	lib/libwanbootutil \
356	lib/libxnet \
357	lib/libzfs \
358	lib/libzfs_jni \
359	lib/libzonecfg \
360	lib/libzoneinfo \
361	lib/lvm \
362	lib/madv \
363	lib/mpss \
364	lib/nametoaddr \
365	lib/ncad_addr \
366	lib/pam_modules \
367	lib/passwdutil \
368	lib/pkcs11 \
369	lib/smartcard \
370	lib/fm \
371	lib/udapl \
372	psm \
373	ucbcmd/basename \
374	ucbcmd/biff \
375	ucbcmd/echo \
376	ucbcmd/groups \
377	ucbcmd/mkstr \
378	ucbcmd/printenv \
379	ucbcmd/sum \
380	ucbcmd/test \
381	ucbcmd/users \
382	ucbcmd/whoami
383
384i386_SUBDIRS= \
385	cmd/biosdev \
386	cmd/rtc \
387	cmd/fs.d/xmemfs
388
389sparc_SUBDIRS= \
390	cmd/datadm \
391	cmd/dcs \
392	cmd/fruadm \
393	cmd/mtst \
394	cmd/prtfru \
395	cmd/raidctl \
396	cmd/sckmd \
397	cmd/wrsmconf \
398	cmd/wrsmstat \
399	lib/libwrsmconf \
400	lib/wrsm \
401	stand
402
403LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
404
405.PARALLEL:	$(LINTSUBDIRS)
406
407lint:		uts .WAIT subdirs
408
409subdirs:	$(LINTSUBDIRS)
410
411uts $(LINTSUBDIRS):	FRC
412	@cd $@; pwd; $(MAKE) lint
413
414FRC:
415