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