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