xref: /titanic_41/usr/src/Makefile.lint (revision fb9f9b975cb9214fec5dab37d461199adab9b964)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23#
24# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
25# Use is subject to license terms.
26#
27# ident	"%Z%%M%	%I%	%E% SMI"
28#
29
30# include global definitions
31include Makefile.master
32
33#
34# As pieces are made lint-clean, add them here so the nightly build
35# can be used to keep them that way.
36#
37COMMON_SUBDIRS = \
38	cmd/acctadm \
39	cmd/asa \
40	cmd/amt \
41	cmd/audit \
42	cmd/auditconfig \
43	cmd/auditd \
44	cmd/auditreduce \
45	cmd/auditstat \
46	cmd/auths \
47	cmd/autopush \
48	cmd/availdevs \
49	cmd/awk \
50	cmd/banner \
51	cmd/bart \
52	cmd/basename \
53	cmd/bdiff \
54	cmd/bfs \
55	cmd/busstat \
56	cmd/boot \
57	cmd/cal \
58	cmd/captoinfo \
59	cmd/cat \
60	cmd/cdrw \
61	cmd/cfgadm \
62	cmd/checkeq \
63	cmd/checknr \
64	cmd/chgrp \
65	cmd/chmod \
66	cmd/chown \
67	cmd/chroot \
68	cmd/cksum \
69	cmd/clinfo \
70	cmd/cmd-crypto \
71	cmd/cmd-inet/sbin \
72	cmd/cmd-inet/usr.bin \
73	cmd/cmd-inet/usr.lib/dsvclockd \
74	cmd/cmd-inet/usr.lib/in.dhcpd \
75	cmd/cmd-inet/usr.lib/in.mpathd \
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/dirname \
106	cmd/diskscan \
107	cmd/dispadmin \
108	cmd/dladm \
109	cmd/dtrace \
110	cmd/du \
111	cmd/dumpadm \
112	cmd/dumpcs \
113	cmd/echo \
114	cmd/emul64ioctl \
115	cmd/env \
116	cmd/expand \
117	cmd/fdetach \
118	cmd/fdformat \
119	cmd/fgrep \
120	cmd/file \
121	cmd/find \
122	cmd/fmthard \
123	cmd/fmtmsg \
124	cmd/fold \
125	cmd/fm \
126	cmd/format \
127	cmd/fs.d/fd \
128	cmd/fs.d/lofs/mount \
129	cmd/fs.d/mntfs \
130	cmd/fs.d/pcfs/mount \
131	cmd/fs.d/proc \
132	cmd/fs.d/tmpfs \
133	cmd/fs.d/udfs/mount \
134	cmd/fs.d/ufs/mount \
135	cmd/fs.d/ufs/fsirand\
136	cmd/fs.d/zfs/fstyp \
137	cmd/fuser \
138	cmd/gcore \
139	cmd/getconf \
140	cmd/getdevpolicy \
141	cmd/getfacl \
142	cmd/getopt \
143	cmd/gettext \
144	cmd/grep \
145	cmd/grep_xpg4 \
146	cmd/groups \
147	cmd/halt \
148	cmd/head \
149	cmd/hostid \
150	cmd/init \
151	cmd/intrstat \
152	cmd/ipcrm \
153	cmd/ipcs \
154	cmd/isaexec \
155	cmd/isalist \
156	cmd/join \
157	cmd/kbd \
158	cmd/killall \
159	cmd/last \
160	cmd/lastcomm \
161	cmd/ldapcachemgr \
162	cmd/line \
163	cmd/link \
164	cmd/locator \
165	cmd/lockstat \
166	cmd/lofiadm \
167	cmd/logadm \
168	cmd/logger \
169	cmd/login \
170	cmd/logins \
171	cmd/logname \
172	cmd/ls \
173	cmd/lvm \
174	cmd/machid \
175	cmd/makekey \
176	cmd/mdb \
177	cmd/mesg \
178	cmd/mkdir \
179	cmd/mkfifo \
180	cmd/mkfile \
181	cmd/mkmsgs \
182	cmd/mknod \
183	cmd/msgfmt \
184	cmd/msgid \
185	cmd/mt \
186	cmd/mv \
187	cmd/newform \
188	cmd/newtask \
189	cmd/nice \
190	cmd/nispasswd \
191	cmd/nl \
192	cmd/nohup \
193	cmd/pagesize \
194	cmd/passwd \
195	cmd/pathchk \
196	cmd/pbind \
197	cmd/pcidr \
198	cmd/pfexec \
199	cmd/pgrep \
200	cmd/picl/picld \
201	cmd/picl/prtpicl \
202	cmd/plockstat \
203	cmd/pools \
204	cmd/ppgsz \
205	cmd/praudit \
206	cmd/prctl \
207	cmd/priocntl \
208	cmd/profiles \
209	cmd/prstat \
210	cmd/prtconf \
211	cmd/prtdiag \
212	cmd/prtvtoc \
213	cmd/ps \
214	cmd/psradm \
215	cmd/psrinfo \
216	cmd/psrset \
217	cmd/pt_chmod \
218	cmd/ptools \
219	cmd/pwck \
220	cmd/ramdiskadm \
221	cmd/raidctl \
222	cmd/rcap \
223	cmd/rcm_daemon \
224	cmd/rctladm \
225	cmd/renice \
226	cmd/rm \
227	cmd/rmdir \
228	cmd/rmformat \
229	cmd/rmt \
230	cmd/roles \
231	cmd/rpcgen \
232	cmd/rpcsvc/rpc.bootparamd \
233	cmd/runat \
234	cmd/setpgrp \
235	cmd/smbios \
236	cmd/smserverd \
237	cmd/sort \
238	cmd/split \
239	cmd/ssh \
240	cmd/stat \
241	cmd/streams/strcmd \
242	cmd/strings \
243	cmd/su \
244	cmd/sulogin \
245	cmd/sum \
246	cmd/svc \
247	cmd/swap \
248	cmd/sync \
249	cmd/syseventadm \
250	cmd/syseventd \
251	cmd/tabs \
252	cmd/tee \
253	cmd/th_tools \
254	cmd/tip \
255	cmd/touch \
256	cmd/truss \
257	cmd/tty \
258	cmd/uadmin \
259	cmd/ul \
260	cmd/users \
261	cmd/utmp_update \
262	cmd/utmpd \
263	cmd/valtools \
264	cmd/wall \
265	cmd/wbem \
266	cmd/wc \
267	cmd/who \
268	cmd/whodo \
269	cmd/wracct \
270	cmd/xargs \
271	cmd/xstr \
272	cmd/yes \
273	cmd/yppasswd \
274	cmd/zdb \
275	cmd/zdump \
276	cmd/zfs \
277	cmd/zlogin \
278	cmd/zoneadm \
279	cmd/zoneadmd \
280	cmd/zonecfg \
281	cmd/zonename \
282	cmd/zpool \
283	cmd/ztest \
284	lib/abi \
285	lib/auditd_plugins \
286	lib/crypt_modules \
287	lib/libadt_jni \
288	lib/libaio \
289	lib/libavl \
290	lib/libbsm \
291	lib/libc \
292	lib/libc_db \
293	lib/libcfgadm \
294	lib/libcmdutils \
295	lib/libcontract \
296	lib/libcryptoutil \
297	lib/libctf \
298	lib/libdevice \
299	lib/libdevid \
300	lib/libdevinfo \
301	lib/libdhcpagent \
302	lib/libdhcpdu \
303	lib/libdhcpsvc \
304	lib/libdhcputil \
305	lib/libdiskmgt \
306	lib/libdladm \
307	lib/libdlpi \
308	lib/libdoor \
309	lib/libdtrace \
310	lib/libefi \
311	lib/libexacct \
312	lib/libgen \
313	lib/libgss \
314	lib/libinetcfg \
315	lib/libinetutil \
316	lib/libipmp \
317	lib/libipp \
318	lib/libipsecutil \
319	lib/libkstat \
320	lib/liblaadm \
321	lib/liblgrp \
322	lib/liblm \
323	lib/libmacadm \
324	lib/libmalloc \
325	lib/libmd5 \
326	lib/libmp \
327	lib/libnsl \
328	lib/libnvpair \
329	lib/libpam \
330	lib/libpctx \
331	lib/libpicl \
332	lib/libpicltree \
333	lib/libplot \
334	lib/libpool \
335	lib/libproc \
336	lib/libpthread \
337	lib/librcm \
338	lib/librestart \
339	lib/librt \
340	lib/libscf \
341	lib/libsec \
342	lib/libsecdb \
343	lib/libsendfile \
344	lib/libsldap \
345	lib/libslp \
346	lib/libsmbios \
347	lib/libsmedia \
348	lib/libthread \
349	lib/libumem \
350	lib/libuutil \
351	lib/libwanboot \
352	lib/libwanbootutil \
353	lib/libxnet \
354	lib/libzfs \
355	lib/libzfs_jni \
356	lib/libzonecfg \
357	lib/libzoneinfo \
358	lib/lvm \
359	lib/madv \
360	lib/mpss \
361	lib/nametoaddr \
362	lib/ncad_addr \
363	lib/pam_modules \
364	lib/passwdutil \
365	lib/pkcs11 \
366	lib/fm \
367	lib/udapl \
368	psm \
369	ucbcmd/basename \
370	ucbcmd/biff \
371	ucbcmd/echo \
372	ucbcmd/groups \
373	ucbcmd/mkstr \
374	ucbcmd/printenv \
375	ucbcmd/sum \
376	ucbcmd/test \
377	ucbcmd/users \
378	ucbcmd/whoami
379
380$(CLOSED_BUILD)COMMON_SUBDIRS += \
381	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
382	$(CLOSED)/cmd/pax \
383	$(CLOSED)/cmd/sed_xpg4 \
384	$(CLOSED)/cmd/smartcard \
385	$(CLOSED)/cmd/tail \
386	$(CLOSED)/cmd/tr \
387	$(CLOSED)/lib/libc_i18n \
388	$(CLOSED)/lib/libelfsign \
389	$(CLOSED)/lib/smartcard
390
391i386_SUBDIRS= \
392	cmd/biosdev \
393	cmd/rtc \
394	cmd/fs.d/xmemfs
395
396sparc_SUBDIRS= \
397	cmd/datadm \
398	cmd/dcs \
399	cmd/fruadm \
400	cmd/prtfru \
401	cmd/sckmd \
402	cmd/wrsmconf \
403	cmd/wrsmstat \
404	lib/libwrsmconf \
405	lib/wrsm \
406	stand
407
408$(CLOSED_BUILD)sparc_SUBDIRS += $(CLOSED)/cmd/mtst
409
410LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
411
412.PARALLEL:	$(LINTSUBDIRS)
413
414lint:		uts .WAIT subdirs
415
416subdirs:	$(LINTSUBDIRS)
417
418uts $(LINTSUBDIRS):	FRC
419	@cd $@; pwd; $(MAKE) lint
420
421FRC:
422