xref: /titanic_50/usr/src/Makefile.lint (revision fffafeb2cc01732fd6a28ed530e4424094685ece)
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# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
23
24# include global definitions
25include Makefile.master
26
27#
28# As pieces are made lint-clean, add them here so the nightly build
29# can be used to keep them that way.
30#
31COMMON_SUBDIRS = \
32	cmd/acctadm \
33	cmd/asa \
34	cmd/amt \
35	cmd/audio/audioctl \
36	cmd/audio/audiotest \
37	cmd/audit \
38	cmd/auditconfig \
39	cmd/auditd \
40	cmd/auditreduce \
41	cmd/auditstat \
42	cmd/auths \
43	cmd/autopush \
44	cmd/availdevs \
45	cmd/avs \
46	cmd/awk \
47	cmd/banner \
48	cmd/bart \
49	cmd/basename \
50	cmd/bdiff \
51	cmd/bfs \
52	cmd/busstat \
53	cmd/boot \
54	cmd/cal \
55	cmd/captoinfo \
56	cmd/cat \
57	cmd/cdrw \
58	cmd/cfgadm \
59	cmd/checkeq \
60	cmd/checknr \
61	cmd/chgrp \
62	cmd/chmod \
63	cmd/chown \
64	cmd/chroot \
65	cmd/clinfo \
66	cmd/cmd-crypto \
67	cmd/cmd-inet/lib \
68	cmd/cmd-inet/lib/netcfgd \
69	cmd/cmd-inet/lib/nwamd \
70	cmd/cmd-inet/sbin \
71	cmd/cmd-inet/usr.bin \
72	cmd/cmd-inet/usr.lib/bridged \
73	cmd/cmd-inet/usr.lib/dsvclockd \
74	cmd/cmd-inet/usr.lib/ilbd \
75	cmd/cmd-inet/usr.lib/in.dhcpd \
76	cmd/cmd-inet/usr.lib/in.mpathd \
77	cmd/cmd-inet/usr.lib/in.ndpd \
78	cmd/cmd-inet/usr.lib/inetd \
79	cmd/cmd-inet/usr.lib/pppoe \
80	cmd/cmd-inet/usr.lib/slpd \
81	cmd/cmd-inet/usr.lib/vrrpd \
82	cmd/cmd-inet/usr.lib/wpad \
83	cmd/cmd-inet/usr.lib/wanboot \
84	cmd/cmd-inet/usr.sadm \
85	cmd/cmd-inet/usr.sbin \
86	cmd/cmd-inet/usr.sbin/ilbadm \
87	cmd/cmd-inet/usr.sbin/nwamadm \
88	cmd/cmd-inet/usr.sbin/nwamcfg \
89	cmd/col \
90	cmd/compress \
91	cmd/consadm \
92	cmd/coreadm \
93	cmd/cpc \
94	cmd/cpio \
95	cmd/crypt \
96	cmd/csplit \
97	cmd/ctrun \
98	cmd/ctstat \
99	cmd/ctwatch \
100	cmd/date \
101	cmd/dd \
102	cmd/deroff \
103	cmd/devctl \
104	cmd/devfsadm \
105	cmd/devinfo \
106	cmd/devmgmt \
107	cmd/devprop \
108	cmd/dfs.cmds \
109	cmd/diff3 \
110	cmd/dis \
111	cmd/dirname \
112	cmd/diskscan \
113	cmd/dispadmin \
114	cmd/dladm \
115	cmd/dlmgmtd \
116	cmd/dtrace \
117	cmd/du \
118	cmd/dumpadm \
119	cmd/dumpcs \
120	cmd/echo \
121	cmd/eject \
122	cmd/emul64ioctl \
123	cmd/env \
124	cmd/expand \
125	cmd/fcinfo \
126	cmd/fdetach \
127	cmd/fdformat \
128	cmd/fgrep \
129	cmd/file \
130	cmd/filebench \
131	cmd/find \
132	cmd/fmthard \
133	cmd/fmtmsg \
134	cmd/fold \
135	cmd/fm \
136	cmd/format \
137	cmd/fs.d/fd \
138	cmd/fs.d/lofs/mount \
139	cmd/fs.d/mntfs \
140	cmd/fs.d/pcfs/mount \
141	cmd/fs.d/proc \
142	cmd/fs.d/tmpfs \
143	cmd/fs.d/udfs/mount \
144	cmd/fs.d/ufs/mount \
145	cmd/fs.d/ufs/fsirand\
146	cmd/fs.d/zfs/fstyp \
147	cmd/fwflash \
148	cmd/fuser \
149	cmd/gcore \
150	cmd/genmsg \
151	cmd/getconf \
152	cmd/getdevpolicy \
153	cmd/getfacl \
154	cmd/getopt \
155	cmd/gettext \
156	cmd/grep \
157	cmd/grep_xpg4 \
158	cmd/groups \
159	cmd/halt \
160	cmd/head \
161	cmd/hostid \
162	cmd/hostname \
163	cmd/hotplug \
164	cmd/hotplugd \
165	cmd/idmap \
166	cmd/init \
167	cmd/intrstat \
168	cmd/ipcrm \
169	cmd/ipcs \
170	cmd/isaexec \
171	cmd/isalist \
172	cmd/iscsiadm \
173	cmd/iscsid \
174	cmd/iscsitsvc \
175	cmd/isns \
176	cmd/itadm \
177	cmd/kbd \
178	cmd/killall \
179	cmd/last \
180	cmd/lastcomm \
181	cmd/ldapcachemgr \
182	cmd/line \
183	cmd/link \
184	cmd/locator \
185	cmd/lockstat \
186	cmd/lofiadm \
187	cmd/logadm \
188	cmd/logger \
189	cmd/login \
190	cmd/logins \
191	cmd/ls \
192	cmd/luxadm \
193	cmd/lvm \
194	cmd/machid \
195	cmd/makekey \
196	cmd/mdb \
197	cmd/mesg \
198	cmd/mkdir \
199	cmd/mkfifo \
200	cmd/mkfile \
201	cmd/mkmsgs \
202	cmd/mknod \
203	cmd/mpathadm \
204	cmd/modload \
205	cmd/msgfmt \
206	cmd/msgid \
207	cmd/mt \
208	cmd/mv \
209	cmd/ndmpadm \
210	cmd/ndmpd \
211	cmd/ndmpstat \
212	cmd/newform \
213	cmd/newgrp \
214	cmd/newtask \
215	cmd/nice \
216	cmd/nl \
217	cmd/nohup \
218	cmd/nscd \
219	cmd/pagesize \
220	cmd/passwd \
221	cmd/pathchk \
222	cmd/pbind \
223	cmd/pcidr \
224	cmd/pcitool \
225	cmd/pfexec \
226	cmd/pgrep \
227	cmd/picl/picld \
228	cmd/picl/prtpicl \
229	cmd/plockstat \
230	cmd/pools \
231	cmd/power \
232	cmd/powertop \
233	cmd/latencytop \
234	cmd/ppgsz \
235	cmd/praudit \
236	cmd/prctl \
237	cmd/priocntl \
238	cmd/profiles \
239	cmd/prstat \
240	cmd/prtconf \
241	cmd/prtdiag \
242	cmd/prtvtoc \
243	cmd/ps \
244	cmd/psradm \
245	cmd/psrinfo \
246	cmd/psrset \
247	cmd/ptools \
248	cmd/pwck \
249	cmd/pwconv \
250	cmd/ramdiskadm \
251	cmd/raidctl \
252	cmd/rcap \
253	cmd/rcm_daemon \
254	cmd/rctladm \
255	cmd/renice \
256	cmd/rm \
257	cmd/rmdir \
258	cmd/rmformat \
259	cmd/rmt \
260	cmd/roles \
261	cmd/rpcgen \
262	cmd/rpcsvc/rpc.bootparamd \
263	cmd/runat \
264	cmd/sbdadm \
265	cmd/sdpadm \
266	cmd/setpgrp \
267	cmd/smbios \
268	cmd/sgs \
269	cmd/smbsrv \
270	cmd/smserverd \
271	cmd/sort \
272	cmd/split \
273	cmd/srptadm \
274	cmd/srptsvc \
275	cmd/ssh \
276	cmd/stat \
277	cmd/stmfadm \
278	cmd/stmfsvc \
279	cmd/stmsboot \
280	cmd/streams/strcmd \
281	cmd/strings \
282	cmd/su \
283	cmd/sulogin \
284	cmd/svc \
285	cmd/swap \
286	cmd/sync \
287	cmd/syseventadm \
288	cmd/syseventd \
289	cmd/syslogd \
290	cmd/tabs \
291	cmd/th_tools \
292	cmd/tip \
293	cmd/touch \
294	cmd/truss \
295	cmd/tty \
296	cmd/tzreload \
297	cmd/uadmin \
298	cmd/ul \
299	cmd/users \
300	cmd/utmp_update \
301	cmd/utmpd \
302	cmd/valtools \
303	cmd/vrrpadm \
304	cmd/vt \
305	cmd/wall \
306	cmd/wbem \
307	cmd/who \
308	cmd/whodo \
309	cmd/wracct \
310	cmd/wusbadm \
311	cmd/xargs \
312	cmd/xstr \
313	cmd/yes \
314	cmd/yppasswd \
315	cmd/zdb \
316	cmd/zdump \
317	cmd/zfs \
318	cmd/zinject \
319	cmd/zlogin \
320	cmd/zoneadm \
321	cmd/zoneadmd \
322	cmd/zonecfg \
323	cmd/zonename \
324	cmd/zpool \
325	cmd/zlook \
326	cmd/ztest \
327	lib/abi \
328	lib/auditd_plugins \
329	lib/brand/sn1 \
330	lib/brand/solaris10 \
331	lib/cfgadm_plugins/sdcard \
332	lib/crypt_modules \
333	lib/extendedFILE \
334	lib/libadutils \
335	lib/libadt_jni \
336	lib/libaio \
337	lib/libavl \
338	lib/libbrand \
339	lib/libbsdmalloc \
340	lib/libbsm \
341	lib/libc \
342	lib/libc_db \
343	lib/libcfgadm \
344	lib/libcmdutils \
345	lib/libcommputil \
346	lib/libcontract \
347	lib/libcryptoutil \
348	lib/libctf \
349	lib/libdevice \
350	lib/libdevid \
351	lib/libdevinfo \
352	lib/libdhcpagent \
353	lib/libdhcpdu \
354	lib/libdhcpsvc \
355	lib/libdhcputil \
356	lib/libdisasm \
357	lib/libdiskmgt \
358	lib/libdladm \
359	lib/libdlpi \
360	lib/libdoor \
361	lib/libdscfg \
362	lib/libdtrace \
363	lib/libefi \
364	lib/libelfsign \
365	lib/libexacct \
366	lib/libfcoe \
367	lib/libgen \
368	lib/libgrubmgmt \
369	lib/libgss \
370	lib/libhotplug \
371	lib/libidmap \
372	lib/libilb \
373	lib/libinetcfg \
374	lib/libinetsvc \
375	lib/libinetutil \
376	lib/libinstzones \
377	lib/libipadm \
378	lib/libipmi \
379	lib/libipmp \
380	lib/libipp \
381	lib/libipsecutil \
382	lib/libiscsit \
383	lib/libkmf \
384	lib/libkstat \
385	lib/liblgrp \
386	lib/liblm \
387	lib/libmalloc \
388	lib/libmapmalloc \
389	lib/libmapid \
390	lib/libmd \
391	lib/libmp \
392	lib/libmtmalloc \
393	lib/libndmp \
394	lib/libnsctl \
395	lib/libnsl \
396	lib/libnvpair \
397	lib/libnwam \
398	lib/libpam \
399	lib/libpctx \
400	lib/libpicl \
401	lib/libpicltree \
402	lib/libplot \
403	lib/libpool \
404	lib/libproc \
405	lib/libpthread \
406	lib/libraidcfg \
407	lib/librcm \
408	lib/librdc \
409	lib/libreparse \
410	lib/librestart \
411	lib/librstp \
412	lib/librt \
413	lib/libscf \
414	lib/libsec \
415	lib/libsecdb \
416	lib/libsendfile \
417	lib/libsip \
418	lib/libshare \
419	lib/libsldap \
420	lib/libslp \
421	lib/libsmbfs \
422	lib/libsmbios \
423	lib/libsmedia \
424	lib/libsrpt \
425	lib/libstmf \
426	lib/libsun_ima \
427	lib/libthread \
428	lib/libtsnet \
429	lib/libtsol \
430	lib/libumem \
431	lib/libunistat \
432	lib/libuuid \
433	lib/libuutil \
434	lib/libvrrpadm \
435	lib/libwanboot \
436	lib/libwanbootutil \
437	lib/libxnet \
438	lib/libzfs \
439	lib/libzfs_jni \
440	lib/libzonecfg \
441	lib/libzoneinfo \
442	lib/lvm \
443	lib/madv \
444	lib/mpss \
445	lib/nametoaddr \
446	lib/ncad_addr \
447	lib/nsswitch \
448	lib/pam_modules \
449	lib/passwdutil \
450	lib/pkcs11 \
451	lib/print \
452	lib/raidcfg_plugins \
453	lib/scsi \
454	lib/smbsrv \
455	lib/fm \
456	lib/udapl \
457	lib/watchmalloc \
458	psm \
459	ucbcmd/basename \
460	ucbcmd/biff \
461	ucbcmd/echo \
462	ucbcmd/groups \
463	ucbcmd/mkstr \
464	ucbcmd/printenv \
465	ucbcmd/sum \
466	ucbcmd/test \
467	ucbcmd/users \
468	ucbcmd/whoami
469
470$(CLOSED_BUILD)COMMON_SUBDIRS += \
471	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
472	$(CLOSED)/cmd/pax \
473	$(CLOSED)/cmd/sed_xpg4 \
474	$(CLOSED)/cmd/tail \
475	$(CLOSED)/cmd/tr_xpg4 \
476	$(CLOSED)/lib/libc_i18n
477
478i386_SUBDIRS= \
479	cmd/acpihpd \
480	cmd/biosdev \
481	cmd/rtc \
482	cmd/ucodeadm \
483	lib/brand/lx \
484	lib/cfgadm_plugins/sata \
485	lib/cfgadm_plugins/sbd \
486	lib/libfdisk
487
488sparc_SUBDIRS= \
489	cmd/datadm \
490	cmd/dcs \
491	cmd/drd \
492	cmd/fps \
493	cmd/fruadm \
494	cmd/ldmad \
495	cmd/prtdscp \
496	cmd/prtfru \
497	cmd/sckmd \
498	cmd/virtinfo \
499	cmd/vntsd \
500	lib/libds \
501	lib/libdscp \
502	lib/libpri \
503	lib/libpcp \
504	lib/libtsalarm \
505	lib/libv12n \
506	lib/storage \
507	stand
508
509$(CLOSED_BUILD)COMMON_SUBDIRS += $(CLOSED)/cmd/mtst
510
511LINTSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
512
513.PARALLEL:	$(LINTSUBDIRS)
514
515lint:		uts .WAIT subdirs
516
517subdirs:	$(LINTSUBDIRS)
518
519uts $(LINTSUBDIRS):	FRC
520	@cd $@; pwd; $(MAKE) lint
521
522FRC:
523