xref: /titanic_52/usr/src/Makefile.lint (revision 02e56f3f1bfc8d9977bafb8cb5202f576dcded27)
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/streams/strcmd \
239	cmd/strings \
240	cmd/su \
241	cmd/sulogin \
242	cmd/sum \
243	cmd/svc \
244	cmd/swap \
245	cmd/sync \
246	cmd/syseventadm \
247	cmd/syseventd \
248	cmd/tabs \
249	cmd/tail \
250	cmd/tee \
251	cmd/th_tools \
252	cmd/tip \
253	cmd/touch \
254	cmd/tr \
255	cmd/truss \
256	cmd/tty \
257	cmd/uadmin \
258	cmd/users \
259	cmd/utmp_update \
260	cmd/utmpd \
261	cmd/valtools \
262	cmd/wall \
263	cmd/wbem \
264	cmd/wc \
265	cmd/who \
266	cmd/whodo \
267	cmd/wracct \
268	cmd/xargs \
269	cmd/xstr \
270	cmd/yes \
271	cmd/yppasswd \
272	cmd/zdump \
273	cmd/zlogin \
274	cmd/zoneadm \
275	cmd/zoneadmd \
276	cmd/zonecfg \
277	cmd/zonename \
278	lib/abi \
279	lib/auditd_plugins \
280	lib/crypt_modules \
281	lib/libadt_jni \
282	lib/libaio \
283	lib/libavl \
284	lib/libbsm \
285	lib/libc \
286	lib/libc_db \
287	lib/libcfgadm \
288	lib/libcmdutils \
289	lib/libcontract \
290	lib/libcryptoutil \
291	lib/libctf \
292	lib/libdevice \
293	lib/libdevid \
294	lib/libdevinfo \
295	lib/libdhcpagent \
296	lib/libdhcpdu \
297	lib/libdhcpsvc \
298	lib/libdhcputil \
299	lib/libdiskmgt \
300	lib/libdladm \
301	lib/libdlpi \
302	lib/libdoor \
303	lib/libdtrace \
304	lib/libefi \
305	lib/libelfsign \
306	lib/libexacct \
307	lib/libgen \
308	lib/libgss \
309	lib/libinetcfg \
310	lib/libinetutil \
311	lib/libipmp \
312	lib/libipp \
313	lib/libipsecutil \
314	lib/libkstat \
315	lib/liblaadm \
316	lib/liblgrp \
317	lib/liblm \
318	lib/libmacadm \
319	lib/libmalloc \
320	lib/libmd5 \
321	lib/libmp \
322	lib/libnsl \
323	lib/libnvpair \
324	lib/libpam \
325	lib/libpctx \
326	lib/libpicl \
327	lib/libpicltree \
328	lib/libplot \
329	lib/libpool \
330	lib/libproc \
331	lib/libpthread \
332	lib/librcm \
333	lib/librestart \
334	lib/librt \
335	lib/libscf \
336	lib/libsec \
337	lib/libsecdb \
338	lib/libsendfile \
339	lib/libsldap \
340	lib/libslp \
341	lib/libsmbios \
342	lib/libsmedia \
343	lib/libthread \
344	lib/libumem \
345	lib/libuutil \
346	lib/libwanboot \
347	lib/libwanbootutil \
348	lib/libxnet \
349	lib/libzonecfg \
350	lib/libzoneinfo \
351	lib/lvm \
352	lib/madv \
353	lib/mpss \
354	lib/nametoaddr \
355	lib/ncad_addr \
356	lib/pam_modules \
357	lib/passwdutil \
358	lib/pkcs11 \
359	lib/smartcard \
360	lib/fm \
361	lib/udapl \
362	psm \
363	ucbcmd/basename \
364	ucbcmd/biff \
365	ucbcmd/echo \
366	ucbcmd/groups \
367	ucbcmd/mkstr \
368	ucbcmd/printenv \
369	ucbcmd/sum \
370	ucbcmd/test \
371	ucbcmd/users \
372	ucbcmd/whoami
373
374i386_SUBDIRS= \
375	cmd/biosdev \
376	cmd/rtc \
377	cmd/fs.d/xmemfs
378
379sparc_SUBDIRS= \
380	cmd/datadm \
381	cmd/dcs \
382	cmd/fruadm \
383	cmd/mtst \
384	cmd/prtfru \
385	cmd/raidctl \
386	cmd/sckmd \
387	cmd/wrsmconf \
388	cmd/wrsmstat \
389	lib/libwrsmconf \
390	lib/wrsm \
391	stand
392
393LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
394
395.PARALLEL:	$(LINTSUBDIRS)
396
397lint:		uts .WAIT subdirs
398
399subdirs:	$(LINTSUBDIRS)
400
401uts $(LINTSUBDIRS):	FRC
402	@cd $@; pwd; $(MAKE) lint
403
404FRC:
405