xref: /titanic_52/usr/src/Makefile.lint (revision 6eaad1d3bb5bc6d4b1e87f2660b6d3a6e9fc2155)
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# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
23
24# include global definitions
25include Makefile.master
26
27#
28# As pieces are made lint-clean, add them here so the nightly build
29# can be used to keep them that way.
30#
31COMMON_SUBDIRS = \
32	cmd/acctadm \
33	cmd/asa \
34	cmd/amt \
35	cmd/audio/audioctl \
36	cmd/audio/audiotest \
37	cmd/audit \
38	cmd/auditconfig \
39	cmd/auditd \
40	cmd/auditreduce \
41	cmd/auditstat \
42	cmd/auths \
43	cmd/autopush \
44	cmd/availdevs \
45	cmd/avs \
46	cmd/awk \
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/clinfo \
66	cmd/cmd-crypto \
67	cmd/cmd-inet/lib \
68	cmd/cmd-inet/lib/netcfgd \
69	cmd/cmd-inet/lib/nwamd \
70	cmd/cmd-inet/sbin \
71	cmd/cmd-inet/usr.bin \
72	cmd/cmd-inet/usr.lib/bridged \
73	cmd/cmd-inet/usr.lib/dsvclockd \
74	cmd/cmd-inet/usr.lib/ilbd \
75	cmd/cmd-inet/usr.lib/in.dhcpd \
76	cmd/cmd-inet/usr.lib/in.mpathd \
77	cmd/cmd-inet/usr.lib/in.ndpd \
78	cmd/cmd-inet/usr.lib/inetd \
79	cmd/cmd-inet/usr.lib/pppoe \
80	cmd/cmd-inet/usr.lib/slpd \
81	cmd/cmd-inet/usr.lib/vrrpd \
82	cmd/cmd-inet/usr.lib/wpad \
83	cmd/cmd-inet/usr.lib/wanboot \
84	cmd/cmd-inet/usr.sadm \
85	cmd/cmd-inet/usr.sbin \
86	cmd/cmd-inet/usr.sbin/ilbadm \
87	cmd/cmd-inet/usr.sbin/nwamadm \
88	cmd/cmd-inet/usr.sbin/nwamcfg \
89	cmd/col \
90	cmd/compress \
91	cmd/consadm \
92	cmd/coreadm \
93	cmd/cpc \
94	cmd/cpio \
95	cmd/crypt \
96	cmd/csplit \
97	cmd/ctrun \
98	cmd/ctstat \
99	cmd/ctwatch \
100	cmd/date \
101	cmd/dd \
102	cmd/deroff \
103	cmd/devctl \
104	cmd/devfsadm \
105	cmd/devinfo \
106	cmd/devmgmt \
107	cmd/devprop \
108	cmd/dfs.cmds \
109	cmd/diff3 \
110	cmd/dis \
111	cmd/dirname \
112	cmd/diskscan \
113	cmd/dispadmin \
114	cmd/dladm \
115	cmd/dlmgmtd \
116	cmd/dtrace \
117	cmd/du \
118	cmd/dumpadm \
119	cmd/dumpcs \
120	cmd/echo \
121	cmd/eject \
122	cmd/emul64ioctl \
123	cmd/env \
124	cmd/expand \
125	cmd/fcinfo \
126	cmd/fdetach \
127	cmd/fdformat \
128	cmd/fdisk \
129	cmd/fgrep \
130	cmd/file \
131	cmd/filebench \
132	cmd/find \
133	cmd/fmthard \
134	cmd/fmtmsg \
135	cmd/fold \
136	cmd/fm \
137	cmd/format \
138	cmd/fs.d/fd \
139	cmd/fs.d/lofs/mount \
140	cmd/fs.d/mntfs \
141	cmd/fs.d/pcfs/mount \
142	cmd/fs.d/proc \
143	cmd/fs.d/tmpfs \
144	cmd/fs.d/udfs/mount \
145	cmd/fs.d/ufs/mount \
146	cmd/fs.d/ufs/fsirand\
147	cmd/fs.d/zfs/fstyp \
148	cmd/fwflash \
149	cmd/fuser \
150	cmd/gcore \
151	cmd/genmsg \
152	cmd/getconf \
153	cmd/getdevpolicy \
154	cmd/getfacl \
155	cmd/getopt \
156	cmd/gettext \
157	cmd/grep \
158	cmd/grep_xpg4 \
159	cmd/groups \
160	cmd/halt \
161	cmd/head \
162	cmd/hostid \
163	cmd/hostname \
164	cmd/hotplug \
165	cmd/hotplugd \
166	cmd/idmap \
167	cmd/init \
168	cmd/intrstat \
169	cmd/ipcrm \
170	cmd/ipcs \
171	cmd/isaexec \
172	cmd/isalist \
173	cmd/iscsiadm \
174	cmd/iscsid \
175	cmd/iscsitsvc \
176	cmd/isns \
177	cmd/itadm \
178	cmd/kbd \
179	cmd/killall \
180	cmd/ldap \
181	cmd/last \
182	cmd/lastcomm \
183	cmd/ldapcachemgr \
184	cmd/line \
185	cmd/link \
186	cmd/locator \
187	cmd/localedef \
188	cmd/lockstat \
189	cmd/lofiadm \
190	cmd/logadm \
191	cmd/logger \
192	cmd/login \
193	cmd/logins \
194	cmd/ls \
195	cmd/luxadm \
196	cmd/lvm \
197	cmd/machid \
198	cmd/makekey \
199	cmd/mdb \
200	cmd/mesg \
201	cmd/mkdir \
202	cmd/mkfifo \
203	cmd/mkfile \
204	cmd/mkmsgs \
205	cmd/mknod \
206	cmd/mpathadm \
207	cmd/modload \
208	cmd/msgfmt \
209	cmd/msgid \
210	cmd/mt \
211	cmd/mv \
212	cmd/ndmpadm \
213	cmd/ndmpd \
214	cmd/ndmpstat \
215	cmd/newform \
216	cmd/newgrp \
217	cmd/newtask \
218	cmd/nice \
219	cmd/nl \
220	cmd/nohup \
221	cmd/nscd \
222	cmd/od \
223	cmd/pagesize \
224	cmd/passwd \
225	cmd/pathchk \
226	cmd/pbind \
227	cmd/pcidr \
228	cmd/pcitool \
229	cmd/pfexec \
230	cmd/pgrep \
231	cmd/picl/picld \
232	cmd/picl/prtpicl \
233	cmd/plockstat \
234	cmd/pools \
235	cmd/power \
236	cmd/powertop \
237	cmd/printf \
238	cmd/latencytop \
239	cmd/ppgsz \
240	cmd/praudit \
241	cmd/prctl \
242	cmd/priocntl \
243	cmd/profiles \
244	cmd/prstat \
245	cmd/prtconf \
246	cmd/prtdiag \
247	cmd/prtvtoc \
248	cmd/ps \
249	cmd/psradm \
250	cmd/psrinfo \
251	cmd/psrset \
252	cmd/ptools \
253	cmd/pwck \
254	cmd/pwconv \
255	cmd/ramdiskadm \
256	cmd/raidctl \
257	cmd/rcap \
258	cmd/rcm_daemon \
259	cmd/rctladm \
260	cmd/renice \
261	cmd/rm \
262	cmd/rmdir \
263	cmd/rmformat \
264	cmd/rmt \
265	cmd/roles \
266	cmd/rpcgen \
267	cmd/rpcsvc/rpc.bootparamd \
268	cmd/runat \
269	cmd/savecore \
270	cmd/sbdadm \
271	cmd/sdpadm \
272	cmd/setpgrp \
273	cmd/smbios \
274	cmd/sgs \
275	cmd/smbsrv \
276	cmd/smserverd \
277	cmd/sort \
278	cmd/split \
279	cmd/srptadm \
280	cmd/srptsvc \
281	cmd/ssh \
282	cmd/stat \
283	cmd/stmfadm \
284	cmd/stmfsvc \
285	cmd/stmsboot \
286	cmd/streams/strcmd \
287	cmd/strings \
288	cmd/su \
289	cmd/sulogin \
290	cmd/svc \
291	cmd/swap \
292	cmd/sync \
293	cmd/syseventadm \
294	cmd/syseventd \
295	cmd/syslogd \
296	cmd/tabs \
297	cmd/tail \
298	cmd/th_tools \
299	cmd/tip \
300	cmd/touch \
301	cmd/tr \
302	cmd/truss \
303	cmd/tty \
304	cmd/tzreload \
305	cmd/uadmin \
306	cmd/ul \
307	cmd/userattr \
308	cmd/users \
309	cmd/utmp_update \
310	cmd/utmpd \
311	cmd/valtools \
312	cmd/vrrpadm \
313	cmd/vt \
314	cmd/wall \
315	cmd/who \
316	cmd/whodo \
317	cmd/wracct \
318	cmd/wusbadm \
319	cmd/xargs \
320	cmd/xstr \
321	cmd/yes \
322	cmd/yppasswd \
323	cmd/zdb \
324	cmd/zdump \
325	cmd/zfs \
326	cmd/zinject \
327	cmd/zlogin \
328	cmd/zoneadm \
329	cmd/zoneadmd \
330	cmd/zonecfg \
331	cmd/zonename \
332	cmd/zpool \
333	cmd/zlook \
334	cmd/ztest \
335	lib/abi \
336	lib/auditd_plugins \
337	lib/libbe \
338	lib/pylibbe \
339	lib/brand/sn1 \
340	lib/brand/solaris10 \
341	lib/crypt_modules \
342	lib/extendedFILE \
343	lib/libadm \
344	lib/libadutils \
345	lib/libadt_jni \
346	lib/libaio \
347	lib/libavl \
348	lib/libbrand \
349	lib/libbsdmalloc \
350	lib/libbsm \
351	lib/libc \
352	lib/libc_db \
353	lib/libcfgadm \
354	lib/libcmdutils \
355	lib/libcommputil \
356	lib/libcontract \
357	lib/libcryptoutil \
358	lib/libctf \
359	lib/libdevice \
360	lib/libdevid \
361	lib/libdevinfo \
362	lib/libdhcpagent \
363	lib/libdhcpdu \
364	lib/libdhcpsvc \
365	lib/libdhcputil \
366	lib/libdisasm \
367	lib/libdiskmgt \
368	lib/libdladm \
369	lib/libdlpi \
370	lib/libdoor \
371	lib/libdscfg \
372	lib/libdtrace \
373	lib/libefi \
374	lib/libelfsign \
375	lib/libexacct \
376	lib/libfcoe \
377	lib/libgen \
378	lib/libgrubmgmt \
379	lib/libgss \
380	lib/libhotplug \
381	lib/libidmap \
382	lib/libilb \
383	lib/libinetsvc \
384	lib/libinetutil \
385	lib/libinstzones \
386	lib/libipadm \
387	lib/libipmi \
388	lib/libipmp \
389	lib/libipp \
390	lib/libipsecutil \
391	lib/libiscsit \
392	lib/libkmf \
393	lib/libkstat \
394	lib/liblgrp \
395	lib/liblm \
396	lib/libmalloc \
397	lib/libmapmalloc \
398	lib/libmapid \
399	lib/libmd \
400	lib/libmp \
401	lib/libmtmalloc \
402	lib/libndmp \
403	lib/libnsctl \
404	lib/libnsl \
405	lib/libnvpair \
406	lib/libnwam \
407	lib/libpam \
408	lib/libpctx \
409	lib/libpicl \
410	lib/libpicltree \
411	lib/libpkg \
412	lib/libpool \
413	lib/libproc \
414	lib/libpthread \
415	lib/libraidcfg \
416	lib/librcm \
417	lib/librdc \
418	lib/libreparse \
419	lib/librestart \
420	lib/librstp \
421	lib/librt \
422	lib/libscf \
423	lib/libsec \
424	lib/libsecdb \
425	lib/libsendfile \
426	lib/libsip \
427	lib/libshare \
428	lib/libsldap \
429	lib/libslp \
430	lib/libsmbfs \
431	lib/libsmbios \
432	lib/libsmedia \
433	lib/libsrpt \
434	lib/libstmf \
435	lib/libsun_ima \
436	lib/libsysevent \
437	lib/libthread \
438	lib/libtsnet \
439	lib/libtsol \
440	lib/libumem \
441	lib/libunistat \
442	lib/libuuid \
443	lib/libuutil \
444	lib/libvrrpadm \
445	lib/libwanboot \
446	lib/libwanbootutil \
447	lib/libxnet \
448	lib/libzfs \
449	lib/libzfs_jni \
450	lib/libzonecfg \
451	lib/libzoneinfo \
452	lib/lvm \
453	lib/madv \
454	lib/mpss \
455	lib/nametoaddr \
456	lib/ncad_addr \
457	lib/nsswitch \
458	lib/pam_modules \
459	lib/passwdutil \
460	lib/pkcs11 \
461	lib/print \
462	lib/raidcfg_plugins \
463	lib/scsi \
464	lib/smbsrv \
465	lib/fm \
466	lib/udapl \
467	lib/watchmalloc \
468	psm \
469	ucbcmd/basename \
470	ucbcmd/biff \
471	ucbcmd/echo \
472	ucbcmd/groups \
473	ucbcmd/mkstr \
474	ucbcmd/printenv \
475	ucbcmd/sum \
476	ucbcmd/test \
477	ucbcmd/users \
478	ucbcmd/whoami
479
480i386_SUBDIRS= \
481	cmd/acpihpd \
482	cmd/biosdev \
483	cmd/rtc \
484	cmd/ucodeadm \
485	lib/cfgadm_plugins/sata \
486	lib/cfgadm_plugins/sbd \
487	lib/libfdisk
488
489sparc_SUBDIRS= \
490	cmd/datadm \
491	cmd/dcs \
492	cmd/drd \
493	cmd/fps \
494	cmd/fruadm \
495	cmd/ldmad \
496	cmd/prtdscp \
497	cmd/prtfru \
498	cmd/sckmd \
499	cmd/virtinfo \
500	cmd/vntsd \
501	lib/libds \
502	lib/libdscp \
503	lib/libpri \
504	lib/libpcp \
505	lib/libtsalarm \
506	lib/libv12n \
507	lib/storage \
508	stand
509
510LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
511
512.PARALLEL:	$(LINTSUBDIRS)
513
514lint:		uts .WAIT subdirs
515
516subdirs:	$(LINTSUBDIRS)
517
518uts $(LINTSUBDIRS):	FRC
519	@cd $@; pwd; $(MAKE) lint
520
521FRC:
522