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