xref: /titanic_41/usr/src/Makefile.lint (revision 103b2b152ab1f30e081cd8f98b88e71e6cd6d2fc)
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2006 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/availdevs \
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.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/dis \
105	cmd/dirname \
106	cmd/diskscan \
107	cmd/dispadmin \
108	cmd/dladm \
109	cmd/dtrace \
110	cmd/du \
111	cmd/dumpadm \
112	cmd/dumpcs \
113	cmd/echo \
114	cmd/emul64ioctl \
115	cmd/env \
116	cmd/expand \
117	cmd/fdetach \
118	cmd/fdformat \
119	cmd/fgrep \
120	cmd/file \
121	cmd/find \
122	cmd/fmthard \
123	cmd/fmtmsg \
124	cmd/fold \
125	cmd/fm \
126	cmd/format \
127	cmd/fs.d/fd \
128	cmd/fs.d/lofs/mount \
129	cmd/fs.d/mntfs \
130	cmd/fs.d/pcfs/mount \
131	cmd/fs.d/proc \
132	cmd/fs.d/tmpfs \
133	cmd/fs.d/udfs/mount \
134	cmd/fs.d/ufs/mount \
135	cmd/fs.d/ufs/fsirand\
136	cmd/fs.d/zfs/fstyp \
137	cmd/fuser \
138	cmd/gcore \
139	cmd/getconf \
140	cmd/getdevpolicy \
141	cmd/getfacl \
142	cmd/getopt \
143	cmd/gettext \
144	cmd/grep \
145	cmd/grep_xpg4 \
146	cmd/groups \
147	cmd/halt \
148	cmd/head \
149	cmd/hostid \
150	cmd/init \
151	cmd/intrstat \
152	cmd/ipcrm \
153	cmd/ipcs \
154	cmd/isaexec \
155	cmd/isalist \
156	cmd/join \
157	cmd/kbd \
158	cmd/killall \
159	cmd/last \
160	cmd/lastcomm \
161	cmd/ldapcachemgr \
162	cmd/line \
163	cmd/link \
164	cmd/locator \
165	cmd/lockstat \
166	cmd/lofiadm \
167	cmd/logadm \
168	cmd/logger \
169	cmd/login \
170	cmd/logins \
171	cmd/logname \
172	cmd/ls \
173	cmd/lvm \
174	cmd/machid \
175	cmd/makekey \
176	cmd/mdb \
177	cmd/mesg \
178	cmd/mkdir \
179	cmd/mkfifo \
180	cmd/mkfile \
181	cmd/mkmsgs \
182	cmd/mknod \
183	cmd/msgfmt \
184	cmd/msgid \
185	cmd/mt \
186	cmd/mv \
187	cmd/newform \
188	cmd/newtask \
189	cmd/nice \
190	cmd/nispasswd \
191	cmd/nl \
192	cmd/nohup \
193	cmd/pagesize \
194	cmd/passwd \
195	cmd/pathchk \
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/pwconv \
221	cmd/ramdiskadm \
222	cmd/raidctl \
223	cmd/rcap \
224	cmd/rcm_daemon \
225	cmd/rctladm \
226	cmd/renice \
227	cmd/rm \
228	cmd/rmdir \
229	cmd/rmformat \
230	cmd/rmt \
231	cmd/roles \
232	cmd/rpcgen \
233	cmd/rpcsvc/rpc.bootparamd \
234	cmd/runat \
235	cmd/setpgrp \
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/tee \
254	cmd/th_tools \
255	cmd/tip \
256	cmd/touch \
257	cmd/truss \
258	cmd/tty \
259	cmd/uadmin \
260	cmd/ul \
261	cmd/users \
262	cmd/utmp_update \
263	cmd/utmpd \
264	cmd/valtools \
265	cmd/wall \
266	cmd/wbem \
267	cmd/wc \
268	cmd/who \
269	cmd/whodo \
270	cmd/wracct \
271	cmd/xargs \
272	cmd/xstr \
273	cmd/yes \
274	cmd/yppasswd \
275	cmd/zdb \
276	cmd/zdump \
277	cmd/zfs \
278	cmd/zinject \
279	cmd/zlogin \
280	cmd/zoneadm \
281	cmd/zoneadmd \
282	cmd/zonecfg \
283	cmd/zonename \
284	cmd/zpool \
285	cmd/ztest \
286	lib/abi \
287	lib/auditd_plugins \
288	lib/crypt_modules \
289	lib/libadt_jni \
290	lib/libaio \
291	lib/libavl \
292	lib/libbsm \
293	lib/libc \
294	lib/libc_db \
295	lib/libcfgadm \
296	lib/libcmdutils \
297	lib/libcontract \
298	lib/libcryptoutil \
299	lib/libctf \
300	lib/libdevice \
301	lib/libdevid \
302	lib/libdevinfo \
303	lib/libdhcpagent \
304	lib/libdhcpdu \
305	lib/libdhcpsvc \
306	lib/libdhcputil \
307	lib/libdisasm \
308	lib/libdiskmgt \
309	lib/libdladm \
310	lib/libdlpi \
311	lib/libdoor \
312	lib/libdtrace \
313	lib/libefi \
314	lib/libexacct \
315	lib/libgen \
316	lib/libgss \
317	lib/libinetcfg \
318	lib/libinetsvc \
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/libmapid \
330	lib/libmd \
331	lib/libmp \
332	lib/libnsl \
333	lib/libnvpair \
334	lib/libpam \
335	lib/libpctx \
336	lib/libpicl \
337	lib/libpicltree \
338	lib/libplot \
339	lib/libpool \
340	lib/libproc \
341	lib/libpthread \
342	lib/librcm \
343	lib/librestart \
344	lib/librt \
345	lib/libscf \
346	lib/libsec \
347	lib/libsecdb \
348	lib/libsendfile \
349	lib/libsldap \
350	lib/libslp \
351	lib/libsmbios \
352	lib/libsmedia \
353	lib/libthread \
354	lib/libtsnet \
355	lib/libtsol \
356	lib/libumem \
357	lib/libuutil \
358	lib/libwanboot \
359	lib/libwanbootutil \
360	lib/libxnet \
361	lib/libzfs \
362	lib/libzfs_jni \
363	lib/libzonecfg \
364	lib/libzoneinfo \
365	lib/lvm \
366	lib/madv \
367	lib/mpss \
368	lib/nametoaddr \
369	lib/ncad_addr \
370	lib/pam_modules \
371	lib/passwdutil \
372	lib/pkcs11 \
373	lib/print \
374	lib/fm \
375	lib/udapl \
376	psm \
377	ucbcmd/basename \
378	ucbcmd/biff \
379	ucbcmd/echo \
380	ucbcmd/groups \
381	ucbcmd/mkstr \
382	ucbcmd/printenv \
383	ucbcmd/sum \
384	ucbcmd/test \
385	ucbcmd/users \
386	ucbcmd/whoami
387
388$(CLOSED_BUILD)COMMON_SUBDIRS += \
389	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
390	$(CLOSED)/cmd/pax \
391	$(CLOSED)/cmd/pcitool \
392	$(CLOSED)/cmd/sed_xpg4 \
393	$(CLOSED)/cmd/smartcard \
394	$(CLOSED)/cmd/tail \
395	$(CLOSED)/cmd/tr \
396	$(CLOSED)/lib/libc_i18n \
397	$(CLOSED)/lib/libelfsign \
398	$(CLOSED)/lib/smartcard
399
400i386_SUBDIRS= \
401	cmd/biosdev \
402	cmd/rtc \
403	cmd/fs.d/xmemfs \
404	lib/cfgadm_plugins/sata
405
406sparc_SUBDIRS= \
407	cmd/datadm \
408	cmd/dcs \
409	cmd/fruadm \
410	cmd/prtdscp \
411	cmd/prtfru \
412	cmd/sckmd \
413	cmd/wrsmconf \
414	cmd/wrsmstat \
415	lib/libdscp \
416	lib/libwrsmconf \
417	lib/wrsm \
418	lib/libpcp \
419	stand
420
421$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
422
423LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
424
425.PARALLEL:	$(LINTSUBDIRS)
426
427lint:		uts .WAIT subdirs
428
429subdirs:	$(LINTSUBDIRS)
430
431uts $(LINTSUBDIRS):	FRC
432	@cd $@; pwd; $(MAKE) lint
433
434FRC:
435