xref: /titanic_51/usr/src/Makefile.lint (revision 9cd534619d178fc105dc526b5cc6b753cc4344d7)
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 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
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/audit \
41	cmd/auditconfig \
42	cmd/auditd \
43	cmd/auditreduce \
44	cmd/auditstat \
45	cmd/auths \
46	cmd/autopush \
47	cmd/availdevs \
48	cmd/awk \
49	cmd/banner \
50	cmd/bart \
51	cmd/basename \
52	cmd/bdiff \
53	cmd/bfs \
54	cmd/busstat \
55	cmd/boot \
56	cmd/cal \
57	cmd/captoinfo \
58	cmd/cat \
59	cmd/cdrw \
60	cmd/cfgadm \
61	cmd/checkeq \
62	cmd/checknr \
63	cmd/chgrp \
64	cmd/chmod \
65	cmd/chown \
66	cmd/chroot \
67	cmd/cksum \
68	cmd/clinfo \
69	cmd/cmd-crypto \
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/mipagent \
78	cmd/cmd-inet/usr.lib/pppoe \
79	cmd/cmd-inet/usr.lib/slpd \
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/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/find \
124	cmd/fmthard \
125	cmd/fmtmsg \
126	cmd/fold \
127	cmd/fm \
128	cmd/format \
129	cmd/fs.d/fd \
130	cmd/fs.d/lofs/mount \
131	cmd/fs.d/mntfs \
132	cmd/fs.d/pcfs/mount \
133	cmd/fs.d/proc \
134	cmd/fs.d/tmpfs \
135	cmd/fs.d/udfs/mount \
136	cmd/fs.d/ufs/mount \
137	cmd/fs.d/ufs/fsirand\
138	cmd/fs.d/zfs/fstyp \
139	cmd/fuser \
140	cmd/gcore \
141	cmd/getconf \
142	cmd/getdevpolicy \
143	cmd/getfacl \
144	cmd/getopt \
145	cmd/gettext \
146	cmd/grep \
147	cmd/grep_xpg4 \
148	cmd/groups \
149	cmd/halt \
150	cmd/head \
151	cmd/hostid \
152	cmd/hostname \
153	cmd/init \
154	cmd/intrstat \
155	cmd/ipcrm \
156	cmd/ipcs \
157	cmd/isaexec \
158	cmd/isalist \
159	cmd/iscsi \
160	cmd/join \
161	cmd/kbd \
162	cmd/killall \
163	cmd/last \
164	cmd/lastcomm \
165	cmd/ldapcachemgr \
166	cmd/line \
167	cmd/link \
168	cmd/locator \
169	cmd/lockstat \
170	cmd/lofiadm \
171	cmd/logadm \
172	cmd/logger \
173	cmd/login \
174	cmd/logins \
175	cmd/logname \
176	cmd/ls \
177	cmd/lvm \
178	cmd/machid \
179	cmd/makekey \
180	cmd/mdb \
181	cmd/mesg \
182	cmd/mkdir \
183	cmd/mkfifo \
184	cmd/mkfile \
185	cmd/mkmsgs \
186	cmd/mknod \
187	cmd/msgfmt \
188	cmd/msgid \
189	cmd/mt \
190	cmd/mv \
191	cmd/newform \
192	cmd/newgrp \
193	cmd/newtask \
194	cmd/nice \
195	cmd/nispasswd \
196	cmd/nl \
197	cmd/nohup \
198	cmd/nscd \
199	cmd/pagesize \
200	cmd/passwd \
201	cmd/pathchk \
202	cmd/pbind \
203	cmd/pcidr \
204	cmd/pfexec \
205	cmd/pgrep \
206	cmd/picl/picld \
207	cmd/picl/prtpicl \
208	cmd/plockstat \
209	cmd/pools \
210	cmd/power \
211	cmd/ppgsz \
212	cmd/praudit \
213	cmd/prctl \
214	cmd/priocntl \
215	cmd/profiles \
216	cmd/prstat \
217	cmd/prtconf \
218	cmd/prtdiag \
219	cmd/prtvtoc \
220	cmd/ps \
221	cmd/psradm \
222	cmd/psrinfo \
223	cmd/psrset \
224	cmd/ptools \
225	cmd/pwck \
226	cmd/pwconv \
227	cmd/ramdiskadm \
228	cmd/raidctl \
229	cmd/rcap \
230	cmd/rcm_daemon \
231	cmd/rctladm \
232	cmd/renice \
233	cmd/rm \
234	cmd/rmdir \
235	cmd/rmformat \
236	cmd/rmt \
237	cmd/roles \
238	cmd/rpcgen \
239	cmd/rpcsvc/rpc.bootparamd \
240	cmd/runat \
241	cmd/setpgrp \
242	cmd/smbios \
243	cmd/smserverd \
244	cmd/sort \
245	cmd/split \
246	cmd/ssh \
247	cmd/stat \
248	cmd/streams/strcmd \
249	cmd/strings \
250	cmd/su \
251	cmd/sulogin \
252	cmd/sum \
253	cmd/svc \
254	cmd/swap \
255	cmd/sync \
256	cmd/syseventadm \
257	cmd/syseventd \
258	cmd/syslogd \
259	cmd/tabs \
260	cmd/tee \
261	cmd/th_tools \
262	cmd/tip \
263	cmd/touch \
264	cmd/truss \
265	cmd/tty \
266	cmd/uadmin \
267	cmd/ul \
268	cmd/users \
269	cmd/utmp_update \
270	cmd/utmpd \
271	cmd/valtools \
272	cmd/wall \
273	cmd/wbem \
274	cmd/wc \
275	cmd/who \
276	cmd/whodo \
277	cmd/wracct \
278	cmd/xargs \
279	cmd/xstr \
280	cmd/yes \
281	cmd/yppasswd \
282	cmd/zdb \
283	cmd/zdump \
284	cmd/zfs \
285	cmd/zinject \
286	cmd/zlogin \
287	cmd/zoneadm \
288	cmd/zoneadmd \
289	cmd/zonecfg \
290	cmd/zonename \
291	cmd/zpool \
292	cmd/ztest \
293	lib/abi \
294	lib/auditd_plugins \
295	lib/brand/sn1 \
296	lib/crypt_modules \
297	lib/extendedFILE \
298	lib/libadt_jni \
299	lib/libaio \
300	lib/libavl \
301	lib/libbrand \
302	lib/libbsdmalloc \
303	lib/libbsm \
304	lib/libc \
305	lib/libc_db \
306	lib/libcfgadm \
307	lib/libcmd \
308	lib/libcmdutils \
309	lib/libcontract \
310	lib/libcryptoutil \
311	lib/libctf \
312	lib/libdevice \
313	lib/libdevid \
314	lib/libdevinfo \
315	lib/libdhcpagent \
316	lib/libdhcpdu \
317	lib/libdhcpsvc \
318	lib/libdhcputil \
319	lib/libdisasm \
320	lib/libdiskmgt \
321	lib/libdladm \
322	lib/libdlpi \
323	lib/libdoor \
324	lib/libdtrace \
325	lib/libefi \
326	lib/libexacct \
327	lib/libgen \
328	lib/libgss \
329	lib/libinetcfg \
330	lib/libinetsvc \
331	lib/libinetutil \
332	lib/libipmp \
333	lib/libipp \
334	lib/libipsecutil \
335	lib/libkstat \
336	lib/liblaadm \
337	lib/liblgrp \
338	lib/liblm \
339	lib/libmacadm \
340	lib/libmalloc \
341	lib/libmapmalloc \
342	lib/libmapid \
343	lib/libmd \
344	lib/libmp \
345	lib/libmtmalloc \
346	lib/libnsl \
347	lib/libnvpair \
348	lib/libpam \
349	lib/libpctx \
350	lib/libpicl \
351	lib/libpicltree \
352	lib/libplot \
353	lib/libpool \
354	lib/libproc \
355	lib/libpthread \
356	lib/librcm \
357	lib/librestart \
358	lib/librt \
359	lib/libscf \
360	lib/libsec \
361	lib/libsecdb \
362	lib/libsendfile \
363	lib/libsip \
364	lib/libshare \
365	lib/libsldap \
366	lib/libslp \
367	lib/libsmbios \
368	lib/libsmedia \
369	lib/libthread \
370	lib/libtsnet \
371	lib/libtsol \
372	lib/libumem \
373	lib/libuutil \
374	lib/libwanboot \
375	lib/libwanbootutil \
376	lib/libxnet \
377	lib/libzfs \
378	lib/libzfs_jni \
379	lib/libzonecfg \
380	lib/libzoneinfo \
381	lib/lvm \
382	lib/madv \
383	lib/mpss \
384	lib/nametoaddr \
385	lib/ncad_addr \
386	lib/nsswitch \
387	lib/pam_modules \
388	lib/passwdutil \
389	lib/pkcs11 \
390	lib/print \
391	lib/fm \
392	lib/udapl \
393	lib/watchmalloc \
394	psm \
395	ucbcmd/basename \
396	ucbcmd/biff \
397	ucbcmd/echo \
398	ucbcmd/groups \
399	ucbcmd/mkstr \
400	ucbcmd/printenv \
401	ucbcmd/sum \
402	ucbcmd/test \
403	ucbcmd/users \
404	ucbcmd/whoami
405
406$(CLOSED_BUILD)COMMON_SUBDIRS += \
407	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
408	$(CLOSED)/cmd/pax \
409	$(CLOSED)/cmd/pcitool \
410	$(CLOSED)/cmd/sed_xpg4 \
411	$(CLOSED)/cmd/smartcard \
412	$(CLOSED)/cmd/tail \
413	$(CLOSED)/cmd/tr \
414	$(CLOSED)/lib/libc_i18n \
415	$(CLOSED)/lib/libelfsign \
416	$(CLOSED)/lib/smartcard
417
418i386_SUBDIRS= \
419	cmd/biosdev \
420	cmd/fs.d/xmemfs \
421	cmd/rtc \
422	lib/brand/lx \
423	lib/cfgadm_plugins/sata
424
425sparc_SUBDIRS= \
426	cmd/datadm \
427	cmd/dcs \
428	cmd/drd \
429	cmd/fruadm \
430	cmd/prtdscp \
431	cmd/prtfru \
432	cmd/sckmd \
433	cmd/vntsd \
434	cmd/wrsmconf \
435	cmd/wrsmstat \
436	lib/libdscp \
437	lib/libwrsmconf \
438	lib/wrsm \
439	lib/libpcp \
440	stand
441
442$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
443
444LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
445
446.PARALLEL:	$(LINTSUBDIRS)
447
448lint:		uts .WAIT subdirs
449
450subdirs:	$(LINTSUBDIRS)
451
452uts $(LINTSUBDIRS):	FRC
453	@cd $@; pwd; $(MAKE) lint
454
455FRC:
456