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