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