xref: /titanic_50/usr/src/cmd/Makefile (revision 2a52a1627973d84afe3af6de87c1fe00ac3d087e)
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>
28e373b6e4SYuri Pankov# Copyright 2016 Nexenta Systems, Inc.
29e373b6e4SYuri Pankov#
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gateinclude ../Makefile.master
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate#
3495c635efSGarrett D'Amore#	Note that the commands 'lp', and 'perl' are first in
357c478bd9Sstevel@tonic-gate#	the list, violating alphabetical order.  This is because they are very
367c478bd9Sstevel@tonic-gate#	long-running and should be given the most wall-clock time for a
377c478bd9Sstevel@tonic-gate#	parallel build.
387c478bd9Sstevel@tonic-gate#
397c478bd9Sstevel@tonic-gate#	Commands in the FIRST_SUBDIRS list are built before starting the build
407c478bd9Sstevel@tonic-gate#	of other commands.  Currently this includes only 'isaexec' and
417c478bd9Sstevel@tonic-gate#	'platexec'.  This is necessary because $(ROOT)/usr/lib/isaexec or
427c478bd9Sstevel@tonic-gate#	$(ROOT)/usr/lib/platexec must exist when some other commands are built
437c478bd9Sstevel@tonic-gate#	because their 'make install' creates a hard link to one of them.
447c478bd9Sstevel@tonic-gate#
457c478bd9Sstevel@tonic-gate#	Commands are listed one per line so that TeamWare can auto-merge most
467c478bd9Sstevel@tonic-gate#	changes.
477c478bd9Sstevel@tonic-gate#
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gateFIRST_SUBDIRS=		\
507c478bd9Sstevel@tonic-gate	isaexec		\
517c478bd9Sstevel@tonic-gate	platexec
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gateCOMMON_SUBDIRS=		\
54269f47deSThuy Fettig	allocate	\
55fa9e4066Sahrens	availdevs	\
567c478bd9Sstevel@tonic-gate	lp		\
577c478bd9Sstevel@tonic-gate	perl		\
587c478bd9Sstevel@tonic-gate	Adm		\
597c478bd9Sstevel@tonic-gate	abi		\
607c478bd9Sstevel@tonic-gate	adbgen		\
617c478bd9Sstevel@tonic-gate	acct		\
627c478bd9Sstevel@tonic-gate	acctadm		\
63ce0d9371SArne Jansen	arcwatch	\
647c478bd9Sstevel@tonic-gate	arch		\
657c478bd9Sstevel@tonic-gate	asa		\
66da2e3ebdSchin	ast		\
677c478bd9Sstevel@tonic-gate	audio		\
687c478bd9Sstevel@tonic-gate	auths		\
697c478bd9Sstevel@tonic-gate	autopush	\
70fcf3ce44SJohn Forte	avs		\
717c478bd9Sstevel@tonic-gate	awk		\
727c478bd9Sstevel@tonic-gate	awk_xpg4	\
737c478bd9Sstevel@tonic-gate	backup		\
747c478bd9Sstevel@tonic-gate	banner		\
757c478bd9Sstevel@tonic-gate	bart		\
767c478bd9Sstevel@tonic-gate	basename	\
777c478bd9Sstevel@tonic-gate	bc		\
787c478bd9Sstevel@tonic-gate	bdiff		\
79f169c0eaSGlenn Lagasse	beadm		\
807c478bd9Sstevel@tonic-gate	bnu		\
817c478bd9Sstevel@tonic-gate	boot		\
827c478bd9Sstevel@tonic-gate	busstat		\
837c478bd9Sstevel@tonic-gate	cal		\
847c478bd9Sstevel@tonic-gate	calendar	\
857c478bd9Sstevel@tonic-gate	captoinfo	\
867c478bd9Sstevel@tonic-gate	cat		\
877c478bd9Sstevel@tonic-gate	cdrw		\
887c478bd9Sstevel@tonic-gate	cfgadm		\
897c478bd9Sstevel@tonic-gate	checkeq		\
907c478bd9Sstevel@tonic-gate	checknr		\
917c478bd9Sstevel@tonic-gate	chgrp		\
927c478bd9Sstevel@tonic-gate	chmod		\
937c478bd9Sstevel@tonic-gate	chown		\
947c478bd9Sstevel@tonic-gate	chroot		\
957c478bd9Sstevel@tonic-gate	clear		\
967c478bd9Sstevel@tonic-gate	clinfo		\
977c478bd9Sstevel@tonic-gate	cmd-crypto	\
987c478bd9Sstevel@tonic-gate	cmd-inet	\
997c478bd9Sstevel@tonic-gate	col		\
1007c478bd9Sstevel@tonic-gate	compress	\
1017c478bd9Sstevel@tonic-gate	consadm		\
1027c478bd9Sstevel@tonic-gate	coreadm		\
1037c478bd9Sstevel@tonic-gate	cpio		\
1047c478bd9Sstevel@tonic-gate	cpc		\
1057c478bd9Sstevel@tonic-gate	cron		\
1067c478bd9Sstevel@tonic-gate	crypt		\
1077c478bd9Sstevel@tonic-gate	csh		\
1087c478bd9Sstevel@tonic-gate	csplit		\
109*f3e7f55eSRobert Mustacchi	ctfconvert	\
110*f3e7f55eSRobert Mustacchi	ctfdiff		\
111*f3e7f55eSRobert Mustacchi	ctfdump		\
112*f3e7f55eSRobert Mustacchi	ctfmerge	\
1137c478bd9Sstevel@tonic-gate	ctrun		\
1147c478bd9Sstevel@tonic-gate	ctstat		\
1157c478bd9Sstevel@tonic-gate	ctwatch		\
1167c478bd9Sstevel@tonic-gate	datadm		\
1177c478bd9Sstevel@tonic-gate	date		\
1187c478bd9Sstevel@tonic-gate	dc		\
1197c478bd9Sstevel@tonic-gate	dd		\
1207c478bd9Sstevel@tonic-gate	deroff		\
1217c478bd9Sstevel@tonic-gate	devfsadm	\
1227c478bd9Sstevel@tonic-gate	syseventd	\
1237c478bd9Sstevel@tonic-gate	devctl		\
1247c478bd9Sstevel@tonic-gate	devinfo		\
1257c478bd9Sstevel@tonic-gate	devmgmt		\
126843e1988Sjohnlev	devprop		\
1277c478bd9Sstevel@tonic-gate	dfs.cmds	\
1287c478bd9Sstevel@tonic-gate	diff		\
1297c478bd9Sstevel@tonic-gate	diff3		\
1307c478bd9Sstevel@tonic-gate	diffmk		\
1317c478bd9Sstevel@tonic-gate	dircmp		\
1327c478bd9Sstevel@tonic-gate	dirname		\
133dc0093f4Seschrock	dis		\
1347c478bd9Sstevel@tonic-gate	diskmgtd	\
1357c478bd9Sstevel@tonic-gate	dispadmin	\
1367c478bd9Sstevel@tonic-gate	dladm		\
1370dc2366fSVenugopal Iyer	dlstat		\
13859596c01SRobert Mustacchi	dlutil		\
1397c478bd9Sstevel@tonic-gate	dmesg		\
140b76c1459SBill Taylor	dodatadm	\
1417c478bd9Sstevel@tonic-gate	dtrace		\
1427c478bd9Sstevel@tonic-gate	du		\
1437c478bd9Sstevel@tonic-gate	dumpadm		\
1447c478bd9Sstevel@tonic-gate	dumpcs		\
1457c478bd9Sstevel@tonic-gate	echo		\
1467c478bd9Sstevel@tonic-gate	ed		\
1477c478bd9Sstevel@tonic-gate	eeprom		\
1487c478bd9Sstevel@tonic-gate	egrep		\
14918c2aff7Sartem	eject		\
150b1dd958fScth	emul64ioctl	\
1517c478bd9Sstevel@tonic-gate	enhance		\
1527c478bd9Sstevel@tonic-gate	env		\
1537c478bd9Sstevel@tonic-gate	eqn		\
1547c478bd9Sstevel@tonic-gate	expand		\
1557c478bd9Sstevel@tonic-gate	expr		\
1567c478bd9Sstevel@tonic-gate	exstr		\
1577c478bd9Sstevel@tonic-gate	factor		\
1587c478bd9Sstevel@tonic-gate	false		\
159fcf3ce44SJohn Forte	fcinfo		\
160e6eb57e7SKevin Yu	fcoesvc		\
1617c478bd9Sstevel@tonic-gate	fdetach		\
1627c478bd9Sstevel@tonic-gate	fdformat	\
1637c478bd9Sstevel@tonic-gate	fdisk		\
1647c478bd9Sstevel@tonic-gate	filesync	\
1657c478bd9Sstevel@tonic-gate	fgrep		\
1667c478bd9Sstevel@tonic-gate	file		\
1677c478bd9Sstevel@tonic-gate	find		\
168da14cebeSEric Cheng	flowadm		\
1690dc2366fSVenugopal Iyer	flowstat	\
1707c478bd9Sstevel@tonic-gate	fm		\
1717c478bd9Sstevel@tonic-gate	fmt		\
1727c478bd9Sstevel@tonic-gate	fmthard		\
1737c478bd9Sstevel@tonic-gate	fmtmsg		\
1747c478bd9Sstevel@tonic-gate	fold		\
1757c478bd9Sstevel@tonic-gate	format		\
1760e42dee6Sartem	fs.d		\
1779616efa0Sartem	fstyp		\
1787c478bd9Sstevel@tonic-gate	fuser		\
1795a7763bfSjmcp	fwflash		\
1807c478bd9Sstevel@tonic-gate	gcore		\
1817c478bd9Sstevel@tonic-gate	gencat		\
1827c478bd9Sstevel@tonic-gate	geniconvtbl	\
1837c478bd9Sstevel@tonic-gate	genmsg		\
1847c478bd9Sstevel@tonic-gate	getconf		\
1857c478bd9Sstevel@tonic-gate	getdevpolicy	\
1867c478bd9Sstevel@tonic-gate	getent		\
1877c478bd9Sstevel@tonic-gate	getfacl		\
1887c478bd9Sstevel@tonic-gate	getmajor	\
1897c478bd9Sstevel@tonic-gate	getopt		\
1907c478bd9Sstevel@tonic-gate	gettext		\
1917c478bd9Sstevel@tonic-gate	gettxt		\
1927c478bd9Sstevel@tonic-gate	grep		\
1937c478bd9Sstevel@tonic-gate	grep_xpg4	\
1947c478bd9Sstevel@tonic-gate	groups		\
1954e46804cSYuri Pankov	growfs		\
1967c478bd9Sstevel@tonic-gate	grpck		\
1977c478bd9Sstevel@tonic-gate	gss		\
19818c2aff7Sartem	hal		\
1997c478bd9Sstevel@tonic-gate	halt		\
2007c478bd9Sstevel@tonic-gate	head		\
2017c478bd9Sstevel@tonic-gate	hostid		\
2027c478bd9Sstevel@tonic-gate	hostname	\
20326947304SEvan Yan	hotplug		\
20426947304SEvan Yan	hotplugd	\
2051cfa752fSRamaswamy Tummala	ibd_upgrade	\
2067c478bd9Sstevel@tonic-gate	id		\
207c5c4113dSnw141292	idmap		\
2087c478bd9Sstevel@tonic-gate	infocmp		\
2097c478bd9Sstevel@tonic-gate	init		\
2107c478bd9Sstevel@tonic-gate	initpkg		\
2117c478bd9Sstevel@tonic-gate	install.d	\
212bd335c64Sesolom	intrd		\
2137c478bd9Sstevel@tonic-gate	intrstat	\
2147c478bd9Sstevel@tonic-gate	ipcrm		\
2157c478bd9Sstevel@tonic-gate	ipcs		\
216fe77cc04SRobert Mustacchi	ipdadm		\
2177c478bd9Sstevel@tonic-gate	ipf		\
2187c478bd9Sstevel@tonic-gate	isainfo		\
2197c478bd9Sstevel@tonic-gate	isalist		\
2204f10d6deSJames C. McPherson	itutools	\
221fcf3ce44SJohn Forte	iscsiadm	\
222fcf3ce44SJohn Forte	iscsid		\
223a6d42e7dSPeter Dunlap	iscsitsvc	\
224fcf3ce44SJohn Forte	isns		\
225a6d42e7dSPeter Dunlap	itadm		\
2267c478bd9Sstevel@tonic-gate	kbd		\
2277c478bd9Sstevel@tonic-gate	keyserv		\
2287c478bd9Sstevel@tonic-gate	killall		\
2297c478bd9Sstevel@tonic-gate	krb5		\
230da2e3ebdSchin	ksh		\
2317aa76ffcSBryan Cantrill	kvmstat		\
2327c478bd9Sstevel@tonic-gate	last		\
2337c478bd9Sstevel@tonic-gate	lastcomm	\
23415db2897SKrishnendu Sadhukhan - Sun Microsystems	latencytop	\
2357c478bd9Sstevel@tonic-gate	ldap		\
2367c478bd9Sstevel@tonic-gate	ldapcachemgr	\
237c6402783Sakolb	lgrpinfo	\
2387c478bd9Sstevel@tonic-gate	line		\
2397c478bd9Sstevel@tonic-gate	link		\
240d62bc4baSyz147064	dlmgmtd		\
2417c478bd9Sstevel@tonic-gate	listen		\
2427c478bd9Sstevel@tonic-gate	loadkeys	\
2437c478bd9Sstevel@tonic-gate	locale		\
2446b5e5868SGarrett D'Amore	localedef	\
2457c478bd9Sstevel@tonic-gate	lockstat	\
2467c478bd9Sstevel@tonic-gate	locator		\
2477c478bd9Sstevel@tonic-gate	lofiadm		\
2487c478bd9Sstevel@tonic-gate	logadm		\
2497c478bd9Sstevel@tonic-gate	logger		\
2507c478bd9Sstevel@tonic-gate	login		\
2517c478bd9Sstevel@tonic-gate	logins		\
2527c478bd9Sstevel@tonic-gate	look		\
2537c478bd9Sstevel@tonic-gate	ls		\
254fcf3ce44SJohn Forte	luxadm		\
2557c478bd9Sstevel@tonic-gate	mach		\
2567c478bd9Sstevel@tonic-gate	mail		\
257287247a8SAlexander Pyhalov	mailwrapper	\
2587c478bd9Sstevel@tonic-gate	mailx		\
25910d63b7dSRichard Lowe	make		\
2607c478bd9Sstevel@tonic-gate	makekey		\
26195c635efSGarrett D'Amore	man		\
26295c635efSGarrett D'Amore	mandoc		\
2637c478bd9Sstevel@tonic-gate	mdb		\
2647c478bd9Sstevel@tonic-gate	mesg		\
2657c478bd9Sstevel@tonic-gate	mkdir		\
2667c478bd9Sstevel@tonic-gate	mkfifo		\
2677c478bd9Sstevel@tonic-gate	mkfile		\
2687c478bd9Sstevel@tonic-gate	mkmsgs		\
2697c478bd9Sstevel@tonic-gate	mknod		\
2707c478bd9Sstevel@tonic-gate	mkpwdict	\
2717c478bd9Sstevel@tonic-gate	mktemp		\
2727c478bd9Sstevel@tonic-gate	modload		\
2737c478bd9Sstevel@tonic-gate	more		\
274fcf3ce44SJohn Forte	mpathadm	\
2757c478bd9Sstevel@tonic-gate	msgfmt		\
2767c478bd9Sstevel@tonic-gate	msgid		\
2777c478bd9Sstevel@tonic-gate	mt		\
2787c478bd9Sstevel@tonic-gate	mv		\
2797c478bd9Sstevel@tonic-gate	mvdir		\
2802654012fSReza Sabdar	ndmpadm		\
2812654012fSReza Sabdar	ndmpd		\
2822654012fSReza Sabdar	ndmpstat	\
2837c478bd9Sstevel@tonic-gate	netadm		\
2847c478bd9Sstevel@tonic-gate	netfiles	\
2857c478bd9Sstevel@tonic-gate	newform		\
2867c478bd9Sstevel@tonic-gate	newgrp		\
2877c478bd9Sstevel@tonic-gate	news		\
2887c478bd9Sstevel@tonic-gate	newtask		\
2897c478bd9Sstevel@tonic-gate	nice		\
2907c478bd9Sstevel@tonic-gate	nl		\
2917c478bd9Sstevel@tonic-gate	nlsadmin	\
2927c478bd9Sstevel@tonic-gate	nohup		\
2937c478bd9Sstevel@tonic-gate	nsadmin		\
2947c478bd9Sstevel@tonic-gate	nscd		\
2957c478bd9Sstevel@tonic-gate	oamuser		\
2967c478bd9Sstevel@tonic-gate	oawk		\
29701335b0dSGarrett D'Amore	od		\
2987c478bd9Sstevel@tonic-gate	pack		\
2997c478bd9Sstevel@tonic-gate	pagesize	\
3007c478bd9Sstevel@tonic-gate	passmgmt	\
3017c478bd9Sstevel@tonic-gate	passwd		\
3027c478bd9Sstevel@tonic-gate	pathchk		\
3037c478bd9Sstevel@tonic-gate	pbind		\
30470025d76Sjohnny	pcidr		\
305d5ace945SErwin T Tsaur	pcitool		\
3067c478bd9Sstevel@tonic-gate	pfexec		\
307134a1f4eSCasper H.S. Dik	pfexecd		\
308d3c97224SAlexander Kolbasov	pginfo		\
309d3c97224SAlexander Kolbasov	pgstat		\
3107c478bd9Sstevel@tonic-gate	pgrep		\
3117c478bd9Sstevel@tonic-gate	picl		\
3127c478bd9Sstevel@tonic-gate	plimit		\
31318c2aff7Sartem	policykit	\
3147c478bd9Sstevel@tonic-gate	pools		\
3157c478bd9Sstevel@tonic-gate	power		\
316bcde4861SRafael Vanoni Polanczyk	powertop	\
3177c478bd9Sstevel@tonic-gate	ppgsz		\
3187c478bd9Sstevel@tonic-gate	pg		\
3197c478bd9Sstevel@tonic-gate	plockstat	\
3207c478bd9Sstevel@tonic-gate	pr		\
3217c478bd9Sstevel@tonic-gate	prctl		\
3227c478bd9Sstevel@tonic-gate	print		\
323f967d548SGarrett D'Amore	printf		\
3247c478bd9Sstevel@tonic-gate	priocntl	\
3257c478bd9Sstevel@tonic-gate	profiles	\
3267c478bd9Sstevel@tonic-gate	projadd		\
3277c478bd9Sstevel@tonic-gate	projects	\
3287c478bd9Sstevel@tonic-gate	prstat		\
3297c478bd9Sstevel@tonic-gate	prtconf		\
3307c478bd9Sstevel@tonic-gate	prtdiag		\
3317c478bd9Sstevel@tonic-gate	prtvtoc		\
3327c478bd9Sstevel@tonic-gate	ps		\
3337c478bd9Sstevel@tonic-gate	psradm		\
3347c478bd9Sstevel@tonic-gate	psrinfo		\
3357c478bd9Sstevel@tonic-gate	psrset		\
3367c478bd9Sstevel@tonic-gate	ptools		\
3377c478bd9Sstevel@tonic-gate	pwck		\
3387c478bd9Sstevel@tonic-gate	pwconv		\
3397c478bd9Sstevel@tonic-gate	pwd		\
34014843421SMatthew Ahrens	pyzfs		\
3417c478bd9Sstevel@tonic-gate	raidctl		\
3427c478bd9Sstevel@tonic-gate	ramdiskadm	\
3437c478bd9Sstevel@tonic-gate	rcap		\
3447c478bd9Sstevel@tonic-gate	rcm_daemon	\
3457c478bd9Sstevel@tonic-gate	rctladm		\
3467c478bd9Sstevel@tonic-gate	refer		\
3477c478bd9Sstevel@tonic-gate	regcmp		\
3487c478bd9Sstevel@tonic-gate	renice		\
3497c478bd9Sstevel@tonic-gate	rexd		\
3507c478bd9Sstevel@tonic-gate	rm		\
3517c478bd9Sstevel@tonic-gate	rmdir		\
3527c478bd9Sstevel@tonic-gate	rmformat	\
35318c2aff7Sartem	rmmount		\
3547c478bd9Sstevel@tonic-gate	rmt		\
35518c2aff7Sartem	rmvolmgr	\
3567c478bd9Sstevel@tonic-gate	roles		\
3577c478bd9Sstevel@tonic-gate	rpcbind		\
3587c478bd9Sstevel@tonic-gate	rpcgen		\
3597c478bd9Sstevel@tonic-gate	rpcinfo		\
3607c478bd9Sstevel@tonic-gate	rpcsvc		\
3617c478bd9Sstevel@tonic-gate	runat		\
3627c478bd9Sstevel@tonic-gate	sa		\
3637c478bd9Sstevel@tonic-gate	saf		\
3649e86db79SHyon Kim	sasinfo		\
3657c478bd9Sstevel@tonic-gate	savecore	\
366fcf3ce44SJohn Forte	sbdadm		\
3677c478bd9Sstevel@tonic-gate	script		\
368275c9da8Seschrock	scsi		\
3697c478bd9Sstevel@tonic-gate	sdiff		\
37074e20cfeSnh145002	sdpadm		\
37184441f85SGarrett D'Amore	sed		\
3727c478bd9Sstevel@tonic-gate	sendmail	\
3737c478bd9Sstevel@tonic-gate	setfacl		\
3747c478bd9Sstevel@tonic-gate	setmnt		\
3757c478bd9Sstevel@tonic-gate	setpgrp		\
3767c478bd9Sstevel@tonic-gate	setuname	\
3777c478bd9Sstevel@tonic-gate	sgs		\
3787c478bd9Sstevel@tonic-gate	sh		\
3797c2fbfb3SApril Chin	shcomp		\
38084ab085aSmws	smbios		\
381da6c28aaSamw	smbsrv		\
3827c478bd9Sstevel@tonic-gate	smserverd	\
3837c478bd9Sstevel@tonic-gate	soelim		\
3847c478bd9Sstevel@tonic-gate	sort		\
3857c478bd9Sstevel@tonic-gate	spell		\
3867c478bd9Sstevel@tonic-gate	split		\
387c5c4113dSnw141292	sqlite		\
3887c478bd9Sstevel@tonic-gate	srchtxt		\
389c3a558e7SSue Gleeson	srptadm		\
3901bdd6c0eSSue Gleeson	srptsvc		\
3917c478bd9Sstevel@tonic-gate	ssh		\
3927c478bd9Sstevel@tonic-gate	stat		\
393fcf3ce44SJohn Forte	stmfadm		\
39445039663SJohn Forte	stmfproxy	\
395fcf3ce44SJohn Forte	stmfsvc		\
3965a4c37c9Sqh201292	stmsboot	\
3977c478bd9Sstevel@tonic-gate	streams		\
3987c478bd9Sstevel@tonic-gate	strings		\
3997c478bd9Sstevel@tonic-gate	su		\
4007c478bd9Sstevel@tonic-gate	sulogin		\
4017c478bd9Sstevel@tonic-gate	sunpc		\
4027c478bd9Sstevel@tonic-gate	svc		\
4035c51f124SMoriah Waterland	svr4pkg		\
4047c478bd9Sstevel@tonic-gate	swap		\
4057c478bd9Sstevel@tonic-gate	sync		\
4067c478bd9Sstevel@tonic-gate	sysdef		\
4077c478bd9Sstevel@tonic-gate	syseventadm	\
4087c478bd9Sstevel@tonic-gate	syslogd		\
4097c478bd9Sstevel@tonic-gate	tabs		\
410209e49b2SChris Love	tail		\
4117c478bd9Sstevel@tonic-gate	tar		\
4127c478bd9Sstevel@tonic-gate	tbl		\
4137c478bd9Sstevel@tonic-gate	tcopy		\
4147c478bd9Sstevel@tonic-gate	tcpd		\
4157c478bd9Sstevel@tonic-gate	terminfo	\
4167c478bd9Sstevel@tonic-gate	th_tools	\
4177c478bd9Sstevel@tonic-gate	tic		\
4187c478bd9Sstevel@tonic-gate	time		\
4197c478bd9Sstevel@tonic-gate	tip		\
4207c478bd9Sstevel@tonic-gate	tnf		\
4217c478bd9Sstevel@tonic-gate	touch		\
4227c478bd9Sstevel@tonic-gate	tput		\
423163bd69bSGarrett D'Amore	tr		\
4247c478bd9Sstevel@tonic-gate	trapstat	\
4257c478bd9Sstevel@tonic-gate	troff		\
4267c478bd9Sstevel@tonic-gate	true		\
4277c478bd9Sstevel@tonic-gate	truss		\
428f875b4ebSrica	tsol		\
4297c478bd9Sstevel@tonic-gate	tty		\
4307c478bd9Sstevel@tonic-gate	ttymon		\
431d1419d5aSNobutomo Nakano	tzreload	\
4327c478bd9Sstevel@tonic-gate	uadmin		\
4337c478bd9Sstevel@tonic-gate	ul		\
4347c478bd9Sstevel@tonic-gate	uname		\
4357c478bd9Sstevel@tonic-gate	units		\
4367c478bd9Sstevel@tonic-gate	unlink		\
4377c478bd9Sstevel@tonic-gate	unpack		\
43849c13cf4Sgww	userattr	\
4397c478bd9Sstevel@tonic-gate	users		\
4407c478bd9Sstevel@tonic-gate	utmp_update	\
4417c478bd9Sstevel@tonic-gate	utmpd		\
44271d45228SAlexander Eremin	uuidgen		\
4437c478bd9Sstevel@tonic-gate	valtools	\
4447c478bd9Sstevel@tonic-gate	vgrind		\
4457c478bd9Sstevel@tonic-gate	vi		\
44618c2aff7Sartem	volcheck	\
44718c2aff7Sartem	volrmmount	\
4481cb875aeSCathy Zhou	vrrpadm		\
449911106dfSjm199354	vscan		\
450aecfc01dSrui zang - Sun Microsystems - Beijing China	vt		\
4517c478bd9Sstevel@tonic-gate	w		\
4527c478bd9Sstevel@tonic-gate	wall		\
4537c478bd9Sstevel@tonic-gate	which		\
4547c478bd9Sstevel@tonic-gate	who		\
4557c478bd9Sstevel@tonic-gate	whodo		\
4567c478bd9Sstevel@tonic-gate	wracct		\
4577c478bd9Sstevel@tonic-gate	write		\
4587c478bd9Sstevel@tonic-gate	xargs		\
4597c478bd9Sstevel@tonic-gate	xstr		\
4607c478bd9Sstevel@tonic-gate	yes		\
4617c478bd9Sstevel@tonic-gate	ypcmd		\
4627c478bd9Sstevel@tonic-gate	yppasswd	\
463fa9e4066Sahrens	zdb		\
4647c478bd9Sstevel@tonic-gate	zdump		\
4652bb8e5e2SAndreas Jaekel	zevadm		\
466fa9e4066Sahrens	zfs		\
467ad135b5dSChristopher Siden	zhack		\
4687c478bd9Sstevel@tonic-gate	zic		\
469ea8dc4b6Seschrock	zinject		\
4707c478bd9Sstevel@tonic-gate	zlogin		\
4717c478bd9Sstevel@tonic-gate	zoneadm		\
4727c478bd9Sstevel@tonic-gate	zoneadmd	\
4737c478bd9Sstevel@tonic-gate	zonecfg		\
474fa9e4066Sahrens	zonename	\
475fa9e4066Sahrens	zpool		\
476e802abbdSTim Haley	zlook		\
477efd4c9b6SSteve Lawrence	zonestat	\
478495db6fbSLori Alt	zstreamdump	\
479fa9e4066Sahrens	ztest
4807c478bd9Sstevel@tonic-gate
4817c478bd9Sstevel@tonic-gatei386_SUBDIRS=		\
482385cc6b4SJerry Jelinek	acpi		\
483a3114836SGerry Liu	acpihpd		\
4847c478bd9Sstevel@tonic-gate	addbadsec	\
4857c478bd9Sstevel@tonic-gate	biosdev		\
4867c478bd9Sstevel@tonic-gate	diskscan	\
487ecee5a1fSHans Rosenfeld	nvmeadm		\
4882449e17fSsherrym	rtc		\
489f4859cf3SMarcel Telka	ucodeadm
4907c478bd9Sstevel@tonic-gate
4917c478bd9Sstevel@tonic-gatesparc_SUBDIRS=		\
4927c478bd9Sstevel@tonic-gate	cvcd		\
4937c478bd9Sstevel@tonic-gate	dcs		\
4940f509175SSree Vemuri	device_remap	\
4951d4b38e0Srsmaeda	drd		\
4967c478bd9Sstevel@tonic-gate	fruadm		\
49749bfb42bSAlexandre Chartre	ldmad		\
498a4ac8bb3Sdnielsen	oplhpd		\
49925cf1a30Sjl139090	prtdscp		\
5007c478bd9Sstevel@tonic-gate	prtfru		\
50103831d35Sstevel	scadm		\
5027c478bd9Sstevel@tonic-gate	sckmd		\
5037c478bd9Sstevel@tonic-gate	sf880drd	\
50482629e30SMike Christensen	virtinfo	\
505a83cadceSkm84432	vntsd
5067c478bd9Sstevel@tonic-gate
5077c478bd9Sstevel@tonic-gate#
50895c635efSGarrett D'Amore# Commands that are messaged.  Note that 'lp' comes first
50995c635efSGarrett D'Amore# (see previous comment about 'lp'.)
5107c478bd9Sstevel@tonic-gate#
5117c478bd9Sstevel@tonic-gateMSGSUBDIRS=		\
5127c478bd9Sstevel@tonic-gate	lp		\
5137c478bd9Sstevel@tonic-gate	abi		\
5147c478bd9Sstevel@tonic-gate	acctadm		\
5157c478bd9Sstevel@tonic-gate	allocate	\
5167c478bd9Sstevel@tonic-gate	asa		\
5177c478bd9Sstevel@tonic-gate	audio		\
5187c478bd9Sstevel@tonic-gate	audit		\
519f8994074SJan Friedel	auditconfig	\
5207c478bd9Sstevel@tonic-gate	auditd		\
521cf9691b9Sgww	auditrecord	\
522f8994074SJan Friedel	auditset	\
5237c478bd9Sstevel@tonic-gate	auths		\
5247c478bd9Sstevel@tonic-gate	autopush	\
525fcf3ce44SJohn Forte	avs		\
5267c478bd9Sstevel@tonic-gate	awk		\
5277c478bd9Sstevel@tonic-gate	awk_xpg4	\
5287c478bd9Sstevel@tonic-gate	backup		\
5297c478bd9Sstevel@tonic-gate	banner		\
5307c478bd9Sstevel@tonic-gate	bart		\
5317c478bd9Sstevel@tonic-gate	basename	\
532f169c0eaSGlenn Lagasse	beadm		\
5337c478bd9Sstevel@tonic-gate	bnu		\
5347c478bd9Sstevel@tonic-gate	busstat		\
5357c478bd9Sstevel@tonic-gate	cal		\
5367c478bd9Sstevel@tonic-gate	cat		\
5377c478bd9Sstevel@tonic-gate	cdrw		\
5387c478bd9Sstevel@tonic-gate	cfgadm		\
5397c478bd9Sstevel@tonic-gate	checkeq		\
5407c478bd9Sstevel@tonic-gate	checknr		\
5417c478bd9Sstevel@tonic-gate	chgrp		\
5427c478bd9Sstevel@tonic-gate	chmod		\
5437c478bd9Sstevel@tonic-gate	chown		\
5447c478bd9Sstevel@tonic-gate	cmd-crypto	\
5457c478bd9Sstevel@tonic-gate	cmd-inet	\
5467c478bd9Sstevel@tonic-gate	col		\
5477c478bd9Sstevel@tonic-gate	compress	\
5487c478bd9Sstevel@tonic-gate	consadm		\
5497c478bd9Sstevel@tonic-gate	coreadm		\
5507c478bd9Sstevel@tonic-gate	cpio		\
5517c478bd9Sstevel@tonic-gate	cpc		\
5527c478bd9Sstevel@tonic-gate	cron		\
5537c478bd9Sstevel@tonic-gate	csh		\
5547c478bd9Sstevel@tonic-gate	csplit		\
5557c478bd9Sstevel@tonic-gate	ctrun		\
5567c478bd9Sstevel@tonic-gate	ctstat		\
5577c478bd9Sstevel@tonic-gate	ctwatch		\
5587c478bd9Sstevel@tonic-gate	datadm		\
5597c478bd9Sstevel@tonic-gate	date		\
5607c478bd9Sstevel@tonic-gate	dc		\
5617c478bd9Sstevel@tonic-gate	dcs		\
5627c478bd9Sstevel@tonic-gate	dd		\
5637c478bd9Sstevel@tonic-gate	deroff		\
5647c478bd9Sstevel@tonic-gate	devfsadm	\
5656185db85Sdougm	dfs.cmds	\
5667c478bd9Sstevel@tonic-gate	diff		\
5677c478bd9Sstevel@tonic-gate	diffmk		\
5687c478bd9Sstevel@tonic-gate	dladm		\
5690dc2366fSVenugopal Iyer	dlstat		\
5707c478bd9Sstevel@tonic-gate	du		\
5717c478bd9Sstevel@tonic-gate	dumpcs		\
5727c478bd9Sstevel@tonic-gate	ed		\
57318c2aff7Sartem	eject		\
5747c478bd9Sstevel@tonic-gate	env		\
5757c478bd9Sstevel@tonic-gate	eqn		\
5767c478bd9Sstevel@tonic-gate	expand		\
5777c478bd9Sstevel@tonic-gate	expr		\
578fcf3ce44SJohn Forte	fcinfo		\
5797c478bd9Sstevel@tonic-gate	fgrep		\
5807c478bd9Sstevel@tonic-gate	file		\
5817c478bd9Sstevel@tonic-gate	filesync	\
5827c478bd9Sstevel@tonic-gate	find		\
583da14cebeSEric Cheng	flowadm		\
5840dc2366fSVenugopal Iyer	flowstat	\
5857c478bd9Sstevel@tonic-gate	fm		\
5867c478bd9Sstevel@tonic-gate	fold		\
5877c478bd9Sstevel@tonic-gate	fs.d		\
5885a7763bfSjmcp	fwflash		\
5897c478bd9Sstevel@tonic-gate	geniconvtbl	\
5907c478bd9Sstevel@tonic-gate	genmsg		\
5917c478bd9Sstevel@tonic-gate	getconf		\
5927c478bd9Sstevel@tonic-gate	getent		\
5937c478bd9Sstevel@tonic-gate	gettext		\
5947c478bd9Sstevel@tonic-gate	gettxt		\
5957c478bd9Sstevel@tonic-gate	grep		\
5967c478bd9Sstevel@tonic-gate	grep_xpg4	\
5977c478bd9Sstevel@tonic-gate	grpck		\
5987c478bd9Sstevel@tonic-gate	gss		\
5997c478bd9Sstevel@tonic-gate	halt		\
6007c478bd9Sstevel@tonic-gate	head		\
6017c478bd9Sstevel@tonic-gate	hostname	\
60226947304SEvan Yan	hotplug		\
6037c478bd9Sstevel@tonic-gate	id		\
604c5c4113dSnw141292	idmap		\
6057c478bd9Sstevel@tonic-gate	isaexec		\
606fcf3ce44SJohn Forte	iscsiadm	\
607fcf3ce44SJohn Forte	iscsid		\
608fcf3ce44SJohn Forte	isns		\
609a6d42e7dSPeter Dunlap	itadm		\
610d8c870b0Sqz150045	kbd		\
6117c478bd9Sstevel@tonic-gate	krb5		\
612da2e3ebdSchin	ksh		\
6137c478bd9Sstevel@tonic-gate	last		\
6147c478bd9Sstevel@tonic-gate	ldap		\
6157c478bd9Sstevel@tonic-gate	ldapcachemgr	\
616c6402783Sakolb	lgrpinfo	\
6177c478bd9Sstevel@tonic-gate	locale		\
6187c478bd9Sstevel@tonic-gate	lofiadm		\
6197c478bd9Sstevel@tonic-gate	logadm		\
6207c478bd9Sstevel@tonic-gate	logger		\
6217c478bd9Sstevel@tonic-gate	logins		\
6227c478bd9Sstevel@tonic-gate	ls		\
623fcf3ce44SJohn Forte	luxadm		\
6247c478bd9Sstevel@tonic-gate	mailx		\
62510d63b7dSRichard Lowe	make		\
62695c635efSGarrett D'Amore	man		\
6277c478bd9Sstevel@tonic-gate	mesg		\
6287c478bd9Sstevel@tonic-gate	mkdir		\
6297c478bd9Sstevel@tonic-gate	mkpwdict	\
6307c478bd9Sstevel@tonic-gate	mktemp		\
6317c478bd9Sstevel@tonic-gate	more		\
632fcf3ce44SJohn Forte	mpathadm	\
6337c478bd9Sstevel@tonic-gate	msgfmt		\
6347c478bd9Sstevel@tonic-gate	mv		\
6352654012fSReza Sabdar	ndmpadm		\
6362654012fSReza Sabdar	ndmpstat	\
6377c478bd9Sstevel@tonic-gate	newgrp		\
6387c478bd9Sstevel@tonic-gate	newtask		\
6397c478bd9Sstevel@tonic-gate	nice		\
6407c478bd9Sstevel@tonic-gate	nohup		\
6417c478bd9Sstevel@tonic-gate	oawk		\
6427c478bd9Sstevel@tonic-gate	pack		\
6437c478bd9Sstevel@tonic-gate	passwd		\
6447c478bd9Sstevel@tonic-gate	passmgmt	\
6457c478bd9Sstevel@tonic-gate	pathchk		\
6467c478bd9Sstevel@tonic-gate	pfexec		\
6477c478bd9Sstevel@tonic-gate	pg		\
6487c478bd9Sstevel@tonic-gate	pgrep		\
6497c478bd9Sstevel@tonic-gate	picl            \
6507c478bd9Sstevel@tonic-gate	pools		\
6517c478bd9Sstevel@tonic-gate	power		\
6527c478bd9Sstevel@tonic-gate	pr		\
6537c478bd9Sstevel@tonic-gate	praudit		\
6547c478bd9Sstevel@tonic-gate	print		\
6557c478bd9Sstevel@tonic-gate	profiles	\
6567c478bd9Sstevel@tonic-gate	projadd		\
6577c478bd9Sstevel@tonic-gate	projects	\
6587c478bd9Sstevel@tonic-gate	prstat		\
6597c478bd9Sstevel@tonic-gate	prtdiag		\
6607c478bd9Sstevel@tonic-gate	ps		\
6617c478bd9Sstevel@tonic-gate	psrinfo		\
662c6402783Sakolb	ptools		\
6637c478bd9Sstevel@tonic-gate	pwconv		\
6647c478bd9Sstevel@tonic-gate	pwd		\
66514843421SMatthew Ahrens	pyzfs		\
6667c478bd9Sstevel@tonic-gate	raidctl		\
6677c478bd9Sstevel@tonic-gate	ramdiskadm	\
6687c478bd9Sstevel@tonic-gate	rcap		\
6697c478bd9Sstevel@tonic-gate	rcm_daemon	\
6707c478bd9Sstevel@tonic-gate	refer		\
6717c478bd9Sstevel@tonic-gate	regcmp		\
6727c478bd9Sstevel@tonic-gate	renice		\
6737c478bd9Sstevel@tonic-gate	roles		\
6747c478bd9Sstevel@tonic-gate	rm		\
6757c478bd9Sstevel@tonic-gate	rmdir		\
6767c478bd9Sstevel@tonic-gate	rmformat	\
67718c2aff7Sartem	rmmount		\
67818c2aff7Sartem	rmvolmgr	\
6799e86db79SHyon Kim	sasinfo		\
680fcf3ce44SJohn Forte	sbdadm		\
68103831d35Sstevel	scadm		\
6827c478bd9Sstevel@tonic-gate	script		\
683275c9da8Seschrock	scsi		\
6847c478bd9Sstevel@tonic-gate	sdiff		\
68574e20cfeSnh145002	sdpadm		\
6867c478bd9Sstevel@tonic-gate	sgs		\
6877c478bd9Sstevel@tonic-gate	sh		\
6887c2fbfb3SApril Chin	shcomp		\
68996a62adaSjoyce mcintosh	smbsrv		\
6907c478bd9Sstevel@tonic-gate	sort		\
6917c478bd9Sstevel@tonic-gate	split		\
692c3a558e7SSue Gleeson	srptadm		\
69313c7b6acSrsb	stat		\
694fcf3ce44SJohn Forte	stmfadm		\
6955a4c37c9Sqh201292	stmsboot	\
6967c478bd9Sstevel@tonic-gate	strings		\
6977c478bd9Sstevel@tonic-gate	su		\
6987c478bd9Sstevel@tonic-gate	svc		\
6995c51f124SMoriah Waterland	svr4pkg		\
7007c478bd9Sstevel@tonic-gate	swap		\
7017c478bd9Sstevel@tonic-gate	syseventadm	\
7027c478bd9Sstevel@tonic-gate	syseventd	\
7037c478bd9Sstevel@tonic-gate	tabs		\
7047c478bd9Sstevel@tonic-gate	tar		\
7057c478bd9Sstevel@tonic-gate	tbl		\
7067c478bd9Sstevel@tonic-gate	time		\
7077c478bd9Sstevel@tonic-gate	tnf		\
7087c478bd9Sstevel@tonic-gate	touch		\
7097c478bd9Sstevel@tonic-gate	tput		\
7107c478bd9Sstevel@tonic-gate	troff		\
711f875b4ebSrica	tsol		\
7127c478bd9Sstevel@tonic-gate	tty		\
7137c478bd9Sstevel@tonic-gate	ttymon		\
714d1419d5aSNobutomo Nakano	tzreload	\
7157c478bd9Sstevel@tonic-gate	ul		\
7167c478bd9Sstevel@tonic-gate	uname		\
7177c478bd9Sstevel@tonic-gate	units		\
7187c478bd9Sstevel@tonic-gate	unlink		\
7197c478bd9Sstevel@tonic-gate	unpack		\
72049c13cf4Sgww	userattr	\
7217c478bd9Sstevel@tonic-gate	valtools	\
7227c478bd9Sstevel@tonic-gate	vgrind		\
7237c478bd9Sstevel@tonic-gate	vi		\
72418c2aff7Sartem	volcheck	\
72518c2aff7Sartem	volrmmount	\
7261cb875aeSCathy Zhou	vrrpadm		\
72796a62adaSjoyce mcintosh	vscan		\
7287c478bd9Sstevel@tonic-gate	w		\
7297c478bd9Sstevel@tonic-gate	who		\
7307c478bd9Sstevel@tonic-gate	whodo		\
7317c478bd9Sstevel@tonic-gate	wracct		\
7327c478bd9Sstevel@tonic-gate	write		\
7337c478bd9Sstevel@tonic-gate	xargs		\
7347c478bd9Sstevel@tonic-gate	yppasswd	\
7357c478bd9Sstevel@tonic-gate	zdump		\
7362bb8e5e2SAndreas Jaekel	zevadm		\
737fa9e4066Sahrens	zfs		\
7387c478bd9Sstevel@tonic-gate	zic		\
7397c478bd9Sstevel@tonic-gate	zlogin		\
7407c478bd9Sstevel@tonic-gate	zoneadm		\
7417c478bd9Sstevel@tonic-gate	zoneadmd	\
7427c478bd9Sstevel@tonic-gate	zonecfg		\
743fa9e4066Sahrens	zonename	\
744efd4c9b6SSteve Lawrence	zpool		\
745efd4c9b6SSteve Lawrence	zonestat
7467c478bd9Sstevel@tonic-gate
7477c478bd9Sstevel@tonic-gatesparc_MSGSUBDIRS=	\
7487c478bd9Sstevel@tonic-gate	fruadm		\
74925cf1a30Sjl139090	prtdscp		\
7507c478bd9Sstevel@tonic-gate	prtfru		\
75182629e30SMike Christensen	virtinfo	\
752a83cadceSkm84432	vntsd
7537c478bd9Sstevel@tonic-gate
7542449e17fSsherrymi386_MSGSUBDIRS=	\
7552449e17fSsherrym	ucodeadm
7562449e17fSsherrym
7577c478bd9Sstevel@tonic-gate#
7587c478bd9Sstevel@tonic-gate# commands that use dcgettext for localized time, LC_TIME
7597c478bd9Sstevel@tonic-gate#
7607c478bd9Sstevel@tonic-gateDCSUBDIRS=		\
7617c478bd9Sstevel@tonic-gate	cal		\
7627c478bd9Sstevel@tonic-gate	cfgadm		\
7637c478bd9Sstevel@tonic-gate	diff		\
7647c478bd9Sstevel@tonic-gate	ls		\
7657c478bd9Sstevel@tonic-gate	pr		\
76616f94f58Ssayama	ps		\
7677c478bd9Sstevel@tonic-gate	tar		\
7687c478bd9Sstevel@tonic-gate	w		\
7697c478bd9Sstevel@tonic-gate	who		\
7707c478bd9Sstevel@tonic-gate	whodo		\
7717c478bd9Sstevel@tonic-gate	write
7727c478bd9Sstevel@tonic-gate
7737c478bd9Sstevel@tonic-gate#
774269f47deSThuy Fettig# commands that belong only to audit.
7757c478bd9Sstevel@tonic-gate#
776cf9691b9SgwwAUDITSUBDIRS=		\
7777c478bd9Sstevel@tonic-gate	amt		\
7787c478bd9Sstevel@tonic-gate	audit		\
7797c478bd9Sstevel@tonic-gate	audit_warn	\
7807c478bd9Sstevel@tonic-gate	auditconfig	\
7817c478bd9Sstevel@tonic-gate	auditd		\
782cf9691b9Sgww	auditrecord	\
7837c478bd9Sstevel@tonic-gate	auditreduce	\
784f8994074SJan Friedel	auditset	\
7857c478bd9Sstevel@tonic-gate	auditstat	\
786269f47deSThuy Fettig	praudit
7877c478bd9Sstevel@tonic-gate
7887c478bd9Sstevel@tonic-gate#
7897c478bd9Sstevel@tonic-gate# commands not owned by the systems group
7907c478bd9Sstevel@tonic-gate#
7917c478bd9Sstevel@tonic-gateBWOSDIRS=
7927c478bd9Sstevel@tonic-gate
793bd0f52d7Sjhaslam
7947c478bd9Sstevel@tonic-gateall :=		TARGET = all
7957c478bd9Sstevel@tonic-gateinstall :=	TARGET = install
7967c478bd9Sstevel@tonic-gateclean :=	TARGET = clean
7977c478bd9Sstevel@tonic-gateclobber :=	TARGET = clobber
7987c478bd9Sstevel@tonic-gatelint :=		TARGET = lint
7997c478bd9Sstevel@tonic-gate_msg :=		TARGET = _msg
8007c478bd9Sstevel@tonic-gate_dc :=		TARGET = _dc
8017c478bd9Sstevel@tonic-gate
8027c478bd9Sstevel@tonic-gate.KEEP_STATE:
8037c478bd9Sstevel@tonic-gate
8047c478bd9Sstevel@tonic-gateSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
8057c478bd9Sstevel@tonic-gate
806cf9691b9Sgww.PARALLEL:	$(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
8077c478bd9Sstevel@tonic-gate
808cf9691b9Sgwwall install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
809cf9691b9Sgww	$(AUDITSUBDIRS)
8107c478bd9Sstevel@tonic-gate
8113afe87ebSRoger A. Faulkner#
8123afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using
8133afe87ebSRoger A. Faulkner# the global repository that is in $(SRC)/cmd/svc/seed/global.db.
8143afe87ebSRoger A. Faulkner# For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
8153afe87ebSRoger A. Faulkner# we spawn off a sub-make to perform the non-parallel 'make check'
8163afe87ebSRoger A. Faulkner#
8173afe87ebSRoger A. Faulknercheck:
8183afe87ebSRoger A. Faulkner	$(MAKE) -f Makefile.check check
819bd0f52d7Sjhaslam
8207c478bd9Sstevel@tonic-gate#
8217c478bd9Sstevel@tonic-gate# The .WAIT directive works around an apparent bug in parallel make.
8227c478bd9Sstevel@tonic-gate# Evidently make was getting the target _msg vs. _dc confused under
8237c478bd9Sstevel@tonic-gate# some level of parallelization, causing some of the _dc objects
8247c478bd9Sstevel@tonic-gate# not to be built.
8257c478bd9Sstevel@tonic-gate#
8267c478bd9Sstevel@tonic-gate_msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
8277c478bd9Sstevel@tonic-gate
8287c478bd9Sstevel@tonic-gate_dc: $(DCSUBDIRS)
8297c478bd9Sstevel@tonic-gate
8309616efa0Sartem#
8319616efa0Sartem# Dependencies
8329616efa0Sartem#
8339616efa0Sartemfs.d: fstyp
8347c2fbfb3SApril Chinksh:	shcomp isaexec
835170832d3SAlbert Leemdb:	terminfo
83671c90032SGowtham Thommandraprint:	lp
837196c7f05SJoshua M. Clulowfmt:	mailx
8389616efa0Sartem
839cf9691b9Sgww$(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
8407c478bd9Sstevel@tonic-gate	@if [ -f $@/Makefile  ]; then \
8417c478bd9Sstevel@tonic-gate		cd $@; pwd; $(MAKE) $(TARGET); \
8427c478bd9Sstevel@tonic-gate	else \
8437c478bd9Sstevel@tonic-gate		true; \
8447c478bd9Sstevel@tonic-gate	fi
8457c478bd9Sstevel@tonic-gate
8467c478bd9Sstevel@tonic-gateFRC:
847