xref: /titanic_41/usr/src/Makefile.lint (revision e5351341b58845eee9d722bd71543d5a7c26b6cc)
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/sed \
273	cmd/setpgrp \
274	cmd/smbios \
275	cmd/sgs \
276	cmd/smbsrv \
277	cmd/smserverd \
278	cmd/sort \
279	cmd/split \
280	cmd/srptadm \
281	cmd/srptsvc \
282	cmd/ssh \
283	cmd/stat \
284	cmd/stmfadm \
285	cmd/stmfsvc \
286	cmd/stmsboot \
287	cmd/streams/strcmd \
288	cmd/strings \
289	cmd/su \
290	cmd/sulogin \
291	cmd/svc \
292	cmd/swap \
293	cmd/sync \
294	cmd/syseventadm \
295	cmd/syseventd \
296	cmd/syslogd \
297	cmd/tabs \
298	cmd/tail \
299	cmd/th_tools \
300	cmd/tip \
301	cmd/touch \
302	cmd/tr \
303	cmd/truss \
304	cmd/tty \
305	cmd/tzreload \
306	cmd/uadmin \
307	cmd/ul \
308	cmd/userattr \
309	cmd/users \
310	cmd/utmp_update \
311	cmd/utmpd \
312	cmd/valtools \
313	cmd/vrrpadm \
314	cmd/vt \
315	cmd/wall \
316	cmd/who \
317	cmd/whodo \
318	cmd/wracct \
319	cmd/wusbadm \
320	cmd/xargs \
321	cmd/xstr \
322	cmd/yes \
323	cmd/yppasswd \
324	cmd/zdb \
325	cmd/zdump \
326	cmd/zfs \
327	cmd/zinject \
328	cmd/zlogin \
329	cmd/zoneadm \
330	cmd/zoneadmd \
331	cmd/zonecfg \
332	cmd/zonename \
333	cmd/zpool \
334	cmd/zlook \
335	cmd/ztest \
336	lib/abi \
337	lib/auditd_plugins \
338	lib/libbe \
339	lib/pylibbe \
340	lib/brand/sn1 \
341	lib/brand/solaris10 \
342	lib/crypt_modules \
343	lib/extendedFILE \
344	lib/libadm \
345	lib/libadutils \
346	lib/libadt_jni \
347	lib/libaio \
348	lib/libavl \
349	lib/libbrand \
350	lib/libbsdmalloc \
351	lib/libbsm \
352	lib/libc \
353	lib/libc_db \
354	lib/libcfgadm \
355	lib/libcmdutils \
356	lib/libcommputil \
357	lib/libcontract \
358	lib/libcryptoutil \
359	lib/libctf \
360	lib/libdevice \
361	lib/libdevid \
362	lib/libdevinfo \
363	lib/libdhcpagent \
364	lib/libdhcpdu \
365	lib/libdhcpsvc \
366	lib/libdhcputil \
367	lib/libdisasm \
368	lib/libdiskmgt \
369	lib/libdladm \
370	lib/libdlpi \
371	lib/libdoor \
372	lib/libdscfg \
373	lib/libdtrace \
374	lib/libefi \
375	lib/libelfsign \
376	lib/libexacct \
377	lib/libfcoe \
378	lib/libgen \
379	lib/libgrubmgmt \
380	lib/libgss \
381	lib/libhotplug \
382	lib/libidmap \
383	lib/libilb \
384	lib/libinetsvc \
385	lib/libinetutil \
386	lib/libinstzones \
387	lib/libipadm \
388	lib/libipmi \
389	lib/libipmp \
390	lib/libipp \
391	lib/libipsecutil \
392	lib/libiscsit \
393	lib/libkmf \
394	lib/libkstat \
395	lib/liblgrp \
396	lib/liblm \
397	lib/libmalloc \
398	lib/libmapmalloc \
399	lib/libmapid \
400	lib/libmd \
401	lib/libmp \
402	lib/libmtmalloc \
403	lib/libndmp \
404	lib/libnsctl \
405	lib/libnsl \
406	lib/libnvpair \
407	lib/libnwam \
408	lib/libpam \
409	lib/libpctx \
410	lib/libpicl \
411	lib/libpicltree \
412	lib/libpkg \
413	lib/libpool \
414	lib/libproc \
415	lib/libpthread \
416	lib/libraidcfg \
417	lib/librcm \
418	lib/librdc \
419	lib/libreparse \
420	lib/librestart \
421	lib/librstp \
422	lib/librt \
423	lib/libscf \
424	lib/libsec \
425	lib/libsecdb \
426	lib/libsendfile \
427	lib/libsip \
428	lib/libshare \
429	lib/libsldap \
430	lib/libslp \
431	lib/libsmbfs \
432	lib/libsmbios \
433	lib/libsmedia \
434	lib/libsrpt \
435	lib/libstmf \
436	lib/libsun_ima \
437	lib/libsysevent \
438	lib/libthread \
439	lib/libtsnet \
440	lib/libtsol \
441	lib/libumem \
442	lib/libunistat \
443	lib/libuuid \
444	lib/libuutil \
445	lib/libvrrpadm \
446	lib/libwanboot \
447	lib/libwanbootutil \
448	lib/libxnet \
449	lib/libzfs \
450	lib/libzfs_jni \
451	lib/libzonecfg \
452	lib/libzoneinfo \
453	lib/lvm \
454	lib/madv \
455	lib/mpss \
456	lib/nametoaddr \
457	lib/ncad_addr \
458	lib/nsswitch \
459	lib/pam_modules \
460	lib/passwdutil \
461	lib/pkcs11 \
462	lib/print \
463	lib/raidcfg_plugins \
464	lib/scsi \
465	lib/smbsrv \
466	lib/fm \
467	lib/udapl \
468	lib/watchmalloc \
469	psm \
470	ucbcmd/basename \
471	ucbcmd/biff \
472	ucbcmd/echo \
473	ucbcmd/groups \
474	ucbcmd/mkstr \
475	ucbcmd/printenv \
476	ucbcmd/sum \
477	ucbcmd/test \
478	ucbcmd/users \
479	ucbcmd/whoami
480
481i386_SUBDIRS= \
482	cmd/acpihpd \
483	cmd/biosdev \
484	cmd/rtc \
485	cmd/ucodeadm \
486	lib/cfgadm_plugins/sata \
487	lib/cfgadm_plugins/sbd \
488	lib/libfdisk
489
490sparc_SUBDIRS= \
491	cmd/datadm \
492	cmd/dcs \
493	cmd/drd \
494	cmd/fps \
495	cmd/fruadm \
496	cmd/ldmad \
497	cmd/prtdscp \
498	cmd/prtfru \
499	cmd/sckmd \
500	cmd/virtinfo \
501	cmd/vntsd \
502	lib/libds \
503	lib/libdscp \
504	lib/libpri \
505	lib/libpcp \
506	lib/libtsalarm \
507	lib/libv12n \
508	lib/storage \
509	stand
510
511LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
512
513.PARALLEL:	$(LINTSUBDIRS)
514
515lint:		uts .WAIT subdirs
516
517subdirs:	$(LINTSUBDIRS)
518
519uts $(LINTSUBDIRS):	FRC
520	@cd $@; pwd; $(MAKE) lint
521
522FRC:
523