xref: /titanic_52/usr/src/Makefile.lint (revision aedf2b3bb56b025fcaf87b49ec6c8aeea07f16d7)
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/audiotest \
39	cmd/audio/mixerctl \
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/nispasswd \
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/sbdadm \
267	cmd/sdpadm \
268	cmd/setpgrp \
269	cmd/smbios \
270	cmd/sgs \
271	cmd/smbsrv \
272	cmd/smserverd \
273	cmd/sort \
274	cmd/split \
275	cmd/ssh \
276	cmd/stat \
277	cmd/stmfadm \
278	cmd/stmfsvc \
279	cmd/stmsboot \
280	cmd/streams/strcmd \
281	cmd/strings \
282	cmd/su \
283	cmd/sulogin \
284	cmd/svc \
285	cmd/swap \
286	cmd/sync \
287	cmd/syseventadm \
288	cmd/syseventd \
289	cmd/syslogd \
290	cmd/tabs \
291	cmd/th_tools \
292	cmd/tip \
293	cmd/touch \
294	cmd/truss \
295	cmd/tty \
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/libsmbios \
422	lib/libsmedia \
423	lib/libstmf \
424	lib/libsun_ima \
425	lib/libthread \
426	lib/libtsnet \
427	lib/libtsol \
428	lib/libumem \
429	lib/libunistat \
430	lib/libuuid \
431	lib/libuutil \
432	lib/libvrrpadm \
433	lib/libwanboot \
434	lib/libwanbootutil \
435	lib/libxnet \
436	lib/libzfs \
437	lib/libzfs_jni \
438	lib/libzonecfg \
439	lib/libzoneinfo \
440	lib/lvm \
441	lib/madv \
442	lib/mms	\
443	lib/mpss \
444	lib/nametoaddr \
445	lib/ncad_addr \
446	lib/nsswitch \
447	lib/pam_modules \
448	lib/passwdutil \
449	lib/pkcs11 \
450	lib/print \
451	lib/raidcfg_plugins \
452	lib/scsi \
453	lib/smbsrv \
454	lib/fm \
455	lib/udapl \
456	lib/watchmalloc \
457	psm \
458	ucbcmd/basename \
459	ucbcmd/biff \
460	ucbcmd/echo \
461	ucbcmd/groups \
462	ucbcmd/mkstr \
463	ucbcmd/printenv \
464	ucbcmd/sum \
465	ucbcmd/test \
466	ucbcmd/users \
467	ucbcmd/whoami
468
469$(CLOSED_BUILD)COMMON_SUBDIRS += \
470	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
471	$(CLOSED)/cmd/pax \
472	$(CLOSED)/cmd/sed_xpg4 \
473	$(CLOSED)/cmd/tail \
474	$(CLOSED)/cmd/tr_xpg4 \
475	$(CLOSED)/lib/libc_i18n
476
477i386_SUBDIRS= \
478	cmd/biosdev \
479	cmd/rtc \
480	cmd/ucodeadm \
481	lib/brand/lx \
482	lib/cfgadm_plugins/sata \
483	lib/libfdisk
484
485sparc_SUBDIRS= \
486	cmd/datadm \
487	cmd/dcs \
488	cmd/drd \
489	cmd/fps \
490	cmd/fruadm \
491	cmd/ldmad \
492	cmd/prtdscp \
493	cmd/prtfru \
494	cmd/sckmd \
495	cmd/vntsd \
496	lib/libds \
497	lib/libdscp \
498	lib/libpri \
499	lib/libpcp \
500	lib/libtsalarm \
501	lib/storage \
502	stand
503
504$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
505
506LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
507
508.PARALLEL:	$(LINTSUBDIRS)
509
510lint:		uts .WAIT subdirs
511
512subdirs:	$(LINTSUBDIRS)
513
514uts $(LINTSUBDIRS):	FRC
515	@cd $@; pwd; $(MAKE) lint
516
517FRC:
518