xref: /titanic_51/usr/src/cmd/Makefile.check (revision efd4c9b63ad77503c101fc6c2ed8ba96c9d52964)
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
221cfa752fSRamaswamy Tummala# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
233afe87ebSRoger A. Faulkner
243afe87ebSRoger A. Faulknerinclude ../Makefile.master
253afe87ebSRoger A. Faulkner
263afe87ebSRoger A. Faulkner#
273afe87ebSRoger A. Faulkner# Commands providing manifests must offer a check target.  A recursive check
283afe87ebSRoger A. Faulkner# target across all commands directories is not currently provided.
293afe87ebSRoger A. Faulkner#
303afe87ebSRoger A. FaulknerMANIFEST_TOPDIRS=			\
313afe87ebSRoger A. Faulkner	acctadm				\
323afe87ebSRoger A. Faulkner	auditd				\
333afe87ebSRoger A. Faulkner	bnu				\
343afe87ebSRoger A. Faulkner	consadm				\
353afe87ebSRoger A. Faulkner	coreadm				\
363afe87ebSRoger A. Faulkner	cron				\
373afe87ebSRoger A. Faulkner	cvcd				\
383afe87ebSRoger A. Faulkner	dispadmin			\
393afe87ebSRoger A. Faulkner	drd				\
403afe87ebSRoger A. Faulkner	dumpadm				\
413afe87ebSRoger A. Faulkner	fcinfo				\
42e6eb57e7SKevin Yu	fcoesvc				\
433afe87ebSRoger A. Faulkner	fm				\
441cfa752fSRamaswamy Tummala	ibd_upgrade			\
453afe87ebSRoger A. Faulkner	intrd				\
463afe87ebSRoger A. Faulkner	iscsid				\
473afe87ebSRoger A. Faulkner	iscsitsvc			\
483afe87ebSRoger A. Faulkner	kbd				\
493afe87ebSRoger A. Faulkner	keyserv				\
503afe87ebSRoger A. Faulkner	ldapcachemgr			\
5149bfb42bSAlexandre Chartre	ldmad				\
52617e2443SMark Logan	lms				\
533afe87ebSRoger A. Faulkner	dlmgmtd				\
543afe87ebSRoger A. Faulkner	ndmpd				\
553afe87ebSRoger A. Faulkner	nscd				\
563afe87ebSRoger A. Faulkner	oplhpd				\
573afe87ebSRoger A. Faulkner	pools				\
583afe87ebSRoger A. Faulkner	power				\
593afe87ebSRoger A. Faulkner	rexd				\
603afe87ebSRoger A. Faulkner	rmvolmgr			\
613afe87ebSRoger A. Faulkner	rpcbind				\
623afe87ebSRoger A. Faulkner	rpcsvc				\
633afe87ebSRoger A. Faulkner	sa				\
643afe87ebSRoger A. Faulkner	saf				\
653afe87ebSRoger A. Faulkner	sckmd				\
663afe87ebSRoger A. Faulkner	sf880drd			\
673afe87ebSRoger A. Faulkner	smserverd			\
6845039663SJohn Forte	stmfproxy			\
693afe87ebSRoger A. Faulkner	stmfsvc				\
703afe87ebSRoger A. Faulkner	stmsboot			\
713afe87ebSRoger A. Faulkner	syseventd			\
723afe87ebSRoger A. Faulkner	syslogd				\
733afe87ebSRoger A. Faulkner	utmpd				\
743afe87ebSRoger A. Faulkner	vntsd				\
753afe87ebSRoger A. Faulkner	ypcmd				\
763afe87ebSRoger A. Faulkner	zoneadm				\
773afe87ebSRoger A. Faulkner	zoneadmd
783afe87ebSRoger A. Faulkner
793afe87ebSRoger A. FaulknerMANIFEST_SUBDIRS=			\
803afe87ebSRoger A. Faulkner	agents/snmp/snmprelayd		\
813afe87ebSRoger A. Faulkner	boot/scripts			\
823afe87ebSRoger A. Faulkner	cmd-crypto/scripts		\
83dbed73cbSSangeeta Misra	cmd-inet/usr.lib/ilbd		\
843afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.chargend	\
853afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.daytimed	\
863afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.dhcpd	\
873afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.discardd	\
883afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.echod	\
893afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ndpd	\
903afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ripngd	\
913afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.timed	\
923afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/inetd		\
933afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/mdnsd		\
943afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/slpd		\
951cb875aeSCathy Zhou	cmd-inet/usr.lib/vrrpd		\
963afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/wpad		\
973afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin		\
983afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.ftpd	\
993afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.rdisc	\
1003afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.routed	\
1013afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.talkd	\
1023afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/ipsecutils	\
1033afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/kssl/ksslcfg	\
1043afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/routeadm	\
1053afe87ebSRoger A. Faulkner	dcs/sparc/sun4u			\
1063afe87ebSRoger A. Faulkner	dfs.cmds/sharemgr		\
1073afe87ebSRoger A. Faulkner	fps/fpsd			\
1083afe87ebSRoger A. Faulkner	fs.d/autofs			\
1093afe87ebSRoger A. Faulkner	fs.d/nfs/svc			\
1103afe87ebSRoger A. Faulkner	fs.d/smbclnt/svc		\
1113afe87ebSRoger A. Faulkner	gss/gssd			\
1123afe87ebSRoger A. Faulkner	hal/addons/network-devices	\
1133afe87ebSRoger A. Faulkner	hal/hald/solaris		\
114e557d412SChristopher Kiick	halt/smf.$(MACH)		\
1153afe87ebSRoger A. Faulkner	hostid/smf			\
1163afe87ebSRoger A. Faulkner	idmap/idmapd			\
1173afe87ebSRoger A. Faulkner	ipf/svc				\
1183afe87ebSRoger A. Faulkner	isns/isnsd			\
1193afe87ebSRoger A. Faulkner	krb5/kadmin/server		\
1203afe87ebSRoger A. Faulkner	krb5/krb5kdc			\
1213afe87ebSRoger A. Faulkner	krb5/kwarn			\
1223afe87ebSRoger A. Faulkner	krb5/slave			\
1233afe87ebSRoger A. Faulkner	lp/cmd/lpsched			\
1243afe87ebSRoger A. Faulkner	lvm/rpc.mdcommd			\
1253afe87ebSRoger A. Faulkner	lvm/rpc.metad			\
1263afe87ebSRoger A. Faulkner	lvm/rpc.metamedd		\
1273afe87ebSRoger A. Faulkner	lvm/rpc.metamhd			\
1283afe87ebSRoger A. Faulkner	lvm/md_monitord			\
1293afe87ebSRoger A. Faulkner	lvm/util			\
1303afe87ebSRoger A. Faulkner	picl/picld			\
1313afe87ebSRoger A. Faulkner	pools/poold			\
1323afe87ebSRoger A. Faulkner	print/bsd-sysv-commands		\
1333afe87ebSRoger A. Faulkner	print/ppdmgr			\
1343afe87ebSRoger A. Faulkner	rcap/rcapd			\
1353afe87ebSRoger A. Faulkner	rpcsvc/rpc.bootparamd		\
1363afe87ebSRoger A. Faulkner	sendmail/lib			\
1373afe87ebSRoger A. Faulkner	smbsrv/smbd			\
1383afe87ebSRoger A. Faulkner	ssh/etc				\
1393afe87ebSRoger A. Faulkner	svc/milestone			\
1403afe87ebSRoger A. Faulkner	tsol/labeld			\
1413afe87ebSRoger A. Faulkner	tsol/tnctl			\
1423afe87ebSRoger A. Faulkner	tsol/tnd			\
1433afe87ebSRoger A. Faulkner	tsol/tsol-zones			\
1443afe87ebSRoger A. Faulkner	vscan/vscand			\
1453afe87ebSRoger A. Faulkner	xvm/ipagent			\
1463afe87ebSRoger A. Faulkner	ypcmd/yppasswd			\
147*efd4c9b6SSteve Lawrence	ypcmd/ypupdated			\
148*efd4c9b6SSteve Lawrence	zonestat/zonestatd
1493afe87ebSRoger A. Faulkner
1503afe87ebSRoger A. Faulkner$(CLOSED_BUILD)MANIFEST_SUBDIRS +=		\
1513afe87ebSRoger A. Faulkner	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
1523afe87ebSRoger A. Faulkner
1533afe87ebSRoger A. FaulknerDTEST_SUBDIRS= \
1543afe87ebSRoger A. Faulkner	dtrace/test/tst
1553afe87ebSRoger A. Faulkner
1563afe87ebSRoger A. Faulkner.KEEP_STATE:
1573afe87ebSRoger A. Faulkner
1583afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using the global
1593afe87ebSRoger A. Faulkner# repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
1603afe87ebSRoger A. Faulkner# repository that is built from the manifests in this workspace, whereas
1613afe87ebSRoger A. Faulkner# the build machine's repository may be out of sync with these manifests.
1623afe87ebSRoger A. Faulkner# Because we are using a private repository, svccfg-native must start up a
1633afe87ebSRoger A. Faulkner# private copy of configd-native.  We cannot have multiple copies of
1643afe87ebSRoger A. Faulkner# configd-native trying to access global.db simultaneously.
1653afe87ebSRoger A. Faulkner
1663afe87ebSRoger A. Faulkner.NO_PARALLEL:
1673afe87ebSRoger A. Faulkner
1683afe87ebSRoger A. Faulknercheck: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS)
1693afe87ebSRoger A. Faulkner
1703afe87ebSRoger A. Faulknersvccfg_check:
1713afe87ebSRoger A. Faulkner	@$(ECHO) "building requirements for svccfg check ..."; \
1723afe87ebSRoger A. Faulkner	(cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
1733afe87ebSRoger A. Faulkner
1743afe87ebSRoger A. Faulkner$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC
1753afe87ebSRoger A. Faulkner	@cd $@; pwd; $(MAKE) check
1763afe87ebSRoger A. Faulkner
1773afe87ebSRoger A. FaulknerFRC:
178