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