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