xref: /titanic_41/usr/src/cmd/Makefile (revision ff0e937b36dcde1a47ff7b00aa76a491c0dc07a8)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5ea8dc4b6Seschrock# Common Development and Distribution License (the "License").
6ea8dc4b6Seschrock# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
223afe87ebSRoger A. Faulkner# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gateinclude ../Makefile.master
27da2e3ebdSchininclude ../Makefile.ksh93switch
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate#	Note that the commands 'agents', 'lp', 'perl', and 'man' are first in
317c478bd9Sstevel@tonic-gate#	the list, violating alphabetical order.  This is because they are very
327c478bd9Sstevel@tonic-gate#	long-running and should be given the most wall-clock time for a
337c478bd9Sstevel@tonic-gate#	parallel build.
347c478bd9Sstevel@tonic-gate#
357c478bd9Sstevel@tonic-gate#	Commands in the FIRST_SUBDIRS list are built before starting the build
367c478bd9Sstevel@tonic-gate#	of other commands.  Currently this includes only 'isaexec' and
377c478bd9Sstevel@tonic-gate#	'platexec'.  This is necessary because $(ROOT)/usr/lib/isaexec or
387c478bd9Sstevel@tonic-gate#	$(ROOT)/usr/lib/platexec must exist when some other commands are built
397c478bd9Sstevel@tonic-gate#	because their 'make install' creates a hard link to one of them.
407c478bd9Sstevel@tonic-gate#
417c478bd9Sstevel@tonic-gate#	Commands are listed one per line so that TeamWare can auto-merge most
427c478bd9Sstevel@tonic-gate#	changes.
437c478bd9Sstevel@tonic-gate#
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gateFIRST_SUBDIRS=		\
467c478bd9Sstevel@tonic-gate	isaexec		\
477c478bd9Sstevel@tonic-gate	platexec
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gateCOMMON_SUBDIRS=		\
507c478bd9Sstevel@tonic-gate	agents		\
51fa9e4066Sahrens	availdevs	\
527c478bd9Sstevel@tonic-gate	lp		\
537c478bd9Sstevel@tonic-gate	perl		\
547c478bd9Sstevel@tonic-gate	man		\
557c478bd9Sstevel@tonic-gate	Adm		\
567c478bd9Sstevel@tonic-gate	abi		\
577c478bd9Sstevel@tonic-gate	adbgen		\
587c478bd9Sstevel@tonic-gate	acct		\
597c478bd9Sstevel@tonic-gate	acctadm		\
607c478bd9Sstevel@tonic-gate	arch		\
617c478bd9Sstevel@tonic-gate	asa		\
62da2e3ebdSchin	ast		\
637c478bd9Sstevel@tonic-gate	audio		\
647c478bd9Sstevel@tonic-gate	auths		\
657c478bd9Sstevel@tonic-gate	autopush	\
66fcf3ce44SJohn Forte	avs		\
677c478bd9Sstevel@tonic-gate	awk		\
687c478bd9Sstevel@tonic-gate	awk_xpg4	\
697c478bd9Sstevel@tonic-gate	backup		\
707c478bd9Sstevel@tonic-gate	banner		\
717c478bd9Sstevel@tonic-gate	bart		\
727c478bd9Sstevel@tonic-gate	basename	\
737c478bd9Sstevel@tonic-gate	bc		\
747c478bd9Sstevel@tonic-gate	bdiff		\
757c478bd9Sstevel@tonic-gate	bfs		\
767c478bd9Sstevel@tonic-gate	bnu		\
777c478bd9Sstevel@tonic-gate	boot		\
787c478bd9Sstevel@tonic-gate	busstat		\
797c478bd9Sstevel@tonic-gate	cal		\
807c478bd9Sstevel@tonic-gate	calendar	\
817c478bd9Sstevel@tonic-gate	captoinfo	\
827c478bd9Sstevel@tonic-gate	cat		\
837c478bd9Sstevel@tonic-gate	cdrw		\
847c478bd9Sstevel@tonic-gate	cfgadm		\
857c478bd9Sstevel@tonic-gate	checkeq		\
867c478bd9Sstevel@tonic-gate	checknr		\
877c478bd9Sstevel@tonic-gate	chgrp		\
887c478bd9Sstevel@tonic-gate	chmod		\
897c478bd9Sstevel@tonic-gate	chown		\
907c478bd9Sstevel@tonic-gate	chroot		\
917c478bd9Sstevel@tonic-gate	cksum		\
927c478bd9Sstevel@tonic-gate	clear		\
937c478bd9Sstevel@tonic-gate	clinfo		\
947c478bd9Sstevel@tonic-gate	cmd-crypto	\
957c478bd9Sstevel@tonic-gate	cmd-inet	\
967c478bd9Sstevel@tonic-gate	cmp		\
977c478bd9Sstevel@tonic-gate	col		\
987c478bd9Sstevel@tonic-gate	comm		\
997c478bd9Sstevel@tonic-gate	compress	\
1007c478bd9Sstevel@tonic-gate	consadm		\
1017c478bd9Sstevel@tonic-gate	coreadm		\
1027c478bd9Sstevel@tonic-gate	cpio		\
1037c478bd9Sstevel@tonic-gate	cpc		\
1047c478bd9Sstevel@tonic-gate	cron		\
1057c478bd9Sstevel@tonic-gate	crypt		\
1067c478bd9Sstevel@tonic-gate	csh		\
1077c478bd9Sstevel@tonic-gate	csplit		\
1087c478bd9Sstevel@tonic-gate	ctrun		\
1097c478bd9Sstevel@tonic-gate	ctstat		\
1107c478bd9Sstevel@tonic-gate	ctwatch		\
1117c478bd9Sstevel@tonic-gate	cut		\
1127c478bd9Sstevel@tonic-gate	datadm		\
1137c478bd9Sstevel@tonic-gate	date		\
1147c478bd9Sstevel@tonic-gate	dc		\
1157c478bd9Sstevel@tonic-gate	dd		\
1167c478bd9Sstevel@tonic-gate	deroff		\
1177c478bd9Sstevel@tonic-gate	des		\
1187c478bd9Sstevel@tonic-gate	devfsadm	\
1197c478bd9Sstevel@tonic-gate	syseventd	\
1207c478bd9Sstevel@tonic-gate	devctl		\
1217c478bd9Sstevel@tonic-gate	devinfo		\
1227c478bd9Sstevel@tonic-gate	devmgmt		\
123843e1988Sjohnlev	devprop		\
1247c478bd9Sstevel@tonic-gate	dfs.cmds	\
1257c478bd9Sstevel@tonic-gate	diff		\
1267c478bd9Sstevel@tonic-gate	diff3		\
1277c478bd9Sstevel@tonic-gate	diffmk		\
1287c478bd9Sstevel@tonic-gate	dircmp		\
1297c478bd9Sstevel@tonic-gate	dirname		\
130dc0093f4Seschrock	dis		\
1317c478bd9Sstevel@tonic-gate	diskmgtd	\
1327c478bd9Sstevel@tonic-gate	dispadmin	\
1337c478bd9Sstevel@tonic-gate	dladm		\
1347c478bd9Sstevel@tonic-gate	dmesg		\
1357c478bd9Sstevel@tonic-gate	dtrace		\
1367c478bd9Sstevel@tonic-gate	du		\
1377c478bd9Sstevel@tonic-gate	dumpadm		\
1387c478bd9Sstevel@tonic-gate	dumpcs		\
1397c478bd9Sstevel@tonic-gate	echo		\
1407c478bd9Sstevel@tonic-gate	ed		\
1417c478bd9Sstevel@tonic-gate	eeprom		\
1427c478bd9Sstevel@tonic-gate	egrep		\
14318c2aff7Sartem	eject		\
144b1dd958fScth	emul64ioctl	\
1457c478bd9Sstevel@tonic-gate	enhance		\
1467c478bd9Sstevel@tonic-gate	env		\
1477c478bd9Sstevel@tonic-gate	eqn		\
1487c478bd9Sstevel@tonic-gate	expand		\
1497c478bd9Sstevel@tonic-gate	expr		\
1507c478bd9Sstevel@tonic-gate	exstr		\
1517c478bd9Sstevel@tonic-gate	factor		\
1527c478bd9Sstevel@tonic-gate	false		\
153fcf3ce44SJohn Forte	fcinfo		\
1547c478bd9Sstevel@tonic-gate	fdetach		\
1557c478bd9Sstevel@tonic-gate	fdformat	\
1567c478bd9Sstevel@tonic-gate	fdisk		\
1577c478bd9Sstevel@tonic-gate	filesync	\
1587c478bd9Sstevel@tonic-gate	fgrep		\
1597c478bd9Sstevel@tonic-gate	file		\
160f2fc321bSek110237	filebench	\
1617c478bd9Sstevel@tonic-gate	find		\
162da14cebeSEric Cheng	flowadm		\
1637c478bd9Sstevel@tonic-gate	fm		\
1647c478bd9Sstevel@tonic-gate	fmli		\
1657c478bd9Sstevel@tonic-gate	fmt		\
1667c478bd9Sstevel@tonic-gate	fmthard		\
1677c478bd9Sstevel@tonic-gate	fmtmsg		\
1687c478bd9Sstevel@tonic-gate	fold		\
1697c478bd9Sstevel@tonic-gate	format		\
1700e42dee6Sartem	fs.d		\
1719616efa0Sartem	fstyp		\
1727c478bd9Sstevel@tonic-gate	fuser		\
1735a7763bfSjmcp	fwflash		\
1747c478bd9Sstevel@tonic-gate	gcore		\
1757c478bd9Sstevel@tonic-gate	gencat		\
1767c478bd9Sstevel@tonic-gate	geniconvtbl	\
1777c478bd9Sstevel@tonic-gate	genmsg		\
1787c478bd9Sstevel@tonic-gate	getconf		\
1797c478bd9Sstevel@tonic-gate	getdevpolicy	\
1807c478bd9Sstevel@tonic-gate	getent		\
1817c478bd9Sstevel@tonic-gate	getfacl		\
1827c478bd9Sstevel@tonic-gate	getmajor	\
1837c478bd9Sstevel@tonic-gate	getopt		\
1847c478bd9Sstevel@tonic-gate	gettext		\
1857c478bd9Sstevel@tonic-gate	gettxt		\
1867c478bd9Sstevel@tonic-gate	graph		\
1877c478bd9Sstevel@tonic-gate	grep		\
1887c478bd9Sstevel@tonic-gate	grep_xpg4	\
1897c478bd9Sstevel@tonic-gate	groups		\
1907c478bd9Sstevel@tonic-gate	grpck		\
1917c478bd9Sstevel@tonic-gate	gss		\
19218c2aff7Sartem	hal		\
1937c478bd9Sstevel@tonic-gate	halt		\
1947c478bd9Sstevel@tonic-gate	head		\
1957c478bd9Sstevel@tonic-gate	hostid		\
1967c478bd9Sstevel@tonic-gate	hostname	\
19718c2aff7Sartem	hwdata		\
1987c478bd9Sstevel@tonic-gate	id		\
199c5c4113dSnw141292	idmap		\
2007c478bd9Sstevel@tonic-gate	infocmp		\
2017c478bd9Sstevel@tonic-gate	init		\
2027c478bd9Sstevel@tonic-gate	initpkg		\
2037c478bd9Sstevel@tonic-gate	install.d	\
204bd335c64Sesolom	intrd		\
2057c478bd9Sstevel@tonic-gate	intrstat	\
2067c478bd9Sstevel@tonic-gate	ipcrm		\
2077c478bd9Sstevel@tonic-gate	ipcs		\
2087c478bd9Sstevel@tonic-gate	ipf		\
2097c478bd9Sstevel@tonic-gate	isainfo		\
2107c478bd9Sstevel@tonic-gate	isalist		\
21136c5fee3Smcneal	iscsi		\
2124f10d6deSJames C. McPherson	itutools	\
213fcf3ce44SJohn Forte	iscsiadm	\
214fcf3ce44SJohn Forte	iscsid		\
215a6d42e7dSPeter Dunlap	iscsitsvc	\
216fcf3ce44SJohn Forte	isns		\
217a6d42e7dSPeter Dunlap	itadm		\
2187c478bd9Sstevel@tonic-gate	java		\
2197c478bd9Sstevel@tonic-gate	join		\
2207c478bd9Sstevel@tonic-gate	kbd		\
2217c478bd9Sstevel@tonic-gate	keyserv		\
2227c478bd9Sstevel@tonic-gate	killall		\
2237c478bd9Sstevel@tonic-gate	krb5		\
224da2e3ebdSchin	ksh		\
2257c478bd9Sstevel@tonic-gate	kstat		\
2267c478bd9Sstevel@tonic-gate	last		\
2277c478bd9Sstevel@tonic-gate	lastcomm	\
2287c478bd9Sstevel@tonic-gate	ldap		\
2297c478bd9Sstevel@tonic-gate	ldapcachemgr	\
230c6402783Sakolb	lgrpinfo	\
2317c478bd9Sstevel@tonic-gate	line		\
2327c478bd9Sstevel@tonic-gate	link		\
233d62bc4baSyz147064	dlmgmtd		\
2347c478bd9Sstevel@tonic-gate	listen		\
2357c478bd9Sstevel@tonic-gate	loadkeys	\
2367c478bd9Sstevel@tonic-gate	locale		\
2377c478bd9Sstevel@tonic-gate	lockstat	\
2387c478bd9Sstevel@tonic-gate	locator		\
2397c478bd9Sstevel@tonic-gate	lofiadm		\
2407c478bd9Sstevel@tonic-gate	logadm		\
2417c478bd9Sstevel@tonic-gate	logger		\
2427c478bd9Sstevel@tonic-gate	login		\
2437c478bd9Sstevel@tonic-gate	logins		\
2447c478bd9Sstevel@tonic-gate	logname		\
2457c478bd9Sstevel@tonic-gate	look		\
2467c478bd9Sstevel@tonic-gate	ls		\
247fcf3ce44SJohn Forte	luxadm		\
2487c478bd9Sstevel@tonic-gate	lvm		\
2497c478bd9Sstevel@tonic-gate	mach		\
2507c478bd9Sstevel@tonic-gate	machid		\
2517c478bd9Sstevel@tonic-gate	mail		\
2527c478bd9Sstevel@tonic-gate	mailx		\
2537c478bd9Sstevel@tonic-gate	makekey		\
2547c478bd9Sstevel@tonic-gate	mdb		\
2557c478bd9Sstevel@tonic-gate	mesg		\
2567c478bd9Sstevel@tonic-gate	mkdir		\
2577c478bd9Sstevel@tonic-gate	mkfifo		\
2587c478bd9Sstevel@tonic-gate	mkfile		\
2597c478bd9Sstevel@tonic-gate	mkmsgs		\
2607c478bd9Sstevel@tonic-gate	mknod		\
2617c478bd9Sstevel@tonic-gate	mkpwdict	\
2627c478bd9Sstevel@tonic-gate	mktemp		\
263cee0fb94SAllan Matthews	mms		\
2647c478bd9Sstevel@tonic-gate	modload		\
2657c478bd9Sstevel@tonic-gate	more		\
266fcf3ce44SJohn Forte	mpathadm	\
2677c478bd9Sstevel@tonic-gate	msgfmt		\
2687c478bd9Sstevel@tonic-gate	msgid		\
2697c478bd9Sstevel@tonic-gate	mt		\
2707c478bd9Sstevel@tonic-gate	mv		\
2717c478bd9Sstevel@tonic-gate	mvdir		\
2722654012fSReza Sabdar	ndmpadm		\
2732654012fSReza Sabdar	ndmpd		\
2742654012fSReza Sabdar	ndmpstat	\
2757c478bd9Sstevel@tonic-gate	netadm		\
2767c478bd9Sstevel@tonic-gate	netfiles	\
2777c478bd9Sstevel@tonic-gate	newform		\
2787c478bd9Sstevel@tonic-gate	newgrp		\
2797c478bd9Sstevel@tonic-gate	news		\
2807c478bd9Sstevel@tonic-gate	newtask		\
2817c478bd9Sstevel@tonic-gate	nice		\
2827c478bd9Sstevel@tonic-gate	nispasswd	\
2837c478bd9Sstevel@tonic-gate	nl		\
2847c478bd9Sstevel@tonic-gate	nlsadmin	\
2857c478bd9Sstevel@tonic-gate	nohup		\
2867c478bd9Sstevel@tonic-gate	nsadmin		\
2877c478bd9Sstevel@tonic-gate	nscd		\
2887c478bd9Sstevel@tonic-gate	oamuser		\
2897c478bd9Sstevel@tonic-gate	oawk		\
2907c478bd9Sstevel@tonic-gate	openssl		\
2917c478bd9Sstevel@tonic-gate	pack		\
2927c478bd9Sstevel@tonic-gate	pagesize	\
2937c478bd9Sstevel@tonic-gate	passmgmt	\
2947c478bd9Sstevel@tonic-gate	passwd		\
2957c478bd9Sstevel@tonic-gate	paste		\
2967c478bd9Sstevel@tonic-gate	pathchk		\
2977c478bd9Sstevel@tonic-gate	pbind		\
29870025d76Sjohnny	pcidr		\
2997c478bd9Sstevel@tonic-gate	pcmciad		\
3007c478bd9Sstevel@tonic-gate	pfexec		\
3017c478bd9Sstevel@tonic-gate	pgrep		\
3027c478bd9Sstevel@tonic-gate	picl		\
3037c478bd9Sstevel@tonic-gate	plimit		\
30418c2aff7Sartem	policykit	\
3057c478bd9Sstevel@tonic-gate	pools		\
3067c478bd9Sstevel@tonic-gate	power		\
307bcde4861SRafael Vanoni Polanczyk	powertop	\
3087c478bd9Sstevel@tonic-gate	ppgsz		\
3097c478bd9Sstevel@tonic-gate	pg		\
3107c478bd9Sstevel@tonic-gate	plockstat	\
3117c478bd9Sstevel@tonic-gate	pr		\
3127c478bd9Sstevel@tonic-gate	prctl		\
3137c478bd9Sstevel@tonic-gate	print		\
3147c478bd9Sstevel@tonic-gate	priocntl	\
3157c478bd9Sstevel@tonic-gate	profiles	\
3167c478bd9Sstevel@tonic-gate	projadd		\
3177c478bd9Sstevel@tonic-gate	projects	\
3187c478bd9Sstevel@tonic-gate	prstat		\
3197c478bd9Sstevel@tonic-gate	prtconf		\
3207c478bd9Sstevel@tonic-gate	prtdiag		\
3217c478bd9Sstevel@tonic-gate	prtvtoc		\
3227c478bd9Sstevel@tonic-gate	ps		\
3237c478bd9Sstevel@tonic-gate	psradm		\
3247c478bd9Sstevel@tonic-gate	psrinfo		\
3257c478bd9Sstevel@tonic-gate	psrset		\
3267c478bd9Sstevel@tonic-gate	ptools		\
3277c478bd9Sstevel@tonic-gate	pwck		\
3287c478bd9Sstevel@tonic-gate	pwconv		\
3297c478bd9Sstevel@tonic-gate	pwd		\
33014843421SMatthew Ahrens	pyzfs		\
3317c478bd9Sstevel@tonic-gate	raidctl		\
3327c478bd9Sstevel@tonic-gate	ramdiskadm	\
3337c478bd9Sstevel@tonic-gate	rcap		\
3347c478bd9Sstevel@tonic-gate	rcm_daemon	\
3357c478bd9Sstevel@tonic-gate	rctladm		\
3367c478bd9Sstevel@tonic-gate	refer		\
3377c478bd9Sstevel@tonic-gate	regcmp		\
3387c478bd9Sstevel@tonic-gate	renice		\
3397c478bd9Sstevel@tonic-gate	rexd		\
3407c478bd9Sstevel@tonic-gate	rm		\
3417c478bd9Sstevel@tonic-gate	rmdir		\
3427c478bd9Sstevel@tonic-gate	rmformat	\
34318c2aff7Sartem	rmmount		\
3447c478bd9Sstevel@tonic-gate	rmt		\
34518c2aff7Sartem	rmvolmgr	\
3467c478bd9Sstevel@tonic-gate	roles		\
3477c478bd9Sstevel@tonic-gate	rpcbind		\
3487c478bd9Sstevel@tonic-gate	rpcgen		\
3497c478bd9Sstevel@tonic-gate	rpcinfo		\
3507c478bd9Sstevel@tonic-gate	rpcsvc		\
3517c478bd9Sstevel@tonic-gate	rpld		\
3527c478bd9Sstevel@tonic-gate	runat		\
3537c478bd9Sstevel@tonic-gate	sa		\
3547c478bd9Sstevel@tonic-gate	saf		\
3557c478bd9Sstevel@tonic-gate	savecore	\
356fcf3ce44SJohn Forte	sbdadm		\
3577c478bd9Sstevel@tonic-gate	script		\
358275c9da8Seschrock	scsi		\
3597c478bd9Sstevel@tonic-gate	sdiff		\
36074e20cfeSnh145002	sdpadm		\
3617c478bd9Sstevel@tonic-gate	sendmail	\
3627c478bd9Sstevel@tonic-gate	setfacl		\
3637c478bd9Sstevel@tonic-gate	setmnt		\
3647c478bd9Sstevel@tonic-gate	setpgrp		\
3657c478bd9Sstevel@tonic-gate	setuname	\
3667c478bd9Sstevel@tonic-gate	sgs		\
3677c478bd9Sstevel@tonic-gate	sh		\
3687c2fbfb3SApril Chin	shcomp		\
36984ab085aSmws	smbios		\
370da6c28aaSamw	smbsrv		\
3717c478bd9Sstevel@tonic-gate	smserverd	\
3727c478bd9Sstevel@tonic-gate	soelim		\
3737c478bd9Sstevel@tonic-gate	sort		\
3747c478bd9Sstevel@tonic-gate	spell		\
3757c478bd9Sstevel@tonic-gate	spline		\
3767c478bd9Sstevel@tonic-gate	split		\
377c5c4113dSnw141292	sqlite		\
3787c478bd9Sstevel@tonic-gate	srchtxt		\
3797c478bd9Sstevel@tonic-gate	ssh		\
3807c478bd9Sstevel@tonic-gate	stat		\
381fcf3ce44SJohn Forte	stmfadm		\
382fcf3ce44SJohn Forte	stmfsvc		\
3835a4c37c9Sqh201292	stmsboot	\
3847c478bd9Sstevel@tonic-gate	streams		\
3857c478bd9Sstevel@tonic-gate	strings		\
3867c478bd9Sstevel@tonic-gate	su		\
3877c478bd9Sstevel@tonic-gate	sulogin		\
3887c478bd9Sstevel@tonic-gate	sunpc		\
3897c478bd9Sstevel@tonic-gate	svc		\
3907c478bd9Sstevel@tonic-gate	swap		\
3917c478bd9Sstevel@tonic-gate	sync		\
3927c478bd9Sstevel@tonic-gate	sysdef		\
3937c478bd9Sstevel@tonic-gate	syseventadm	\
3947c478bd9Sstevel@tonic-gate	syslogd		\
3957c478bd9Sstevel@tonic-gate	tabs		\
3967c478bd9Sstevel@tonic-gate	tar		\
3977c478bd9Sstevel@tonic-gate	tbl		\
3987c478bd9Sstevel@tonic-gate	tcopy		\
3997c478bd9Sstevel@tonic-gate	tcpd		\
4007c478bd9Sstevel@tonic-gate	tee		\
4017c478bd9Sstevel@tonic-gate	terminfo	\
4027c478bd9Sstevel@tonic-gate	th_tools	\
4037c478bd9Sstevel@tonic-gate	tic		\
4047c478bd9Sstevel@tonic-gate	time		\
4057c478bd9Sstevel@tonic-gate	tip		\
4067c478bd9Sstevel@tonic-gate	tnf		\
4077c478bd9Sstevel@tonic-gate	touch		\
4087c478bd9Sstevel@tonic-gate	tplot		\
4097c478bd9Sstevel@tonic-gate	tput		\
4107c478bd9Sstevel@tonic-gate	trapstat	\
4117c478bd9Sstevel@tonic-gate	troff		\
4127c478bd9Sstevel@tonic-gate	true		\
4137c478bd9Sstevel@tonic-gate	truss		\
414f875b4ebSrica	tsol		\
4157c478bd9Sstevel@tonic-gate	tty		\
4167c478bd9Sstevel@tonic-gate	ttymon		\
4177c478bd9Sstevel@tonic-gate	uadmin		\
4187c478bd9Sstevel@tonic-gate	ul		\
4197c478bd9Sstevel@tonic-gate	uname		\
4207c478bd9Sstevel@tonic-gate	uniq		\
4217c478bd9Sstevel@tonic-gate	units		\
4227c478bd9Sstevel@tonic-gate	unlink		\
4237c478bd9Sstevel@tonic-gate	unpack		\
4247c478bd9Sstevel@tonic-gate	users		\
4257c478bd9Sstevel@tonic-gate	utmp_update	\
4267c478bd9Sstevel@tonic-gate	utmpd		\
4277c478bd9Sstevel@tonic-gate	valtools	\
4287c478bd9Sstevel@tonic-gate	vgrind		\
4297c478bd9Sstevel@tonic-gate	vi		\
430843e1988Sjohnlev	vna		\
43118c2aff7Sartem	volcheck	\
43218c2aff7Sartem	volrmmount	\
433911106dfSjm199354	vscan		\
434aecfc01dSrui zang - Sun Microsystems - Beijing China	vt		\
4357c478bd9Sstevel@tonic-gate	w		\
4367c478bd9Sstevel@tonic-gate	wall		\
4377c478bd9Sstevel@tonic-gate	wbem		\
4387c478bd9Sstevel@tonic-gate	wc		\
4397c478bd9Sstevel@tonic-gate	which		\
4407c478bd9Sstevel@tonic-gate	who		\
4417c478bd9Sstevel@tonic-gate	whodo		\
4427c478bd9Sstevel@tonic-gate	wracct		\
4437c478bd9Sstevel@tonic-gate	write		\
444*ff0e937bSRaymond Chen	wusbadm		\
4457c478bd9Sstevel@tonic-gate	xntpd		\
4467c478bd9Sstevel@tonic-gate	xargs		\
4477c478bd9Sstevel@tonic-gate	xstr		\
4487c478bd9Sstevel@tonic-gate	yes		\
4497c478bd9Sstevel@tonic-gate	ypcmd		\
4507c478bd9Sstevel@tonic-gate	yppasswd	\
451fa9e4066Sahrens	zdb		\
4527c478bd9Sstevel@tonic-gate	zdump		\
453fa9e4066Sahrens	zfs		\
4547c478bd9Sstevel@tonic-gate	zic		\
455ea8dc4b6Seschrock	zinject		\
4567c478bd9Sstevel@tonic-gate	zlogin		\
4577c478bd9Sstevel@tonic-gate	zoneadm		\
4587c478bd9Sstevel@tonic-gate	zoneadmd	\
4597c478bd9Sstevel@tonic-gate	zonecfg		\
460fa9e4066Sahrens	zonename	\
461fa9e4066Sahrens	zpool		\
462fa9e4066Sahrens	ztest
4637c478bd9Sstevel@tonic-gate
464fb9f9b97Skupfer$(CLOSED_BUILD)COMMON_SUBDIRS += \
465fb9f9b97Skupfer	$(CLOSED)/cmd/dodatadm	\
466fb9f9b97Skupfer	$(CLOSED)/cmd/iconv	\
467fb9f9b97Skupfer	$(CLOSED)/cmd/ksh	\
468fb9f9b97Skupfer	$(CLOSED)/cmd/llc2	\
469fb9f9b97Skupfer	$(CLOSED)/cmd/localedef	\
470fb9f9b97Skupfer	$(CLOSED)/cmd/more_xpg4	\
4717aec1d6eScindi	$(CLOSED)/cmd/mtst	\
472fb9f9b97Skupfer	$(CLOSED)/cmd/od	\
473fb9f9b97Skupfer	$(CLOSED)/cmd/patch	\
474fb9f9b97Skupfer	$(CLOSED)/cmd/pax	\
475fb9f9b97Skupfer	$(CLOSED)/cmd/pcitool	\
476fb9f9b97Skupfer	$(CLOSED)/cmd/printf	\
477fb9f9b97Skupfer	$(CLOSED)/cmd/sed	\
478fb9f9b97Skupfer	$(CLOSED)/cmd/sed_xpg4	\
479fb9f9b97Skupfer	$(CLOSED)/cmd/smartcard	\
480fb9f9b97Skupfer	$(CLOSED)/cmd/tail	\
481fb9f9b97Skupfer	$(CLOSED)/cmd/tr_xpg4
482fb9f9b97Skupfer
4837c478bd9Sstevel@tonic-gatei386_SUBDIRS=		\
4847c478bd9Sstevel@tonic-gate	addbadsec	\
4857c478bd9Sstevel@tonic-gate	biosdev		\
4867c478bd9Sstevel@tonic-gate	diskscan	\
487617e2443SMark Logan	lms		\
4887c478bd9Sstevel@tonic-gate	OWconfig	\
4892449e17fSsherrym	rtc		\
49099ba4d70SRussell Blaine	ucodeadm	\
49199ba4d70SRussell Blaine	xvm
4927c478bd9Sstevel@tonic-gate
4937c478bd9Sstevel@tonic-gatesparc_SUBDIRS=		\
4947c478bd9Sstevel@tonic-gate	cvcd		\
4957c478bd9Sstevel@tonic-gate	dcs		\
4960f509175SSree Vemuri	device_remap	\
4971d4b38e0Srsmaeda	drd		\
49860c45ed0Svs195195	fps		\
4997c478bd9Sstevel@tonic-gate	fruadm		\
500a4ac8bb3Sdnielsen	oplhpd		\
50125cf1a30Sjl139090	prtdscp		\
5027c478bd9Sstevel@tonic-gate	prtfru		\
50303831d35Sstevel	scadm		\
5047c478bd9Sstevel@tonic-gate	sckmd		\
5057c478bd9Sstevel@tonic-gate	sf880drd	\
506a83cadceSkm84432	vntsd
5077c478bd9Sstevel@tonic-gate
5087c478bd9Sstevel@tonic-gate#
5097c478bd9Sstevel@tonic-gate# Commands that are messaged.  Note that 'lp' and 'man' come first
5107c478bd9Sstevel@tonic-gate# (see previous comment about 'lp' and 'man').
5117c478bd9Sstevel@tonic-gate#
5127c478bd9Sstevel@tonic-gateMSGSUBDIRS=		\
5137c478bd9Sstevel@tonic-gate	lp		\
5147c478bd9Sstevel@tonic-gate	man		\
5157c478bd9Sstevel@tonic-gate	abi		\
5167c478bd9Sstevel@tonic-gate	acctadm		\
5177c478bd9Sstevel@tonic-gate	allocate	\
5187c478bd9Sstevel@tonic-gate	asa		\
5197c478bd9Sstevel@tonic-gate	audio		\
5207c478bd9Sstevel@tonic-gate	audit		\
5217c478bd9Sstevel@tonic-gate	auditd		\
5227c478bd9Sstevel@tonic-gate	auths		\
5237c478bd9Sstevel@tonic-gate	autopush	\
524fcf3ce44SJohn Forte	avs		\
5257c478bd9Sstevel@tonic-gate	awk		\
5267c478bd9Sstevel@tonic-gate	awk_xpg4	\
5277c478bd9Sstevel@tonic-gate	backup		\
5287c478bd9Sstevel@tonic-gate	banner		\
5297c478bd9Sstevel@tonic-gate	bart		\
5307c478bd9Sstevel@tonic-gate	basename	\
5317c478bd9Sstevel@tonic-gate	bnu		\
5327c478bd9Sstevel@tonic-gate	bsmconv		\
5337c478bd9Sstevel@tonic-gate	bsmrecord	\
5347c478bd9Sstevel@tonic-gate	bsmunconv	\
5357c478bd9Sstevel@tonic-gate	busstat		\
5367c478bd9Sstevel@tonic-gate	cal		\
5377c478bd9Sstevel@tonic-gate	cat		\
5387c478bd9Sstevel@tonic-gate	cdrw		\
5397c478bd9Sstevel@tonic-gate	cfgadm		\
5407c478bd9Sstevel@tonic-gate	checkeq		\
5417c478bd9Sstevel@tonic-gate	checknr		\
5427c478bd9Sstevel@tonic-gate	chgrp		\
5437c478bd9Sstevel@tonic-gate	chmod		\
5447c478bd9Sstevel@tonic-gate	chown		\
5457c478bd9Sstevel@tonic-gate	cksum		\
5467c478bd9Sstevel@tonic-gate	cmd-crypto	\
5477c478bd9Sstevel@tonic-gate	cmd-inet	\
5487c478bd9Sstevel@tonic-gate	cmp		\
5497c478bd9Sstevel@tonic-gate	col		\
5507c478bd9Sstevel@tonic-gate	comm		\
5517c478bd9Sstevel@tonic-gate	compress	\
5527c478bd9Sstevel@tonic-gate	consadm		\
5537c478bd9Sstevel@tonic-gate	coreadm		\
5547c478bd9Sstevel@tonic-gate	cpio		\
5557c478bd9Sstevel@tonic-gate	cpc		\
5567c478bd9Sstevel@tonic-gate	cron		\
5577c478bd9Sstevel@tonic-gate	csh		\
5587c478bd9Sstevel@tonic-gate	csplit		\
5597c478bd9Sstevel@tonic-gate	ctrun		\
5607c478bd9Sstevel@tonic-gate	ctstat		\
5617c478bd9Sstevel@tonic-gate	ctwatch		\
5627c478bd9Sstevel@tonic-gate	cut		\
5637c478bd9Sstevel@tonic-gate	datadm		\
5647c478bd9Sstevel@tonic-gate	date		\
5657c478bd9Sstevel@tonic-gate	dc		\
5667c478bd9Sstevel@tonic-gate	dcs		\
5677c478bd9Sstevel@tonic-gate	dd		\
5687c478bd9Sstevel@tonic-gate	deroff		\
5697c478bd9Sstevel@tonic-gate	devfsadm	\
5706185db85Sdougm	dfs.cmds	\
5717c478bd9Sstevel@tonic-gate	diff		\
5727c478bd9Sstevel@tonic-gate	diffmk		\
5737c478bd9Sstevel@tonic-gate	dladm		\
5747c478bd9Sstevel@tonic-gate	du		\
5757c478bd9Sstevel@tonic-gate	dumpcs		\
5767c478bd9Sstevel@tonic-gate	ed		\
57718c2aff7Sartem	eject		\
5787c478bd9Sstevel@tonic-gate	env		\
5797c478bd9Sstevel@tonic-gate	eqn		\
5807c478bd9Sstevel@tonic-gate	expand		\
5817c478bd9Sstevel@tonic-gate	expr		\
582fcf3ce44SJohn Forte	fcinfo		\
5837c478bd9Sstevel@tonic-gate	fgrep		\
5847c478bd9Sstevel@tonic-gate	file		\
5857c478bd9Sstevel@tonic-gate	filesync	\
5867c478bd9Sstevel@tonic-gate	find		\
587da14cebeSEric Cheng	flowadm		\
5887c478bd9Sstevel@tonic-gate	fm		\
5897c478bd9Sstevel@tonic-gate	fold		\
5907c478bd9Sstevel@tonic-gate	fs.d		\
5915a7763bfSjmcp	fwflash		\
5927c478bd9Sstevel@tonic-gate	geniconvtbl	\
5937c478bd9Sstevel@tonic-gate	genmsg		\
5947c478bd9Sstevel@tonic-gate	getconf		\
5957c478bd9Sstevel@tonic-gate	getent		\
5967c478bd9Sstevel@tonic-gate	gettext		\
5977c478bd9Sstevel@tonic-gate	gettxt		\
5987c478bd9Sstevel@tonic-gate	grep		\
5997c478bd9Sstevel@tonic-gate	grep_xpg4	\
6007c478bd9Sstevel@tonic-gate	grpck		\
6017c478bd9Sstevel@tonic-gate	gss		\
6027c478bd9Sstevel@tonic-gate	halt		\
6037c478bd9Sstevel@tonic-gate	head		\
6047c478bd9Sstevel@tonic-gate	hostname	\
6057c478bd9Sstevel@tonic-gate	id		\
606c5c4113dSnw141292	idmap		\
6077c478bd9Sstevel@tonic-gate	isaexec		\
60836c5fee3Smcneal	iscsi		\
609fcf3ce44SJohn Forte	iscsiadm	\
610fcf3ce44SJohn Forte	iscsid		\
611fcf3ce44SJohn Forte	isns		\
612a6d42e7dSPeter Dunlap	itadm		\
6137c478bd9Sstevel@tonic-gate	join		\
614d8c870b0Sqz150045	kbd		\
6157c478bd9Sstevel@tonic-gate	krb5		\
616da2e3ebdSchin	ksh		\
6177c478bd9Sstevel@tonic-gate	kstat		\
6187c478bd9Sstevel@tonic-gate	last		\
6197c478bd9Sstevel@tonic-gate	ldap		\
6207c478bd9Sstevel@tonic-gate	ldapcachemgr	\
621c6402783Sakolb	lgrpinfo	\
6227c478bd9Sstevel@tonic-gate	locale		\
6237c478bd9Sstevel@tonic-gate	lofiadm		\
6247c478bd9Sstevel@tonic-gate	logadm		\
6257c478bd9Sstevel@tonic-gate	logger		\
6267c478bd9Sstevel@tonic-gate	logins		\
6277c478bd9Sstevel@tonic-gate	logname		\
6287c478bd9Sstevel@tonic-gate	ls		\
629fcf3ce44SJohn Forte	luxadm		\
6307c478bd9Sstevel@tonic-gate	lvm		\
6317c478bd9Sstevel@tonic-gate	mailx		\
6327c478bd9Sstevel@tonic-gate	mesg		\
6337c478bd9Sstevel@tonic-gate	mkdir		\
6347c478bd9Sstevel@tonic-gate	mkpwdict	\
6357c478bd9Sstevel@tonic-gate	mktemp		\
6367c478bd9Sstevel@tonic-gate	more		\
637fcf3ce44SJohn Forte	mpathadm	\
6387c478bd9Sstevel@tonic-gate	msgfmt		\
6397c478bd9Sstevel@tonic-gate	mv		\
6402654012fSReza Sabdar	ndmpadm		\
6412654012fSReza Sabdar	ndmpstat	\
6427c478bd9Sstevel@tonic-gate	newgrp		\
6437c478bd9Sstevel@tonic-gate	newtask		\
6447c478bd9Sstevel@tonic-gate	nice		\
6457c478bd9Sstevel@tonic-gate	nispasswd	\
6467c478bd9Sstevel@tonic-gate	nohup		\
6477c478bd9Sstevel@tonic-gate	oawk		\
6487c478bd9Sstevel@tonic-gate	pack		\
6497c478bd9Sstevel@tonic-gate	passwd		\
6507c478bd9Sstevel@tonic-gate	passmgmt	\
6517c478bd9Sstevel@tonic-gate	paste		\
6527c478bd9Sstevel@tonic-gate	pathchk		\
6537c478bd9Sstevel@tonic-gate	pfexec		\
6547c478bd9Sstevel@tonic-gate	pg		\
6557c478bd9Sstevel@tonic-gate	pgrep		\
6567c478bd9Sstevel@tonic-gate	picl            \
6577c478bd9Sstevel@tonic-gate	pools		\
6587c478bd9Sstevel@tonic-gate	power		\
6597c478bd9Sstevel@tonic-gate	pr		\
6607c478bd9Sstevel@tonic-gate	praudit		\
6617c478bd9Sstevel@tonic-gate	print		\
6627c478bd9Sstevel@tonic-gate	profiles	\
6637c478bd9Sstevel@tonic-gate	projadd		\
6647c478bd9Sstevel@tonic-gate	projects	\
6657c478bd9Sstevel@tonic-gate	prstat		\
6667c478bd9Sstevel@tonic-gate	prtdiag		\
6677c478bd9Sstevel@tonic-gate	ps		\
6687c478bd9Sstevel@tonic-gate	psrinfo		\
669c6402783Sakolb	ptools		\
6707c478bd9Sstevel@tonic-gate	pwconv		\
6717c478bd9Sstevel@tonic-gate	pwd		\
67214843421SMatthew Ahrens	pyzfs		\
6737c478bd9Sstevel@tonic-gate	raidctl		\
6747c478bd9Sstevel@tonic-gate	ramdiskadm	\
6757c478bd9Sstevel@tonic-gate	rcap		\
6767c478bd9Sstevel@tonic-gate	rcm_daemon	\
6777c478bd9Sstevel@tonic-gate	refer		\
6787c478bd9Sstevel@tonic-gate	regcmp		\
6797c478bd9Sstevel@tonic-gate	renice		\
6807c478bd9Sstevel@tonic-gate	roles		\
6817c478bd9Sstevel@tonic-gate	rm		\
6827c478bd9Sstevel@tonic-gate	rmdir		\
6837c478bd9Sstevel@tonic-gate	rmformat	\
68418c2aff7Sartem	rmmount		\
68518c2aff7Sartem	rmvolmgr	\
686fcf3ce44SJohn Forte	sbdadm		\
68703831d35Sstevel	scadm		\
6887c478bd9Sstevel@tonic-gate	script		\
689275c9da8Seschrock	scsi		\
6907c478bd9Sstevel@tonic-gate	sdiff		\
69174e20cfeSnh145002	sdpadm		\
6927c478bd9Sstevel@tonic-gate	sgs		\
6937c478bd9Sstevel@tonic-gate	sh		\
6947c2fbfb3SApril Chin	shcomp		\
6957c478bd9Sstevel@tonic-gate	sort		\
6967c478bd9Sstevel@tonic-gate	split		\
6977c478bd9Sstevel@tonic-gate	ssh		\
69813c7b6acSrsb	stat		\
699fcf3ce44SJohn Forte	stmfadm		\
7005a4c37c9Sqh201292	stmsboot	\
7017c478bd9Sstevel@tonic-gate	strings		\
7027c478bd9Sstevel@tonic-gate	su		\
7037c478bd9Sstevel@tonic-gate	svc		\
7047c478bd9Sstevel@tonic-gate	swap		\
7057c478bd9Sstevel@tonic-gate	syseventadm	\
7067c478bd9Sstevel@tonic-gate	syseventd	\
7077c478bd9Sstevel@tonic-gate	tabs		\
7087c478bd9Sstevel@tonic-gate	tar		\
7097c478bd9Sstevel@tonic-gate	tbl		\
7107c478bd9Sstevel@tonic-gate	tee		\
7117c478bd9Sstevel@tonic-gate	time		\
7127c478bd9Sstevel@tonic-gate	tnf		\
7137c478bd9Sstevel@tonic-gate	touch		\
7147c478bd9Sstevel@tonic-gate	tput		\
7157c478bd9Sstevel@tonic-gate	troff		\
716f875b4ebSrica	tsol		\
7177c478bd9Sstevel@tonic-gate	tty		\
7187c478bd9Sstevel@tonic-gate	ttymon		\
7197c478bd9Sstevel@tonic-gate	ul		\
7207c478bd9Sstevel@tonic-gate	uname		\
7217c478bd9Sstevel@tonic-gate	uniq		\
7227c478bd9Sstevel@tonic-gate	units		\
7237c478bd9Sstevel@tonic-gate	unlink		\
7247c478bd9Sstevel@tonic-gate	unpack		\
7257c478bd9Sstevel@tonic-gate	valtools	\
7267c478bd9Sstevel@tonic-gate	vgrind		\
7277c478bd9Sstevel@tonic-gate	vi		\
72818c2aff7Sartem	volcheck	\
72918c2aff7Sartem	volrmmount	\
7307c478bd9Sstevel@tonic-gate	w		\
7317c478bd9Sstevel@tonic-gate	wbem		\
7327c478bd9Sstevel@tonic-gate	wc		\
7337c478bd9Sstevel@tonic-gate	who		\
7347c478bd9Sstevel@tonic-gate	whodo		\
7357c478bd9Sstevel@tonic-gate	wracct		\
7367c478bd9Sstevel@tonic-gate	write		\
737*ff0e937bSRaymond Chen	wusbadm		\
7387c478bd9Sstevel@tonic-gate	xargs		\
7397c478bd9Sstevel@tonic-gate	yppasswd	\
7407c478bd9Sstevel@tonic-gate	zdump		\
741fa9e4066Sahrens	zfs		\
7427c478bd9Sstevel@tonic-gate	zic		\
7437c478bd9Sstevel@tonic-gate	zlogin		\
7447c478bd9Sstevel@tonic-gate	zoneadm		\
7457c478bd9Sstevel@tonic-gate	zoneadmd	\
7467c478bd9Sstevel@tonic-gate	zonecfg		\
747fa9e4066Sahrens	zonename	\
748fa9e4066Sahrens	zpool
7497c478bd9Sstevel@tonic-gate
750fb9f9b97Skupfer$(CLOSED_BUILD)MSGSUBDIRS += \
751fb9f9b97Skupfer	$(CLOSED)/cmd/iconv	\
752fb9f9b97Skupfer	$(CLOSED)/cmd/ksh	\
753fb9f9b97Skupfer	$(CLOSED)/cmd/llc2	\
754fb9f9b97Skupfer	$(CLOSED)/cmd/localedef	\
755fb9f9b97Skupfer	$(CLOSED)/cmd/more_xpg4	\
756fb9f9b97Skupfer	$(CLOSED)/cmd/od	\
757fb9f9b97Skupfer	$(CLOSED)/cmd/patch	\
758fb9f9b97Skupfer	$(CLOSED)/cmd/pax	\
759fb9f9b97Skupfer	$(CLOSED)/cmd/printf	\
760fb9f9b97Skupfer	$(CLOSED)/cmd/sed	\
761fb9f9b97Skupfer	$(CLOSED)/cmd/sed_xpg4	\
762fb9f9b97Skupfer	$(CLOSED)/cmd/tail	\
763fb9f9b97Skupfer	$(CLOSED)/cmd/tr_xpg4
764fb9f9b97Skupfer
7657c478bd9Sstevel@tonic-gatesparc_MSGSUBDIRS=	\
7667c478bd9Sstevel@tonic-gate	fruadm		\
76725cf1a30Sjl139090	prtdscp		\
7687c478bd9Sstevel@tonic-gate	prtfru		\
769a83cadceSkm84432	vntsd
7707c478bd9Sstevel@tonic-gate
7712449e17fSsherrymi386_MSGSUBDIRS=	\
7722449e17fSsherrym	ucodeadm
7732449e17fSsherrym
7747c478bd9Sstevel@tonic-gate#
7757c478bd9Sstevel@tonic-gate# commands that use dcgettext for localized time, LC_TIME
7767c478bd9Sstevel@tonic-gate#
7777c478bd9Sstevel@tonic-gateDCSUBDIRS=		\
7787c478bd9Sstevel@tonic-gate	cal		\
7797c478bd9Sstevel@tonic-gate	cfgadm		\
7807c478bd9Sstevel@tonic-gate	diff		\
7817c478bd9Sstevel@tonic-gate	ls		\
7827c478bd9Sstevel@tonic-gate	pr		\
78316f94f58Ssayama	ps		\
7847c478bd9Sstevel@tonic-gate	tar		\
7857c478bd9Sstevel@tonic-gate	w		\
7867c478bd9Sstevel@tonic-gate	who		\
7877c478bd9Sstevel@tonic-gate	whodo		\
7887c478bd9Sstevel@tonic-gate	write
7897c478bd9Sstevel@tonic-gate
790fb9f9b97Skupfer$(CLOSED_BUILD)DCSUBDIRS += \
791fb9f9b97Skupfer	$(CLOSED)/cmd/pax
792fb9f9b97Skupfer
7937c478bd9Sstevel@tonic-gate#
7947c478bd9Sstevel@tonic-gate# commands that belong only to the basic security module
7957c478bd9Sstevel@tonic-gate#
7967c478bd9Sstevel@tonic-gateBSMSUBDIRS=		\
7977c478bd9Sstevel@tonic-gate	allocate	\
7987c478bd9Sstevel@tonic-gate	amt		\
7997c478bd9Sstevel@tonic-gate	audit		\
8007c478bd9Sstevel@tonic-gate	audit_warn	\
8017c478bd9Sstevel@tonic-gate	auditconfig	\
8027c478bd9Sstevel@tonic-gate	auditd		\
8037c478bd9Sstevel@tonic-gate	auditreduce	\
8047c478bd9Sstevel@tonic-gate	auditstat	\
8057c478bd9Sstevel@tonic-gate	praudit		\
8067c478bd9Sstevel@tonic-gate	bsmconv		\
8077c478bd9Sstevel@tonic-gate	bsmrecord	\
8087c478bd9Sstevel@tonic-gate	bsmunconv
8097c478bd9Sstevel@tonic-gate
8107c478bd9Sstevel@tonic-gate#
8117c478bd9Sstevel@tonic-gate# commands not owned by the systems group
8127c478bd9Sstevel@tonic-gate#
8137c478bd9Sstevel@tonic-gateBWOSDIRS=
8147c478bd9Sstevel@tonic-gate
815bd0f52d7Sjhaslam
8167c478bd9Sstevel@tonic-gateall :=		TARGET = all
8177c478bd9Sstevel@tonic-gateinstall :=	TARGET = install
8187c478bd9Sstevel@tonic-gateclean :=	TARGET = clean
8197c478bd9Sstevel@tonic-gateclobber :=	TARGET = clobber
8207c478bd9Sstevel@tonic-gatelint :=		TARGET = lint
8217c478bd9Sstevel@tonic-gate_msg :=		TARGET = _msg
8227c478bd9Sstevel@tonic-gate_dc :=		TARGET = _dc
8237c478bd9Sstevel@tonic-gate
8247c478bd9Sstevel@tonic-gate.KEEP_STATE:
8257c478bd9Sstevel@tonic-gate
8267c478bd9Sstevel@tonic-gateSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
8277c478bd9Sstevel@tonic-gate
8283afe87ebSRoger A. Faulkner.PARALLEL:	$(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(BSMSUBDIRS)
8297c478bd9Sstevel@tonic-gate
8307c478bd9Sstevel@tonic-gateall install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) $(BSMSUBDIRS)
8317c478bd9Sstevel@tonic-gate
8323afe87ebSRoger A. Faulkner#
8333afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using
8343afe87ebSRoger A. Faulkner# the global repository that is in $(SRC)/cmd/svc/seed/global.db.
8353afe87ebSRoger A. Faulkner# For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
8363afe87ebSRoger A. Faulkner# we spawn off a sub-make to perform the non-parallel 'make check'
8373afe87ebSRoger A. Faulkner#
8383afe87ebSRoger A. Faulknercheck:
8393afe87ebSRoger A. Faulkner	$(MAKE) -f Makefile.check check
840bd0f52d7Sjhaslam
8417c478bd9Sstevel@tonic-gate#
8427c478bd9Sstevel@tonic-gate# The .WAIT directive works around an apparent bug in parallel make.
8437c478bd9Sstevel@tonic-gate# Evidently make was getting the target _msg vs. _dc confused under
8447c478bd9Sstevel@tonic-gate# some level of parallelization, causing some of the _dc objects
8457c478bd9Sstevel@tonic-gate# not to be built.
8467c478bd9Sstevel@tonic-gate#
8477c478bd9Sstevel@tonic-gate_msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
8487c478bd9Sstevel@tonic-gate
8497c478bd9Sstevel@tonic-gate_dc: $(DCSUBDIRS)
8507c478bd9Sstevel@tonic-gate
8519616efa0Sartem#
8529616efa0Sartem# Dependencies
8539616efa0Sartem#
8549616efa0Sartemfs.d: fstyp
8557c2fbfb3SApril Chinksh:	shcomp isaexec
8569616efa0Sartem
8573afe87ebSRoger A. Faulkner$(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(BSMSUBDIRS): FRC
8587c478bd9Sstevel@tonic-gate	@if [ -f $@/Makefile  ]; then \
8597c478bd9Sstevel@tonic-gate		cd $@; pwd; $(MAKE) $(TARGET); \
8607c478bd9Sstevel@tonic-gate	else \
8617c478bd9Sstevel@tonic-gate		true; \
8627c478bd9Sstevel@tonic-gate	fi
8637c478bd9Sstevel@tonic-gate
8647c478bd9Sstevel@tonic-gateFRC:
865