xref: /titanic_51/usr/src/Makefile.lint (revision efd4c9b63ad77503c101fc6c2ed8ba96c9d52964)
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/lockstat \
188	cmd/lofiadm \
189	cmd/logadm \
190	cmd/logger \
191	cmd/login \
192	cmd/logins \
193	cmd/ls \
194	cmd/luxadm \
195	cmd/lvm \
196	cmd/machid \
197	cmd/makekey \
198	cmd/mdb \
199	cmd/mesg \
200	cmd/mkdir \
201	cmd/mkfifo \
202	cmd/mkfile \
203	cmd/mkmsgs \
204	cmd/mknod \
205	cmd/mpathadm \
206	cmd/modload \
207	cmd/msgfmt \
208	cmd/msgid \
209	cmd/mt \
210	cmd/mv \
211	cmd/ndmpadm \
212	cmd/ndmpd \
213	cmd/ndmpstat \
214	cmd/newform \
215	cmd/newgrp \
216	cmd/newtask \
217	cmd/nice \
218	cmd/nl \
219	cmd/nohup \
220	cmd/nscd \
221	cmd/pagesize \
222	cmd/passwd \
223	cmd/pathchk \
224	cmd/pbind \
225	cmd/pcidr \
226	cmd/pcitool \
227	cmd/pfexec \
228	cmd/pgrep \
229	cmd/picl/picld \
230	cmd/picl/prtpicl \
231	cmd/plockstat \
232	cmd/pools \
233	cmd/power \
234	cmd/powertop \
235	cmd/latencytop \
236	cmd/ppgsz \
237	cmd/praudit \
238	cmd/prctl \
239	cmd/priocntl \
240	cmd/profiles \
241	cmd/prstat \
242	cmd/prtconf \
243	cmd/prtdiag \
244	cmd/prtvtoc \
245	cmd/ps \
246	cmd/psradm \
247	cmd/psrinfo \
248	cmd/psrset \
249	cmd/ptools \
250	cmd/pwck \
251	cmd/pwconv \
252	cmd/ramdiskadm \
253	cmd/raidctl \
254	cmd/rcap \
255	cmd/rcm_daemon \
256	cmd/rctladm \
257	cmd/renice \
258	cmd/rm \
259	cmd/rmdir \
260	cmd/rmformat \
261	cmd/rmt \
262	cmd/roles \
263	cmd/rpcgen \
264	cmd/rpcsvc/rpc.bootparamd \
265	cmd/runat \
266	cmd/savecore \
267	cmd/sbdadm \
268	cmd/sdpadm \
269	cmd/setpgrp \
270	cmd/smbios \
271	cmd/sgs \
272	cmd/smbsrv \
273	cmd/smserverd \
274	cmd/sort \
275	cmd/split \
276	cmd/srptadm \
277	cmd/srptsvc \
278	cmd/ssh \
279	cmd/stat \
280	cmd/stmfadm \
281	cmd/stmfsvc \
282	cmd/stmsboot \
283	cmd/streams/strcmd \
284	cmd/strings \
285	cmd/su \
286	cmd/sulogin \
287	cmd/svc \
288	cmd/swap \
289	cmd/sync \
290	cmd/syseventadm \
291	cmd/syseventd \
292	cmd/syslogd \
293	cmd/tabs \
294	cmd/th_tools \
295	cmd/tip \
296	cmd/touch \
297	cmd/truss \
298	cmd/tty \
299	cmd/tzreload \
300	cmd/uadmin \
301	cmd/ul \
302	cmd/userattr \
303	cmd/users \
304	cmd/utmp_update \
305	cmd/utmpd \
306	cmd/valtools \
307	cmd/vrrpadm \
308	cmd/vt \
309	cmd/wall \
310	cmd/wbem \
311	cmd/who \
312	cmd/whodo \
313	cmd/wracct \
314	cmd/wusbadm \
315	cmd/xargs \
316	cmd/xstr \
317	cmd/yes \
318	cmd/yppasswd \
319	cmd/zdb \
320	cmd/zdump \
321	cmd/zfs \
322	cmd/zinject \
323	cmd/zlogin \
324	cmd/zoneadm \
325	cmd/zoneadmd \
326	cmd/zonecfg \
327	cmd/zonename \
328	cmd/zpool \
329	cmd/zlook \
330	cmd/ztest \
331	lib/abi \
332	lib/auditd_plugins \
333	lib/libbe \
334	lib/pylibbe \
335	lib/brand/sn1 \
336	lib/brand/solaris10 \
337	lib/crypt_modules \
338	lib/extendedFILE \
339	lib/libadutils \
340	lib/libadt_jni \
341	lib/libaio \
342	lib/libavl \
343	lib/libbrand \
344	lib/libbsdmalloc \
345	lib/libbsm \
346	lib/libc \
347	lib/libc_db \
348	lib/libcfgadm \
349	lib/libcmdutils \
350	lib/libcommputil \
351	lib/libcontract \
352	lib/libcryptoutil \
353	lib/libctf \
354	lib/libdevice \
355	lib/libdevid \
356	lib/libdevinfo \
357	lib/libdhcpagent \
358	lib/libdhcpdu \
359	lib/libdhcpsvc \
360	lib/libdhcputil \
361	lib/libdisasm \
362	lib/libdiskmgt \
363	lib/libdladm \
364	lib/libdlpi \
365	lib/libdoor \
366	lib/libdscfg \
367	lib/libdtrace \
368	lib/libefi \
369	lib/libelfsign \
370	lib/libexacct \
371	lib/libfcoe \
372	lib/libgen \
373	lib/libgrubmgmt \
374	lib/libgss \
375	lib/libhotplug \
376	lib/libidmap \
377	lib/libilb \
378	lib/libinetsvc \
379	lib/libinetutil \
380	lib/libinstzones \
381	lib/libipadm \
382	lib/libipmi \
383	lib/libipmp \
384	lib/libipp \
385	lib/libipsecutil \
386	lib/libiscsit \
387	lib/libkmf \
388	lib/libkstat \
389	lib/liblgrp \
390	lib/liblm \
391	lib/libmalloc \
392	lib/libmapmalloc \
393	lib/libmapid \
394	lib/libmd \
395	lib/libmp \
396	lib/libmtmalloc \
397	lib/libndmp \
398	lib/libnsctl \
399	lib/libnsl \
400	lib/libnvpair \
401	lib/libnwam \
402	lib/libpam \
403	lib/libpctx \
404	lib/libpicl \
405	lib/libpicltree \
406	lib/libplot \
407	lib/libpool \
408	lib/libproc \
409	lib/libpthread \
410	lib/libraidcfg \
411	lib/librcm \
412	lib/librdc \
413	lib/libreparse \
414	lib/librestart \
415	lib/librstp \
416	lib/librt \
417	lib/libscf \
418	lib/libsec \
419	lib/libsecdb \
420	lib/libsendfile \
421	lib/libsip \
422	lib/libshare \
423	lib/libsldap \
424	lib/libslp \
425	lib/libsmbfs \
426	lib/libsmbios \
427	lib/libsmedia \
428	lib/libsrpt \
429	lib/libstmf \
430	lib/libsun_ima \
431	lib/libsysevent \
432	lib/libthread \
433	lib/libtsnet \
434	lib/libtsol \
435	lib/libumem \
436	lib/libunistat \
437	lib/libuuid \
438	lib/libuutil \
439	lib/libvrrpadm \
440	lib/libwanboot \
441	lib/libwanbootutil \
442	lib/libxnet \
443	lib/libzfs \
444	lib/libzfs_jni \
445	lib/libzonecfg \
446	lib/libzoneinfo \
447	lib/lvm \
448	lib/madv \
449	lib/mpss \
450	lib/nametoaddr \
451	lib/ncad_addr \
452	lib/nsswitch \
453	lib/pam_modules \
454	lib/passwdutil \
455	lib/pkcs11 \
456	lib/print \
457	lib/raidcfg_plugins \
458	lib/scsi \
459	lib/smbsrv \
460	lib/fm \
461	lib/udapl \
462	lib/watchmalloc \
463	psm \
464	ucbcmd/basename \
465	ucbcmd/biff \
466	ucbcmd/echo \
467	ucbcmd/groups \
468	ucbcmd/mkstr \
469	ucbcmd/printenv \
470	ucbcmd/sum \
471	ucbcmd/test \
472	ucbcmd/users \
473	ucbcmd/whoami
474
475$(CLOSED_BUILD)COMMON_SUBDIRS += \
476	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
477	$(CLOSED)/cmd/pax \
478	$(CLOSED)/cmd/sed_xpg4 \
479	$(CLOSED)/cmd/tail \
480	$(CLOSED)/cmd/tr_xpg4 \
481	$(CLOSED)/lib/libc_i18n
482
483i386_SUBDIRS= \
484	cmd/acpihpd \
485	cmd/biosdev \
486	cmd/rtc \
487	cmd/ucodeadm \
488	lib/cfgadm_plugins/sata \
489	lib/cfgadm_plugins/sbd \
490	lib/libfdisk
491
492sparc_SUBDIRS= \
493	cmd/datadm \
494	cmd/dcs \
495	cmd/drd \
496	cmd/fps \
497	cmd/fruadm \
498	cmd/ldmad \
499	cmd/prtdscp \
500	cmd/prtfru \
501	cmd/sckmd \
502	cmd/virtinfo \
503	cmd/vntsd \
504	lib/libds \
505	lib/libdscp \
506	lib/libpri \
507	lib/libpcp \
508	lib/libtsalarm \
509	lib/libv12n \
510	lib/storage \
511	stand
512
513$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
514
515LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
516
517.PARALLEL:	$(LINTSUBDIRS)
518
519lint:		uts .WAIT subdirs
520
521subdirs:	$(LINTSUBDIRS)
522
523uts $(LINTSUBDIRS):	FRC
524	@cd $@; pwd; $(MAKE) lint
525
526FRC:
527