xref: /titanic_44/usr/src/Makefile.lint (revision 1f6eb0216cb17ca5fdff9563329f1dda47c8b801)
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 2008 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/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/cksum \
67	cmd/clinfo \
68	cmd/cmd-crypto \
69	cmd/cmd-inet/lib \
70	cmd/cmd-inet/sbin \
71	cmd/cmd-inet/usr.bin \
72	cmd/cmd-inet/usr.lib/dsvclockd \
73	cmd/cmd-inet/usr.lib/in.dhcpd \
74	cmd/cmd-inet/usr.lib/in.mpathd \
75	cmd/cmd-inet/usr.lib/in.ndpd \
76	cmd/cmd-inet/usr.lib/inetd \
77	cmd/cmd-inet/usr.lib/pppoe \
78	cmd/cmd-inet/usr.lib/slpd \
79	cmd/cmd-inet/usr.lib/wpad \
80	cmd/cmd-inet/usr.lib/wanboot \
81	cmd/cmd-inet/usr.sadm \
82	cmd/cmd-inet/usr.sbin \
83	cmd/cmp \
84	cmd/col \
85	cmd/comm \
86	cmd/compress \
87	cmd/consadm \
88	cmd/coreadm \
89	cmd/cpc \
90	cmd/crypt \
91	cmd/csplit \
92	cmd/ctrun \
93	cmd/ctstat \
94	cmd/ctwatch \
95	cmd/cut \
96	cmd/date \
97	cmd/dd \
98	cmd/deroff \
99	cmd/devctl \
100	cmd/devfsadm \
101	cmd/devinfo \
102	cmd/devmgmt \
103	cmd/devprop \
104	cmd/dfs.cmds \
105	cmd/diff3 \
106	cmd/dis \
107	cmd/dirname \
108	cmd/diskscan \
109	cmd/dispadmin \
110	cmd/dladm \
111	cmd/dlmgmtd \
112	cmd/dtrace \
113	cmd/du \
114	cmd/dumpadm \
115	cmd/dumpcs \
116	cmd/echo \
117	cmd/eject \
118	cmd/emul64ioctl \
119	cmd/env \
120	cmd/expand \
121	cmd/fcinfo \
122	cmd/fdetach \
123	cmd/fdformat \
124	cmd/fgrep \
125	cmd/file \
126	cmd/filebench \
127	cmd/find \
128	cmd/fmthard \
129	cmd/fmtmsg \
130	cmd/fold \
131	cmd/fm \
132	cmd/format \
133	cmd/fs.d/fd \
134	cmd/fs.d/lofs/mount \
135	cmd/fs.d/mntfs \
136	cmd/fs.d/pcfs/mount \
137	cmd/fs.d/proc \
138	cmd/fs.d/tmpfs \
139	cmd/fs.d/udfs/mount \
140	cmd/fs.d/ufs/mount \
141	cmd/fs.d/ufs/fsirand\
142	cmd/fs.d/zfs/fstyp \
143	cmd/fwflash \
144	cmd/fuser \
145	cmd/gcore \
146	cmd/genmsg \
147	cmd/getconf \
148	cmd/getdevpolicy \
149	cmd/getfacl \
150	cmd/getopt \
151	cmd/gettext \
152	cmd/grep \
153	cmd/grep_xpg4 \
154	cmd/groups \
155	cmd/halt \
156	cmd/head \
157	cmd/hostid \
158	cmd/hostname \
159	cmd/idmap \
160	cmd/init \
161	cmd/intrstat \
162	cmd/ipcrm \
163	cmd/ipcs \
164	cmd/isaexec \
165	cmd/isalist \
166	cmd/iscsi \
167	cmd/iscsiadm \
168	cmd/iscsid \
169	cmd/isns \
170	cmd/join \
171	cmd/kbd \
172	cmd/killall \
173	cmd/last \
174	cmd/lastcomm \
175	cmd/ldapcachemgr \
176	cmd/line \
177	cmd/link \
178	cmd/locator \
179	cmd/lockstat \
180	cmd/lofiadm \
181	cmd/logadm \
182	cmd/logger \
183	cmd/login \
184	cmd/logins \
185	cmd/logname \
186	cmd/ls \
187	cmd/luxadm \
188	cmd/lvm \
189	cmd/machid \
190	cmd/makekey \
191	cmd/mdb \
192	cmd/mesg \
193	cmd/mkdir \
194	cmd/mkfifo \
195	cmd/mkfile \
196	cmd/mkmsgs \
197	cmd/mknod \
198	cmd/mms	\
199	cmd/mpathadm \
200	cmd/msgfmt \
201	cmd/msgid \
202	cmd/mt \
203	cmd/mv \
204	cmd/newform \
205	cmd/newgrp \
206	cmd/newtask \
207	cmd/nice \
208	cmd/nispasswd \
209	cmd/nl \
210	cmd/nohup \
211	cmd/nscd \
212	cmd/pagesize \
213	cmd/passwd \
214	cmd/pathchk \
215	cmd/pbind \
216	cmd/pcidr \
217	cmd/pfexec \
218	cmd/pgrep \
219	cmd/picl/picld \
220	cmd/picl/prtpicl \
221	cmd/plockstat \
222	cmd/pools \
223	cmd/power \
224	cmd/powertop \
225	cmd/ppgsz \
226	cmd/praudit \
227	cmd/prctl \
228	cmd/priocntl \
229	cmd/profiles \
230	cmd/prstat \
231	cmd/prtconf \
232	cmd/prtdiag \
233	cmd/prtvtoc \
234	cmd/ps \
235	cmd/psradm \
236	cmd/psrinfo \
237	cmd/psrset \
238	cmd/ptools \
239	cmd/pwck \
240	cmd/pwconv \
241	cmd/ramdiskadm \
242	cmd/raidctl \
243	cmd/rcap \
244	cmd/rcm_daemon \
245	cmd/rctladm \
246	cmd/renice \
247	cmd/rm \
248	cmd/rmdir \
249	cmd/rmformat \
250	cmd/rmt \
251	cmd/roles \
252	cmd/rpcgen \
253	cmd/rpcsvc/rpc.bootparamd \
254	cmd/runat \
255	cmd/sbdadm \
256	cmd/sdpadm \
257	cmd/setpgrp \
258	cmd/smbios \
259	cmd/sgs \
260	cmd/smbsrv \
261	cmd/smserverd \
262	cmd/sort \
263	cmd/split \
264	cmd/ssh \
265	cmd/stat \
266	cmd/stmfadm \
267	cmd/stmfsvc \
268	cmd/stmsboot \
269	cmd/streams/strcmd \
270	cmd/strings \
271	cmd/su \
272	cmd/sulogin \
273	cmd/sum \
274	cmd/svc \
275	cmd/swap \
276	cmd/sync \
277	cmd/syseventadm \
278	cmd/syseventd \
279	cmd/syslogd \
280	cmd/tabs \
281	cmd/tee \
282	cmd/th_tools \
283	cmd/tip \
284	cmd/touch \
285	cmd/truss \
286	cmd/tty \
287	cmd/uadmin \
288	cmd/ul \
289	cmd/users \
290	cmd/utmp_update \
291	cmd/utmpd \
292	cmd/valtools \
293	cmd/vna \
294	cmd/vt \
295	cmd/wall \
296	cmd/wbem \
297	cmd/wc \
298	cmd/who \
299	cmd/whodo \
300	cmd/wracct \
301	cmd/xargs \
302	cmd/xstr \
303	cmd/yes \
304	cmd/yppasswd \
305	cmd/zdb \
306	cmd/zdump \
307	cmd/zfs \
308	cmd/zinject \
309	cmd/zlogin \
310	cmd/zoneadm \
311	cmd/zoneadmd \
312	cmd/zonecfg \
313	cmd/zonename \
314	cmd/zpool \
315	cmd/ztest \
316	lib/abi \
317	lib/auditd_plugins \
318	lib/brand/native \
319	lib/brand/sn1 \
320	lib/cfgadm_plugins/sdcard \
321	lib/crypt_modules \
322	lib/extendedFILE \
323	lib/libadt_jni \
324	lib/libaio \
325	lib/libavl \
326	lib/libbrand \
327	lib/libbsdmalloc \
328	lib/libbsm \
329	lib/libc \
330	lib/libc_db \
331	lib/libcfgadm \
332	lib/libcmdutils \
333	lib/libcommputil \
334	lib/libcontract \
335	lib/libcryptoutil \
336	lib/libctf \
337	lib/libdevice \
338	lib/libdevid \
339	lib/libdevinfo \
340	lib/libdhcpagent \
341	lib/libdhcpdu \
342	lib/libdhcpsvc \
343	lib/libdhcputil \
344	lib/libdisasm \
345	lib/libdiskmgt \
346	lib/libdladm \
347	lib/libdlpi \
348	lib/libdoor \
349	lib/libdscfg \
350	lib/libdtrace \
351	lib/libefi \
352	lib/libelfsign \
353	lib/libexacct \
354	lib/libgen \
355	lib/libgss \
356	lib/libidmap \
357	lib/libinetcfg \
358	lib/libinetsvc \
359	lib/libinetutil \
360	lib/libipmi \
361	lib/libipmp \
362	lib/libipp \
363	lib/libipsecutil \
364	lib/libiscsitgt \
365	lib/libkmf \
366	lib/libkstat \
367	lib/liblgrp \
368	lib/liblm \
369	lib/libmalloc \
370	lib/libmapmalloc \
371	lib/libmapid \
372	lib/libmd \
373	lib/libmp \
374	lib/libmtmalloc \
375	lib/libnsctl \
376	lib/libnsl \
377	lib/libnvpair \
378	lib/libnwam \
379	lib/libpam \
380	lib/libpctx \
381	lib/libpicl \
382	lib/libpicltree \
383	lib/libplot \
384	lib/libpool \
385	lib/libproc \
386	lib/libpthread \
387	lib/libraidcfg \
388	lib/librcm \
389	lib/librdc \
390	lib/librestart \
391	lib/librt \
392	lib/libscf \
393	lib/libsec \
394	lib/libsecdb \
395	lib/libsendfile \
396	lib/libsip \
397	lib/libshare \
398	lib/libsldap \
399	lib/libslp \
400	lib/libsmbios \
401	lib/libsmedia \
402	lib/libstmf \
403	lib/libsun_ima \
404	lib/libthread \
405	lib/libtsnet \
406	lib/libtsol \
407	lib/libumem \
408	lib/libunistat \
409	lib/libuuid \
410	lib/libuutil \
411	lib/libwanboot \
412	lib/libwanbootutil \
413	lib/libxnet \
414	lib/libzfs \
415	lib/libzfs_jni \
416	lib/libzonecfg \
417	lib/libzoneinfo \
418	lib/lvm \
419	lib/madv \
420	lib/mms	\
421	lib/mpss \
422	lib/nametoaddr \
423	lib/ncad_addr \
424	lib/nsswitch \
425	lib/openssl/libcrypto \
426	lib/pam_modules \
427	lib/passwdutil \
428	lib/pkcs11 \
429	lib/print \
430	lib/raidcfg_plugins \
431	lib/scsi \
432	lib/smbsrv \
433	lib/fm \
434	lib/udapl \
435	lib/watchmalloc \
436	psm \
437	ucbcmd/basename \
438	ucbcmd/biff \
439	ucbcmd/echo \
440	ucbcmd/groups \
441	ucbcmd/mkstr \
442	ucbcmd/printenv \
443	ucbcmd/sum \
444	ucbcmd/test \
445	ucbcmd/users \
446	ucbcmd/whoami
447
448$(CLOSED_BUILD)COMMON_SUBDIRS += \
449	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
450	$(CLOSED)/cmd/ndmpadm \
451	$(CLOSED)/cmd/ndmpd \
452	$(CLOSED)/cmd/ndmpstat \
453	$(CLOSED)/cmd/pax \
454	$(CLOSED)/cmd/pcitool \
455	$(CLOSED)/cmd/sed_xpg4 \
456	$(CLOSED)/cmd/smartcard \
457	$(CLOSED)/cmd/tail \
458	$(CLOSED)/cmd/tr_xpg4 \
459	$(CLOSED)/lib/libc_i18n \
460	$(CLOSED)/lib/libndmp \
461	$(CLOSED)/lib/smartcard
462
463i386_SUBDIRS= \
464	cmd/biosdev \
465	cmd/rtc \
466	cmd/ucodeadm \
467	lib/brand/lx \
468	lib/cfgadm_plugins/sata
469
470sparc_SUBDIRS= \
471	cmd/datadm \
472	cmd/dcs \
473	cmd/drd \
474	cmd/fps \
475	cmd/fruadm \
476	cmd/prtdscp \
477	cmd/prtfru \
478	cmd/sckmd \
479	cmd/vntsd \
480	lib/libds \
481	lib/libdscp \
482	lib/libpri \
483	lib/libpcp \
484	lib/libtsalarm \
485	lib/storage \
486	stand
487
488$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
489
490LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
491
492.PARALLEL:	$(LINTSUBDIRS)
493
494lint:		uts .WAIT subdirs
495
496subdirs:	$(LINTSUBDIRS)
497
498uts $(LINTSUBDIRS):	FRC
499	@cd $@; pwd; $(MAKE) lint
500
501FRC:
502