xref: /titanic_53/usr/src/cmd/Makefile (revision 906afcb89d0412cc073b95c2d701a804a8cdb62c)
174b5a35dSPaul Cheng#
274b5a35dSPaul Cheng# CDDL HEADER START
374b5a35dSPaul Cheng#
474b5a35dSPaul Cheng# The contents of this file are subject to the terms of the
574b5a35dSPaul Cheng# Common Development and Distribution License (the "License").
674b5a35dSPaul Cheng# You may not use this file except in compliance with the License.
774b5a35dSPaul Cheng#
874b5a35dSPaul Cheng# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
974b5a35dSPaul Cheng# or http://www.opensolaris.org/os/licensing.
1074b5a35dSPaul Cheng# See the License for the specific language governing permissions
1174b5a35dSPaul Cheng# and limitations under the License.
1274b5a35dSPaul Cheng#
1374b5a35dSPaul Cheng# When distributing Covered Code, include this CDDL HEADER in each
1474b5a35dSPaul Cheng# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1574b5a35dSPaul Cheng# If applicable, add the following below this CDDL HEADER, with the
1674b5a35dSPaul Cheng# fields enclosed by brackets "[]" replaced with your own identifying
1774b5a35dSPaul Cheng# information: Portions Copyright [yyyy] [name of copyright owner]
1874b5a35dSPaul Cheng#
1974b5a35dSPaul Cheng# CDDL HEADER END
2074b5a35dSPaul Cheng#
2174b5a35dSPaul Cheng
22e373b6e4SYuri Pankov#
23c3a558e7SSue Gleeson# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
2459596c01SRobert Mustacchi# Copyright (c) 2017, Joyent, Inc.
25ad135b5dSChristopher Siden# Copyright (c) 2012 by Delphix. All rights reserved.
2666448911SDavid Höppner# Copyright (c) 2013 DEY Storage Systems, Inc. All rights reserved.
2795c635efSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
28a1bf3f78SToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
29e373b6e4SYuri Pankov# Copyright 2016 Nexenta Systems, Inc.
30*906afcb8SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
31e373b6e4SYuri Pankov#
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gateinclude ../Makefile.master
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate#
3695c635efSGarrett D'Amore#	Note that the commands 'lp', and 'perl' are first in
377c478bd9Sstevel@tonic-gate#	the list, violating alphabetical order.  This is because they are very
387c478bd9Sstevel@tonic-gate#	long-running and should be given the most wall-clock time for a
397c478bd9Sstevel@tonic-gate#	parallel build.
407c478bd9Sstevel@tonic-gate#
417c478bd9Sstevel@tonic-gate#	Commands in the FIRST_SUBDIRS list are built before starting the build
427c478bd9Sstevel@tonic-gate#	of other commands.  Currently this includes only 'isaexec' and
437c478bd9Sstevel@tonic-gate#	'platexec'.  This is necessary because $(ROOT)/usr/lib/isaexec or
447c478bd9Sstevel@tonic-gate#	$(ROOT)/usr/lib/platexec must exist when some other commands are built
457c478bd9Sstevel@tonic-gate#	because their 'make install' creates a hard link to one of them.
467c478bd9Sstevel@tonic-gate#
477c478bd9Sstevel@tonic-gate#	Commands are listed one per line so that TeamWare can auto-merge most
487c478bd9Sstevel@tonic-gate#	changes.
497c478bd9Sstevel@tonic-gate#
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gateFIRST_SUBDIRS=		\
527c478bd9Sstevel@tonic-gate	isaexec		\
537c478bd9Sstevel@tonic-gate	platexec
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gateCOMMON_SUBDIRS=		\
56269f47deSThuy Fettig	allocate	\
57fa9e4066Sahrens	availdevs	\
587c478bd9Sstevel@tonic-gate	lp		\
597c478bd9Sstevel@tonic-gate	perl		\
607c478bd9Sstevel@tonic-gate	Adm		\
617c478bd9Sstevel@tonic-gate	abi		\
627c478bd9Sstevel@tonic-gate	adbgen		\
637c478bd9Sstevel@tonic-gate	acct		\
647c478bd9Sstevel@tonic-gate	acctadm		\
65ce0d9371SArne Jansen	arcwatch	\
667c478bd9Sstevel@tonic-gate	arch		\
6721b926adSArne Jansen	arcflush	\
687c478bd9Sstevel@tonic-gate	asa		\
69da2e3ebdSchin	ast		\
707c478bd9Sstevel@tonic-gate	audio		\
717c478bd9Sstevel@tonic-gate	auths		\
727c478bd9Sstevel@tonic-gate	autopush	\
73fcf3ce44SJohn Forte	avs		\
747c478bd9Sstevel@tonic-gate	awk		\
757c478bd9Sstevel@tonic-gate	awk_xpg4	\
767c478bd9Sstevel@tonic-gate	backup		\
777c478bd9Sstevel@tonic-gate	banner		\
787c478bd9Sstevel@tonic-gate	bart		\
797c478bd9Sstevel@tonic-gate	basename	\
807c478bd9Sstevel@tonic-gate	bc		\
817c478bd9Sstevel@tonic-gate	bdiff		\
82f169c0eaSGlenn Lagasse	beadm		\
837c478bd9Sstevel@tonic-gate	bnu		\
847c478bd9Sstevel@tonic-gate	boot		\
857c478bd9Sstevel@tonic-gate	busstat		\
867c478bd9Sstevel@tonic-gate	cal		\
877c478bd9Sstevel@tonic-gate	calendar	\
887c478bd9Sstevel@tonic-gate	captoinfo	\
897c478bd9Sstevel@tonic-gate	cat		\
907c478bd9Sstevel@tonic-gate	cdrw		\
917c478bd9Sstevel@tonic-gate	cfgadm		\
927c478bd9Sstevel@tonic-gate	checkeq		\
937c478bd9Sstevel@tonic-gate	checknr		\
947c478bd9Sstevel@tonic-gate	chgrp		\
957c478bd9Sstevel@tonic-gate	chmod		\
967c478bd9Sstevel@tonic-gate	chown		\
977c478bd9Sstevel@tonic-gate	chroot		\
987c478bd9Sstevel@tonic-gate	clear		\
997c478bd9Sstevel@tonic-gate	clinfo		\
1007c478bd9Sstevel@tonic-gate	cmd-crypto	\
1017c478bd9Sstevel@tonic-gate	cmd-inet	\
1027c478bd9Sstevel@tonic-gate	col		\
1037c478bd9Sstevel@tonic-gate	compress	\
1047c478bd9Sstevel@tonic-gate	consadm		\
1057c478bd9Sstevel@tonic-gate	coreadm		\
1067c478bd9Sstevel@tonic-gate	cpio		\
1077c478bd9Sstevel@tonic-gate	cpc		\
1087c478bd9Sstevel@tonic-gate	cron		\
1097c478bd9Sstevel@tonic-gate	crypt		\
1107c478bd9Sstevel@tonic-gate	csh		\
1117c478bd9Sstevel@tonic-gate	csplit		\
1127fd79137SRobert Mustacchi	ctfconvert	\
1137fd79137SRobert Mustacchi	ctfdiff		\
1147fd79137SRobert Mustacchi	ctfdump		\
1157fd79137SRobert Mustacchi	ctfmerge	\
1167c478bd9Sstevel@tonic-gate	ctrun		\
1177c478bd9Sstevel@tonic-gate	ctstat		\
1187c478bd9Sstevel@tonic-gate	ctwatch		\
1197c478bd9Sstevel@tonic-gate	datadm		\
1207c478bd9Sstevel@tonic-gate	date		\
1217c478bd9Sstevel@tonic-gate	dc		\
1227c478bd9Sstevel@tonic-gate	dd		\
1237c478bd9Sstevel@tonic-gate	deroff		\
1247c478bd9Sstevel@tonic-gate	devfsadm	\
1257c478bd9Sstevel@tonic-gate	syseventd	\
1267c478bd9Sstevel@tonic-gate	devctl		\
1277c478bd9Sstevel@tonic-gate	devinfo		\
1287c478bd9Sstevel@tonic-gate	devmgmt		\
129843e1988Sjohnlev	devprop		\
1307c478bd9Sstevel@tonic-gate	dfs.cmds	\
1317c478bd9Sstevel@tonic-gate	diff		\
1327c478bd9Sstevel@tonic-gate	diff3		\
1337c478bd9Sstevel@tonic-gate	diffmk		\
1347c478bd9Sstevel@tonic-gate	dircmp		\
1357c478bd9Sstevel@tonic-gate	dirname		\
136dc0093f4Seschrock	dis		\
1377c478bd9Sstevel@tonic-gate	diskmgtd	\
1387c478bd9Sstevel@tonic-gate	dispadmin	\
1397c478bd9Sstevel@tonic-gate	dladm		\
1400dc2366fSVenugopal Iyer	dlstat		\
14159596c01SRobert Mustacchi	dlutil		\
1427c478bd9Sstevel@tonic-gate	dmesg		\
143b76c1459SBill Taylor	dodatadm	\
1447c478bd9Sstevel@tonic-gate	dtrace		\
1457c478bd9Sstevel@tonic-gate	du		\
1467c478bd9Sstevel@tonic-gate	dumpadm		\
1477c478bd9Sstevel@tonic-gate	dumpcs		\
1487c478bd9Sstevel@tonic-gate	echo		\
1497c478bd9Sstevel@tonic-gate	ed		\
1507c478bd9Sstevel@tonic-gate	eeprom		\
1517c478bd9Sstevel@tonic-gate	egrep		\
15218c2aff7Sartem	eject		\
153b1dd958fScth	emul64ioctl	\
1547c478bd9Sstevel@tonic-gate	enhance		\
1557c478bd9Sstevel@tonic-gate	env		\
1567c478bd9Sstevel@tonic-gate	eqn		\
1577c478bd9Sstevel@tonic-gate	expand		\
1587c478bd9Sstevel@tonic-gate	expr		\
1597c478bd9Sstevel@tonic-gate	exstr		\
1607c478bd9Sstevel@tonic-gate	factor		\
1617c478bd9Sstevel@tonic-gate	false		\
162fcf3ce44SJohn Forte	fcinfo		\
163e6eb57e7SKevin Yu	fcoesvc		\
1647c478bd9Sstevel@tonic-gate	fdetach		\
1657c478bd9Sstevel@tonic-gate	fdformat	\
1667c478bd9Sstevel@tonic-gate	fdisk		\
167a1bf3f78SToomas Soome	ficl		\
1687c478bd9Sstevel@tonic-gate	filesync	\
1697c478bd9Sstevel@tonic-gate	fgrep		\
1707c478bd9Sstevel@tonic-gate	file		\
1717c478bd9Sstevel@tonic-gate	find		\
172da14cebeSEric Cheng	flowadm		\
1730dc2366fSVenugopal Iyer	flowstat	\
1747c478bd9Sstevel@tonic-gate	fm		\
1757c478bd9Sstevel@tonic-gate	fmt		\
1767c478bd9Sstevel@tonic-gate	fmthard		\
1777c478bd9Sstevel@tonic-gate	fmtmsg		\
1787c478bd9Sstevel@tonic-gate	fold		\
1797c478bd9Sstevel@tonic-gate	format		\
1800e42dee6Sartem	fs.d		\
1819616efa0Sartem	fstyp		\
1827c478bd9Sstevel@tonic-gate	fuser		\
1835a7763bfSjmcp	fwflash		\
1847c478bd9Sstevel@tonic-gate	gcore		\
1857c478bd9Sstevel@tonic-gate	gencat		\
1867c478bd9Sstevel@tonic-gate	geniconvtbl	\
1877c478bd9Sstevel@tonic-gate	genmsg		\
1887c478bd9Sstevel@tonic-gate	getconf		\
1897c478bd9Sstevel@tonic-gate	getdevpolicy	\
1907c478bd9Sstevel@tonic-gate	getent		\
1917c478bd9Sstevel@tonic-gate	getfacl		\
1927c478bd9Sstevel@tonic-gate	getmajor	\
1937c478bd9Sstevel@tonic-gate	getopt		\
1947c478bd9Sstevel@tonic-gate	gettext		\
1957c478bd9Sstevel@tonic-gate	gettxt		\
1967c478bd9Sstevel@tonic-gate	grep		\
1977c478bd9Sstevel@tonic-gate	grep_xpg4	\
1987c478bd9Sstevel@tonic-gate	groups		\
1994e46804cSYuri Pankov	growfs		\
2007c478bd9Sstevel@tonic-gate	grpck		\
2017c478bd9Sstevel@tonic-gate	gss		\
20218c2aff7Sartem	hal		\
2037c478bd9Sstevel@tonic-gate	halt		\
2047c478bd9Sstevel@tonic-gate	head		\
2057c478bd9Sstevel@tonic-gate	hostid		\
2067c478bd9Sstevel@tonic-gate	hostname	\
20726947304SEvan Yan	hotplug		\
20826947304SEvan Yan	hotplugd	\
2091cfa752fSRamaswamy Tummala	ibd_upgrade	\
2107c478bd9Sstevel@tonic-gate	id		\
211c5c4113dSnw141292	idmap		\
2127c478bd9Sstevel@tonic-gate	infocmp		\
2137c478bd9Sstevel@tonic-gate	init		\
2147c478bd9Sstevel@tonic-gate	initpkg		\
2157c478bd9Sstevel@tonic-gate	install.d	\
216bd335c64Sesolom	intrd		\
2177c478bd9Sstevel@tonic-gate	intrstat	\
2187c478bd9Sstevel@tonic-gate	ipcrm		\
2197c478bd9Sstevel@tonic-gate	ipcs		\
220fe77cc04SRobert Mustacchi	ipdadm		\
2217c478bd9Sstevel@tonic-gate	ipf		\
2227c478bd9Sstevel@tonic-gate	isainfo		\
2237c478bd9Sstevel@tonic-gate	isalist		\
2244f10d6deSJames C. McPherson	itutools	\
225fcf3ce44SJohn Forte	iscsiadm	\
226fcf3ce44SJohn Forte	iscsid		\
227a6d42e7dSPeter Dunlap	iscsitsvc	\
228fcf3ce44SJohn Forte	isns		\
229a6d42e7dSPeter Dunlap	itadm		\
2307c478bd9Sstevel@tonic-gate	kbd		\
2317c478bd9Sstevel@tonic-gate	keyserv		\
2327c478bd9Sstevel@tonic-gate	killall		\
2337c478bd9Sstevel@tonic-gate	krb5		\
2347aa76ffcSBryan Cantrill	kvmstat		\
2357c478bd9Sstevel@tonic-gate	last		\
2367c478bd9Sstevel@tonic-gate	lastcomm	\
23715db2897SKrishnendu Sadhukhan - Sun Microsystems	latencytop	\
2387c478bd9Sstevel@tonic-gate	ldap		\
2397c478bd9Sstevel@tonic-gate	ldapcachemgr	\
240c6402783Sakolb	lgrpinfo	\
2417c478bd9Sstevel@tonic-gate	line		\
2427c478bd9Sstevel@tonic-gate	link		\
243d62bc4baSyz147064	dlmgmtd		\
2447c478bd9Sstevel@tonic-gate	listen		\
2457c478bd9Sstevel@tonic-gate	loadkeys	\
2467c478bd9Sstevel@tonic-gate	locale		\
2476b5e5868SGarrett D'Amore	localedef	\
2487c478bd9Sstevel@tonic-gate	lockstat	\
2497c478bd9Sstevel@tonic-gate	locator		\
2507c478bd9Sstevel@tonic-gate	lofiadm		\
2517c478bd9Sstevel@tonic-gate	logadm		\
2527c478bd9Sstevel@tonic-gate	logger		\
2537c478bd9Sstevel@tonic-gate	login		\
2547c478bd9Sstevel@tonic-gate	logins		\
2557c478bd9Sstevel@tonic-gate	look		\
2567c478bd9Sstevel@tonic-gate	ls		\
257fcf3ce44SJohn Forte	luxadm		\
2587c478bd9Sstevel@tonic-gate	mach		\
2597c478bd9Sstevel@tonic-gate	mail		\
260287247a8SAlexander Pyhalov	mailwrapper	\
2617c478bd9Sstevel@tonic-gate	mailx		\
26210d63b7dSRichard Lowe	make		\
2637c478bd9Sstevel@tonic-gate	makekey		\
26495c635efSGarrett D'Amore	man		\
26595c635efSGarrett D'Amore	mandoc		\
2667c478bd9Sstevel@tonic-gate	mdb		\
2677c478bd9Sstevel@tonic-gate	mesg		\
2687c478bd9Sstevel@tonic-gate	mkdir		\
2697c478bd9Sstevel@tonic-gate	mkfifo		\
2707c478bd9Sstevel@tonic-gate	mkfile		\
2717c478bd9Sstevel@tonic-gate	mkmsgs		\
2727c478bd9Sstevel@tonic-gate	mknod		\
2737c478bd9Sstevel@tonic-gate	mkpwdict	\
2747c478bd9Sstevel@tonic-gate	mktemp		\
2757c478bd9Sstevel@tonic-gate	modload		\
2767c478bd9Sstevel@tonic-gate	more		\
277fcf3ce44SJohn Forte	mpathadm	\
2787c478bd9Sstevel@tonic-gate	msgfmt		\
2797c478bd9Sstevel@tonic-gate	msgid		\
2807c478bd9Sstevel@tonic-gate	mt		\
2817c478bd9Sstevel@tonic-gate	mv		\
2827c478bd9Sstevel@tonic-gate	mvdir		\
2832654012fSReza Sabdar	ndmpadm		\
2842654012fSReza Sabdar	ndmpd		\
2852654012fSReza Sabdar	ndmpstat	\
2867c478bd9Sstevel@tonic-gate	netadm		\
2877c478bd9Sstevel@tonic-gate	netfiles	\
2887c478bd9Sstevel@tonic-gate	newform		\
2897c478bd9Sstevel@tonic-gate	newgrp		\
2907c478bd9Sstevel@tonic-gate	news		\
2917c478bd9Sstevel@tonic-gate	newtask		\
2927c478bd9Sstevel@tonic-gate	nice		\
2937c478bd9Sstevel@tonic-gate	nl		\
2947c478bd9Sstevel@tonic-gate	nlsadmin	\
2957c478bd9Sstevel@tonic-gate	nohup		\
2967c478bd9Sstevel@tonic-gate	nsadmin		\
2977c478bd9Sstevel@tonic-gate	nscd		\
2987c478bd9Sstevel@tonic-gate	oamuser		\
2997c478bd9Sstevel@tonic-gate	oawk		\
30001335b0dSGarrett D'Amore	od		\
3017c478bd9Sstevel@tonic-gate	pack		\
3027c478bd9Sstevel@tonic-gate	pagesize	\
3037c478bd9Sstevel@tonic-gate	passmgmt	\
3047c478bd9Sstevel@tonic-gate	passwd		\
3057c478bd9Sstevel@tonic-gate	pathchk		\
3067c478bd9Sstevel@tonic-gate	pbind		\
30770025d76Sjohnny	pcidr		\
308d5ace945SErwin T Tsaur	pcitool		\
3097c478bd9Sstevel@tonic-gate	pfexec		\
310134a1f4eSCasper H.S. Dik	pfexecd		\
311d3c97224SAlexander Kolbasov	pginfo		\
312d3c97224SAlexander Kolbasov	pgstat		\
3137c478bd9Sstevel@tonic-gate	pgrep		\
3147c478bd9Sstevel@tonic-gate	picl		\
3157c478bd9Sstevel@tonic-gate	plimit		\
31618c2aff7Sartem	policykit	\
3177c478bd9Sstevel@tonic-gate	pools		\
3187c478bd9Sstevel@tonic-gate	power		\
319bcde4861SRafael Vanoni Polanczyk	powertop	\
3207c478bd9Sstevel@tonic-gate	ppgsz		\
3217c478bd9Sstevel@tonic-gate	pg		\
3227c478bd9Sstevel@tonic-gate	plockstat	\
3237c478bd9Sstevel@tonic-gate	pr		\
3247c478bd9Sstevel@tonic-gate	prctl		\
3257c478bd9Sstevel@tonic-gate	print		\
326f967d548SGarrett D'Amore	printf		\
3277c478bd9Sstevel@tonic-gate	priocntl	\
3287c478bd9Sstevel@tonic-gate	profiles	\
3297c478bd9Sstevel@tonic-gate	projadd		\
3307c478bd9Sstevel@tonic-gate	projects	\
3317c478bd9Sstevel@tonic-gate	prstat		\
3327c478bd9Sstevel@tonic-gate	prtconf		\
3337c478bd9Sstevel@tonic-gate	prtdiag		\
3347c478bd9Sstevel@tonic-gate	prtvtoc		\
3357c478bd9Sstevel@tonic-gate	ps		\
3367c478bd9Sstevel@tonic-gate	psradm		\
3377c478bd9Sstevel@tonic-gate	psrinfo		\
3387c478bd9Sstevel@tonic-gate	psrset		\
3397c478bd9Sstevel@tonic-gate	ptools		\
3407c478bd9Sstevel@tonic-gate	pwck		\
3417c478bd9Sstevel@tonic-gate	pwconv		\
3427c478bd9Sstevel@tonic-gate	pwd		\
34314843421SMatthew Ahrens	pyzfs		\
3447c478bd9Sstevel@tonic-gate	raidctl		\
3457c478bd9Sstevel@tonic-gate	ramdiskadm	\
3467c478bd9Sstevel@tonic-gate	rcap		\
3477c478bd9Sstevel@tonic-gate	rcm_daemon	\
3487c478bd9Sstevel@tonic-gate	rctladm		\
3497c478bd9Sstevel@tonic-gate	refer		\
3507c478bd9Sstevel@tonic-gate	regcmp		\
3517c478bd9Sstevel@tonic-gate	renice		\
3527c478bd9Sstevel@tonic-gate	rexd		\
3537c478bd9Sstevel@tonic-gate	rm		\
3547c478bd9Sstevel@tonic-gate	rmdir		\
3557c478bd9Sstevel@tonic-gate	rmformat	\
35618c2aff7Sartem	rmmount		\
3577c478bd9Sstevel@tonic-gate	rmt		\
35818c2aff7Sartem	rmvolmgr	\
3597c478bd9Sstevel@tonic-gate	roles		\
3607c478bd9Sstevel@tonic-gate	rpcbind		\
3617c478bd9Sstevel@tonic-gate	rpcgen		\
3627c478bd9Sstevel@tonic-gate	rpcinfo		\
3637c478bd9Sstevel@tonic-gate	rpcsvc		\
3647c478bd9Sstevel@tonic-gate	runat		\
3657c478bd9Sstevel@tonic-gate	sa		\
3667c478bd9Sstevel@tonic-gate	saf		\
3679e86db79SHyon Kim	sasinfo		\
3687c478bd9Sstevel@tonic-gate	savecore	\
369fcf3ce44SJohn Forte	sbdadm		\
3707c478bd9Sstevel@tonic-gate	script		\
371275c9da8Seschrock	scsi		\
3727c478bd9Sstevel@tonic-gate	sdiff		\
37374e20cfeSnh145002	sdpadm		\
37484441f85SGarrett D'Amore	sed		\
3757c478bd9Sstevel@tonic-gate	sendmail	\
3767c478bd9Sstevel@tonic-gate	setfacl		\
3777c478bd9Sstevel@tonic-gate	setmnt		\
3787c478bd9Sstevel@tonic-gate	setpgrp		\
3797c478bd9Sstevel@tonic-gate	setuname	\
3807c478bd9Sstevel@tonic-gate	sgs		\
3817c478bd9Sstevel@tonic-gate	sh		\
38284ab085aSmws	smbios		\
383da6c28aaSamw	smbsrv		\
3847c478bd9Sstevel@tonic-gate	smserverd	\
3857c478bd9Sstevel@tonic-gate	soelim		\
3867c478bd9Sstevel@tonic-gate	sort		\
3877c478bd9Sstevel@tonic-gate	spell		\
3887c478bd9Sstevel@tonic-gate	split		\
389c5c4113dSnw141292	sqlite		\
3907c478bd9Sstevel@tonic-gate	srchtxt		\
391c3a558e7SSue Gleeson	srptadm		\
3921bdd6c0eSSue Gleeson	srptsvc		\
3937c478bd9Sstevel@tonic-gate	stat		\
394fcf3ce44SJohn Forte	stmfadm		\
39545039663SJohn Forte	stmfproxy	\
396fcf3ce44SJohn Forte	stmfsvc		\
3975a4c37c9Sqh201292	stmsboot	\
3987c478bd9Sstevel@tonic-gate	streams		\
3997c478bd9Sstevel@tonic-gate	strings		\
4007c478bd9Sstevel@tonic-gate	su		\
4017c478bd9Sstevel@tonic-gate	sulogin		\
4027c478bd9Sstevel@tonic-gate	sunpc		\
4037c478bd9Sstevel@tonic-gate	svc		\
4045c51f124SMoriah Waterland	svr4pkg		\
4057c478bd9Sstevel@tonic-gate	swap		\
4067c478bd9Sstevel@tonic-gate	sync		\
4077c478bd9Sstevel@tonic-gate	sysdef		\
4087c478bd9Sstevel@tonic-gate	syseventadm	\
4097c478bd9Sstevel@tonic-gate	syslogd		\
4107c478bd9Sstevel@tonic-gate	tabs		\
411209e49b2SChris Love	tail		\
4127c478bd9Sstevel@tonic-gate	tar		\
4137c478bd9Sstevel@tonic-gate	tbl		\
4147c478bd9Sstevel@tonic-gate	tcopy		\
4157c478bd9Sstevel@tonic-gate	tcpd		\
4167c478bd9Sstevel@tonic-gate	terminfo	\
4177c478bd9Sstevel@tonic-gate	th_tools	\
4187c478bd9Sstevel@tonic-gate	tic		\
4197c478bd9Sstevel@tonic-gate	time		\
4207c478bd9Sstevel@tonic-gate	tip		\
4217c478bd9Sstevel@tonic-gate	tnf		\
4227c478bd9Sstevel@tonic-gate	touch		\
4237c478bd9Sstevel@tonic-gate	tput		\
424163bd69bSGarrett D'Amore	tr		\
4257c478bd9Sstevel@tonic-gate	trapstat	\
4267c478bd9Sstevel@tonic-gate	troff		\
4277c478bd9Sstevel@tonic-gate	true		\
4287c478bd9Sstevel@tonic-gate	truss		\
429f875b4ebSrica	tsol		\
4307c478bd9Sstevel@tonic-gate	tty		\
4317c478bd9Sstevel@tonic-gate	ttymon		\
432d1419d5aSNobutomo Nakano	tzreload	\
4337c478bd9Sstevel@tonic-gate	uadmin		\
4347c478bd9Sstevel@tonic-gate	ul		\
4357c478bd9Sstevel@tonic-gate	uname		\
4367c478bd9Sstevel@tonic-gate	units		\
4377c478bd9Sstevel@tonic-gate	unlink		\
4387c478bd9Sstevel@tonic-gate	unpack		\
43949c13cf4Sgww	userattr	\
4407c478bd9Sstevel@tonic-gate	users		\
4417c478bd9Sstevel@tonic-gate	utmp_update	\
4427c478bd9Sstevel@tonic-gate	utmpd		\
44371d45228SAlexander Eremin	uuidgen		\
4447c478bd9Sstevel@tonic-gate	valtools	\
4457c478bd9Sstevel@tonic-gate	vgrind		\
4467c478bd9Sstevel@tonic-gate	vi		\
44718c2aff7Sartem	volcheck	\
44818c2aff7Sartem	volrmmount	\
4491cb875aeSCathy Zhou	vrrpadm		\
450911106dfSjm199354	vscan		\
451aecfc01dSrui zang - Sun Microsystems - Beijing China	vt		\
4527c478bd9Sstevel@tonic-gate	w		\
4537c478bd9Sstevel@tonic-gate	wall		\
4547c478bd9Sstevel@tonic-gate	which		\
4557c478bd9Sstevel@tonic-gate	who		\
4567c478bd9Sstevel@tonic-gate	whodo		\
4577c478bd9Sstevel@tonic-gate	wracct		\
4587c478bd9Sstevel@tonic-gate	write		\
4597c478bd9Sstevel@tonic-gate	xargs		\
4607c478bd9Sstevel@tonic-gate	xstr		\
4617c478bd9Sstevel@tonic-gate	yes		\
4627c478bd9Sstevel@tonic-gate	ypcmd		\
4637c478bd9Sstevel@tonic-gate	yppasswd	\
464fa9e4066Sahrens	zdb		\
4657c478bd9Sstevel@tonic-gate	zdump		\
4662bb8e5e2SAndreas Jaekel	zevadm		\
467fa9e4066Sahrens	zfs		\
468ad135b5dSChristopher Siden	zhack		\
4697c478bd9Sstevel@tonic-gate	zic		\
470ea8dc4b6Seschrock	zinject		\
4717c478bd9Sstevel@tonic-gate	zlogin		\
4727c478bd9Sstevel@tonic-gate	zoneadm		\
4737c478bd9Sstevel@tonic-gate	zoneadmd	\
4747c478bd9Sstevel@tonic-gate	zonecfg		\
475fa9e4066Sahrens	zonename	\
476fa9e4066Sahrens	zpool		\
477e802abbdSTim Haley	zlook		\
478efd4c9b6SSteve Lawrence	zonestat	\
479495db6fbSLori Alt	zstreamdump	\
480fa9e4066Sahrens	ztest
4817c478bd9Sstevel@tonic-gate
4827c478bd9Sstevel@tonic-gatei386_SUBDIRS=		\
483385cc6b4SJerry Jelinek	acpi		\
484a3114836SGerry Liu	acpihpd		\
4857c478bd9Sstevel@tonic-gate	addbadsec	\
4867c478bd9Sstevel@tonic-gate	biosdev		\
4877c478bd9Sstevel@tonic-gate	diskscan	\
488ecee5a1fSHans Rosenfeld	nvmeadm		\
4892449e17fSsherrym	rtc		\
490ca7049e2SMarcel Telka	ucodeadm
4917c478bd9Sstevel@tonic-gate
4927c478bd9Sstevel@tonic-gatesparc_SUBDIRS=		\
4937c478bd9Sstevel@tonic-gate	cvcd		\
4947c478bd9Sstevel@tonic-gate	dcs		\
4950f509175SSree Vemuri	device_remap	\
4961d4b38e0Srsmaeda	drd		\
4977c478bd9Sstevel@tonic-gate	fruadm		\
49849bfb42bSAlexandre Chartre	ldmad		\
499a4ac8bb3Sdnielsen	oplhpd		\
50025cf1a30Sjl139090	prtdscp		\
5017c478bd9Sstevel@tonic-gate	prtfru		\
50203831d35Sstevel	scadm		\
5037c478bd9Sstevel@tonic-gate	sckmd		\
5047c478bd9Sstevel@tonic-gate	sf880drd	\
50582629e30SMike Christensen	virtinfo	\
506a83cadceSkm84432	vntsd
5077c478bd9Sstevel@tonic-gate
5087c478bd9Sstevel@tonic-gate#
50995c635efSGarrett D'Amore# Commands that are messaged.  Note that 'lp' comes first
51095c635efSGarrett D'Amore# (see previous comment about 'lp'.)
5117c478bd9Sstevel@tonic-gate#
5127c478bd9Sstevel@tonic-gateMSGSUBDIRS=		\
5137c478bd9Sstevel@tonic-gate	lp		\
5147c478bd9Sstevel@tonic-gate	abi		\
5157c478bd9Sstevel@tonic-gate	acctadm		\
5167c478bd9Sstevel@tonic-gate	allocate	\
51721b926adSArne Jansen	arcflush	\
5187c478bd9Sstevel@tonic-gate	asa		\
519*906afcb8SAndy Fiddaman	ast		\
5207c478bd9Sstevel@tonic-gate	audio		\
5217c478bd9Sstevel@tonic-gate	audit		\
522f8994074SJan Friedel	auditconfig	\
5237c478bd9Sstevel@tonic-gate	auditd		\
524cf9691b9Sgww	auditrecord	\
525f8994074SJan Friedel	auditset	\
5267c478bd9Sstevel@tonic-gate	auths		\
5277c478bd9Sstevel@tonic-gate	autopush	\
528fcf3ce44SJohn Forte	avs		\
5297c478bd9Sstevel@tonic-gate	awk		\
5307c478bd9Sstevel@tonic-gate	awk_xpg4	\
5317c478bd9Sstevel@tonic-gate	backup		\
5327c478bd9Sstevel@tonic-gate	banner		\
5337c478bd9Sstevel@tonic-gate	bart		\
5347c478bd9Sstevel@tonic-gate	basename	\
535f169c0eaSGlenn Lagasse	beadm		\
5367c478bd9Sstevel@tonic-gate	bnu		\
5377c478bd9Sstevel@tonic-gate	busstat		\
5387c478bd9Sstevel@tonic-gate	cal		\
5397c478bd9Sstevel@tonic-gate	cat		\
5407c478bd9Sstevel@tonic-gate	cdrw		\
5417c478bd9Sstevel@tonic-gate	cfgadm		\
5427c478bd9Sstevel@tonic-gate	checkeq		\
5437c478bd9Sstevel@tonic-gate	checknr		\
5447c478bd9Sstevel@tonic-gate	chgrp		\
5457c478bd9Sstevel@tonic-gate	chmod		\
5467c478bd9Sstevel@tonic-gate	chown		\
5477c478bd9Sstevel@tonic-gate	cmd-crypto	\
5487c478bd9Sstevel@tonic-gate	cmd-inet	\
5497c478bd9Sstevel@tonic-gate	col		\
5507c478bd9Sstevel@tonic-gate	compress	\
5517c478bd9Sstevel@tonic-gate	consadm		\
5527c478bd9Sstevel@tonic-gate	coreadm		\
5537c478bd9Sstevel@tonic-gate	cpio		\
5547c478bd9Sstevel@tonic-gate	cpc		\
5557c478bd9Sstevel@tonic-gate	cron		\
5567c478bd9Sstevel@tonic-gate	csh		\
5577c478bd9Sstevel@tonic-gate	csplit		\
5587c478bd9Sstevel@tonic-gate	ctrun		\
5597c478bd9Sstevel@tonic-gate	ctstat		\
5607c478bd9Sstevel@tonic-gate	ctwatch		\
5617c478bd9Sstevel@tonic-gate	datadm		\
5627c478bd9Sstevel@tonic-gate	date		\
5637c478bd9Sstevel@tonic-gate	dc		\
5647c478bd9Sstevel@tonic-gate	dcs		\
5657c478bd9Sstevel@tonic-gate	dd		\
5667c478bd9Sstevel@tonic-gate	deroff		\
5677c478bd9Sstevel@tonic-gate	devfsadm	\
5686185db85Sdougm	dfs.cmds	\
5697c478bd9Sstevel@tonic-gate	diff		\
5707c478bd9Sstevel@tonic-gate	diffmk		\
5717c478bd9Sstevel@tonic-gate	dladm		\
5720dc2366fSVenugopal Iyer	dlstat		\
5737c478bd9Sstevel@tonic-gate	du		\
5747c478bd9Sstevel@tonic-gate	dumpcs		\
5757c478bd9Sstevel@tonic-gate	ed		\
57618c2aff7Sartem	eject		\
5777c478bd9Sstevel@tonic-gate	env		\
5787c478bd9Sstevel@tonic-gate	eqn		\
5797c478bd9Sstevel@tonic-gate	expand		\
5807c478bd9Sstevel@tonic-gate	expr		\
581fcf3ce44SJohn Forte	fcinfo		\
5827c478bd9Sstevel@tonic-gate	fgrep		\
5837c478bd9Sstevel@tonic-gate	file		\
5847c478bd9Sstevel@tonic-gate	filesync	\
5857c478bd9Sstevel@tonic-gate	find		\
586da14cebeSEric Cheng	flowadm		\
5870dc2366fSVenugopal Iyer	flowstat	\
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	\
60526947304SEvan Yan	hotplug		\
6067c478bd9Sstevel@tonic-gate	id		\
607c5c4113dSnw141292	idmap		\
6087c478bd9Sstevel@tonic-gate	isaexec		\
609fcf3ce44SJohn Forte	iscsiadm	\
610fcf3ce44SJohn Forte	iscsid		\
611fcf3ce44SJohn Forte	isns		\
612a6d42e7dSPeter Dunlap	itadm		\
613d8c870b0Sqz150045	kbd		\
6147c478bd9Sstevel@tonic-gate	krb5		\
6157c478bd9Sstevel@tonic-gate	last		\
6167c478bd9Sstevel@tonic-gate	ldap		\
6177c478bd9Sstevel@tonic-gate	ldapcachemgr	\
618c6402783Sakolb	lgrpinfo	\
6197c478bd9Sstevel@tonic-gate	locale		\
6207c478bd9Sstevel@tonic-gate	lofiadm		\
6217c478bd9Sstevel@tonic-gate	logadm		\
6227c478bd9Sstevel@tonic-gate	logger		\
6237c478bd9Sstevel@tonic-gate	logins		\
6247c478bd9Sstevel@tonic-gate	ls		\
625fcf3ce44SJohn Forte	luxadm		\
6267c478bd9Sstevel@tonic-gate	mailx		\
62710d63b7dSRichard Lowe	make		\
62895c635efSGarrett D'Amore	man		\
6297c478bd9Sstevel@tonic-gate	mesg		\
6307c478bd9Sstevel@tonic-gate	mkdir		\
6317c478bd9Sstevel@tonic-gate	mkpwdict	\
6327c478bd9Sstevel@tonic-gate	mktemp		\
6337c478bd9Sstevel@tonic-gate	more		\
634fcf3ce44SJohn Forte	mpathadm	\
6357c478bd9Sstevel@tonic-gate	msgfmt		\
6367c478bd9Sstevel@tonic-gate	mv		\
6372654012fSReza Sabdar	ndmpadm		\
6382654012fSReza Sabdar	ndmpstat	\
6397c478bd9Sstevel@tonic-gate	newgrp		\
6407c478bd9Sstevel@tonic-gate	newtask		\
6417c478bd9Sstevel@tonic-gate	nice		\
6427c478bd9Sstevel@tonic-gate	nohup		\
6437c478bd9Sstevel@tonic-gate	oawk		\
6447c478bd9Sstevel@tonic-gate	pack		\
6457c478bd9Sstevel@tonic-gate	passwd		\
6467c478bd9Sstevel@tonic-gate	passmgmt	\
6477c478bd9Sstevel@tonic-gate	pathchk		\
6487c478bd9Sstevel@tonic-gate	pfexec		\
6497c478bd9Sstevel@tonic-gate	pg		\
6507c478bd9Sstevel@tonic-gate	pgrep		\
6517c478bd9Sstevel@tonic-gate	picl            \
6527c478bd9Sstevel@tonic-gate	pools		\
6537c478bd9Sstevel@tonic-gate	power		\
6547c478bd9Sstevel@tonic-gate	pr		\
6557c478bd9Sstevel@tonic-gate	praudit		\
6567c478bd9Sstevel@tonic-gate	print		\
6577c478bd9Sstevel@tonic-gate	profiles	\
6587c478bd9Sstevel@tonic-gate	projadd		\
6597c478bd9Sstevel@tonic-gate	projects	\
6607c478bd9Sstevel@tonic-gate	prstat		\
6617c478bd9Sstevel@tonic-gate	prtdiag		\
6627c478bd9Sstevel@tonic-gate	ps		\
6637c478bd9Sstevel@tonic-gate	psrinfo		\
664c6402783Sakolb	ptools		\
6657c478bd9Sstevel@tonic-gate	pwconv		\
6667c478bd9Sstevel@tonic-gate	pwd		\
66714843421SMatthew Ahrens	pyzfs		\
6687c478bd9Sstevel@tonic-gate	raidctl		\
6697c478bd9Sstevel@tonic-gate	ramdiskadm	\
6707c478bd9Sstevel@tonic-gate	rcap		\
6717c478bd9Sstevel@tonic-gate	rcm_daemon	\
6727c478bd9Sstevel@tonic-gate	refer		\
6737c478bd9Sstevel@tonic-gate	regcmp		\
6747c478bd9Sstevel@tonic-gate	renice		\
6757c478bd9Sstevel@tonic-gate	roles		\
6767c478bd9Sstevel@tonic-gate	rm		\
6777c478bd9Sstevel@tonic-gate	rmdir		\
6787c478bd9Sstevel@tonic-gate	rmformat	\
67918c2aff7Sartem	rmmount		\
68018c2aff7Sartem	rmvolmgr	\
6819e86db79SHyon Kim	sasinfo		\
682fcf3ce44SJohn Forte	sbdadm		\
68303831d35Sstevel	scadm		\
6847c478bd9Sstevel@tonic-gate	script		\
685275c9da8Seschrock	scsi		\
6867c478bd9Sstevel@tonic-gate	sdiff		\
68774e20cfeSnh145002	sdpadm		\
6887c478bd9Sstevel@tonic-gate	sgs		\
6897c478bd9Sstevel@tonic-gate	sh		\
69096a62adaSjoyce mcintosh	smbsrv		\
6917c478bd9Sstevel@tonic-gate	sort		\
6927c478bd9Sstevel@tonic-gate	split		\
693c3a558e7SSue Gleeson	srptadm		\
69413c7b6acSrsb	stat		\
695fcf3ce44SJohn Forte	stmfadm		\
6965a4c37c9Sqh201292	stmsboot	\
6977c478bd9Sstevel@tonic-gate	strings		\
6987c478bd9Sstevel@tonic-gate	su		\
6997c478bd9Sstevel@tonic-gate	svc		\
7005c51f124SMoriah Waterland	svr4pkg		\
7017c478bd9Sstevel@tonic-gate	swap		\
7027c478bd9Sstevel@tonic-gate	syseventadm	\
7037c478bd9Sstevel@tonic-gate	syseventd	\
7047c478bd9Sstevel@tonic-gate	tabs		\
7057c478bd9Sstevel@tonic-gate	tar		\
7067c478bd9Sstevel@tonic-gate	tbl		\
7077c478bd9Sstevel@tonic-gate	time		\
7087c478bd9Sstevel@tonic-gate	tnf		\
7097c478bd9Sstevel@tonic-gate	touch		\
7107c478bd9Sstevel@tonic-gate	tput		\
7117c478bd9Sstevel@tonic-gate	troff		\
712f875b4ebSrica	tsol		\
7137c478bd9Sstevel@tonic-gate	tty		\
7147c478bd9Sstevel@tonic-gate	ttymon		\
715d1419d5aSNobutomo Nakano	tzreload	\
7167c478bd9Sstevel@tonic-gate	ul		\
7177c478bd9Sstevel@tonic-gate	uname		\
7187c478bd9Sstevel@tonic-gate	units		\
7197c478bd9Sstevel@tonic-gate	unlink		\
7207c478bd9Sstevel@tonic-gate	unpack		\
72149c13cf4Sgww	userattr	\
7227c478bd9Sstevel@tonic-gate	valtools	\
7237c478bd9Sstevel@tonic-gate	vgrind		\
7247c478bd9Sstevel@tonic-gate	vi		\
72518c2aff7Sartem	volcheck	\
72618c2aff7Sartem	volrmmount	\
7271cb875aeSCathy Zhou	vrrpadm		\
72896a62adaSjoyce mcintosh	vscan		\
7297c478bd9Sstevel@tonic-gate	w		\
7307c478bd9Sstevel@tonic-gate	who		\
7317c478bd9Sstevel@tonic-gate	whodo		\
7327c478bd9Sstevel@tonic-gate	wracct		\
7337c478bd9Sstevel@tonic-gate	write		\
7347c478bd9Sstevel@tonic-gate	xargs		\
7357c478bd9Sstevel@tonic-gate	yppasswd	\
7367c478bd9Sstevel@tonic-gate	zdump		\
7372bb8e5e2SAndreas Jaekel	zevadm		\
738fa9e4066Sahrens	zfs		\
7397c478bd9Sstevel@tonic-gate	zic		\
7407c478bd9Sstevel@tonic-gate	zlogin		\
7417c478bd9Sstevel@tonic-gate	zoneadm		\
7427c478bd9Sstevel@tonic-gate	zoneadmd	\
7437c478bd9Sstevel@tonic-gate	zonecfg		\
744fa9e4066Sahrens	zonename	\
745efd4c9b6SSteve Lawrence	zpool		\
746efd4c9b6SSteve Lawrence	zonestat
7477c478bd9Sstevel@tonic-gate
7487c478bd9Sstevel@tonic-gatesparc_MSGSUBDIRS=	\
7497c478bd9Sstevel@tonic-gate	fruadm		\
75025cf1a30Sjl139090	prtdscp		\
7517c478bd9Sstevel@tonic-gate	prtfru		\
75282629e30SMike Christensen	virtinfo	\
753a83cadceSkm84432	vntsd
7547c478bd9Sstevel@tonic-gate
7552449e17fSsherrymi386_MSGSUBDIRS=	\
7562449e17fSsherrym	ucodeadm
7572449e17fSsherrym
7587c478bd9Sstevel@tonic-gate#
7597c478bd9Sstevel@tonic-gate# commands that use dcgettext for localized time, LC_TIME
7607c478bd9Sstevel@tonic-gate#
7617c478bd9Sstevel@tonic-gateDCSUBDIRS=		\
7627c478bd9Sstevel@tonic-gate	cal		\
7637c478bd9Sstevel@tonic-gate	cfgadm		\
7647c478bd9Sstevel@tonic-gate	diff		\
7657c478bd9Sstevel@tonic-gate	ls		\
7667c478bd9Sstevel@tonic-gate	pr		\
76716f94f58Ssayama	ps		\
7687c478bd9Sstevel@tonic-gate	tar		\
7697c478bd9Sstevel@tonic-gate	w		\
7707c478bd9Sstevel@tonic-gate	who		\
7717c478bd9Sstevel@tonic-gate	whodo		\
7727c478bd9Sstevel@tonic-gate	write
7737c478bd9Sstevel@tonic-gate
7747c478bd9Sstevel@tonic-gate#
775269f47deSThuy Fettig# commands that belong only to audit.
7767c478bd9Sstevel@tonic-gate#
777cf9691b9SgwwAUDITSUBDIRS=		\
7787c478bd9Sstevel@tonic-gate	amt		\
7797c478bd9Sstevel@tonic-gate	audit		\
7807c478bd9Sstevel@tonic-gate	audit_warn	\
7817c478bd9Sstevel@tonic-gate	auditconfig	\
7827c478bd9Sstevel@tonic-gate	auditd		\
783cf9691b9Sgww	auditrecord	\
7847c478bd9Sstevel@tonic-gate	auditreduce	\
785f8994074SJan Friedel	auditset	\
7867c478bd9Sstevel@tonic-gate	auditstat	\
787269f47deSThuy Fettig	praudit
7887c478bd9Sstevel@tonic-gate
7897c478bd9Sstevel@tonic-gate#
7907c478bd9Sstevel@tonic-gate# commands not owned by the systems group
7917c478bd9Sstevel@tonic-gate#
7927c478bd9Sstevel@tonic-gateBWOSDIRS=
7937c478bd9Sstevel@tonic-gate
794bd0f52d7Sjhaslam
7957c478bd9Sstevel@tonic-gateall :=		TARGET = all
7967c478bd9Sstevel@tonic-gateinstall :=	TARGET = install
7977c478bd9Sstevel@tonic-gateclean :=	TARGET = clean
7987c478bd9Sstevel@tonic-gateclobber :=	TARGET = clobber
7997c478bd9Sstevel@tonic-gatelint :=		TARGET = lint
8007c478bd9Sstevel@tonic-gate_msg :=		TARGET = _msg
8017c478bd9Sstevel@tonic-gate_dc :=		TARGET = _dc
8027c478bd9Sstevel@tonic-gate
8037c478bd9Sstevel@tonic-gate.KEEP_STATE:
8047c478bd9Sstevel@tonic-gate
8057c478bd9Sstevel@tonic-gateSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
8067c478bd9Sstevel@tonic-gate
807cf9691b9Sgww.PARALLEL:	$(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
8087c478bd9Sstevel@tonic-gate
809cf9691b9Sgwwall install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
810cf9691b9Sgww	$(AUDITSUBDIRS)
8117c478bd9Sstevel@tonic-gate
8123afe87ebSRoger A. Faulkner#
8133afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using
8143afe87ebSRoger A. Faulkner# the global repository that is in $(SRC)/cmd/svc/seed/global.db.
8153afe87ebSRoger A. Faulkner# For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
8163afe87ebSRoger A. Faulkner# we spawn off a sub-make to perform the non-parallel 'make check'
8173afe87ebSRoger A. Faulkner#
8183afe87ebSRoger A. Faulknercheck:
8193afe87ebSRoger A. Faulkner	$(MAKE) -f Makefile.check check
820bd0f52d7Sjhaslam
8217c478bd9Sstevel@tonic-gate#
8227c478bd9Sstevel@tonic-gate# The .WAIT directive works around an apparent bug in parallel make.
8237c478bd9Sstevel@tonic-gate# Evidently make was getting the target _msg vs. _dc confused under
8247c478bd9Sstevel@tonic-gate# some level of parallelization, causing some of the _dc objects
8257c478bd9Sstevel@tonic-gate# not to be built.
8267c478bd9Sstevel@tonic-gate#
8277c478bd9Sstevel@tonic-gate_msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
8287c478bd9Sstevel@tonic-gate
8297c478bd9Sstevel@tonic-gate_dc: $(DCSUBDIRS)
8307c478bd9Sstevel@tonic-gate
8319616efa0Sartem#
8329616efa0Sartem# Dependencies
8339616efa0Sartem#
8349616efa0Sartemfs.d: fstyp
835*906afcb8SAndy Fiddamanast:	isaexec
836170832d3SAlbert Leemdb:	terminfo
83771c90032SGowtham Thommandraprint:	lp
838196c7f05SJoshua M. Clulowfmt:	mailx
8399616efa0Sartem
840cf9691b9Sgww$(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
8417c478bd9Sstevel@tonic-gate	@if [ -f $@/Makefile  ]; then \
8427c478bd9Sstevel@tonic-gate		cd $@; pwd; $(MAKE) $(TARGET); \
8437c478bd9Sstevel@tonic-gate	else \
8447c478bd9Sstevel@tonic-gate		true; \
8457c478bd9Sstevel@tonic-gate	fi
8467c478bd9Sstevel@tonic-gate
8477c478bd9Sstevel@tonic-gateFRC:
848