xref: /titanic_50/usr/src/Makefile.lint (revision d49934b46f653fb0c9045567a9cc71c6847006da)
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/banner \
49	cmd/bart \
50	cmd/basename \
51	cmd/bdiff \
52	cmd/bfs \
53	cmd/busstat \
54	cmd/boot \
55	cmd/cal \
56	cmd/captoinfo \
57	cmd/cat \
58	cmd/cdrw \
59	cmd/cfgadm \
60	cmd/checkeq \
61	cmd/checknr \
62	cmd/chgrp \
63	cmd/chmod \
64	cmd/chown \
65	cmd/chroot \
66	cmd/cksum \
67	cmd/clinfo \
68	cmd/cmd-crypto \
69	cmd/cmd-inet/sbin \
70	cmd/cmd-inet/usr.bin \
71	cmd/cmd-inet/usr.lib/dsvclockd \
72	cmd/cmd-inet/usr.lib/in.dhcpd \
73	cmd/cmd-inet/usr.lib/in.iked \
74	cmd/cmd-inet/usr.lib/in.mpathd \
75	cmd/cmd-inet/usr.lib/inetd \
76	cmd/cmd-inet/usr.lib/mipagent \
77	cmd/cmd-inet/usr.lib/pppoe \
78	cmd/cmd-inet/usr.lib/slpd \
79	cmd/cmd-inet/usr.lib/wanboot \
80	cmd/cmd-inet/usr.sadm \
81	cmd/cmd-inet/usr.sbin \
82	cmd/cmp \
83	cmd/col \
84	cmd/comm \
85	cmd/compress \
86	cmd/consadm \
87	cmd/coreadm \
88	cmd/cpc \
89	cmd/crypt \
90	cmd/csplit \
91	cmd/ctrun \
92	cmd/ctstat \
93	cmd/ctwatch \
94	cmd/cut \
95	cmd/date \
96	cmd/dd \
97	cmd/deroff \
98	cmd/devctl \
99	cmd/devfsadm \
100	cmd/devinfo \
101	cmd/devmgmt \
102	cmd/dfs.cmds \
103	cmd/diff3 \
104	cmd/diskscan \
105	cmd/dispadmin \
106	cmd/dladm \
107	cmd/dtrace \
108	cmd/du \
109	cmd/dumpadm \
110	cmd/dumpcs \
111	cmd/echo \
112	cmd/emul64ioctl \
113	cmd/env \
114	cmd/expand \
115	cmd/fdformat \
116	cmd/fgrep \
117	cmd/file \
118	cmd/find \
119	cmd/fmthard \
120	cmd/fmtmsg \
121	cmd/fold \
122	cmd/fm \
123	cmd/format \
124	cmd/fs.d/fd \
125	cmd/fs.d/lofs/mount \
126	cmd/fs.d/mntfs \
127	cmd/fs.d/pcfs/mount \
128	cmd/fs.d/proc \
129	cmd/fs.d/tmpfs \
130	cmd/fs.d/udfs/mount \
131	cmd/fs.d/ufs/mount \
132	cmd/fuser \
133	cmd/gcore \
134	cmd/getconf \
135	cmd/getdevpolicy \
136	cmd/getfacl \
137	cmd/getopt \
138	cmd/gettext \
139	cmd/grep \
140	cmd/grep_xpg4 \
141	cmd/groups \
142	cmd/halt \
143	cmd/head \
144	cmd/init \
145	cmd/intrstat \
146	cmd/ipcrm \
147	cmd/ipcs \
148	cmd/isaexec \
149	cmd/isalist \
150	cmd/join \
151	cmd/kbd \
152	cmd/killall \
153	cmd/last \
154	cmd/lastcomm \
155	cmd/ldapcachemgr \
156	cmd/line \
157	cmd/link \
158	cmd/locator \
159	cmd/lockstat \
160	cmd/lofiadm \
161	cmd/logadm \
162	cmd/logger \
163	cmd/login \
164	cmd/logins \
165	cmd/logname \
166	cmd/ls \
167	cmd/lvm \
168	cmd/machid \
169	cmd/makekey \
170	cmd/mdb \
171	cmd/mesg \
172	cmd/mkdir \
173	cmd/mkfifo \
174	cmd/mkfile \
175	cmd/mkmsgs \
176	cmd/mknod \
177	cmd/msgfmt \
178	cmd/msgid \
179	cmd/mt \
180	cmd/mv \
181	cmd/newtask \
182	cmd/nice \
183	cmd/nispasswd \
184	cmd/nl \
185	cmd/nohup \
186	cmd/pagesize \
187	cmd/passwd \
188	cmd/pathchk \
189	cmd/pax \
190	cmd/pbind \
191	cmd/pfexec \
192	cmd/pgrep \
193	cmd/picl/picld \
194	cmd/picl/prtpicl \
195	cmd/plockstat \
196	cmd/pools \
197	cmd/ppgsz \
198	cmd/praudit \
199	cmd/prctl \
200	cmd/priocntl \
201	cmd/profiles \
202	cmd/prstat \
203	cmd/prtconf \
204	cmd/prtdiag \
205	cmd/prtvtoc \
206	cmd/ps \
207	cmd/psradm \
208	cmd/psrinfo \
209	cmd/psrset \
210	cmd/ptools \
211	cmd/pwck \
212	cmd/ramdiskadm \
213	cmd/rcap \
214	cmd/rcm_daemon \
215	cmd/rctladm \
216	cmd/renice \
217	cmd/rm \
218	cmd/rmdir \
219	cmd/rmformat \
220	cmd/rmt \
221	cmd/roles \
222	cmd/rpcgen \
223	cmd/rpcsvc/rpc.bootparamd \
224	cmd/runat \
225	cmd/sed_xpg4 \
226	cmd/smartcard \
227	cmd/smserverd \
228	cmd/sort \
229	cmd/split \
230	cmd/ssh \
231	cmd/stat \
232	cmd/strings \
233	cmd/su \
234	cmd/sulogin \
235	cmd/sum \
236	cmd/svc \
237	cmd/swap \
238	cmd/sync \
239	cmd/syseventadm \
240	cmd/syseventd \
241	cmd/tail \
242	cmd/tee \
243	cmd/th_tools \
244	cmd/touch \
245	cmd/tr \
246	cmd/truss \
247	cmd/tty \
248	cmd/uadmin \
249	cmd/valtools \
250	cmd/wall \
251	cmd/wbem \
252	cmd/wc \
253	cmd/who \
254	cmd/whodo \
255	cmd/wracct \
256	cmd/xargs \
257	cmd/yes \
258	cmd/yppasswd \
259	cmd/zdump \
260	cmd/zlogin \
261	cmd/zoneadm \
262	cmd/zoneadmd \
263	cmd/zonecfg \
264	cmd/zonename \
265	lib/abi \
266	lib/auditd_plugins \
267	lib/crypt_modules \
268	lib/libadt_jni \
269	lib/libaio \
270	lib/libavl \
271	lib/libbsm \
272	lib/libc \
273	lib/libc_db \
274	lib/libcfgadm \
275	lib/libcmdutils \
276	lib/libcontract \
277	lib/libcryptoutil \
278	lib/libctf \
279	lib/libdevice \
280	lib/libdevid \
281	lib/libdevinfo \
282	lib/libdhcpagent \
283	lib/libdhcpdu \
284	lib/libdhcpsvc \
285	lib/libdhcputil \
286	lib/libdiskmgt \
287	lib/libdladm \
288	lib/libdlpi \
289	lib/libdoor \
290	lib/libdtrace \
291	lib/libefi \
292	lib/libelfsign \
293	lib/libexacct \
294	lib/libgen \
295	lib/libgss \
296	lib/libinetcfg \
297	lib/libinetutil \
298	lib/libipmp \
299	lib/libipp \
300	lib/libipsecutil \
301	lib/libkstat \
302	lib/liblaadm \
303	lib/liblgrp \
304	lib/liblm \
305	lib/libmacadm \
306	lib/libmalloc \
307	lib/libmd5 \
308	lib/libmp \
309	lib/libnsl \
310	lib/libnvpair \
311	lib/libpam \
312	lib/libpctx \
313	lib/libpicl \
314	lib/libpicltree \
315	lib/libplot \
316	lib/libpool \
317	lib/libproc \
318	lib/libpthread \
319	lib/librcm \
320	lib/librestart \
321	lib/librt \
322	lib/libscf \
323	lib/libsec \
324	lib/libsecdb \
325	lib/libsendfile \
326	lib/libsldap \
327	lib/libslp \
328	lib/libsmedia \
329	lib/libthread \
330	lib/libumem \
331	lib/libuutil \
332	lib/libwanboot \
333	lib/libwanbootutil \
334	lib/libxnet \
335	lib/libzonecfg \
336	lib/libzoneinfo \
337	lib/lvm \
338	lib/madv \
339	lib/mpss \
340	lib/nametoaddr \
341	lib/ncad_addr \
342	lib/pam_modules \
343	lib/passwdutil \
344	lib/pkcs11 \
345	lib/smartcard \
346	lib/fm \
347	lib/udapl \
348	psm
349
350i386_SUBDIRS= \
351	cmd/biosdev \
352	cmd/rtc \
353	cmd/fs.d/xmemfs
354
355sparc_SUBDIRS= \
356	cmd/datadm \
357	cmd/dcs \
358	cmd/fruadm \
359	cmd/mtst \
360	cmd/prtfru \
361	cmd/raidctl \
362	cmd/sckmd \
363	cmd/wrsmconf \
364	cmd/wrsmstat \
365	lib/libwrsmconf \
366	lib/wrsm \
367	stand
368
369LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
370
371.PARALLEL:	$(LINTSUBDIRS)
372
373lint:		uts .WAIT subdirs
374
375subdirs:	$(LINTSUBDIRS)
376
377uts $(LINTSUBDIRS):	FRC
378	@cd $@; pwd; $(MAKE) lint
379
380FRC:
381