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