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