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