xref: /titanic_52/usr/src/Makefile.lint (revision 1cfa752f4e24c34133009b0f6c139127a5c461de)
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 (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26# include global definitions
27include Makefile.master
28
29#
30# As pieces are made lint-clean, add them here so the nightly build
31# can be used to keep them that way.
32#
33COMMON_SUBDIRS = \
34	cmd/acctadm \
35	cmd/asa \
36	cmd/amt \
37	cmd/audio/audioctl \
38	cmd/audio/audiotest \
39	cmd/audit \
40	cmd/auditconfig \
41	cmd/auditd \
42	cmd/auditreduce \
43	cmd/auditstat \
44	cmd/auths \
45	cmd/autopush \
46	cmd/availdevs \
47	cmd/avs \
48	cmd/awk \
49	cmd/banner \
50	cmd/bart \
51	cmd/basename \
52	cmd/bdiff \
53	cmd/bfs \
54	cmd/busstat \
55	cmd/boot \
56	cmd/cal \
57	cmd/captoinfo \
58	cmd/cat \
59	cmd/cdrw \
60	cmd/cfgadm \
61	cmd/checkeq \
62	cmd/checknr \
63	cmd/chgrp \
64	cmd/chmod \
65	cmd/chown \
66	cmd/chroot \
67	cmd/clinfo \
68	cmd/cmd-crypto \
69	cmd/cmd-inet/lib \
70	cmd/cmd-inet/lib/netcfgd \
71	cmd/cmd-inet/lib/nwamd \
72	cmd/cmd-inet/sbin \
73	cmd/cmd-inet/usr.bin \
74	cmd/cmd-inet/usr.lib/bridged \
75	cmd/cmd-inet/usr.lib/dsvclockd \
76	cmd/cmd-inet/usr.lib/ilbd \
77	cmd/cmd-inet/usr.lib/in.dhcpd \
78	cmd/cmd-inet/usr.lib/in.mpathd \
79	cmd/cmd-inet/usr.lib/in.ndpd \
80	cmd/cmd-inet/usr.lib/inetd \
81	cmd/cmd-inet/usr.lib/pppoe \
82	cmd/cmd-inet/usr.lib/slpd \
83	cmd/cmd-inet/usr.lib/vrrpd \
84	cmd/cmd-inet/usr.lib/wpad \
85	cmd/cmd-inet/usr.lib/wanboot \
86	cmd/cmd-inet/usr.sadm \
87	cmd/cmd-inet/usr.sbin \
88	cmd/cmd-inet/usr.sbin/ilbadm \
89	cmd/cmd-inet/usr.sbin/nwamadm \
90	cmd/cmd-inet/usr.sbin/nwamcfg \
91	cmd/col \
92	cmd/compress \
93	cmd/consadm \
94	cmd/coreadm \
95	cmd/cpc \
96	cmd/cpio \
97	cmd/crypt \
98	cmd/csplit \
99	cmd/ctrun \
100	cmd/ctstat \
101	cmd/ctwatch \
102	cmd/date \
103	cmd/dd \
104	cmd/deroff \
105	cmd/devctl \
106	cmd/devfsadm \
107	cmd/devinfo \
108	cmd/devmgmt \
109	cmd/devprop \
110	cmd/dfs.cmds \
111	cmd/diff3 \
112	cmd/dis \
113	cmd/dirname \
114	cmd/diskscan \
115	cmd/dispadmin \
116	cmd/dladm \
117	cmd/dlmgmtd \
118	cmd/dtrace \
119	cmd/du \
120	cmd/dumpadm \
121	cmd/dumpcs \
122	cmd/echo \
123	cmd/eject \
124	cmd/emul64ioctl \
125	cmd/env \
126	cmd/expand \
127	cmd/fcinfo \
128	cmd/fdetach \
129	cmd/fdformat \
130	cmd/fgrep \
131	cmd/file \
132	cmd/filebench \
133	cmd/find \
134	cmd/fmthard \
135	cmd/fmtmsg \
136	cmd/fold \
137	cmd/fm \
138	cmd/format \
139	cmd/fs.d/fd \
140	cmd/fs.d/lofs/mount \
141	cmd/fs.d/mntfs \
142	cmd/fs.d/pcfs/mount \
143	cmd/fs.d/proc \
144	cmd/fs.d/tmpfs \
145	cmd/fs.d/udfs/mount \
146	cmd/fs.d/ufs/mount \
147	cmd/fs.d/ufs/fsirand\
148	cmd/fs.d/zfs/fstyp \
149	cmd/fwflash \
150	cmd/fuser \
151	cmd/gcore \
152	cmd/genmsg \
153	cmd/getconf \
154	cmd/getdevpolicy \
155	cmd/getfacl \
156	cmd/getopt \
157	cmd/gettext \
158	cmd/grep \
159	cmd/grep_xpg4 \
160	cmd/groups \
161	cmd/halt \
162	cmd/head \
163	cmd/hostid \
164	cmd/hostname \
165	cmd/hotplug \
166	cmd/hotplugd \
167	cmd/idmap \
168	cmd/init \
169	cmd/intrstat \
170	cmd/ipcrm \
171	cmd/ipcs \
172	cmd/isaexec \
173	cmd/isalist \
174	cmd/iscsiadm \
175	cmd/iscsid \
176	cmd/iscsitsvc \
177	cmd/isns \
178	cmd/itadm \
179	cmd/kbd \
180	cmd/killall \
181	cmd/last \
182	cmd/lastcomm \
183	cmd/ldapcachemgr \
184	cmd/line \
185	cmd/link \
186	cmd/locator \
187	cmd/lockstat \
188	cmd/lofiadm \
189	cmd/logadm \
190	cmd/logger \
191	cmd/login \
192	cmd/logins \
193	cmd/ls \
194	cmd/luxadm \
195	cmd/lvm \
196	cmd/machid \
197	cmd/makekey \
198	cmd/mdb \
199	cmd/mesg \
200	cmd/mkdir \
201	cmd/mkfifo \
202	cmd/mkfile \
203	cmd/mkmsgs \
204	cmd/mknod \
205	cmd/mms	\
206	cmd/mpathadm \
207	cmd/modload \
208	cmd/msgfmt \
209	cmd/msgid \
210	cmd/mt \
211	cmd/mv \
212	cmd/ndmpadm \
213	cmd/ndmpd \
214	cmd/ndmpstat \
215	cmd/newform \
216	cmd/newgrp \
217	cmd/newtask \
218	cmd/nice \
219	cmd/nl \
220	cmd/nohup \
221	cmd/nscd \
222	cmd/pagesize \
223	cmd/passwd \
224	cmd/pathchk \
225	cmd/pbind \
226	cmd/pcidr \
227	cmd/pcitool \
228	cmd/pfexec \
229	cmd/pgrep \
230	cmd/picl/picld \
231	cmd/picl/prtpicl \
232	cmd/plockstat \
233	cmd/pools \
234	cmd/power \
235	cmd/powertop \
236	cmd/latencytop \
237	cmd/ppgsz \
238	cmd/praudit \
239	cmd/prctl \
240	cmd/priocntl \
241	cmd/profiles \
242	cmd/prstat \
243	cmd/prtconf \
244	cmd/prtdiag \
245	cmd/prtvtoc \
246	cmd/ps \
247	cmd/psradm \
248	cmd/psrinfo \
249	cmd/psrset \
250	cmd/ptools \
251	cmd/pwck \
252	cmd/pwconv \
253	cmd/ramdiskadm \
254	cmd/raidctl \
255	cmd/rcap \
256	cmd/rcm_daemon \
257	cmd/rctladm \
258	cmd/renice \
259	cmd/rm \
260	cmd/rmdir \
261	cmd/rmformat \
262	cmd/rmt \
263	cmd/roles \
264	cmd/rpcgen \
265	cmd/rpcsvc/rpc.bootparamd \
266	cmd/runat \
267	cmd/sbdadm \
268	cmd/sdpadm \
269	cmd/setpgrp \
270	cmd/smbios \
271	cmd/sgs \
272	cmd/smbsrv \
273	cmd/smserverd \
274	cmd/sort \
275	cmd/split \
276	cmd/srptadm \
277	cmd/srptsvc \
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/libipadm \
381	lib/libipmi \
382	lib/libipmp \
383	lib/libipp \
384	lib/libipsecutil \
385	lib/libiscsit \
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/libsrpt \
428	lib/libstmf \
429	lib/libsun_ima \
430	lib/libthread \
431	lib/libtsnet \
432	lib/libtsol \
433	lib/libumem \
434	lib/libunistat \
435	lib/libuuid \
436	lib/libuutil \
437	lib/libvrrpadm \
438	lib/libwanboot \
439	lib/libwanbootutil \
440	lib/libxnet \
441	lib/libzfs \
442	lib/libzfs_jni \
443	lib/libzonecfg \
444	lib/libzoneinfo \
445	lib/lvm \
446	lib/madv \
447	lib/mms	\
448	lib/mpss \
449	lib/nametoaddr \
450	lib/ncad_addr \
451	lib/nsswitch \
452	lib/pam_modules \
453	lib/passwdutil \
454	lib/pkcs11 \
455	lib/print \
456	lib/raidcfg_plugins \
457	lib/scsi \
458	lib/smbsrv \
459	lib/fm \
460	lib/udapl \
461	lib/watchmalloc \
462	psm \
463	ucbcmd/basename \
464	ucbcmd/biff \
465	ucbcmd/echo \
466	ucbcmd/groups \
467	ucbcmd/mkstr \
468	ucbcmd/printenv \
469	ucbcmd/sum \
470	ucbcmd/test \
471	ucbcmd/users \
472	ucbcmd/whoami
473
474$(CLOSED_BUILD)COMMON_SUBDIRS += \
475	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
476	$(CLOSED)/cmd/pax \
477	$(CLOSED)/cmd/sed_xpg4 \
478	$(CLOSED)/cmd/tail \
479	$(CLOSED)/cmd/tr_xpg4 \
480	$(CLOSED)/lib/libc_i18n
481
482i386_SUBDIRS= \
483	cmd/acpihpd \
484	cmd/biosdev \
485	cmd/rtc \
486	cmd/ucodeadm \
487	lib/brand/lx \
488	lib/cfgadm_plugins/sata \
489	lib/cfgadm_plugins/sbd \
490	lib/libfdisk
491
492sparc_SUBDIRS= \
493	cmd/datadm \
494	cmd/dcs \
495	cmd/drd \
496	cmd/fps \
497	cmd/fruadm \
498	cmd/ldmad \
499	cmd/prtdscp \
500	cmd/prtfru \
501	cmd/sckmd \
502	cmd/virtinfo \
503	cmd/vntsd \
504	lib/libds \
505	lib/libdscp \
506	lib/libpri \
507	lib/libpcp \
508	lib/libtsalarm \
509	lib/libv12n \
510	lib/storage \
511	stand
512
513$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
514
515LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
516
517.PARALLEL:	$(LINTSUBDIRS)
518
519lint:		uts .WAIT subdirs
520
521subdirs:	$(LINTSUBDIRS)
522
523uts $(LINTSUBDIRS):	FRC
524	@cd $@; pwd; $(MAKE) lint
525
526FRC:
527