xref: /titanic_44/usr/src/Makefile.lint (revision 4d90dd0ecdace5438d0a722068b380d85fd8cea5)
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/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/col \
88	cmd/compress \
89	cmd/consadm \
90	cmd/coreadm \
91	cmd/cpc \
92	cmd/cpio \
93	cmd/crypt \
94	cmd/csplit \
95	cmd/ctrun \
96	cmd/ctstat \
97	cmd/ctwatch \
98	cmd/date \
99	cmd/dd \
100	cmd/deroff \
101	cmd/devctl \
102	cmd/devfsadm \
103	cmd/devinfo \
104	cmd/devmgmt \
105	cmd/devprop \
106	cmd/dfs.cmds \
107	cmd/diff3 \
108	cmd/dis \
109	cmd/dirname \
110	cmd/diskscan \
111	cmd/dispadmin \
112	cmd/dladm \
113	cmd/dlmgmtd \
114	cmd/dtrace \
115	cmd/du \
116	cmd/dumpadm \
117	cmd/dumpcs \
118	cmd/echo \
119	cmd/eject \
120	cmd/emul64ioctl \
121	cmd/env \
122	cmd/expand \
123	cmd/fcinfo \
124	cmd/fdetach \
125	cmd/fdformat \
126	cmd/fgrep \
127	cmd/file \
128	cmd/filebench \
129	cmd/find \
130	cmd/fmthard \
131	cmd/fmtmsg \
132	cmd/fold \
133	cmd/fm \
134	cmd/format \
135	cmd/fs.d/fd \
136	cmd/fs.d/lofs/mount \
137	cmd/fs.d/mntfs \
138	cmd/fs.d/pcfs/mount \
139	cmd/fs.d/proc \
140	cmd/fs.d/tmpfs \
141	cmd/fs.d/udfs/mount \
142	cmd/fs.d/ufs/mount \
143	cmd/fs.d/ufs/fsirand\
144	cmd/fs.d/zfs/fstyp \
145	cmd/fwflash \
146	cmd/fuser \
147	cmd/gcore \
148	cmd/genmsg \
149	cmd/getconf \
150	cmd/getdevpolicy \
151	cmd/getfacl \
152	cmd/getopt \
153	cmd/gettext \
154	cmd/grep \
155	cmd/grep_xpg4 \
156	cmd/groups \
157	cmd/halt \
158	cmd/head \
159	cmd/hostid \
160	cmd/hostname \
161	cmd/hotplug \
162	cmd/hotplugd \
163	cmd/idmap \
164	cmd/init \
165	cmd/intrstat \
166	cmd/ipcrm \
167	cmd/ipcs \
168	cmd/isaexec \
169	cmd/isalist \
170	cmd/iscsi \
171	cmd/iscsiadm \
172	cmd/iscsid \
173	cmd/iscsitsvc \
174	cmd/isns \
175	cmd/itadm \
176	cmd/kbd \
177	cmd/killall \
178	cmd/last \
179	cmd/lastcomm \
180	cmd/ldapcachemgr \
181	cmd/line \
182	cmd/link \
183	cmd/locator \
184	cmd/lockstat \
185	cmd/lofiadm \
186	cmd/logadm \
187	cmd/logger \
188	cmd/login \
189	cmd/logins \
190	cmd/ls \
191	cmd/luxadm \
192	cmd/lvm \
193	cmd/machid \
194	cmd/makekey \
195	cmd/mdb \
196	cmd/mesg \
197	cmd/mkdir \
198	cmd/mkfifo \
199	cmd/mkfile \
200	cmd/mkmsgs \
201	cmd/mknod \
202	cmd/mms	\
203	cmd/mpathadm \
204	cmd/modload \
205	cmd/msgfmt \
206	cmd/msgid \
207	cmd/mt \
208	cmd/mv \
209	cmd/ndmpadm \
210	cmd/ndmpd \
211	cmd/ndmpstat \
212	cmd/newform \
213	cmd/newgrp \
214	cmd/newtask \
215	cmd/nice \
216	cmd/nispasswd \
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/uadmin \
296	cmd/ul \
297	cmd/users \
298	cmd/utmp_update \
299	cmd/utmpd \
300	cmd/valtools \
301	cmd/vt \
302	cmd/wall \
303	cmd/wbem \
304	cmd/who \
305	cmd/whodo \
306	cmd/wracct \
307	cmd/wusbadm \
308	cmd/xargs \
309	cmd/xstr \
310	cmd/yes \
311	cmd/yppasswd \
312	cmd/zdb \
313	cmd/zdump \
314	cmd/zfs \
315	cmd/zinject \
316	cmd/zlogin \
317	cmd/zoneadm \
318	cmd/zoneadmd \
319	cmd/zonecfg \
320	cmd/zonename \
321	cmd/zpool \
322	cmd/zlook \
323	cmd/ztest \
324	lib/abi \
325	lib/auditd_plugins \
326	lib/brand/native \
327	lib/brand/sn1 \
328	lib/brand/solaris10 \
329	lib/cfgadm_plugins/sdcard \
330	lib/crypt_modules \
331	lib/extendedFILE \
332	lib/libadutils \
333	lib/libadt_jni \
334	lib/libaio \
335	lib/libavl \
336	lib/libbrand \
337	lib/libbsdmalloc \
338	lib/libbsm \
339	lib/libc \
340	lib/libc_db \
341	lib/libcfgadm \
342	lib/libcmdutils \
343	lib/libcommputil \
344	lib/libcontract \
345	lib/libcryptoutil \
346	lib/libctf \
347	lib/libdevice \
348	lib/libdevid \
349	lib/libdevinfo \
350	lib/libdhcpagent \
351	lib/libdhcpdu \
352	lib/libdhcpsvc \
353	lib/libdhcputil \
354	lib/libdisasm \
355	lib/libdiskmgt \
356	lib/libdladm \
357	lib/libdlpi \
358	lib/libdoor \
359	lib/libdscfg \
360	lib/libdtrace \
361	lib/libefi \
362	lib/libelfsign \
363	lib/libexacct \
364	lib/libfcoe \
365	lib/libgen \
366	lib/libgrubmgmt \
367	lib/libgss \
368	lib/libhotplug \
369	lib/libidmap \
370	lib/libilb \
371	lib/libinetcfg \
372	lib/libinetsvc \
373	lib/libinetutil \
374	lib/libinstzones \
375	lib/libipmi \
376	lib/libipmp \
377	lib/libipp \
378	lib/libipsecutil \
379	lib/libiscsit \
380	lib/libiscsitgt \
381	lib/libkmf \
382	lib/libkstat \
383	lib/liblgrp \
384	lib/liblm \
385	lib/libmalloc \
386	lib/libmapmalloc \
387	lib/libmapid \
388	lib/libmd \
389	lib/libmp \
390	lib/libmtmalloc \
391	lib/libndmp \
392	lib/libnsctl \
393	lib/libnsl \
394	lib/libnvpair \
395	lib/libnwam \
396	lib/libpam \
397	lib/libpctx \
398	lib/libpicl \
399	lib/libpicltree \
400	lib/libplot \
401	lib/libpool \
402	lib/libproc \
403	lib/libpthread \
404	lib/libraidcfg \
405	lib/librcm \
406	lib/librdc \
407	lib/libreparse \
408	lib/librestart \
409	lib/librstp \
410	lib/librt \
411	lib/libscf \
412	lib/libsec \
413	lib/libsecdb \
414	lib/libsendfile \
415	lib/libsip \
416	lib/libshare \
417	lib/libsldap \
418	lib/libslp \
419	lib/libsmbios \
420	lib/libsmedia \
421	lib/libstmf \
422	lib/libsun_ima \
423	lib/libthread \
424	lib/libtsnet \
425	lib/libtsol \
426	lib/libumem \
427	lib/libunistat \
428	lib/libuuid \
429	lib/libuutil \
430	lib/libwanboot \
431	lib/libwanbootutil \
432	lib/libxnet \
433	lib/libzfs \
434	lib/libzfs_jni \
435	lib/libzonecfg \
436	lib/libzoneinfo \
437	lib/lvm \
438	lib/madv \
439	lib/mms	\
440	lib/mpss \
441	lib/nametoaddr \
442	lib/ncad_addr \
443	lib/nsswitch \
444	lib/pam_modules \
445	lib/passwdutil \
446	lib/pkcs11 \
447	lib/print \
448	lib/raidcfg_plugins \
449	lib/scsi \
450	lib/smbsrv \
451	lib/fm \
452	lib/udapl \
453	lib/watchmalloc \
454	psm \
455	ucbcmd/basename \
456	ucbcmd/biff \
457	ucbcmd/echo \
458	ucbcmd/groups \
459	ucbcmd/mkstr \
460	ucbcmd/printenv \
461	ucbcmd/sum \
462	ucbcmd/test \
463	ucbcmd/users \
464	ucbcmd/whoami
465
466$(CLOSED_BUILD)COMMON_SUBDIRS += \
467	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
468	$(CLOSED)/cmd/pax \
469	$(CLOSED)/cmd/sed_xpg4 \
470	$(CLOSED)/cmd/tail \
471	$(CLOSED)/cmd/tr_xpg4 \
472	$(CLOSED)/lib/libc_i18n
473
474i386_SUBDIRS= \
475	cmd/biosdev \
476	cmd/rtc \
477	cmd/ucodeadm \
478	lib/brand/lx \
479	lib/cfgadm_plugins/sata \
480	lib/libfdisk
481
482sparc_SUBDIRS= \
483	cmd/datadm \
484	cmd/dcs \
485	cmd/drd \
486	cmd/fps \
487	cmd/fruadm \
488	cmd/ldmad \
489	cmd/prtdscp \
490	cmd/prtfru \
491	cmd/sckmd \
492	cmd/vntsd \
493	lib/libds \
494	lib/libdscp \
495	lib/libpri \
496	lib/libpcp \
497	lib/libtsalarm \
498	lib/storage \
499	stand
500
501$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
502
503LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
504
505.PARALLEL:	$(LINTSUBDIRS)
506
507lint:		uts .WAIT subdirs
508
509subdirs:	$(LINTSUBDIRS)
510
511uts $(LINTSUBDIRS):	FRC
512	@cd $@; pwd; $(MAKE) lint
513
514FRC:
515