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