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