xref: /titanic_51/usr/src/cmd/Makefile.check (revision 617e2443dfc17fe44fd44c0675d6aad2ffc9df42)
13afe87ebSRoger A. Faulkner#
23afe87ebSRoger A. Faulkner# CDDL HEADER START
33afe87ebSRoger A. Faulkner#
43afe87ebSRoger A. Faulkner# The contents of this file are subject to the terms of the
53afe87ebSRoger A. Faulkner# Common Development and Distribution License (the "License").
63afe87ebSRoger A. Faulkner# You may not use this file except in compliance with the License.
73afe87ebSRoger A. Faulkner#
83afe87ebSRoger A. Faulkner# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93afe87ebSRoger A. Faulkner# or http://www.opensolaris.org/os/licensing.
103afe87ebSRoger A. Faulkner# See the License for the specific language governing permissions
113afe87ebSRoger A. Faulkner# and limitations under the License.
123afe87ebSRoger A. Faulkner#
133afe87ebSRoger A. Faulkner# When distributing Covered Code, include this CDDL HEADER in each
143afe87ebSRoger A. Faulkner# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153afe87ebSRoger A. Faulkner# If applicable, add the following below this CDDL HEADER, with the
163afe87ebSRoger A. Faulkner# fields enclosed by brackets "[]" replaced with your own identifying
173afe87ebSRoger A. Faulkner# information: Portions Copyright [yyyy] [name of copyright owner]
183afe87ebSRoger A. Faulkner#
193afe87ebSRoger A. Faulkner# CDDL HEADER END
203afe87ebSRoger A. Faulkner#
213afe87ebSRoger A. Faulkner#
223afe87ebSRoger A. Faulkner# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
233afe87ebSRoger A. Faulkner# Use is subject to license terms.
243afe87ebSRoger A. Faulkner#
253afe87ebSRoger A. Faulkner
263afe87ebSRoger A. Faulknerinclude ../Makefile.master
273afe87ebSRoger A. Faulkner
283afe87ebSRoger A. Faulkner#
293afe87ebSRoger A. Faulkner# Commands providing manifests must offer a check target.  A recursive check
303afe87ebSRoger A. Faulkner# target across all commands directories is not currently provided.
313afe87ebSRoger A. Faulkner#
323afe87ebSRoger A. FaulknerMANIFEST_TOPDIRS=			\
333afe87ebSRoger A. Faulkner	acctadm				\
343afe87ebSRoger A. Faulkner	auditd				\
353afe87ebSRoger A. Faulkner	bnu				\
363afe87ebSRoger A. Faulkner	consadm				\
373afe87ebSRoger A. Faulkner	coreadm				\
383afe87ebSRoger A. Faulkner	cron				\
393afe87ebSRoger A. Faulkner	cvcd				\
403afe87ebSRoger A. Faulkner	dispadmin			\
413afe87ebSRoger A. Faulkner	drd				\
423afe87ebSRoger A. Faulkner	dumpadm				\
433afe87ebSRoger A. Faulkner	fcinfo				\
443afe87ebSRoger A. Faulkner	fm				\
453afe87ebSRoger A. Faulkner	intrd				\
463afe87ebSRoger A. Faulkner	iscsid				\
473afe87ebSRoger A. Faulkner	iscsitsvc			\
483afe87ebSRoger A. Faulkner	kbd				\
493afe87ebSRoger A. Faulkner	keyserv				\
503afe87ebSRoger A. Faulkner	ldapcachemgr			\
51*617e2443SMark Logan	lms				\
523afe87ebSRoger A. Faulkner	mms				\
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			\
683afe87ebSRoger A. Faulkner	stmfsvc				\
693afe87ebSRoger A. Faulkner	stmsboot			\
703afe87ebSRoger A. Faulkner	syseventd			\
713afe87ebSRoger A. Faulkner	syslogd				\
723afe87ebSRoger A. Faulkner	utmpd				\
733afe87ebSRoger A. Faulkner	vntsd				\
743afe87ebSRoger A. Faulkner	ypcmd				\
753afe87ebSRoger A. Faulkner	zoneadm				\
763afe87ebSRoger A. Faulkner	zoneadmd
773afe87ebSRoger A. Faulkner
783afe87ebSRoger A. FaulknerMANIFEST_SUBDIRS=			\
793afe87ebSRoger A. Faulkner	agents/snmp/snmprelayd		\
803afe87ebSRoger A. Faulkner	boot/scripts			\
813afe87ebSRoger A. Faulkner	cmd-crypto/scripts		\
823afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.chargend	\
833afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.daytimed	\
843afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.dhcpd	\
853afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.discardd	\
863afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.echod	\
873afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ndpd	\
883afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ripngd	\
893afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.timed	\
903afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/inetd		\
913afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/mdnsd		\
923afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/slpd		\
933afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/wpad		\
943afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin		\
953afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.ftpd	\
963afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.rdisc	\
973afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.routed	\
983afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/in.talkd	\
993afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/ipsecutils	\
1003afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/kssl/ksslcfg	\
1013afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin/routeadm	\
1023afe87ebSRoger A. Faulkner	dcs/sparc/sun4u			\
1033afe87ebSRoger A. Faulkner	dfs.cmds/sharemgr		\
1043afe87ebSRoger A. Faulkner	fps/fpsd			\
1053afe87ebSRoger A. Faulkner	fs.d/autofs			\
1063afe87ebSRoger A. Faulkner	fs.d/nfs/svc			\
1073afe87ebSRoger A. Faulkner	fs.d/smbclnt/svc		\
1083afe87ebSRoger A. Faulkner	gss/gssd			\
1093afe87ebSRoger A. Faulkner	hal/addons/network-devices	\
1103afe87ebSRoger A. Faulkner	hal/hald/solaris		\
111753a6d45SSherry Moore	halt/smf			\
1123afe87ebSRoger A. Faulkner	hostid/smf			\
1133afe87ebSRoger A. Faulkner	idmap/idmapd			\
1143afe87ebSRoger A. Faulkner	ipf/svc				\
1153afe87ebSRoger A. Faulkner	iscsi/iscsitgtd			\
1163afe87ebSRoger A. Faulkner	isns/isnsd			\
1173afe87ebSRoger A. Faulkner	krb5/kadmin/server		\
1183afe87ebSRoger A. Faulkner	krb5/krb5kdc			\
1193afe87ebSRoger A. Faulkner	krb5/kwarn			\
1203afe87ebSRoger A. Faulkner	krb5/slave			\
1213afe87ebSRoger A. Faulkner	lp/cmd/lpsched			\
1223afe87ebSRoger A. Faulkner	lvm/rpc.mdcommd			\
1233afe87ebSRoger A. Faulkner	lvm/rpc.metad			\
1243afe87ebSRoger A. Faulkner	lvm/rpc.metamedd		\
1253afe87ebSRoger A. Faulkner	lvm/rpc.metamhd			\
1263afe87ebSRoger A. Faulkner	lvm/md_monitord			\
1273afe87ebSRoger A. Faulkner	lvm/util			\
1283afe87ebSRoger A. Faulkner	picl/picld			\
1293afe87ebSRoger A. Faulkner	pools/poold			\
1303afe87ebSRoger A. Faulkner	print/bsd-sysv-commands		\
1313afe87ebSRoger A. Faulkner	print/ppdmgr			\
1323afe87ebSRoger A. Faulkner	rcap/rcapd			\
1333afe87ebSRoger A. Faulkner	rpcsvc/rpc.bootparamd		\
1343afe87ebSRoger A. Faulkner	sendmail/lib			\
1353afe87ebSRoger A. Faulkner	smbsrv/smbd			\
1363afe87ebSRoger A. Faulkner	ssh/etc				\
1373afe87ebSRoger A. Faulkner	svc/milestone			\
1383afe87ebSRoger A. Faulkner	tsol/labeld			\
1393afe87ebSRoger A. Faulkner	tsol/tnctl			\
1403afe87ebSRoger A. Faulkner	tsol/tnd			\
1413afe87ebSRoger A. Faulkner	tsol/tsol-zones			\
1423afe87ebSRoger A. Faulkner	vscan/vscand			\
1433afe87ebSRoger A. Faulkner	xvm/ipagent			\
1443afe87ebSRoger A. Faulkner	ypcmd/yppasswd			\
1453afe87ebSRoger A. Faulkner	ypcmd/ypupdated			\
1463afe87ebSRoger A. Faulkner	xntpd/xntpd
1473afe87ebSRoger A. Faulkner
1483afe87ebSRoger A. Faulkner$(CLOSED_BUILD)MANIFEST_SUBDIRS +=		\
1493afe87ebSRoger A. Faulkner	$(CLOSED)/cmd/smartcard/daemon		\
1503afe87ebSRoger A. Faulkner	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
1513afe87ebSRoger A. Faulkner
1523afe87ebSRoger A. FaulknerDTEST_SUBDIRS= \
1533afe87ebSRoger A. Faulkner	dtrace/test/tst
1543afe87ebSRoger A. Faulkner
1553afe87ebSRoger A. Faulkner.KEEP_STATE:
1563afe87ebSRoger A. Faulkner
1573afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using the global
1583afe87ebSRoger A. Faulkner# repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
1593afe87ebSRoger A. Faulkner# repository that is built from the manifests in this workspace, whereas
1603afe87ebSRoger A. Faulkner# the build machine's repository may be out of sync with these manifests.
1613afe87ebSRoger A. Faulkner# Because we are using a private repository, svccfg-native must start up a
1623afe87ebSRoger A. Faulkner# private copy of configd-native.  We cannot have multiple copies of
1633afe87ebSRoger A. Faulkner# configd-native trying to access global.db simultaneously.
1643afe87ebSRoger A. Faulkner
1653afe87ebSRoger A. Faulkner.NO_PARALLEL:
1663afe87ebSRoger A. Faulkner
1673afe87ebSRoger A. Faulknercheck: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS)
1683afe87ebSRoger A. Faulkner
1693afe87ebSRoger A. Faulknersvccfg_check:
1703afe87ebSRoger A. Faulkner	@$(ECHO) "building requirements for svccfg check ..."; \
1713afe87ebSRoger A. Faulkner	(cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
1723afe87ebSRoger A. Faulkner
1733afe87ebSRoger A. Faulkner$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC
1743afe87ebSRoger A. Faulkner	@cd $@; pwd; $(MAKE) check
1753afe87ebSRoger A. Faulkner
1763afe87ebSRoger A. FaulknerFRC:
177