xref: /titanic_50/usr/src/Makefile.lint (revision 31a2de3528771f80b97301c759d0150b9f5410ad)
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/fgrep \
129	cmd/file \
130	cmd/filebench \
131	cmd/find \
132	cmd/fmthard \
133	cmd/fmtmsg \
134	cmd/fold \
135	cmd/fm \
136	cmd/format \
137	cmd/fs.d/fd \
138	cmd/fs.d/lofs/mount \
139	cmd/fs.d/mntfs \
140	cmd/fs.d/pcfs/mount \
141	cmd/fs.d/proc \
142	cmd/fs.d/tmpfs \
143	cmd/fs.d/udfs/mount \
144	cmd/fs.d/ufs/mount \
145	cmd/fs.d/ufs/fsirand\
146	cmd/fs.d/zfs/fstyp \
147	cmd/fwflash \
148	cmd/fuser \
149	cmd/gcore \
150	cmd/genmsg \
151	cmd/getconf \
152	cmd/getdevpolicy \
153	cmd/getfacl \
154	cmd/getopt \
155	cmd/gettext \
156	cmd/grep \
157	cmd/grep_xpg4 \
158	cmd/groups \
159	cmd/halt \
160	cmd/head \
161	cmd/hostid \
162	cmd/hostname \
163	cmd/hotplug \
164	cmd/hotplugd \
165	cmd/idmap \
166	cmd/init \
167	cmd/intrstat \
168	cmd/ipcrm \
169	cmd/ipcs \
170	cmd/isaexec \
171	cmd/isalist \
172	cmd/iscsiadm \
173	cmd/iscsid \
174	cmd/iscsitsvc \
175	cmd/isns \
176	cmd/itadm \
177	cmd/kbd \
178	cmd/killall \
179	cmd/ldap \
180	cmd/last \
181	cmd/lastcomm \
182	cmd/ldapcachemgr \
183	cmd/line \
184	cmd/link \
185	cmd/locator \
186	cmd/lockstat \
187	cmd/lofiadm \
188	cmd/logadm \
189	cmd/logger \
190	cmd/login \
191	cmd/logins \
192	cmd/ls \
193	cmd/luxadm \
194	cmd/lvm \
195	cmd/machid \
196	cmd/makekey \
197	cmd/mdb \
198	cmd/mesg \
199	cmd/mkdir \
200	cmd/mkfifo \
201	cmd/mkfile \
202	cmd/mkmsgs \
203	cmd/mknod \
204	cmd/mpathadm \
205	cmd/modload \
206	cmd/msgfmt \
207	cmd/msgid \
208	cmd/mt \
209	cmd/mv \
210	cmd/ndmpadm \
211	cmd/ndmpd \
212	cmd/ndmpstat \
213	cmd/newform \
214	cmd/newgrp \
215	cmd/newtask \
216	cmd/nice \
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/srptadm \
275	cmd/srptsvc \
276	cmd/ssh \
277	cmd/stat \
278	cmd/stmfadm \
279	cmd/stmfsvc \
280	cmd/stmsboot \
281	cmd/streams/strcmd \
282	cmd/strings \
283	cmd/su \
284	cmd/sulogin \
285	cmd/svc \
286	cmd/swap \
287	cmd/sync \
288	cmd/syseventadm \
289	cmd/syseventd \
290	cmd/syslogd \
291	cmd/tabs \
292	cmd/th_tools \
293	cmd/tip \
294	cmd/touch \
295	cmd/truss \
296	cmd/tty \
297	cmd/tzreload \
298	cmd/uadmin \
299	cmd/ul \
300	cmd/users \
301	cmd/utmp_update \
302	cmd/utmpd \
303	cmd/valtools \
304	cmd/vrrpadm \
305	cmd/vt \
306	cmd/wall \
307	cmd/wbem \
308	cmd/who \
309	cmd/whodo \
310	cmd/wracct \
311	cmd/wusbadm \
312	cmd/xargs \
313	cmd/xstr \
314	cmd/yes \
315	cmd/yppasswd \
316	cmd/zdb \
317	cmd/zdump \
318	cmd/zfs \
319	cmd/zinject \
320	cmd/zlogin \
321	cmd/zoneadm \
322	cmd/zoneadmd \
323	cmd/zonecfg \
324	cmd/zonename \
325	cmd/zpool \
326	cmd/zlook \
327	cmd/ztest \
328	lib/abi \
329	lib/auditd_plugins \
330	lib/brand/sn1 \
331	lib/brand/solaris10 \
332	lib/cfgadm_plugins/sdcard \
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/libinetcfg \
375	lib/libinetsvc \
376	lib/libinetutil \
377	lib/libinstzones \
378	lib/libipadm \
379	lib/libipmi \
380	lib/libipmp \
381	lib/libipp \
382	lib/libipsecutil \
383	lib/libiscsit \
384	lib/libkmf \
385	lib/libkstat \
386	lib/liblgrp \
387	lib/liblm \
388	lib/libmalloc \
389	lib/libmapmalloc \
390	lib/libmapid \
391	lib/libmd \
392	lib/libmp \
393	lib/libmtmalloc \
394	lib/libndmp \
395	lib/libnsctl \
396	lib/libnsl \
397	lib/libnvpair \
398	lib/libnwam \
399	lib/libpam \
400	lib/libpctx \
401	lib/libpicl \
402	lib/libpicltree \
403	lib/libplot \
404	lib/libpool \
405	lib/libproc \
406	lib/libpthread \
407	lib/libraidcfg \
408	lib/librcm \
409	lib/librdc \
410	lib/libreparse \
411	lib/librestart \
412	lib/librstp \
413	lib/librt \
414	lib/libscf \
415	lib/libsec \
416	lib/libsecdb \
417	lib/libsendfile \
418	lib/libsip \
419	lib/libshare \
420	lib/libsldap \
421	lib/libslp \
422	lib/libsmbfs \
423	lib/libsmbios \
424	lib/libsmedia \
425	lib/libsrpt \
426	lib/libstmf \
427	lib/libsun_ima \
428	lib/libthread \
429	lib/libtsnet \
430	lib/libtsol \
431	lib/libumem \
432	lib/libunistat \
433	lib/libuuid \
434	lib/libuutil \
435	lib/libvrrpadm \
436	lib/libwanboot \
437	lib/libwanbootutil \
438	lib/libxnet \
439	lib/libzfs \
440	lib/libzfs_jni \
441	lib/libzonecfg \
442	lib/libzoneinfo \
443	lib/lvm \
444	lib/madv \
445	lib/mpss \
446	lib/nametoaddr \
447	lib/ncad_addr \
448	lib/nsswitch \
449	lib/pam_modules \
450	lib/passwdutil \
451	lib/pkcs11 \
452	lib/print \
453	lib/raidcfg_plugins \
454	lib/scsi \
455	lib/smbsrv \
456	lib/fm \
457	lib/udapl \
458	lib/watchmalloc \
459	psm \
460	ucbcmd/basename \
461	ucbcmd/biff \
462	ucbcmd/echo \
463	ucbcmd/groups \
464	ucbcmd/mkstr \
465	ucbcmd/printenv \
466	ucbcmd/sum \
467	ucbcmd/test \
468	ucbcmd/users \
469	ucbcmd/whoami
470
471$(CLOSED_BUILD)COMMON_SUBDIRS += \
472	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
473	$(CLOSED)/cmd/pax \
474	$(CLOSED)/cmd/sed_xpg4 \
475	$(CLOSED)/cmd/tail \
476	$(CLOSED)/cmd/tr_xpg4 \
477	$(CLOSED)/lib/libc_i18n
478
479i386_SUBDIRS= \
480	cmd/acpihpd \
481	cmd/biosdev \
482	cmd/rtc \
483	cmd/ucodeadm \
484	lib/brand/lx \
485	lib/cfgadm_plugins/sata \
486	lib/cfgadm_plugins/sbd \
487	lib/libfdisk
488
489sparc_SUBDIRS= \
490	cmd/datadm \
491	cmd/dcs \
492	cmd/drd \
493	cmd/fps \
494	cmd/fruadm \
495	cmd/ldmad \
496	cmd/prtdscp \
497	cmd/prtfru \
498	cmd/sckmd \
499	cmd/virtinfo \
500	cmd/vntsd \
501	lib/libds \
502	lib/libdscp \
503	lib/libpri \
504	lib/libpcp \
505	lib/libtsalarm \
506	lib/libv12n \
507	lib/storage \
508	stand
509
510$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
511
512LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
513
514.PARALLEL:	$(LINTSUBDIRS)
515
516lint:		uts .WAIT subdirs
517
518subdirs:	$(LINTSUBDIRS)
519
520uts $(LINTSUBDIRS):	FRC
521	@cd $@; pwd; $(MAKE) lint
522
523FRC:
524