xref: /titanic_41/usr/src/cmd/Makefile (revision 9f390783e179fe384a3fc7c8b8bb6a9b7c29eb50)
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
22c3a558e7SSue Gleeson# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
2386ec2341SAlexander Eremin# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
24de5d74c2SJerry Jelinek# Copyright 2016 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.
2732a712daSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gateinclude ../Makefile.master
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate#
3232a712daSGarrett D'Amore#	Note that the commands 'lp', and 'perl' are first in
337c478bd9Sstevel@tonic-gate#	the list, violating alphabetical order.  This is because they are very
347c478bd9Sstevel@tonic-gate#	long-running and should be given the most wall-clock time for a
357c478bd9Sstevel@tonic-gate#	parallel build.
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gate#	Commands in the FIRST_SUBDIRS list are built before starting the build
387c478bd9Sstevel@tonic-gate#	of other commands.  Currently this includes only 'isaexec' and
397c478bd9Sstevel@tonic-gate#	'platexec'.  This is necessary because $(ROOT)/usr/lib/isaexec or
407c478bd9Sstevel@tonic-gate#	$(ROOT)/usr/lib/platexec must exist when some other commands are built
417c478bd9Sstevel@tonic-gate#	because their 'make install' creates a hard link to one of them.
427c478bd9Sstevel@tonic-gate#
437c478bd9Sstevel@tonic-gate#	Commands are listed one per line so that TeamWare can auto-merge most
447c478bd9Sstevel@tonic-gate#	changes.
457c478bd9Sstevel@tonic-gate#
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gateFIRST_SUBDIRS=		\
487c478bd9Sstevel@tonic-gate	isaexec		\
497c478bd9Sstevel@tonic-gate	platexec
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gateCOMMON_SUBDIRS=		\
52269f47deSThuy Fettig	allocate	\
53fa9e4066Sahrens	availdevs	\
547c478bd9Sstevel@tonic-gate	lp		\
557c478bd9Sstevel@tonic-gate	perl		\
567c478bd9Sstevel@tonic-gate	Adm		\
577c478bd9Sstevel@tonic-gate	abi		\
587c478bd9Sstevel@tonic-gate	adbgen		\
597c478bd9Sstevel@tonic-gate	acct		\
607c478bd9Sstevel@tonic-gate	acctadm		\
61a8c92b49SArne Jansen	arcwatch	\
627c478bd9Sstevel@tonic-gate	arch		\
637c478bd9Sstevel@tonic-gate	asa		\
64da2e3ebdSchin	ast		\
657c478bd9Sstevel@tonic-gate	audio		\
667c478bd9Sstevel@tonic-gate	auths		\
677c478bd9Sstevel@tonic-gate	autopush	\
68fcf3ce44SJohn Forte	avs		\
697c478bd9Sstevel@tonic-gate	awk		\
707c478bd9Sstevel@tonic-gate	awk_xpg4	\
717c478bd9Sstevel@tonic-gate	backup		\
727c478bd9Sstevel@tonic-gate	banner		\
737c478bd9Sstevel@tonic-gate	bart		\
747c478bd9Sstevel@tonic-gate	basename	\
757c478bd9Sstevel@tonic-gate	bc		\
767c478bd9Sstevel@tonic-gate	bdiff		\
77f169c0eaSGlenn Lagasse	beadm		\
787c478bd9Sstevel@tonic-gate	bnu		\
797c478bd9Sstevel@tonic-gate	boot		\
807c478bd9Sstevel@tonic-gate	busstat		\
817c478bd9Sstevel@tonic-gate	cal		\
827c478bd9Sstevel@tonic-gate	calendar	\
837c478bd9Sstevel@tonic-gate	captoinfo	\
847c478bd9Sstevel@tonic-gate	cat		\
857c478bd9Sstevel@tonic-gate	cdrw		\
867c478bd9Sstevel@tonic-gate	cfgadm		\
877c478bd9Sstevel@tonic-gate	checkeq		\
887c478bd9Sstevel@tonic-gate	checknr		\
897c478bd9Sstevel@tonic-gate	chgrp		\
907c478bd9Sstevel@tonic-gate	chmod		\
917c478bd9Sstevel@tonic-gate	chown		\
927c478bd9Sstevel@tonic-gate	chroot		\
937c478bd9Sstevel@tonic-gate	clear		\
947c478bd9Sstevel@tonic-gate	clinfo		\
957c478bd9Sstevel@tonic-gate	cmd-crypto	\
967c478bd9Sstevel@tonic-gate	cmd-inet	\
977c478bd9Sstevel@tonic-gate	col		\
987c478bd9Sstevel@tonic-gate	compress	\
997c478bd9Sstevel@tonic-gate	consadm		\
1007c478bd9Sstevel@tonic-gate	coreadm		\
1017c478bd9Sstevel@tonic-gate	cpio		\
1027c478bd9Sstevel@tonic-gate	cpc		\
1037c478bd9Sstevel@tonic-gate	cron		\
1047c478bd9Sstevel@tonic-gate	crypt		\
1057c478bd9Sstevel@tonic-gate	csh		\
1067c478bd9Sstevel@tonic-gate	csplit		\
1077c478bd9Sstevel@tonic-gate	ctrun		\
1087c478bd9Sstevel@tonic-gate	ctstat		\
1097c478bd9Sstevel@tonic-gate	ctwatch		\
1107c478bd9Sstevel@tonic-gate	datadm		\
1117c478bd9Sstevel@tonic-gate	date		\
1127c478bd9Sstevel@tonic-gate	dc		\
1137c478bd9Sstevel@tonic-gate	dd		\
1147c478bd9Sstevel@tonic-gate	deroff		\
1157c478bd9Sstevel@tonic-gate	devfsadm	\
1167c478bd9Sstevel@tonic-gate	syseventd	\
1177c478bd9Sstevel@tonic-gate	devctl		\
1187c478bd9Sstevel@tonic-gate	devinfo		\
1197c478bd9Sstevel@tonic-gate	devmgmt		\
120843e1988Sjohnlev	devprop		\
1217c478bd9Sstevel@tonic-gate	dfs.cmds	\
1227c478bd9Sstevel@tonic-gate	diff		\
1237c478bd9Sstevel@tonic-gate	diff3		\
1247c478bd9Sstevel@tonic-gate	diffmk		\
1257c478bd9Sstevel@tonic-gate	dircmp		\
1267c478bd9Sstevel@tonic-gate	dirname		\
127dc0093f4Seschrock	dis		\
1287c478bd9Sstevel@tonic-gate	diskmgtd	\
1297c478bd9Sstevel@tonic-gate	dispadmin	\
1307c478bd9Sstevel@tonic-gate	dladm		\
1310dc2366fSVenugopal Iyer	dlstat		\
1327c478bd9Sstevel@tonic-gate	dmesg		\
133b76c1459SBill Taylor	dodatadm	\
1347c478bd9Sstevel@tonic-gate	dtrace		\
1357c478bd9Sstevel@tonic-gate	du		\
1367c478bd9Sstevel@tonic-gate	dumpadm		\
1377c478bd9Sstevel@tonic-gate	dumpcs		\
1387c478bd9Sstevel@tonic-gate	echo		\
1397c478bd9Sstevel@tonic-gate	ed		\
1407c478bd9Sstevel@tonic-gate	eeprom		\
1417c478bd9Sstevel@tonic-gate	egrep		\
14218c2aff7Sartem	eject		\
143b1dd958fScth	emul64ioctl	\
1447c478bd9Sstevel@tonic-gate	enhance		\
1457c478bd9Sstevel@tonic-gate	env		\
1467c478bd9Sstevel@tonic-gate	eqn		\
1477c478bd9Sstevel@tonic-gate	expand		\
1487c478bd9Sstevel@tonic-gate	expr		\
1497c478bd9Sstevel@tonic-gate	exstr		\
1507c478bd9Sstevel@tonic-gate	factor		\
1517c478bd9Sstevel@tonic-gate	false		\
152fcf3ce44SJohn Forte	fcinfo		\
153e6eb57e7SKevin Yu	fcoesvc		\
1547c478bd9Sstevel@tonic-gate	fdetach		\
1557c478bd9Sstevel@tonic-gate	fdformat	\
1567c478bd9Sstevel@tonic-gate	fdisk		\
1577c478bd9Sstevel@tonic-gate	filesync	\
1587c478bd9Sstevel@tonic-gate	fgrep		\
1597c478bd9Sstevel@tonic-gate	file		\
1607c478bd9Sstevel@tonic-gate	find		\
161da14cebeSEric Cheng	flowadm		\
1620dc2366fSVenugopal Iyer	flowstat	\
1637c478bd9Sstevel@tonic-gate	fm		\
1647c478bd9Sstevel@tonic-gate	fmt		\
1657c478bd9Sstevel@tonic-gate	fmthard		\
1667c478bd9Sstevel@tonic-gate	fmtmsg		\
1677c478bd9Sstevel@tonic-gate	fold		\
1687c478bd9Sstevel@tonic-gate	format		\
1690e42dee6Sartem	fs.d		\
1709616efa0Sartem	fstyp		\
1717c478bd9Sstevel@tonic-gate	fuser		\
1725a7763bfSjmcp	fwflash		\
1737c478bd9Sstevel@tonic-gate	gcore		\
1747c478bd9Sstevel@tonic-gate	gencat		\
1757c478bd9Sstevel@tonic-gate	geniconvtbl	\
1767c478bd9Sstevel@tonic-gate	genmsg		\
1777c478bd9Sstevel@tonic-gate	getconf		\
1787c478bd9Sstevel@tonic-gate	getdevpolicy	\
1797c478bd9Sstevel@tonic-gate	getent		\
1807c478bd9Sstevel@tonic-gate	getfacl		\
1817c478bd9Sstevel@tonic-gate	getmajor	\
1827c478bd9Sstevel@tonic-gate	getopt		\
1837c478bd9Sstevel@tonic-gate	gettext		\
1847c478bd9Sstevel@tonic-gate	gettxt		\
1857c478bd9Sstevel@tonic-gate	grep		\
1867c478bd9Sstevel@tonic-gate	grep_xpg4	\
1877c478bd9Sstevel@tonic-gate	groups		\
1887c478bd9Sstevel@tonic-gate	grpck		\
1897c478bd9Sstevel@tonic-gate	gss		\
19018c2aff7Sartem	hal		\
1917c478bd9Sstevel@tonic-gate	halt		\
1927c478bd9Sstevel@tonic-gate	head		\
1937c478bd9Sstevel@tonic-gate	hostid		\
1947c478bd9Sstevel@tonic-gate	hostname	\
19526947304SEvan Yan	hotplug		\
19626947304SEvan Yan	hotplugd	\
1971cfa752fSRamaswamy Tummala	ibd_upgrade	\
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		\
208bfb211e0SRobert Mustacchi	ipdadm		\
2097c478bd9Sstevel@tonic-gate	ipf		\
2107c478bd9Sstevel@tonic-gate	isainfo		\
2117c478bd9Sstevel@tonic-gate	isalist		\
2124f10d6deSJames C. McPherson	itutools	\
213fcf3ce44SJohn Forte	iscsiadm	\
214fcf3ce44SJohn Forte	iscsid		\
215a6d42e7dSPeter Dunlap	iscsitsvc	\
216fcf3ce44SJohn Forte	isns		\
217a6d42e7dSPeter Dunlap	itadm		\
2187c478bd9Sstevel@tonic-gate	kbd		\
2197c478bd9Sstevel@tonic-gate	keyserv		\
2207c478bd9Sstevel@tonic-gate	killall		\
2217c478bd9Sstevel@tonic-gate	krb5		\
222da2e3ebdSchin	ksh		\
2237aa76ffcSBryan Cantrill	kvmstat		\
2247c478bd9Sstevel@tonic-gate	last		\
2257c478bd9Sstevel@tonic-gate	lastcomm	\
22615db2897SKrishnendu Sadhukhan - Sun Microsystems	latencytop	\
2277c478bd9Sstevel@tonic-gate	ldap		\
2287c478bd9Sstevel@tonic-gate	ldapcachemgr	\
229c6402783Sakolb	lgrpinfo	\
2307c478bd9Sstevel@tonic-gate	line		\
2317c478bd9Sstevel@tonic-gate	link		\
232d62bc4baSyz147064	dlmgmtd		\
2337c478bd9Sstevel@tonic-gate	listen		\
2347c478bd9Sstevel@tonic-gate	loadkeys	\
2357c478bd9Sstevel@tonic-gate	locale		\
2366b5e5868SGarrett D'Amore	localedef	\
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	look		\
2457c478bd9Sstevel@tonic-gate	ls		\
246fcf3ce44SJohn Forte	luxadm		\
2477c478bd9Sstevel@tonic-gate	lvm		\
2487c478bd9Sstevel@tonic-gate	mach		\
2497c478bd9Sstevel@tonic-gate	mail		\
250fedaccf3SAlexander Pyhalov	mailwrapper	\
2517c478bd9Sstevel@tonic-gate	mailx		\
2523625efb1SRichard Lowe	make		\
2537c478bd9Sstevel@tonic-gate	makekey		\
25432a712daSGarrett D'Amore	man		\
25532a712daSGarrett D'Amore	mandoc		\
2567c478bd9Sstevel@tonic-gate	mdb		\
2577c478bd9Sstevel@tonic-gate	mesg		\
2587c478bd9Sstevel@tonic-gate	mkdir		\
2597c478bd9Sstevel@tonic-gate	mkfifo		\
2607c478bd9Sstevel@tonic-gate	mkfile		\
2617c478bd9Sstevel@tonic-gate	mkmsgs		\
2627c478bd9Sstevel@tonic-gate	mknod		\
2637c478bd9Sstevel@tonic-gate	mkpwdict	\
2647c478bd9Sstevel@tonic-gate	mktemp		\
2657c478bd9Sstevel@tonic-gate	modload		\
2667c478bd9Sstevel@tonic-gate	more		\
267fcf3ce44SJohn Forte	mpathadm	\
2687c478bd9Sstevel@tonic-gate	msgfmt		\
2697c478bd9Sstevel@tonic-gate	msgid		\
2707c478bd9Sstevel@tonic-gate	mt		\
2717c478bd9Sstevel@tonic-gate	mv		\
2727c478bd9Sstevel@tonic-gate	mvdir		\
2732654012fSReza Sabdar	ndmpadm		\
2742654012fSReza Sabdar	ndmpd		\
2752654012fSReza Sabdar	ndmpstat	\
2767c478bd9Sstevel@tonic-gate	netadm		\
2777c478bd9Sstevel@tonic-gate	netfiles	\
2787c478bd9Sstevel@tonic-gate	newform		\
2797c478bd9Sstevel@tonic-gate	newgrp		\
2807c478bd9Sstevel@tonic-gate	news		\
2817c478bd9Sstevel@tonic-gate	newtask		\
2827c478bd9Sstevel@tonic-gate	nice		\
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		\
29001335b0dSGarrett D'Amore	od		\
2917c478bd9Sstevel@tonic-gate	pack		\
2927c478bd9Sstevel@tonic-gate	pagesize	\
2937c478bd9Sstevel@tonic-gate	passmgmt	\
2947c478bd9Sstevel@tonic-gate	passwd		\
2957c478bd9Sstevel@tonic-gate	pathchk		\
2967c478bd9Sstevel@tonic-gate	pbind		\
29770025d76Sjohnny	pcidr		\
298d5ace945SErwin T Tsaur	pcitool		\
2997c478bd9Sstevel@tonic-gate	pfexec		\
300134a1f4eSCasper H.S. Dik	pfexecd		\
301d3c97224SAlexander Kolbasov	pginfo		\
302d3c97224SAlexander Kolbasov	pgstat		\
3037c478bd9Sstevel@tonic-gate	pgrep		\
3047c478bd9Sstevel@tonic-gate	picl		\
3057c478bd9Sstevel@tonic-gate	plimit		\
30618c2aff7Sartem	policykit	\
3077c478bd9Sstevel@tonic-gate	pools		\
3087c478bd9Sstevel@tonic-gate	power		\
309bcde4861SRafael Vanoni Polanczyk	powertop	\
3107c478bd9Sstevel@tonic-gate	ppgsz		\
3117c478bd9Sstevel@tonic-gate	pg		\
3127c478bd9Sstevel@tonic-gate	plockstat	\
3137c478bd9Sstevel@tonic-gate	pr		\
3147c478bd9Sstevel@tonic-gate	prctl		\
3157c478bd9Sstevel@tonic-gate	print		\
316f967d548SGarrett D'Amore	printf		\
3177c478bd9Sstevel@tonic-gate	priocntl	\
3187c478bd9Sstevel@tonic-gate	profiles	\
3197c478bd9Sstevel@tonic-gate	projadd		\
3207c478bd9Sstevel@tonic-gate	projects	\
3217c478bd9Sstevel@tonic-gate	prstat		\
3227c478bd9Sstevel@tonic-gate	prtconf		\
3237c478bd9Sstevel@tonic-gate	prtdiag		\
3247c478bd9Sstevel@tonic-gate	prtvtoc		\
3257c478bd9Sstevel@tonic-gate	ps		\
3267c478bd9Sstevel@tonic-gate	psradm		\
3277c478bd9Sstevel@tonic-gate	psrinfo		\
3287c478bd9Sstevel@tonic-gate	psrset		\
3297c478bd9Sstevel@tonic-gate	ptools		\
3307c478bd9Sstevel@tonic-gate	pwck		\
3317c478bd9Sstevel@tonic-gate	pwconv		\
3327c478bd9Sstevel@tonic-gate	pwd		\
33314843421SMatthew Ahrens	pyzfs		\
3347c478bd9Sstevel@tonic-gate	raidctl		\
3357c478bd9Sstevel@tonic-gate	ramdiskadm	\
3367c478bd9Sstevel@tonic-gate	rcap		\
3377c478bd9Sstevel@tonic-gate	rcm_daemon	\
3387c478bd9Sstevel@tonic-gate	rctladm		\
3397c478bd9Sstevel@tonic-gate	refer		\
3407c478bd9Sstevel@tonic-gate	regcmp		\
3417c478bd9Sstevel@tonic-gate	renice		\
3427c478bd9Sstevel@tonic-gate	rexd		\
3437c478bd9Sstevel@tonic-gate	rm		\
3447c478bd9Sstevel@tonic-gate	rmdir		\
3457c478bd9Sstevel@tonic-gate	rmformat	\
34618c2aff7Sartem	rmmount		\
3477c478bd9Sstevel@tonic-gate	rmt		\
34818c2aff7Sartem	rmvolmgr	\
3497c478bd9Sstevel@tonic-gate	roles		\
3507c478bd9Sstevel@tonic-gate	rpcbind		\
3517c478bd9Sstevel@tonic-gate	rpcgen		\
3527c478bd9Sstevel@tonic-gate	rpcinfo		\
3537c478bd9Sstevel@tonic-gate	rpcsvc		\
3547c478bd9Sstevel@tonic-gate	runat		\
3557c478bd9Sstevel@tonic-gate	sa		\
3567c478bd9Sstevel@tonic-gate	saf		\
3579e86db79SHyon Kim	sasinfo		\
3587c478bd9Sstevel@tonic-gate	savecore	\
359fcf3ce44SJohn Forte	sbdadm		\
3607c478bd9Sstevel@tonic-gate	script		\
361275c9da8Seschrock	scsi		\
3627c478bd9Sstevel@tonic-gate	sdiff		\
36374e20cfeSnh145002	sdpadm		\
36484441f85SGarrett D'Amore	sed		\
3657c478bd9Sstevel@tonic-gate	sendmail	\
3667c478bd9Sstevel@tonic-gate	setfacl		\
3677c478bd9Sstevel@tonic-gate	setmnt		\
3687c478bd9Sstevel@tonic-gate	setpgrp		\
3697c478bd9Sstevel@tonic-gate	setuname	\
3707c478bd9Sstevel@tonic-gate	sgs		\
3717c478bd9Sstevel@tonic-gate	sh		\
3727c2fbfb3SApril Chin	shcomp		\
37384ab085aSmws	smbios		\
374da6c28aaSamw	smbsrv		\
3757c478bd9Sstevel@tonic-gate	smserverd	\
3767c478bd9Sstevel@tonic-gate	soelim		\
3777c478bd9Sstevel@tonic-gate	sort		\
3787c478bd9Sstevel@tonic-gate	spell		\
3797c478bd9Sstevel@tonic-gate	split		\
380c5c4113dSnw141292	sqlite		\
3817c478bd9Sstevel@tonic-gate	srchtxt		\
382c3a558e7SSue Gleeson	srptadm		\
3831bdd6c0eSSue Gleeson	srptsvc		\
3847c478bd9Sstevel@tonic-gate	ssh		\
3857c478bd9Sstevel@tonic-gate	stat		\
386fcf3ce44SJohn Forte	stmfadm		\
38745039663SJohn Forte	stmfproxy	\
388fcf3ce44SJohn Forte	stmfsvc		\
3895a4c37c9Sqh201292	stmsboot	\
3907c478bd9Sstevel@tonic-gate	streams		\
3917c478bd9Sstevel@tonic-gate	strings		\
3927c478bd9Sstevel@tonic-gate	su		\
3937c478bd9Sstevel@tonic-gate	sulogin		\
3947c478bd9Sstevel@tonic-gate	sunpc		\
3957c478bd9Sstevel@tonic-gate	svc		\
3965c51f124SMoriah Waterland	svr4pkg		\
3977c478bd9Sstevel@tonic-gate	swap		\
3987c478bd9Sstevel@tonic-gate	sync		\
3997c478bd9Sstevel@tonic-gate	sysdef		\
4007c478bd9Sstevel@tonic-gate	syseventadm	\
4017c478bd9Sstevel@tonic-gate	syslogd		\
4027c478bd9Sstevel@tonic-gate	tabs		\
403209e49b2SChris Love	tail		\
4047c478bd9Sstevel@tonic-gate	tar		\
4057c478bd9Sstevel@tonic-gate	tbl		\
4067c478bd9Sstevel@tonic-gate	tcopy		\
4077c478bd9Sstevel@tonic-gate	tcpd		\
4087c478bd9Sstevel@tonic-gate	terminfo	\
4097c478bd9Sstevel@tonic-gate	th_tools	\
4107c478bd9Sstevel@tonic-gate	tic		\
4117c478bd9Sstevel@tonic-gate	time		\
4127c478bd9Sstevel@tonic-gate	tip		\
4137c478bd9Sstevel@tonic-gate	tnf		\
4147c478bd9Sstevel@tonic-gate	touch		\
4157c478bd9Sstevel@tonic-gate	tput		\
416163bd69bSGarrett D'Amore	tr		\
4177c478bd9Sstevel@tonic-gate	trapstat	\
4187c478bd9Sstevel@tonic-gate	troff		\
4197c478bd9Sstevel@tonic-gate	true		\
4207c478bd9Sstevel@tonic-gate	truss		\
421f875b4ebSrica	tsol		\
4227c478bd9Sstevel@tonic-gate	tty		\
4237c478bd9Sstevel@tonic-gate	ttymon		\
424d1419d5aSNobutomo Nakano	tzreload	\
4257c478bd9Sstevel@tonic-gate	uadmin		\
4267c478bd9Sstevel@tonic-gate	ul		\
4277c478bd9Sstevel@tonic-gate	uname		\
4287c478bd9Sstevel@tonic-gate	units		\
4297c478bd9Sstevel@tonic-gate	unlink		\
4307c478bd9Sstevel@tonic-gate	unpack		\
43149c13cf4Sgww	userattr	\
4327c478bd9Sstevel@tonic-gate	users		\
4337c478bd9Sstevel@tonic-gate	utmp_update	\
4347c478bd9Sstevel@tonic-gate	utmpd		\
4357c478bd9Sstevel@tonic-gate	valtools	\
4367c478bd9Sstevel@tonic-gate	vgrind		\
4377c478bd9Sstevel@tonic-gate	vi		\
43818c2aff7Sartem	volcheck	\
43918c2aff7Sartem	volrmmount	\
4401cb875aeSCathy Zhou	vrrpadm		\
441911106dfSjm199354	vscan		\
442aecfc01dSrui zang - Sun Microsystems - Beijing China	vt		\
4437c478bd9Sstevel@tonic-gate	w		\
4447c478bd9Sstevel@tonic-gate	wall		\
4457c478bd9Sstevel@tonic-gate	which		\
4467c478bd9Sstevel@tonic-gate	who		\
4477c478bd9Sstevel@tonic-gate	whodo		\
4487c478bd9Sstevel@tonic-gate	wracct		\
4497c478bd9Sstevel@tonic-gate	write		\
4507c478bd9Sstevel@tonic-gate	xargs		\
4517c478bd9Sstevel@tonic-gate	xstr		\
4527c478bd9Sstevel@tonic-gate	yes		\
4537c478bd9Sstevel@tonic-gate	ypcmd		\
4547c478bd9Sstevel@tonic-gate	yppasswd	\
455fa9e4066Sahrens	zdb		\
4567c478bd9Sstevel@tonic-gate	zdump		\
4578f7d1b1aSAndreas Jaekel	zevadm		\
458fa9e4066Sahrens	zfs		\
459ad135b5dSChristopher Siden	zhack		\
4607c478bd9Sstevel@tonic-gate	zic		\
461ea8dc4b6Seschrock	zinject		\
4627c478bd9Sstevel@tonic-gate	zlogin		\
4637c478bd9Sstevel@tonic-gate	zoneadm		\
4647c478bd9Sstevel@tonic-gate	zoneadmd	\
4657c478bd9Sstevel@tonic-gate	zonecfg		\
466fa9e4066Sahrens	zonename	\
467fa9e4066Sahrens	zpool		\
468e802abbdSTim Haley	zlook		\
469efd4c9b6SSteve Lawrence	zonestat	\
470495db6fbSLori Alt	zstreamdump	\
471fa9e4066Sahrens	ztest
4727c478bd9Sstevel@tonic-gate
4737c478bd9Sstevel@tonic-gatei386_SUBDIRS=		\
474de5d74c2SJerry Jelinek	acpi		\
475a3114836SGerry Liu	acpihpd		\
4767c478bd9Sstevel@tonic-gate	addbadsec	\
4777c478bd9Sstevel@tonic-gate	biosdev		\
4787c478bd9Sstevel@tonic-gate	diskscan	\
479617e2443SMark Logan	lms		\
480*a69427bbSHans Rosenfeld	nvmeadm		\
4812449e17fSsherrym	rtc		\
48299ba4d70SRussell Blaine	ucodeadm	\
48399ba4d70SRussell Blaine	xvm
4847c478bd9Sstevel@tonic-gate
4857c478bd9Sstevel@tonic-gatesparc_SUBDIRS=		\
4867c478bd9Sstevel@tonic-gate	cvcd		\
4877c478bd9Sstevel@tonic-gate	dcs		\
4880f509175SSree Vemuri	device_remap	\
4891d4b38e0Srsmaeda	drd		\
4907c478bd9Sstevel@tonic-gate	fruadm		\
49149bfb42bSAlexandre Chartre	ldmad		\
492a4ac8bb3Sdnielsen	oplhpd		\
49325cf1a30Sjl139090	prtdscp		\
4947c478bd9Sstevel@tonic-gate	prtfru		\
49503831d35Sstevel	scadm		\
4967c478bd9Sstevel@tonic-gate	sckmd		\
4977c478bd9Sstevel@tonic-gate	sf880drd	\
49882629e30SMike Christensen	virtinfo	\
499a83cadceSkm84432	vntsd
5007c478bd9Sstevel@tonic-gate
5017c478bd9Sstevel@tonic-gate#
50232a712daSGarrett D'Amore# Commands that are messaged.  Note that 'lp' comes first
50332a712daSGarrett D'Amore# (see previous comment about 'lp'.)
5047c478bd9Sstevel@tonic-gate#
5057c478bd9Sstevel@tonic-gateMSGSUBDIRS=		\
5067c478bd9Sstevel@tonic-gate	lp		\
5077c478bd9Sstevel@tonic-gate	abi		\
5087c478bd9Sstevel@tonic-gate	acctadm		\
5097c478bd9Sstevel@tonic-gate	allocate	\
5107c478bd9Sstevel@tonic-gate	asa		\
5117c478bd9Sstevel@tonic-gate	audio		\
5127c478bd9Sstevel@tonic-gate	audit		\
513f8994074SJan Friedel	auditconfig	\
5147c478bd9Sstevel@tonic-gate	auditd		\
515cf9691b9Sgww	auditrecord	\
516f8994074SJan Friedel	auditset	\
5177c478bd9Sstevel@tonic-gate	auths		\
5187c478bd9Sstevel@tonic-gate	autopush	\
519fcf3ce44SJohn Forte	avs		\
5207c478bd9Sstevel@tonic-gate	awk		\
5217c478bd9Sstevel@tonic-gate	awk_xpg4	\
5227c478bd9Sstevel@tonic-gate	backup		\
5237c478bd9Sstevel@tonic-gate	banner		\
5247c478bd9Sstevel@tonic-gate	bart		\
5257c478bd9Sstevel@tonic-gate	basename	\
526f169c0eaSGlenn Lagasse	beadm		\
5277c478bd9Sstevel@tonic-gate	bnu		\
5287c478bd9Sstevel@tonic-gate	busstat		\
5297c478bd9Sstevel@tonic-gate	cal		\
5307c478bd9Sstevel@tonic-gate	cat		\
5317c478bd9Sstevel@tonic-gate	cdrw		\
5327c478bd9Sstevel@tonic-gate	cfgadm		\
5337c478bd9Sstevel@tonic-gate	checkeq		\
5347c478bd9Sstevel@tonic-gate	checknr		\
5357c478bd9Sstevel@tonic-gate	chgrp		\
5367c478bd9Sstevel@tonic-gate	chmod		\
5377c478bd9Sstevel@tonic-gate	chown		\
5387c478bd9Sstevel@tonic-gate	cmd-crypto	\
5397c478bd9Sstevel@tonic-gate	cmd-inet	\
5407c478bd9Sstevel@tonic-gate	col		\
5417c478bd9Sstevel@tonic-gate	compress	\
5427c478bd9Sstevel@tonic-gate	consadm		\
5437c478bd9Sstevel@tonic-gate	coreadm		\
5447c478bd9Sstevel@tonic-gate	cpio		\
5457c478bd9Sstevel@tonic-gate	cpc		\
5467c478bd9Sstevel@tonic-gate	cron		\
5477c478bd9Sstevel@tonic-gate	csh		\
5487c478bd9Sstevel@tonic-gate	csplit		\
5497c478bd9Sstevel@tonic-gate	ctrun		\
5507c478bd9Sstevel@tonic-gate	ctstat		\
5517c478bd9Sstevel@tonic-gate	ctwatch		\
5527c478bd9Sstevel@tonic-gate	datadm		\
5537c478bd9Sstevel@tonic-gate	date		\
5547c478bd9Sstevel@tonic-gate	dc		\
5557c478bd9Sstevel@tonic-gate	dcs		\
5567c478bd9Sstevel@tonic-gate	dd		\
5577c478bd9Sstevel@tonic-gate	deroff		\
5587c478bd9Sstevel@tonic-gate	devfsadm	\
5596185db85Sdougm	dfs.cmds	\
5607c478bd9Sstevel@tonic-gate	diff		\
5617c478bd9Sstevel@tonic-gate	diffmk		\
5627c478bd9Sstevel@tonic-gate	dladm		\
5630dc2366fSVenugopal Iyer	dlstat		\
5647c478bd9Sstevel@tonic-gate	du		\
5657c478bd9Sstevel@tonic-gate	dumpcs		\
5667c478bd9Sstevel@tonic-gate	ed		\
56718c2aff7Sartem	eject		\
5687c478bd9Sstevel@tonic-gate	env		\
5697c478bd9Sstevel@tonic-gate	eqn		\
5707c478bd9Sstevel@tonic-gate	expand		\
5717c478bd9Sstevel@tonic-gate	expr		\
572fcf3ce44SJohn Forte	fcinfo		\
5737c478bd9Sstevel@tonic-gate	fgrep		\
5747c478bd9Sstevel@tonic-gate	file		\
5757c478bd9Sstevel@tonic-gate	filesync	\
5767c478bd9Sstevel@tonic-gate	find		\
577da14cebeSEric Cheng	flowadm		\
5780dc2366fSVenugopal Iyer	flowstat	\
5797c478bd9Sstevel@tonic-gate	fm		\
5807c478bd9Sstevel@tonic-gate	fold		\
5817c478bd9Sstevel@tonic-gate	fs.d		\
5825a7763bfSjmcp	fwflash		\
5837c478bd9Sstevel@tonic-gate	geniconvtbl	\
5847c478bd9Sstevel@tonic-gate	genmsg		\
5857c478bd9Sstevel@tonic-gate	getconf		\
5867c478bd9Sstevel@tonic-gate	getent		\
5877c478bd9Sstevel@tonic-gate	gettext		\
5887c478bd9Sstevel@tonic-gate	gettxt		\
5897c478bd9Sstevel@tonic-gate	grep		\
5907c478bd9Sstevel@tonic-gate	grep_xpg4	\
5917c478bd9Sstevel@tonic-gate	grpck		\
5927c478bd9Sstevel@tonic-gate	gss		\
5937c478bd9Sstevel@tonic-gate	halt		\
5947c478bd9Sstevel@tonic-gate	head		\
5957c478bd9Sstevel@tonic-gate	hostname	\
59626947304SEvan Yan	hotplug		\
5977c478bd9Sstevel@tonic-gate	id		\
598c5c4113dSnw141292	idmap		\
5997c478bd9Sstevel@tonic-gate	isaexec		\
600fcf3ce44SJohn Forte	iscsiadm	\
601fcf3ce44SJohn Forte	iscsid		\
602fcf3ce44SJohn Forte	isns		\
603a6d42e7dSPeter Dunlap	itadm		\
604d8c870b0Sqz150045	kbd		\
6057c478bd9Sstevel@tonic-gate	krb5		\
606da2e3ebdSchin	ksh		\
6077c478bd9Sstevel@tonic-gate	last		\
6087c478bd9Sstevel@tonic-gate	ldap		\
6097c478bd9Sstevel@tonic-gate	ldapcachemgr	\
610c6402783Sakolb	lgrpinfo	\
6117c478bd9Sstevel@tonic-gate	locale		\
6127c478bd9Sstevel@tonic-gate	lofiadm		\
6137c478bd9Sstevel@tonic-gate	logadm		\
6147c478bd9Sstevel@tonic-gate	logger		\
6157c478bd9Sstevel@tonic-gate	logins		\
6167c478bd9Sstevel@tonic-gate	ls		\
617fcf3ce44SJohn Forte	luxadm		\
6187c478bd9Sstevel@tonic-gate	lvm		\
6197c478bd9Sstevel@tonic-gate	mailx		\
6203625efb1SRichard Lowe	make		\
62132a712daSGarrett D'Amore	man		\
6227c478bd9Sstevel@tonic-gate	mesg		\
6237c478bd9Sstevel@tonic-gate	mkdir		\
6247c478bd9Sstevel@tonic-gate	mkpwdict	\
6257c478bd9Sstevel@tonic-gate	mktemp		\
6267c478bd9Sstevel@tonic-gate	more		\
627fcf3ce44SJohn Forte	mpathadm	\
6287c478bd9Sstevel@tonic-gate	msgfmt		\
6297c478bd9Sstevel@tonic-gate	mv		\
6302654012fSReza Sabdar	ndmpadm		\
6312654012fSReza Sabdar	ndmpstat	\
6327c478bd9Sstevel@tonic-gate	newgrp		\
6337c478bd9Sstevel@tonic-gate	newtask		\
6347c478bd9Sstevel@tonic-gate	nice		\
6357c478bd9Sstevel@tonic-gate	nohup		\
6367c478bd9Sstevel@tonic-gate	oawk		\
6377c478bd9Sstevel@tonic-gate	pack		\
6387c478bd9Sstevel@tonic-gate	passwd		\
6397c478bd9Sstevel@tonic-gate	passmgmt	\
6407c478bd9Sstevel@tonic-gate	pathchk		\
6417c478bd9Sstevel@tonic-gate	pfexec		\
6427c478bd9Sstevel@tonic-gate	pg		\
6437c478bd9Sstevel@tonic-gate	pgrep		\
6447c478bd9Sstevel@tonic-gate	picl            \
6457c478bd9Sstevel@tonic-gate	pools		\
6467c478bd9Sstevel@tonic-gate	power		\
6477c478bd9Sstevel@tonic-gate	pr		\
6487c478bd9Sstevel@tonic-gate	praudit		\
6497c478bd9Sstevel@tonic-gate	print		\
6507c478bd9Sstevel@tonic-gate	profiles	\
6517c478bd9Sstevel@tonic-gate	projadd		\
6527c478bd9Sstevel@tonic-gate	projects	\
6537c478bd9Sstevel@tonic-gate	prstat		\
6547c478bd9Sstevel@tonic-gate	prtdiag		\
6557c478bd9Sstevel@tonic-gate	ps		\
6567c478bd9Sstevel@tonic-gate	psrinfo		\
657c6402783Sakolb	ptools		\
6587c478bd9Sstevel@tonic-gate	pwconv		\
6597c478bd9Sstevel@tonic-gate	pwd		\
66014843421SMatthew Ahrens	pyzfs		\
6617c478bd9Sstevel@tonic-gate	raidctl		\
6627c478bd9Sstevel@tonic-gate	ramdiskadm	\
6637c478bd9Sstevel@tonic-gate	rcap		\
6647c478bd9Sstevel@tonic-gate	rcm_daemon	\
6657c478bd9Sstevel@tonic-gate	refer		\
6667c478bd9Sstevel@tonic-gate	regcmp		\
6677c478bd9Sstevel@tonic-gate	renice		\
6687c478bd9Sstevel@tonic-gate	roles		\
6697c478bd9Sstevel@tonic-gate	rm		\
6707c478bd9Sstevel@tonic-gate	rmdir		\
6717c478bd9Sstevel@tonic-gate	rmformat	\
67218c2aff7Sartem	rmmount		\
67318c2aff7Sartem	rmvolmgr	\
6749e86db79SHyon Kim	sasinfo		\
675fcf3ce44SJohn Forte	sbdadm		\
67603831d35Sstevel	scadm		\
6777c478bd9Sstevel@tonic-gate	script		\
678275c9da8Seschrock	scsi		\
6797c478bd9Sstevel@tonic-gate	sdiff		\
68074e20cfeSnh145002	sdpadm		\
6817c478bd9Sstevel@tonic-gate	sgs		\
6827c478bd9Sstevel@tonic-gate	sh		\
6837c2fbfb3SApril Chin	shcomp		\
68496a62adaSjoyce mcintosh	smbsrv		\
6857c478bd9Sstevel@tonic-gate	sort		\
6867c478bd9Sstevel@tonic-gate	split		\
687c3a558e7SSue Gleeson	srptadm		\
6887c478bd9Sstevel@tonic-gate	ssh		\
68913c7b6acSrsb	stat		\
690fcf3ce44SJohn Forte	stmfadm		\
6915a4c37c9Sqh201292	stmsboot	\
6927c478bd9Sstevel@tonic-gate	strings		\
6937c478bd9Sstevel@tonic-gate	su		\
6947c478bd9Sstevel@tonic-gate	svc		\
6955c51f124SMoriah Waterland	svr4pkg		\
6967c478bd9Sstevel@tonic-gate	swap		\
6977c478bd9Sstevel@tonic-gate	syseventadm	\
6987c478bd9Sstevel@tonic-gate	syseventd	\
6997c478bd9Sstevel@tonic-gate	tabs		\
7007c478bd9Sstevel@tonic-gate	tar		\
7017c478bd9Sstevel@tonic-gate	tbl		\
7027c478bd9Sstevel@tonic-gate	time		\
7037c478bd9Sstevel@tonic-gate	tnf		\
7047c478bd9Sstevel@tonic-gate	touch		\
7057c478bd9Sstevel@tonic-gate	tput		\
7067c478bd9Sstevel@tonic-gate	troff		\
707f875b4ebSrica	tsol		\
7087c478bd9Sstevel@tonic-gate	tty		\
7097c478bd9Sstevel@tonic-gate	ttymon		\
710d1419d5aSNobutomo Nakano	tzreload	\
7117c478bd9Sstevel@tonic-gate	ul		\
7127c478bd9Sstevel@tonic-gate	uname		\
7137c478bd9Sstevel@tonic-gate	units		\
7147c478bd9Sstevel@tonic-gate	unlink		\
7157c478bd9Sstevel@tonic-gate	unpack		\
71649c13cf4Sgww	userattr	\
7177c478bd9Sstevel@tonic-gate	valtools	\
7187c478bd9Sstevel@tonic-gate	vgrind		\
7197c478bd9Sstevel@tonic-gate	vi		\
72018c2aff7Sartem	volcheck	\
72118c2aff7Sartem	volrmmount	\
7221cb875aeSCathy Zhou	vrrpadm		\
72396a62adaSjoyce mcintosh	vscan		\
7247c478bd9Sstevel@tonic-gate	w		\
7257c478bd9Sstevel@tonic-gate	who		\
7267c478bd9Sstevel@tonic-gate	whodo		\
7277c478bd9Sstevel@tonic-gate	wracct		\
7287c478bd9Sstevel@tonic-gate	write		\
7297c478bd9Sstevel@tonic-gate	xargs		\
7307c478bd9Sstevel@tonic-gate	yppasswd	\
7317c478bd9Sstevel@tonic-gate	zdump		\
7328f7d1b1aSAndreas Jaekel	zevadm		\
733fa9e4066Sahrens	zfs		\
7347c478bd9Sstevel@tonic-gate	zic		\
7357c478bd9Sstevel@tonic-gate	zlogin		\
7367c478bd9Sstevel@tonic-gate	zoneadm		\
7377c478bd9Sstevel@tonic-gate	zoneadmd	\
7387c478bd9Sstevel@tonic-gate	zonecfg		\
739fa9e4066Sahrens	zonename	\
740efd4c9b6SSteve Lawrence	zpool		\
741efd4c9b6SSteve Lawrence	zonestat
7427c478bd9Sstevel@tonic-gate
7437c478bd9Sstevel@tonic-gatesparc_MSGSUBDIRS=	\
7447c478bd9Sstevel@tonic-gate	fruadm		\
74525cf1a30Sjl139090	prtdscp		\
7467c478bd9Sstevel@tonic-gate	prtfru		\
74782629e30SMike Christensen	virtinfo	\
748a83cadceSkm84432	vntsd
7497c478bd9Sstevel@tonic-gate
7502449e17fSsherrymi386_MSGSUBDIRS=	\
7512449e17fSsherrym	ucodeadm
7522449e17fSsherrym
7537c478bd9Sstevel@tonic-gate#
7547c478bd9Sstevel@tonic-gate# commands that use dcgettext for localized time, LC_TIME
7557c478bd9Sstevel@tonic-gate#
7567c478bd9Sstevel@tonic-gateDCSUBDIRS=		\
7577c478bd9Sstevel@tonic-gate	cal		\
7587c478bd9Sstevel@tonic-gate	cfgadm		\
7597c478bd9Sstevel@tonic-gate	diff		\
7607c478bd9Sstevel@tonic-gate	ls		\
7617c478bd9Sstevel@tonic-gate	pr		\
76216f94f58Ssayama	ps		\
7637c478bd9Sstevel@tonic-gate	tar		\
7647c478bd9Sstevel@tonic-gate	w		\
7657c478bd9Sstevel@tonic-gate	who		\
7667c478bd9Sstevel@tonic-gate	whodo		\
7677c478bd9Sstevel@tonic-gate	write
7687c478bd9Sstevel@tonic-gate
7697c478bd9Sstevel@tonic-gate#
770269f47deSThuy Fettig# commands that belong only to audit.
7717c478bd9Sstevel@tonic-gate#
772cf9691b9SgwwAUDITSUBDIRS=		\
7737c478bd9Sstevel@tonic-gate	amt		\
7747c478bd9Sstevel@tonic-gate	audit		\
7757c478bd9Sstevel@tonic-gate	audit_warn	\
7767c478bd9Sstevel@tonic-gate	auditconfig	\
7777c478bd9Sstevel@tonic-gate	auditd		\
778cf9691b9Sgww	auditrecord	\
7797c478bd9Sstevel@tonic-gate	auditreduce	\
780f8994074SJan Friedel	auditset	\
7817c478bd9Sstevel@tonic-gate	auditstat	\
782269f47deSThuy Fettig	praudit
7837c478bd9Sstevel@tonic-gate
7847c478bd9Sstevel@tonic-gate#
7857c478bd9Sstevel@tonic-gate# commands not owned by the systems group
7867c478bd9Sstevel@tonic-gate#
7877c478bd9Sstevel@tonic-gateBWOSDIRS=
7887c478bd9Sstevel@tonic-gate
789bd0f52d7Sjhaslam
7907c478bd9Sstevel@tonic-gateall :=		TARGET = all
7917c478bd9Sstevel@tonic-gateinstall :=	TARGET = install
7927c478bd9Sstevel@tonic-gateclean :=	TARGET = clean
7937c478bd9Sstevel@tonic-gateclobber :=	TARGET = clobber
7947c478bd9Sstevel@tonic-gatelint :=		TARGET = lint
7957c478bd9Sstevel@tonic-gate_msg :=		TARGET = _msg
7967c478bd9Sstevel@tonic-gate_dc :=		TARGET = _dc
7977c478bd9Sstevel@tonic-gate
7987c478bd9Sstevel@tonic-gate.KEEP_STATE:
7997c478bd9Sstevel@tonic-gate
8007c478bd9Sstevel@tonic-gateSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
8017c478bd9Sstevel@tonic-gate
802cf9691b9Sgww.PARALLEL:	$(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
8037c478bd9Sstevel@tonic-gate
804cf9691b9Sgwwall install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
805cf9691b9Sgww	$(AUDITSUBDIRS)
8067c478bd9Sstevel@tonic-gate
8073afe87ebSRoger A. Faulkner#
8083afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using
8093afe87ebSRoger A. Faulkner# the global repository that is in $(SRC)/cmd/svc/seed/global.db.
8103afe87ebSRoger A. Faulkner# For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
8113afe87ebSRoger A. Faulkner# we spawn off a sub-make to perform the non-parallel 'make check'
8123afe87ebSRoger A. Faulkner#
8133afe87ebSRoger A. Faulknercheck:
8143afe87ebSRoger A. Faulkner	$(MAKE) -f Makefile.check check
815bd0f52d7Sjhaslam
8167c478bd9Sstevel@tonic-gate#
8177c478bd9Sstevel@tonic-gate# The .WAIT directive works around an apparent bug in parallel make.
8187c478bd9Sstevel@tonic-gate# Evidently make was getting the target _msg vs. _dc confused under
8197c478bd9Sstevel@tonic-gate# some level of parallelization, causing some of the _dc objects
8207c478bd9Sstevel@tonic-gate# not to be built.
8217c478bd9Sstevel@tonic-gate#
8227c478bd9Sstevel@tonic-gate_msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
8237c478bd9Sstevel@tonic-gate
8247c478bd9Sstevel@tonic-gate_dc: $(DCSUBDIRS)
8257c478bd9Sstevel@tonic-gate
8269616efa0Sartem#
8279616efa0Sartem# Dependencies
8289616efa0Sartem#
8299616efa0Sartemfs.d: fstyp
8307c2fbfb3SApril Chinksh:	shcomp isaexec
831170832d3SAlbert Leemdb:	terminfo
83271c90032SGowtham Thommandraprint:	lp
83361d1e6c5SJoshua M. Clulowfmt:	mailx
8349616efa0Sartem
835cf9691b9Sgww$(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
8367c478bd9Sstevel@tonic-gate	@if [ -f $@/Makefile  ]; then \
8377c478bd9Sstevel@tonic-gate		cd $@; pwd; $(MAKE) $(TARGET); \
8387c478bd9Sstevel@tonic-gate	else \
8397c478bd9Sstevel@tonic-gate		true; \
8407c478bd9Sstevel@tonic-gate	fi
8417c478bd9Sstevel@tonic-gate
8427c478bd9Sstevel@tonic-gateFRC:
843