xref: /titanic_41/usr/src/Makefile.lint (revision 62c3776affc53153ce74e14a6e7ce91950c28102)
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# Copyright (c) 2012 by Delphix. All rights reserved.
24
25# include global definitions
26include Makefile.master
27
28#
29# As pieces are made lint-clean, add them here so the nightly build
30# can be used to keep them that way.
31#
32COMMON_SUBDIRS = \
33	cmd/acctadm \
34	cmd/asa \
35	cmd/amt \
36	cmd/audio/audioctl \
37	cmd/audio/audiotest \
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/clinfo \
67	cmd/cmd-crypto \
68	cmd/cmd-inet/lib \
69	cmd/cmd-inet/lib/netcfgd \
70	cmd/cmd-inet/lib/nwamd \
71	cmd/cmd-inet/sbin \
72	cmd/cmd-inet/usr.bin \
73	cmd/cmd-inet/usr.lib/bridged \
74	cmd/cmd-inet/usr.lib/dsvclockd \
75	cmd/cmd-inet/usr.lib/ilbd \
76	cmd/cmd-inet/usr.lib/in.dhcpd \
77	cmd/cmd-inet/usr.lib/in.mpathd \
78	cmd/cmd-inet/usr.lib/in.ndpd \
79	cmd/cmd-inet/usr.lib/inetd \
80	cmd/cmd-inet/usr.lib/pppoe \
81	cmd/cmd-inet/usr.lib/slpd \
82	cmd/cmd-inet/usr.lib/vrrpd \
83	cmd/cmd-inet/usr.lib/wpad \
84	cmd/cmd-inet/usr.lib/wanboot \
85	cmd/cmd-inet/usr.sadm \
86	cmd/cmd-inet/usr.sbin \
87	cmd/cmd-inet/usr.sbin/ilbadm \
88	cmd/cmd-inet/usr.sbin/nwamadm \
89	cmd/cmd-inet/usr.sbin/nwamcfg \
90	cmd/col \
91	cmd/compress \
92	cmd/consadm \
93	cmd/coreadm \
94	cmd/cpc \
95	cmd/cpio \
96	cmd/crypt \
97	cmd/csplit \
98	cmd/ctrun \
99	cmd/ctstat \
100	cmd/ctwatch \
101	cmd/date \
102	cmd/dd \
103	cmd/deroff \
104	cmd/devctl \
105	cmd/devfsadm \
106	cmd/devinfo \
107	cmd/devmgmt \
108	cmd/devprop \
109	cmd/dfs.cmds \
110	cmd/diff3 \
111	cmd/dis \
112	cmd/dirname \
113	cmd/diskscan \
114	cmd/dispadmin \
115	cmd/dladm \
116	cmd/dlmgmtd \
117	cmd/dtrace \
118	cmd/du \
119	cmd/dumpadm \
120	cmd/dumpcs \
121	cmd/echo \
122	cmd/eject \
123	cmd/emul64ioctl \
124	cmd/env \
125	cmd/expand \
126	cmd/fcinfo \
127	cmd/fdetach \
128	cmd/fdformat \
129	cmd/fdisk \
130	cmd/fgrep \
131	cmd/file \
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/localedef \
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/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/od \
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/printf \
238	cmd/latencytop \
239	cmd/ppgsz \
240	cmd/praudit \
241	cmd/prctl \
242	cmd/priocntl \
243	cmd/profiles \
244	cmd/prstat \
245	cmd/prtconf \
246	cmd/prtdiag \
247	cmd/prtvtoc \
248	cmd/ps \
249	cmd/psradm \
250	cmd/psrinfo \
251	cmd/psrset \
252	cmd/ptools \
253	cmd/pwck \
254	cmd/pwconv \
255	cmd/ramdiskadm \
256	cmd/raidctl \
257	cmd/rcap \
258	cmd/rcm_daemon \
259	cmd/rctladm \
260	cmd/renice \
261	cmd/rm \
262	cmd/rmdir \
263	cmd/rmformat \
264	cmd/rmt \
265	cmd/roles \
266	cmd/rpcgen \
267	cmd/rpcsvc/rpc.bootparamd \
268	cmd/runat \
269	cmd/savecore \
270	cmd/sbdadm \
271	cmd/sdpadm \
272	cmd/sed \
273	cmd/setpgrp \
274	cmd/smbios \
275	cmd/sgs \
276	cmd/smbsrv \
277	cmd/smserverd \
278	cmd/sort \
279	cmd/split \
280	cmd/srptadm \
281	cmd/srptsvc \
282	cmd/ssh \
283	cmd/stat \
284	cmd/stmfadm \
285	cmd/stmfsvc \
286	cmd/stmsboot \
287	cmd/streams/strcmd \
288	cmd/strings \
289	cmd/su \
290	cmd/sulogin \
291	cmd/svc \
292	cmd/swap \
293	cmd/sync \
294	cmd/syseventadm \
295	cmd/syseventd \
296	cmd/syslogd \
297	cmd/tabs \
298	cmd/tail \
299	cmd/th_tools \
300	cmd/tip \
301	cmd/touch \
302	cmd/tr \
303	cmd/truss \
304	cmd/tty \
305	cmd/tzreload \
306	cmd/uadmin \
307	cmd/ul \
308	cmd/userattr \
309	cmd/users \
310	cmd/utmp_update \
311	cmd/utmpd \
312	cmd/valtools \
313	cmd/vrrpadm \
314	cmd/vt \
315	cmd/wall \
316	cmd/who \
317	cmd/whodo \
318	cmd/wracct \
319	cmd/wusbadm \
320	cmd/xargs \
321	cmd/xstr \
322	cmd/yes \
323	cmd/yppasswd \
324	cmd/zdb \
325	cmd/zdump \
326	cmd/zfs \
327	cmd/zhack \
328	cmd/zinject \
329	cmd/zlogin \
330	cmd/zoneadm \
331	cmd/zoneadmd \
332	cmd/zonecfg \
333	cmd/zonename \
334	cmd/zpool \
335	cmd/zlook \
336	cmd/ztest \
337	lib/abi \
338	lib/auditd_plugins \
339	lib/libbe \
340	lib/pylibbe \
341	lib/brand/sn1 \
342	lib/brand/solaris10 \
343	lib/crypt_modules \
344	lib/extendedFILE \
345	lib/libadm \
346	lib/libadutils \
347	lib/libadt_jni \
348	lib/libaio \
349	lib/libavl \
350	lib/libbrand \
351	lib/libbsdmalloc \
352	lib/libbsm \
353	lib/libc \
354	lib/libc_db \
355	lib/libcfgadm \
356	lib/libcmdutils \
357	lib/libcommputil \
358	lib/libcontract \
359	lib/libcryptoutil \
360	lib/libctf \
361	lib/libdevice \
362	lib/libdevid \
363	lib/libdevinfo \
364	lib/libdhcpagent \
365	lib/libdhcpdu \
366	lib/libdhcpsvc \
367	lib/libdhcputil \
368	lib/libdisasm \
369	lib/libdiskmgt \
370	lib/libdladm \
371	lib/libdlpi \
372	lib/libdoor \
373	lib/libdscfg \
374	lib/libdtrace \
375	lib/libefi \
376	lib/libelfsign \
377	lib/libexacct \
378	lib/libfcoe \
379	lib/libgen \
380	lib/libgrubmgmt \
381	lib/libgss \
382	lib/libhotplug \
383	lib/libidmap \
384	lib/libilb \
385	lib/libinetsvc \
386	lib/libinetutil \
387	lib/libinstzones \
388	lib/libipadm \
389	lib/libipmi \
390	lib/libipmp \
391	lib/libipp \
392	lib/libipsecutil \
393	lib/libiscsit \
394	lib/libkmf \
395	lib/libkstat \
396	lib/liblgrp \
397	lib/liblm \
398	lib/libmalloc \
399	lib/libmapmalloc \
400	lib/libmapid \
401	lib/libmd \
402	lib/libmp \
403	lib/libmtmalloc \
404	lib/libndmp \
405	lib/libnsctl \
406	lib/libnsl \
407	lib/libnvpair \
408	lib/libnwam \
409	lib/libpam \
410	lib/libpctx \
411	lib/libpicl \
412	lib/libpicltree \
413	lib/libpkg \
414	lib/libpool \
415	lib/libproc \
416	lib/libpthread \
417	lib/libraidcfg \
418	lib/librcm \
419	lib/librdc \
420	lib/libreparse \
421	lib/librestart \
422	lib/librstp \
423	lib/librt \
424	lib/libscf \
425	lib/libsec \
426	lib/libsecdb \
427	lib/libsendfile \
428	lib/libsip \
429	lib/libshare \
430	lib/libsldap \
431	lib/libslp \
432	lib/libsmbfs \
433	lib/libsmbios \
434	lib/libsmedia \
435	lib/libsrpt \
436	lib/libstmf \
437	lib/libsun_ima \
438	lib/libsysevent \
439	lib/libthread \
440	lib/libtsnet \
441	lib/libtsol \
442	lib/libumem \
443	lib/libunistat \
444	lib/libuuid \
445	lib/libuutil \
446	lib/libvrrpadm \
447	lib/libwanboot \
448	lib/libwanbootutil \
449	lib/libxnet \
450	lib/libzfs \
451	lib/libzfs_jni \
452	lib/libzonecfg \
453	lib/libzoneinfo \
454	lib/lvm \
455	lib/madv \
456	lib/mpss \
457	lib/nametoaddr \
458	lib/ncad_addr \
459	lib/nsswitch \
460	lib/pam_modules \
461	lib/passwdutil \
462	lib/pkcs11 \
463	lib/print \
464	lib/raidcfg_plugins \
465	lib/scsi \
466	lib/smbsrv \
467	lib/fm \
468	lib/udapl \
469	lib/watchmalloc \
470	psm \
471	test \
472	ucbcmd/basename \
473	ucbcmd/biff \
474	ucbcmd/echo \
475	ucbcmd/groups \
476	ucbcmd/mkstr \
477	ucbcmd/printenv \
478	ucbcmd/sum \
479	ucbcmd/test \
480	ucbcmd/users \
481	ucbcmd/whoami
482
483i386_SUBDIRS= \
484	cmd/acpihpd \
485	cmd/biosdev \
486	cmd/rtc \
487	cmd/ucodeadm \
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/fruadm \
497	cmd/ldmad \
498	cmd/prtdscp \
499	cmd/prtfru \
500	cmd/sckmd \
501	cmd/virtinfo \
502	cmd/vntsd \
503	lib/libds \
504	lib/libdscp \
505	lib/libpri \
506	lib/libpcp \
507	lib/libtsalarm \
508	lib/libv12n \
509	lib/storage \
510	stand
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