xref: /titanic_51/usr/src/Makefile.lint (revision 62b885670cb2373723bdad8e9fc26c05f8dabfb6)
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/cksum \
69	cmd/clinfo \
70	cmd/cmd-crypto \
71	cmd/cmd-inet/lib \
72	cmd/cmd-inet/sbin \
73	cmd/cmd-inet/usr.bin \
74	cmd/cmd-inet/usr.lib/dsvclockd \
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/wpad \
82	cmd/cmd-inet/usr.lib/wanboot \
83	cmd/cmd-inet/usr.sadm \
84	cmd/cmd-inet/usr.sbin \
85	cmd/cmp \
86	cmd/col \
87	cmd/comm \
88	cmd/compress \
89	cmd/consadm \
90	cmd/coreadm \
91	cmd/cpc \
92	cmd/crypt \
93	cmd/csplit \
94	cmd/ctrun \
95	cmd/ctstat \
96	cmd/ctwatch \
97	cmd/cut \
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/idmap \
162	cmd/init \
163	cmd/intrstat \
164	cmd/ipcrm \
165	cmd/ipcs \
166	cmd/isaexec \
167	cmd/isalist \
168	cmd/iscsi \
169	cmd/iscsiadm \
170	cmd/iscsid \
171	cmd/iscsitsvc \
172	cmd/isns \
173	cmd/itadm \
174	cmd/join \
175	cmd/kbd \
176	cmd/killall \
177	cmd/last \
178	cmd/lastcomm \
179	cmd/ldapcachemgr \
180	cmd/line \
181	cmd/link \
182	cmd/locator \
183	cmd/lockstat \
184	cmd/lofiadm \
185	cmd/logadm \
186	cmd/logger \
187	cmd/login \
188	cmd/logins \
189	cmd/logname \
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/tee \
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/vna \
303	cmd/vt \
304	cmd/wall \
305	cmd/wbem \
306	cmd/wc \
307	cmd/who \
308	cmd/whodo \
309	cmd/wracct \
310	cmd/wusbadm \
311	cmd/xargs \
312	cmd/xstr \
313	cmd/yes \
314	cmd/yppasswd \
315	cmd/zdb \
316	cmd/zdump \
317	cmd/zfs \
318	cmd/zinject \
319	cmd/zlogin \
320	cmd/zoneadm \
321	cmd/zoneadmd \
322	cmd/zonecfg \
323	cmd/zonename \
324	cmd/zpool \
325	cmd/zlook \
326	cmd/ztest \
327	lib/abi \
328	lib/auditd_plugins \
329	lib/brand/native \
330	lib/brand/sn1 \
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/libidmap \
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/librestart \
408	lib/librt \
409	lib/libscf \
410	lib/libsec \
411	lib/libsecdb \
412	lib/libsendfile \
413	lib/libsip \
414	lib/libshare \
415	lib/libsldap \
416	lib/libslp \
417	lib/libsmbios \
418	lib/libsmedia \
419	lib/libstmf \
420	lib/libsun_ima \
421	lib/libthread \
422	lib/libtsnet \
423	lib/libtsol \
424	lib/libumem \
425	lib/libunistat \
426	lib/libuuid \
427	lib/libuutil \
428	lib/libwanboot \
429	lib/libwanbootutil \
430	lib/libxnet \
431	lib/libzfs \
432	lib/libzfs_jni \
433	lib/libzonecfg \
434	lib/libzoneinfo \
435	lib/lvm \
436	lib/madv \
437	lib/mms	\
438	lib/mpss \
439	lib/nametoaddr \
440	lib/ncad_addr \
441	lib/nsswitch \
442	lib/pam_modules \
443	lib/passwdutil \
444	lib/pkcs11 \
445	lib/print \
446	lib/raidcfg_plugins \
447	lib/scsi \
448	lib/smbsrv \
449	lib/fm \
450	lib/udapl \
451	lib/watchmalloc \
452	psm \
453	ucbcmd/basename \
454	ucbcmd/biff \
455	ucbcmd/echo \
456	ucbcmd/groups \
457	ucbcmd/mkstr \
458	ucbcmd/printenv \
459	ucbcmd/sum \
460	ucbcmd/test \
461	ucbcmd/users \
462	ucbcmd/whoami
463
464$(CLOSED_BUILD)COMMON_SUBDIRS += \
465	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
466	$(CLOSED)/cmd/pax \
467	$(CLOSED)/cmd/sed_xpg4 \
468	$(CLOSED)/cmd/smartcard \
469	$(CLOSED)/cmd/tail \
470	$(CLOSED)/cmd/tr_xpg4 \
471	$(CLOSED)/lib/libc_i18n \
472	$(CLOSED)/lib/smartcard
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/prtdscp \
489	cmd/prtfru \
490	cmd/sckmd \
491	cmd/vntsd \
492	lib/libds \
493	lib/libdscp \
494	lib/libpri \
495	lib/libpcp \
496	lib/libtsalarm \
497	lib/storage \
498	stand
499
500$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
501
502LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
503
504.PARALLEL:	$(LINTSUBDIRS)
505
506lint:		uts .WAIT subdirs
507
508subdirs:	$(LINTSUBDIRS)
509
510uts $(LINTSUBDIRS):	FRC
511	@cd $@; pwd; $(MAKE) lint
512
513FRC:
514