xref: /titanic_51/usr/src/Makefile.lint (revision 8703921742d9c7d4d3724f89a39ff0e2725cbe7b)
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/pagesize \
223	cmd/passwd \
224	cmd/pathchk \
225	cmd/pbind \
226	cmd/pcidr \
227	cmd/pcitool \
228	cmd/pfexec \
229	cmd/pgrep \
230	cmd/picl/picld \
231	cmd/picl/prtpicl \
232	cmd/plockstat \
233	cmd/pools \
234	cmd/power \
235	cmd/powertop \
236	cmd/latencytop \
237	cmd/ppgsz \
238	cmd/praudit \
239	cmd/prctl \
240	cmd/priocntl \
241	cmd/profiles \
242	cmd/prstat \
243	cmd/prtconf \
244	cmd/prtdiag \
245	cmd/prtvtoc \
246	cmd/ps \
247	cmd/psradm \
248	cmd/psrinfo \
249	cmd/psrset \
250	cmd/ptools \
251	cmd/pwck \
252	cmd/pwconv \
253	cmd/ramdiskadm \
254	cmd/raidctl \
255	cmd/rcap \
256	cmd/rcm_daemon \
257	cmd/rctladm \
258	cmd/renice \
259	cmd/rm \
260	cmd/rmdir \
261	cmd/rmformat \
262	cmd/rmt \
263	cmd/roles \
264	cmd/rpcgen \
265	cmd/rpcsvc/rpc.bootparamd \
266	cmd/runat \
267	cmd/savecore \
268	cmd/sbdadm \
269	cmd/sdpadm \
270	cmd/setpgrp \
271	cmd/smbios \
272	cmd/sgs \
273	cmd/smbsrv \
274	cmd/smserverd \
275	cmd/sort \
276	cmd/split \
277	cmd/srptadm \
278	cmd/srptsvc \
279	cmd/ssh \
280	cmd/stat \
281	cmd/stmfadm \
282	cmd/stmfsvc \
283	cmd/stmsboot \
284	cmd/streams/strcmd \
285	cmd/strings \
286	cmd/su \
287	cmd/sulogin \
288	cmd/svc \
289	cmd/swap \
290	cmd/sync \
291	cmd/syseventadm \
292	cmd/syseventd \
293	cmd/syslogd \
294	cmd/tabs \
295	cmd/tail \
296	cmd/th_tools \
297	cmd/tip \
298	cmd/touch \
299	cmd/tr \
300	cmd/truss \
301	cmd/tty \
302	cmd/tzreload \
303	cmd/uadmin \
304	cmd/ul \
305	cmd/userattr \
306	cmd/users \
307	cmd/utmp_update \
308	cmd/utmpd \
309	cmd/valtools \
310	cmd/vrrpadm \
311	cmd/vt \
312	cmd/wall \
313	cmd/who \
314	cmd/whodo \
315	cmd/wracct \
316	cmd/wusbadm \
317	cmd/xargs \
318	cmd/xstr \
319	cmd/yes \
320	cmd/yppasswd \
321	cmd/zdb \
322	cmd/zdump \
323	cmd/zfs \
324	cmd/zinject \
325	cmd/zlogin \
326	cmd/zoneadm \
327	cmd/zoneadmd \
328	cmd/zonecfg \
329	cmd/zonename \
330	cmd/zpool \
331	cmd/zlook \
332	cmd/ztest \
333	lib/abi \
334	lib/auditd_plugins \
335	lib/libbe \
336	lib/pylibbe \
337	lib/brand/sn1 \
338	lib/brand/solaris10 \
339	lib/crypt_modules \
340	lib/extendedFILE \
341	lib/libadutils \
342	lib/libadt_jni \
343	lib/libaio \
344	lib/libavl \
345	lib/libbrand \
346	lib/libbsdmalloc \
347	lib/libbsm \
348	lib/libc \
349	lib/libc_db \
350	lib/libcfgadm \
351	lib/libcmdutils \
352	lib/libcommputil \
353	lib/libcontract \
354	lib/libcryptoutil \
355	lib/libctf \
356	lib/libdevice \
357	lib/libdevid \
358	lib/libdevinfo \
359	lib/libdhcpagent \
360	lib/libdhcpdu \
361	lib/libdhcpsvc \
362	lib/libdhcputil \
363	lib/libdisasm \
364	lib/libdiskmgt \
365	lib/libdladm \
366	lib/libdlpi \
367	lib/libdoor \
368	lib/libdscfg \
369	lib/libdtrace \
370	lib/libefi \
371	lib/libelfsign \
372	lib/libexacct \
373	lib/libfcoe \
374	lib/libgen \
375	lib/libgrubmgmt \
376	lib/libgss \
377	lib/libhotplug \
378	lib/libidmap \
379	lib/libilb \
380	lib/libinetsvc \
381	lib/libinetutil \
382	lib/libinstzones \
383	lib/libipadm \
384	lib/libipmi \
385	lib/libipmp \
386	lib/libipp \
387	lib/libipsecutil \
388	lib/libiscsit \
389	lib/libkmf \
390	lib/libkstat \
391	lib/liblgrp \
392	lib/liblm \
393	lib/libmalloc \
394	lib/libmapmalloc \
395	lib/libmapid \
396	lib/libmd \
397	lib/libmp \
398	lib/libmtmalloc \
399	lib/libndmp \
400	lib/libnsctl \
401	lib/libnsl \
402	lib/libnvpair \
403	lib/libnwam \
404	lib/libpam \
405	lib/libpctx \
406	lib/libpicl \
407	lib/libpicltree \
408	lib/libplot \
409	lib/libpool \
410	lib/libproc \
411	lib/libpthread \
412	lib/libraidcfg \
413	lib/librcm \
414	lib/librdc \
415	lib/libreparse \
416	lib/librestart \
417	lib/librstp \
418	lib/librt \
419	lib/libscf \
420	lib/libsec \
421	lib/libsecdb \
422	lib/libsendfile \
423	lib/libsip \
424	lib/libshare \
425	lib/libsldap \
426	lib/libslp \
427	lib/libsmbfs \
428	lib/libsmbios \
429	lib/libsmedia \
430	lib/libsrpt \
431	lib/libstmf \
432	lib/libsun_ima \
433	lib/libsysevent \
434	lib/libthread \
435	lib/libtsnet \
436	lib/libtsol \
437	lib/libumem \
438	lib/libunistat \
439	lib/libuuid \
440	lib/libuutil \
441	lib/libvrrpadm \
442	lib/libwanboot \
443	lib/libwanbootutil \
444	lib/libxnet \
445	lib/libzfs \
446	lib/libzfs_jni \
447	lib/libzonecfg \
448	lib/libzoneinfo \
449	lib/lvm \
450	lib/madv \
451	lib/mpss \
452	lib/nametoaddr \
453	lib/ncad_addr \
454	lib/nsswitch \
455	lib/pam_modules \
456	lib/passwdutil \
457	lib/pkcs11 \
458	lib/print \
459	lib/raidcfg_plugins \
460	lib/scsi \
461	lib/smbsrv \
462	lib/fm \
463	lib/udapl \
464	lib/watchmalloc \
465	psm \
466	ucbcmd/basename \
467	ucbcmd/biff \
468	ucbcmd/echo \
469	ucbcmd/groups \
470	ucbcmd/mkstr \
471	ucbcmd/printenv \
472	ucbcmd/sum \
473	ucbcmd/test \
474	ucbcmd/users \
475	ucbcmd/whoami
476
477$(CLOSED_BUILD)COMMON_SUBDIRS += \
478	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
479	$(CLOSED)/cmd/pax \
480	$(CLOSED)/cmd/sed_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