xref: /titanic_51/usr/src/Makefile.lint (revision 7fd791373689a6af05e27efec3b1ab556e02aa23)
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 (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright (c) 2012 by Delphix. All rights reserved.
25# Copyright 2015 Garrett D'Amore <garrett@damore.org>
26# Copyright 2016 Nexenta Systems, Inc.
27#
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/busstat \
57	cmd/boot \
58	cmd/cal \
59	cmd/captoinfo \
60	cmd/cat \
61	cmd/cdrw \
62	cmd/cfgadm \
63	cmd/checkeq \
64	cmd/checknr \
65	cmd/chgrp \
66	cmd/chmod \
67	cmd/chown \
68	cmd/chroot \
69	cmd/clinfo \
70	cmd/cmd-crypto \
71	cmd/cmd-inet/lib \
72	cmd/cmd-inet/lib/netcfgd \
73	cmd/cmd-inet/lib/nwamd \
74	cmd/cmd-inet/sbin \
75	cmd/cmd-inet/usr.bin \
76	cmd/cmd-inet/usr.lib/bridged \
77	cmd/cmd-inet/usr.lib/ilbd \
78	cmd/cmd-inet/usr.lib/in.mpathd \
79	cmd/cmd-inet/usr.lib/in.ndpd \
80	cmd/cmd-inet/usr.lib/inetd \
81	cmd/cmd-inet/usr.lib/pppoe \
82	cmd/cmd-inet/usr.lib/slpd \
83	cmd/cmd-inet/usr.lib/vrrpd \
84	cmd/cmd-inet/usr.lib/wpad \
85	cmd/cmd-inet/usr.lib/wanboot \
86	cmd/cmd-inet/usr.sadm \
87	cmd/cmd-inet/usr.sbin \
88	cmd/cmd-inet/usr.sbin/ilbadm \
89	cmd/cmd-inet/usr.sbin/nwamadm \
90	cmd/cmd-inet/usr.sbin/nwamcfg \
91	cmd/col \
92	cmd/compress \
93	cmd/consadm \
94	cmd/coreadm \
95	cmd/cpc \
96	cmd/cpio \
97	cmd/crypt \
98	cmd/csplit \
99	cmd/ctfdump \
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/mailwrapper \
199	cmd/makekey \
200	cmd/mdb \
201	cmd/mesg \
202	cmd/mkdir \
203	cmd/mkfifo \
204	cmd/mkfile \
205	cmd/mkmsgs \
206	cmd/mknod \
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/od \
224	cmd/pagesize \
225	cmd/passwd \
226	cmd/pathchk \
227	cmd/pbind \
228	cmd/pcidr \
229	cmd/pcitool \
230	cmd/pfexec \
231	cmd/pgrep \
232	cmd/picl/picld \
233	cmd/picl/prtpicl \
234	cmd/plockstat \
235	cmd/pools \
236	cmd/power \
237	cmd/powertop \
238	cmd/printf \
239	cmd/latencytop \
240	cmd/ppgsz \
241	cmd/praudit \
242	cmd/prctl \
243	cmd/priocntl \
244	cmd/profiles \
245	cmd/prstat \
246	cmd/prtconf \
247	cmd/prtdiag \
248	cmd/prtvtoc \
249	cmd/ps \
250	cmd/psradm \
251	cmd/psrinfo \
252	cmd/psrset \
253	cmd/ptools \
254	cmd/pwck \
255	cmd/pwconv \
256	cmd/ramdiskadm \
257	cmd/raidctl \
258	cmd/rcap \
259	cmd/rcm_daemon \
260	cmd/rctladm \
261	cmd/renice \
262	cmd/rm \
263	cmd/rmdir \
264	cmd/rmformat \
265	cmd/rmt \
266	cmd/roles \
267	cmd/rpcgen \
268	cmd/rpcsvc/rpc.bootparamd \
269	cmd/runat \
270	cmd/savecore \
271	cmd/sbdadm \
272	cmd/sdpadm \
273	cmd/sed \
274	cmd/setpgrp \
275	cmd/smbios \
276	cmd/sgs \
277	cmd/smbsrv \
278	cmd/smserverd \
279	cmd/sort \
280	cmd/split \
281	cmd/srptadm \
282	cmd/srptsvc \
283	cmd/ssh \
284	cmd/stat \
285	cmd/stmfadm \
286	cmd/stmfsvc \
287	cmd/stmsboot \
288	cmd/streams/strcmd \
289	cmd/strings \
290	cmd/su \
291	cmd/sulogin \
292	cmd/svc \
293	cmd/swap \
294	cmd/sync \
295	cmd/syseventadm \
296	cmd/syseventd \
297	cmd/syslogd \
298	cmd/tabs \
299	cmd/tail \
300	cmd/th_tools \
301	cmd/tip \
302	cmd/touch \
303	cmd/tr \
304	cmd/truss \
305	cmd/tty \
306	cmd/tzreload \
307	cmd/uadmin \
308	cmd/ul \
309	cmd/userattr \
310	cmd/users \
311	cmd/utmp_update \
312	cmd/utmpd \
313	cmd/valtools \
314	cmd/vrrpadm \
315	cmd/vt \
316	cmd/wall \
317	cmd/who \
318	cmd/whodo \
319	cmd/wracct \
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/libdhcputil \
366	lib/libdisasm \
367	lib/libdiskmgt \
368	lib/libdladm \
369	lib/libdlpi \
370	lib/libdoor \
371	lib/libdscfg \
372	lib/libdtrace \
373	lib/libefi \
374	lib/libelfsign \
375	lib/libexacct \
376	lib/libfcoe \
377	lib/libgen \
378	lib/libgrubmgmt \
379	lib/libgss \
380	lib/libhotplug \
381	lib/libidmap \
382	lib/libilb \
383	lib/libinetsvc \
384	lib/libinetutil \
385	lib/libinstzones \
386	lib/libipadm \
387	lib/libipmi \
388	lib/libipmp \
389	lib/libipp \
390	lib/libipsecutil \
391	lib/libiscsit \
392	lib/libkmf \
393	lib/libkstat \
394	lib/liblgrp \
395	lib/liblm \
396	lib/libm \
397	lib/libm1 \
398	lib/libmvec \
399	lib/libmalloc \
400	lib/libmapmalloc \
401	lib/libmapid \
402	lib/libmd \
403	lib/libmp \
404	lib/libmtmalloc \
405	lib/libndmp \
406	lib/libnsctl \
407	lib/libnsl \
408	lib/libnvpair \
409	lib/libnwam \
410	lib/libpam \
411	lib/libpctx \
412	lib/libpicl \
413	lib/libpicltree \
414	lib/libpkg \
415	lib/libpool \
416	lib/libproc \
417	lib/libpthread \
418	lib/libraidcfg \
419	lib/librcm \
420	lib/librdc \
421	lib/libreparse \
422	lib/librestart \
423	lib/librstp \
424	lib/librt \
425	lib/libscf \
426	lib/libsec \
427	lib/libsecdb \
428	lib/libsendfile \
429	lib/libsip \
430	lib/libshare \
431	lib/libsldap \
432	lib/libslp \
433	lib/libsmbfs \
434	lib/libsmbios \
435	lib/libsmedia \
436	lib/libsrpt \
437	lib/libstmf \
438	lib/libsun_ima \
439	lib/libsysevent \
440	lib/libthread \
441	lib/libtsnet \
442	lib/libtsol \
443	lib/libumem \
444	lib/libunistat \
445	lib/libuuid \
446	lib/libuutil \
447	lib/libvrrpadm \
448	lib/libwanboot \
449	lib/libwanbootutil \
450	lib/libxnet \
451	lib/libzfs \
452	lib/libzfs_jni \
453	lib/libzonecfg \
454	lib/libzoneinfo \
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