xref: /titanic_50/usr/src/Makefile.lint (revision 421ff02063e68ff03db7d5169c62e3f94927000f)
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 2011 Nexenta Systems, Inc.  All rights reserved.
24#
25# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
26# Copyright (c) 2012 by Delphix. All rights reserved.
27# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
28
29# include global definitions
30include Makefile.master
31
32#
33# As pieces are made lint-clean, add them here so the nightly build
34# can be used to keep them that way.
35#
36COMMON_SUBDIRS = \
37	cmd/acctadm \
38	cmd/asa \
39	cmd/amt \
40	cmd/audio/audioctl \
41	cmd/audio/audiotest \
42	cmd/audit \
43	cmd/auditconfig \
44	cmd/auditd \
45	cmd/auditreduce \
46	cmd/auditstat \
47	cmd/auths \
48	cmd/autopush \
49	cmd/availdevs \
50	cmd/avs \
51	cmd/awk \
52	cmd/banner \
53	cmd/bart \
54	cmd/basename \
55	cmd/bdiff \
56	cmd/bfs \
57	cmd/busstat \
58	cmd/boot \
59	cmd/cal \
60	cmd/captoinfo \
61	cmd/cat \
62	cmd/cdrw \
63	cmd/cfgadm \
64	cmd/checkeq \
65	cmd/checknr \
66	cmd/chgrp \
67	cmd/chmod \
68	cmd/chown \
69	cmd/chroot \
70	cmd/clinfo \
71	cmd/cmd-crypto \
72	cmd/cmd-inet/lib \
73	cmd/cmd-inet/lib/netcfgd \
74	cmd/cmd-inet/lib/nwamd \
75	cmd/cmd-inet/sbin \
76	cmd/cmd-inet/usr.bin \
77	cmd/cmd-inet/usr.lib/bridged \
78	cmd/cmd-inet/usr.lib/ilbd \
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/fdisk \
132	cmd/fgrep \
133	cmd/file \
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/ldap \
183	cmd/last \
184	cmd/lastcomm \
185	cmd/ldapcachemgr \
186	cmd/line \
187	cmd/link \
188	cmd/locator \
189	cmd/localedef \
190	cmd/lockstat \
191	cmd/lofiadm \
192	cmd/logadm \
193	cmd/logger \
194	cmd/login \
195	cmd/logins \
196	cmd/ls \
197	cmd/luxadm \
198	cmd/lvm \
199	cmd/mailwrapper \
200	cmd/makekey \
201	cmd/mdb \
202	cmd/mesg \
203	cmd/mkdir \
204	cmd/mkfifo \
205	cmd/mkfile \
206	cmd/mkmsgs \
207	cmd/mknod \
208	cmd/mpathadm \
209	cmd/modload \
210	cmd/msgfmt \
211	cmd/msgid \
212	cmd/mt \
213	cmd/mv \
214	cmd/ndmpadm \
215	cmd/ndmpd \
216	cmd/ndmpstat \
217	cmd/newform \
218	cmd/newgrp \
219	cmd/newtask \
220	cmd/nice \
221	cmd/nl \
222	cmd/nohup \
223	cmd/nscd \
224	cmd/od \
225	cmd/pagesize \
226	cmd/passwd \
227	cmd/pathchk \
228	cmd/pbind \
229	cmd/pcidr \
230	cmd/pcitool \
231	cmd/pfexec \
232	cmd/pgrep \
233	cmd/picl/picld \
234	cmd/picl/prtpicl \
235	cmd/plockstat \
236	cmd/pools \
237	cmd/power \
238	cmd/powertop \
239	cmd/printf \
240	cmd/latencytop \
241	cmd/ppgsz \
242	cmd/praudit \
243	cmd/prctl \
244	cmd/priocntl \
245	cmd/profiles \
246	cmd/prstat \
247	cmd/prtconf \
248	cmd/prtdiag \
249	cmd/prtvtoc \
250	cmd/ps \
251	cmd/psradm \
252	cmd/psrinfo \
253	cmd/psrset \
254	cmd/ptools \
255	cmd/pwck \
256	cmd/pwconv \
257	cmd/ramdiskadm \
258	cmd/raidctl \
259	cmd/rcap \
260	cmd/rcm_daemon \
261	cmd/rctladm \
262	cmd/renice \
263	cmd/rm \
264	cmd/rmdir \
265	cmd/rmformat \
266	cmd/rmt \
267	cmd/roles \
268	cmd/rpcgen \
269	cmd/rpcsvc/rpc.bootparamd \
270	cmd/runat \
271	cmd/savecore \
272	cmd/sbdadm \
273	cmd/sdpadm \
274	cmd/sed \
275	cmd/setpgrp \
276	cmd/smbios \
277	cmd/sgs \
278	cmd/smbsrv \
279	cmd/smserverd \
280	cmd/sort \
281	cmd/split \
282	cmd/srptadm \
283	cmd/srptsvc \
284	cmd/ssh \
285	cmd/stat \
286	cmd/stmfadm \
287	cmd/stmfsvc \
288	cmd/stmsboot \
289	cmd/streams/strcmd \
290	cmd/strings \
291	cmd/su \
292	cmd/sulogin \
293	cmd/svc \
294	cmd/swap \
295	cmd/sync \
296	cmd/syseventadm \
297	cmd/syseventd \
298	cmd/syslogd \
299	cmd/tabs \
300	cmd/tail \
301	cmd/th_tools \
302	cmd/tip \
303	cmd/touch \
304	cmd/tr \
305	cmd/truss \
306	cmd/tty \
307	cmd/tzreload \
308	cmd/uadmin \
309	cmd/ul \
310	cmd/userattr \
311	cmd/users \
312	cmd/utmp_update \
313	cmd/utmpd \
314	cmd/valtools \
315	cmd/vrrpadm \
316	cmd/vt \
317	cmd/wall \
318	cmd/who \
319	cmd/whodo \
320	cmd/wracct \
321	cmd/wusbadm \
322	cmd/xargs \
323	cmd/xstr \
324	cmd/yes \
325	cmd/yppasswd \
326	cmd/zdb \
327	cmd/zdump \
328	cmd/zfs \
329	cmd/zhack \
330	cmd/zinject \
331	cmd/zlogin \
332	cmd/zoneadm \
333	cmd/zoneadmd \
334	cmd/zonecfg \
335	cmd/zonename \
336	cmd/zpool \
337	cmd/zlook \
338	cmd/ztest \
339	lib/abi \
340	lib/auditd_plugins \
341	lib/libbe \
342	lib/pylibbe \
343	lib/brand/sn1 \
344	lib/brand/solaris10 \
345	lib/crypt_modules \
346	lib/extendedFILE \
347	lib/libadm \
348	lib/libadutils \
349	lib/libadt_jni \
350	lib/libaio \
351	lib/libavl \
352	lib/libbrand \
353	lib/libbsdmalloc \
354	lib/libbsm \
355	lib/libc \
356	lib/libc_db \
357	lib/libcfgadm \
358	lib/libcmdutils \
359	lib/libcommputil \
360	lib/libcontract \
361	lib/libcryptoutil \
362	lib/libctf \
363	lib/libdevice \
364	lib/libdevid \
365	lib/libdevinfo \
366	lib/libdhcpagent \
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/libm \
399	lib/libm1 \
400	lib/libmvec \
401	lib/libmalloc \
402	lib/libmapmalloc \
403	lib/libmapid \
404	lib/libmd \
405	lib/libmp \
406	lib/libmtmalloc \
407	lib/libndmp \
408	lib/libnsctl \
409	lib/libnsl \
410	lib/libnvpair \
411	lib/libnwam \
412	lib/libpam \
413	lib/libpctx \
414	lib/libpicl \
415	lib/libpicltree \
416	lib/libpkg \
417	lib/libpool \
418	lib/libproc \
419	lib/libpthread \
420	lib/libraidcfg \
421	lib/librcm \
422	lib/librdc \
423	lib/libreparse \
424	lib/librestart \
425	lib/librstp \
426	lib/librt \
427	lib/libscf \
428	lib/libsec \
429	lib/libsecdb \
430	lib/libsendfile \
431	lib/libsip \
432	lib/libshare \
433	lib/libsldap \
434	lib/libslp \
435	lib/libsmbfs \
436	lib/libsmbios \
437	lib/libsmedia \
438	lib/libsrpt \
439	lib/libstmf \
440	lib/libsun_ima \
441	lib/libsysevent \
442	lib/libthread \
443	lib/libtsnet \
444	lib/libtsol \
445	lib/libumem \
446	lib/libunistat \
447	lib/libuuid \
448	lib/libuutil \
449	lib/libvrrpadm \
450	lib/libwanboot \
451	lib/libwanbootutil \
452	lib/libxnet \
453	lib/libzfs \
454	lib/libzfs_jni \
455	lib/libzonecfg \
456	lib/libzoneinfo \
457	lib/lvm \
458	lib/madv \
459	lib/mpss \
460	lib/nametoaddr \
461	lib/ncad_addr \
462	lib/nsswitch \
463	lib/pam_modules \
464	lib/passwdutil \
465	lib/pkcs11 \
466	lib/print \
467	lib/raidcfg_plugins \
468	lib/scsi \
469	lib/smbsrv \
470	lib/fm \
471	lib/udapl \
472	lib/watchmalloc \
473	psm \
474	test \
475	ucbcmd/basename \
476	ucbcmd/biff \
477	ucbcmd/echo \
478	ucbcmd/groups \
479	ucbcmd/mkstr \
480	ucbcmd/printenv \
481	ucbcmd/sum \
482	ucbcmd/test \
483	ucbcmd/users \
484	ucbcmd/whoami
485
486i386_SUBDIRS= \
487	cmd/acpihpd \
488	cmd/biosdev \
489	cmd/rtc \
490	cmd/ucodeadm \
491	lib/cfgadm_plugins/sata \
492	lib/cfgadm_plugins/sbd \
493	lib/libfdisk
494
495sparc_SUBDIRS= \
496	cmd/datadm \
497	cmd/dcs \
498	cmd/drd \
499	cmd/fruadm \
500	cmd/ldmad \
501	cmd/prtdscp \
502	cmd/prtfru \
503	cmd/sckmd \
504	cmd/virtinfo \
505	cmd/vntsd \
506	lib/libds \
507	lib/libdscp \
508	lib/libpri \
509	lib/libpcp \
510	lib/libtsalarm \
511	lib/libv12n \
512	lib/storage \
513	stand
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