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