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