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