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