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