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