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