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