xref: /titanic_50/usr/src/Makefile.lint (revision 5667185bc023b9742cb2480659d7673fa9ac8050)
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 2010 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/audioctl \
39	cmd/audio/audiotest \
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/clinfo \
69	cmd/cmd-crypto \
70	cmd/cmd-inet/lib \
71	cmd/cmd-inet/lib/netcfgd \
72	cmd/cmd-inet/lib/nwamd \
73	cmd/cmd-inet/sbin \
74	cmd/cmd-inet/usr.bin \
75	cmd/cmd-inet/usr.lib/bridged \
76	cmd/cmd-inet/usr.lib/dsvclockd \
77	cmd/cmd-inet/usr.lib/ilbd \
78	cmd/cmd-inet/usr.lib/in.dhcpd \
79	cmd/cmd-inet/usr.lib/in.mpathd \
80	cmd/cmd-inet/usr.lib/in.ndpd \
81	cmd/cmd-inet/usr.lib/inetd \
82	cmd/cmd-inet/usr.lib/pppoe \
83	cmd/cmd-inet/usr.lib/slpd \
84	cmd/cmd-inet/usr.lib/vrrpd \
85	cmd/cmd-inet/usr.lib/wpad \
86	cmd/cmd-inet/usr.lib/wanboot \
87	cmd/cmd-inet/usr.sadm \
88	cmd/cmd-inet/usr.sbin \
89	cmd/cmd-inet/usr.sbin/ilbadm \
90	cmd/cmd-inet/usr.sbin/nwamadm \
91	cmd/cmd-inet/usr.sbin/nwamcfg \
92	cmd/col \
93	cmd/compress \
94	cmd/consadm \
95	cmd/coreadm \
96	cmd/cpc \
97	cmd/cpio \
98	cmd/crypt \
99	cmd/csplit \
100	cmd/ctrun \
101	cmd/ctstat \
102	cmd/ctwatch \
103	cmd/date \
104	cmd/dd \
105	cmd/deroff \
106	cmd/devctl \
107	cmd/devfsadm \
108	cmd/devinfo \
109	cmd/devmgmt \
110	cmd/devprop \
111	cmd/dfs.cmds \
112	cmd/diff3 \
113	cmd/dis \
114	cmd/dirname \
115	cmd/diskscan \
116	cmd/dispadmin \
117	cmd/dladm \
118	cmd/dlmgmtd \
119	cmd/dtrace \
120	cmd/du \
121	cmd/dumpadm \
122	cmd/dumpcs \
123	cmd/echo \
124	cmd/eject \
125	cmd/emul64ioctl \
126	cmd/env \
127	cmd/expand \
128	cmd/fcinfo \
129	cmd/fdetach \
130	cmd/fdformat \
131	cmd/fgrep \
132	cmd/file \
133	cmd/filebench \
134	cmd/find \
135	cmd/fmthard \
136	cmd/fmtmsg \
137	cmd/fold \
138	cmd/fm \
139	cmd/format \
140	cmd/fs.d/fd \
141	cmd/fs.d/lofs/mount \
142	cmd/fs.d/mntfs \
143	cmd/fs.d/pcfs/mount \
144	cmd/fs.d/proc \
145	cmd/fs.d/tmpfs \
146	cmd/fs.d/udfs/mount \
147	cmd/fs.d/ufs/mount \
148	cmd/fs.d/ufs/fsirand\
149	cmd/fs.d/zfs/fstyp \
150	cmd/fwflash \
151	cmd/fuser \
152	cmd/gcore \
153	cmd/genmsg \
154	cmd/getconf \
155	cmd/getdevpolicy \
156	cmd/getfacl \
157	cmd/getopt \
158	cmd/gettext \
159	cmd/grep \
160	cmd/grep_xpg4 \
161	cmd/groups \
162	cmd/halt \
163	cmd/head \
164	cmd/hostid \
165	cmd/hostname \
166	cmd/hotplug \
167	cmd/hotplugd \
168	cmd/idmap \
169	cmd/init \
170	cmd/intrstat \
171	cmd/ipcrm \
172	cmd/ipcs \
173	cmd/isaexec \
174	cmd/isalist \
175	cmd/iscsiadm \
176	cmd/iscsid \
177	cmd/iscsitsvc \
178	cmd/isns \
179	cmd/itadm \
180	cmd/kbd \
181	cmd/killall \
182	cmd/last \
183	cmd/lastcomm \
184	cmd/ldapcachemgr \
185	cmd/line \
186	cmd/link \
187	cmd/locator \
188	cmd/lockstat \
189	cmd/lofiadm \
190	cmd/logadm \
191	cmd/logger \
192	cmd/login \
193	cmd/logins \
194	cmd/ls \
195	cmd/luxadm \
196	cmd/lvm \
197	cmd/machid \
198	cmd/makekey \
199	cmd/mdb \
200	cmd/mesg \
201	cmd/mkdir \
202	cmd/mkfifo \
203	cmd/mkfile \
204	cmd/mkmsgs \
205	cmd/mknod \
206	cmd/mms	\
207	cmd/mpathadm \
208	cmd/modload \
209	cmd/msgfmt \
210	cmd/msgid \
211	cmd/mt \
212	cmd/mv \
213	cmd/ndmpadm \
214	cmd/ndmpd \
215	cmd/ndmpstat \
216	cmd/newform \
217	cmd/newgrp \
218	cmd/newtask \
219	cmd/nice \
220	cmd/nl \
221	cmd/nohup \
222	cmd/nscd \
223	cmd/pagesize \
224	cmd/passwd \
225	cmd/pathchk \
226	cmd/pbind \
227	cmd/pcidr \
228	cmd/pcitool \
229	cmd/pfexec \
230	cmd/pgrep \
231	cmd/picl/picld \
232	cmd/picl/prtpicl \
233	cmd/plockstat \
234	cmd/pools \
235	cmd/power \
236	cmd/powertop \
237	cmd/latencytop \
238	cmd/ppgsz \
239	cmd/praudit \
240	cmd/prctl \
241	cmd/priocntl \
242	cmd/profiles \
243	cmd/prstat \
244	cmd/prtconf \
245	cmd/prtdiag \
246	cmd/prtvtoc \
247	cmd/ps \
248	cmd/psradm \
249	cmd/psrinfo \
250	cmd/psrset \
251	cmd/ptools \
252	cmd/pwck \
253	cmd/pwconv \
254	cmd/ramdiskadm \
255	cmd/raidctl \
256	cmd/rcap \
257	cmd/rcm_daemon \
258	cmd/rctladm \
259	cmd/renice \
260	cmd/rm \
261	cmd/rmdir \
262	cmd/rmformat \
263	cmd/rmt \
264	cmd/roles \
265	cmd/rpcgen \
266	cmd/rpcsvc/rpc.bootparamd \
267	cmd/runat \
268	cmd/sbdadm \
269	cmd/sdpadm \
270	cmd/setpgrp \
271	cmd/smbios \
272	cmd/sgs \
273	cmd/smbsrv \
274	cmd/smserverd \
275	cmd/sort \
276	cmd/split \
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/cfgadm_plugins/sdcard \
334	lib/crypt_modules \
335	lib/extendedFILE \
336	lib/libadutils \
337	lib/libadt_jni \
338	lib/libaio \
339	lib/libavl \
340	lib/libbrand \
341	lib/libbsdmalloc \
342	lib/libbsm \
343	lib/libc \
344	lib/libc_db \
345	lib/libcfgadm \
346	lib/libcmdutils \
347	lib/libcommputil \
348	lib/libcontract \
349	lib/libcryptoutil \
350	lib/libctf \
351	lib/libdevice \
352	lib/libdevid \
353	lib/libdevinfo \
354	lib/libdhcpagent \
355	lib/libdhcpdu \
356	lib/libdhcpsvc \
357	lib/libdhcputil \
358	lib/libdisasm \
359	lib/libdiskmgt \
360	lib/libdladm \
361	lib/libdlpi \
362	lib/libdoor \
363	lib/libdscfg \
364	lib/libdtrace \
365	lib/libefi \
366	lib/libelfsign \
367	lib/libexacct \
368	lib/libfcoe \
369	lib/libgen \
370	lib/libgrubmgmt \
371	lib/libgss \
372	lib/libhotplug \
373	lib/libidmap \
374	lib/libilb \
375	lib/libinetcfg \
376	lib/libinetsvc \
377	lib/libinetutil \
378	lib/libinstzones \
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/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/mms	\
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/biosdev \
481	cmd/rtc \
482	cmd/ucodeadm \
483	lib/brand/lx \
484	lib/cfgadm_plugins/sata \
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