xref: /titanic_41/usr/src/Makefile.lint (revision 890e8ff10cfc85bc7d33064a9a30c3e8477b4813)
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/inetd \
76	cmd/cmd-inet/usr.lib/mipagent \
77	cmd/cmd-inet/usr.lib/pppoe \
78	cmd/cmd-inet/usr.lib/slpd \
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/dfs.cmds \
103	cmd/diff3 \
104	cmd/dis \
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/pwconv \
221	cmd/ramdiskadm \
222	cmd/raidctl \
223	cmd/rcap \
224	cmd/rcm_daemon \
225	cmd/rctladm \
226	cmd/renice \
227	cmd/rm \
228	cmd/rmdir \
229	cmd/rmformat \
230	cmd/rmt \
231	cmd/roles \
232	cmd/rpcgen \
233	cmd/rpcsvc/rpc.bootparamd \
234	cmd/runat \
235	cmd/setpgrp \
236	cmd/smbios \
237	cmd/smserverd \
238	cmd/sort \
239	cmd/split \
240	cmd/ssh \
241	cmd/stat \
242	cmd/streams/strcmd \
243	cmd/strings \
244	cmd/su \
245	cmd/sulogin \
246	cmd/sum \
247	cmd/svc \
248	cmd/swap \
249	cmd/sync \
250	cmd/syseventadm \
251	cmd/syseventd \
252	cmd/tabs \
253	cmd/tee \
254	cmd/th_tools \
255	cmd/tip \
256	cmd/touch \
257	cmd/truss \
258	cmd/tty \
259	cmd/uadmin \
260	cmd/ul \
261	cmd/users \
262	cmd/utmp_update \
263	cmd/utmpd \
264	cmd/valtools \
265	cmd/wall \
266	cmd/wbem \
267	cmd/wc \
268	cmd/who \
269	cmd/whodo \
270	cmd/wracct \
271	cmd/xargs \
272	cmd/xstr \
273	cmd/yes \
274	cmd/yppasswd \
275	cmd/zdb \
276	cmd/zdump \
277	cmd/zfs \
278	cmd/zinject \
279	cmd/zlogin \
280	cmd/zoneadm \
281	cmd/zoneadmd \
282	cmd/zonecfg \
283	cmd/zonename \
284	cmd/zpool \
285	cmd/ztest \
286	lib/abi \
287	lib/auditd_plugins \
288	lib/crypt_modules \
289	lib/extendedFILE \
290	lib/libadt_jni \
291	lib/libaio \
292	lib/libavl \
293	lib/libbsm \
294	lib/libc \
295	lib/libc_db \
296	lib/libcfgadm \
297	lib/libcmdutils \
298	lib/libcontract \
299	lib/libcryptoutil \
300	lib/libctf \
301	lib/libdevice \
302	lib/libdevid \
303	lib/libdevinfo \
304	lib/libdhcpagent \
305	lib/libdhcpdu \
306	lib/libdhcpsvc \
307	lib/libdhcputil \
308	lib/libdisasm \
309	lib/libdiskmgt \
310	lib/libdladm \
311	lib/libdlpi \
312	lib/libdoor \
313	lib/libdtrace \
314	lib/libefi \
315	lib/libexacct \
316	lib/libgen \
317	lib/libgss \
318	lib/libinetcfg \
319	lib/libinetsvc \
320	lib/libinetutil \
321	lib/libipmp \
322	lib/libipp \
323	lib/libipsecutil \
324	lib/libkstat \
325	lib/liblaadm \
326	lib/liblgrp \
327	lib/liblm \
328	lib/libmacadm \
329	lib/libmalloc \
330	lib/libmapid \
331	lib/libmd \
332	lib/libmp \
333	lib/libnsl \
334	lib/libnvpair \
335	lib/libpam \
336	lib/libpctx \
337	lib/libpicl \
338	lib/libpicltree \
339	lib/libplot \
340	lib/libpool \
341	lib/libproc \
342	lib/libpthread \
343	lib/librcm \
344	lib/librestart \
345	lib/librt \
346	lib/libscf \
347	lib/libsec \
348	lib/libsecdb \
349	lib/libsendfile \
350	lib/libsldap \
351	lib/libslp \
352	lib/libsmbios \
353	lib/libsmedia \
354	lib/libthread \
355	lib/libtsnet \
356	lib/libtsol \
357	lib/libumem \
358	lib/libuutil \
359	lib/libwanboot \
360	lib/libwanbootutil \
361	lib/libxnet \
362	lib/libzfs \
363	lib/libzfs_jni \
364	lib/libzonecfg \
365	lib/libzoneinfo \
366	lib/lvm \
367	lib/madv \
368	lib/mpss \
369	lib/nametoaddr \
370	lib/ncad_addr \
371	lib/pam_modules \
372	lib/passwdutil \
373	lib/pkcs11 \
374	lib/print \
375	lib/fm \
376	lib/udapl \
377	psm \
378	ucbcmd/basename \
379	ucbcmd/biff \
380	ucbcmd/echo \
381	ucbcmd/groups \
382	ucbcmd/mkstr \
383	ucbcmd/printenv \
384	ucbcmd/sum \
385	ucbcmd/test \
386	ucbcmd/users \
387	ucbcmd/whoami
388
389$(CLOSED_BUILD)COMMON_SUBDIRS += \
390	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
391	$(CLOSED)/cmd/pax \
392	$(CLOSED)/cmd/pcitool \
393	$(CLOSED)/cmd/sed_xpg4 \
394	$(CLOSED)/cmd/smartcard \
395	$(CLOSED)/cmd/tail \
396	$(CLOSED)/cmd/tr \
397	$(CLOSED)/lib/libc_i18n \
398	$(CLOSED)/lib/libelfsign \
399	$(CLOSED)/lib/smartcard
400
401i386_SUBDIRS= \
402	cmd/biosdev \
403	cmd/rtc \
404	cmd/fs.d/xmemfs \
405	lib/cfgadm_plugins/sata
406
407sparc_SUBDIRS= \
408	cmd/datadm \
409	cmd/dcs \
410	cmd/fruadm \
411	cmd/prtdscp \
412	cmd/prtfru \
413	cmd/sckmd \
414	cmd/wrsmconf \
415	cmd/wrsmstat \
416	lib/libdscp \
417	lib/libwrsmconf \
418	lib/wrsm \
419	lib/libpcp \
420	stand
421
422$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
423
424LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
425
426.PARALLEL:	$(LINTSUBDIRS)
427
428lint:		uts .WAIT subdirs
429
430subdirs:	$(LINTSUBDIRS)
431
432uts $(LINTSUBDIRS):	FRC
433	@cd $@; pwd; $(MAKE) lint
434
435FRC:
436