xref: /titanic_51/usr/src/cmd/Makefile.check (revision 300a52ceca238cc3a51d3dc89eedec5056a62843)
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#
231cfa752fSRamaswamy Tummala# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24786d1eecSBart Coddens# Copyright 2014 Garrett D'Amore <garrett@damore.org>
25*e0ef09beSYuri Pankov# Copyright 2017 Nexenta Systems, Inc.
26e373b6e4SYuri Pankov#
273afe87ebSRoger A. Faulkner
283afe87ebSRoger A. Faulknerinclude ../Makefile.master
293afe87ebSRoger A. Faulkner
303afe87ebSRoger A. Faulkner#
313afe87ebSRoger A. Faulkner# Commands providing manifests must offer a check target.  A recursive check
323afe87ebSRoger A. Faulkner# target across all commands directories is not currently provided.
333afe87ebSRoger A. Faulkner#
343afe87ebSRoger A. FaulknerMANIFEST_TOPDIRS=			\
353afe87ebSRoger A. Faulkner	acctadm				\
363afe87ebSRoger A. Faulkner	auditd				\
373afe87ebSRoger A. Faulkner	bnu				\
383afe87ebSRoger A. Faulkner	consadm				\
393afe87ebSRoger A. Faulkner	coreadm				\
403afe87ebSRoger A. Faulkner	cron				\
413afe87ebSRoger A. Faulkner	cvcd				\
423afe87ebSRoger A. Faulkner	dispadmin			\
433afe87ebSRoger A. Faulkner	drd				\
443afe87ebSRoger A. Faulkner	dumpadm				\
453afe87ebSRoger A. Faulkner	fcinfo				\
46e6eb57e7SKevin Yu	fcoesvc				\
473afe87ebSRoger A. Faulkner	fm				\
481cfa752fSRamaswamy Tummala	ibd_upgrade			\
493afe87ebSRoger A. Faulkner	intrd				\
503afe87ebSRoger A. Faulkner	iscsid				\
513afe87ebSRoger A. Faulkner	iscsitsvc			\
523afe87ebSRoger A. Faulkner	kbd				\
533afe87ebSRoger A. Faulkner	keyserv				\
543afe87ebSRoger A. Faulkner	ldapcachemgr			\
5549bfb42bSAlexandre Chartre	ldmad				\
563afe87ebSRoger A. Faulkner	dlmgmtd				\
573afe87ebSRoger A. Faulkner	ndmpd				\
583afe87ebSRoger A. Faulkner	nscd				\
593afe87ebSRoger A. Faulkner	oplhpd				\
603afe87ebSRoger A. Faulkner	pools				\
613afe87ebSRoger A. Faulkner	power				\
623afe87ebSRoger A. Faulkner	rexd				\
633afe87ebSRoger A. Faulkner	rmvolmgr			\
643afe87ebSRoger A. Faulkner	rpcbind				\
653afe87ebSRoger A. Faulkner	rpcsvc				\
663afe87ebSRoger A. Faulkner	sa				\
673afe87ebSRoger A. Faulkner	saf				\
683afe87ebSRoger A. Faulkner	sckmd				\
693afe87ebSRoger A. Faulkner	sf880drd			\
703afe87ebSRoger A. Faulkner	smserverd			\
7145039663SJohn Forte	stmfproxy			\
723afe87ebSRoger A. Faulkner	stmfsvc				\
733afe87ebSRoger A. Faulkner	stmsboot			\
743afe87ebSRoger A. Faulkner	syseventd			\
753afe87ebSRoger A. Faulkner	syslogd				\
763afe87ebSRoger A. Faulkner	utmpd				\
773afe87ebSRoger A. Faulkner	vntsd				\
783afe87ebSRoger A. Faulkner	ypcmd				\
793afe87ebSRoger A. Faulkner	zoneadm				\
803afe87ebSRoger A. Faulkner	zoneadmd
813afe87ebSRoger A. Faulkner
823afe87ebSRoger A. FaulknerMANIFEST_SUBDIRS=			\
833afe87ebSRoger A. Faulkner	boot/scripts			\
843afe87ebSRoger A. Faulkner	cmd-crypto/scripts		\
85dbed73cbSSangeeta Misra	cmd-inet/usr.lib/ilbd		\
863afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.chargend	\
873afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.daytimed	\
883afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.discardd	\
893afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.echod	\
903afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ndpd	\
913afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.ripngd	\
923afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/in.timed	\
933afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/inetd		\
943afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/mdnsd		\
953afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/slpd		\
961cb875aeSCathy Zhou	cmd-inet/usr.lib/vrrpd		\
973afe87ebSRoger A. Faulkner	cmd-inet/usr.lib/wpad		\
983afe87ebSRoger A. Faulkner	cmd-inet/usr.sbin		\
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	fs.d/autofs			\
1083afe87ebSRoger A. Faulkner	fs.d/nfs/svc			\
1093afe87ebSRoger A. Faulkner	fs.d/smbclnt/svc		\
1103afe87ebSRoger A. Faulkner	gss/gssd			\
1113afe87ebSRoger A. Faulkner	hal/addons/network-devices	\
1123afe87ebSRoger A. Faulkner	hal/hald/solaris		\
113e557d412SChristopher Kiick	halt/smf.$(MACH)		\
1143afe87ebSRoger A. Faulkner	hostid/smf			\
1153afe87ebSRoger A. Faulkner	idmap/idmapd			\
1163afe87ebSRoger A. Faulkner	ipf/svc				\
1173afe87ebSRoger A. Faulkner	isns/isnsd			\
1183afe87ebSRoger A. Faulkner	krb5/kadmin/server		\
1193afe87ebSRoger A. Faulkner	krb5/krb5kdc			\
1203afe87ebSRoger A. Faulkner	krb5/kwarn			\
1213afe87ebSRoger A. Faulkner	krb5/slave			\
1223afe87ebSRoger A. Faulkner	lp/cmd/lpsched			\
1233afe87ebSRoger A. Faulkner	picl/picld			\
1243afe87ebSRoger A. Faulkner	pools/poold			\
1253afe87ebSRoger A. Faulkner	print/bsd-sysv-commands		\
1263afe87ebSRoger A. Faulkner	print/ppdmgr			\
1273afe87ebSRoger A. Faulkner	rcap/rcapd			\
1283afe87ebSRoger A. Faulkner	rpcsvc/rpc.bootparamd		\
1293afe87ebSRoger A. Faulkner	sendmail/lib			\
1303afe87ebSRoger A. Faulkner	smbsrv/smbd			\
1313afe87ebSRoger A. Faulkner	svc/milestone			\
1323afe87ebSRoger A. Faulkner	tsol/labeld			\
1333afe87ebSRoger A. Faulkner	tsol/tnctl			\
1343afe87ebSRoger A. Faulkner	tsol/tnd			\
1353afe87ebSRoger A. Faulkner	tsol/tsol-zones			\
1363afe87ebSRoger A. Faulkner	vscan/vscand			\
1373afe87ebSRoger A. Faulkner	ypcmd/yppasswd			\
138efd4c9b6SSteve Lawrence	ypcmd/ypupdated			\
139efd4c9b6SSteve Lawrence	zonestat/zonestatd
1403afe87ebSRoger A. Faulkner
1419c5a3148SRichard LoweMISC_SUBDIRS=		\
1429c5a3148SRichard Lowe	dtrace/test/tst \
1439c5a3148SRichard Lowe	sgs
1443afe87ebSRoger A. Faulkner
1453afe87ebSRoger A. Faulkner.KEEP_STATE:
1463afe87ebSRoger A. Faulkner
1473afe87ebSRoger A. Faulkner# Manifests cannot be checked in parallel, because we are using the global
1483afe87ebSRoger A. Faulkner# repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
1493afe87ebSRoger A. Faulkner# repository that is built from the manifests in this workspace, whereas
1503afe87ebSRoger A. Faulkner# the build machine's repository may be out of sync with these manifests.
1513afe87ebSRoger A. Faulkner# Because we are using a private repository, svccfg-native must start up a
1523afe87ebSRoger A. Faulkner# private copy of configd-native.  We cannot have multiple copies of
1533afe87ebSRoger A. Faulkner# configd-native trying to access global.db simultaneously.
1543afe87ebSRoger A. Faulkner
1553afe87ebSRoger A. Faulkner.NO_PARALLEL:
1563afe87ebSRoger A. Faulkner
1579c5a3148SRichard Lowecheck: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS)
1583afe87ebSRoger A. Faulkner
1593afe87ebSRoger A. Faulknersvccfg_check:
1603afe87ebSRoger A. Faulkner	@$(ECHO) "building requirements for svccfg check ..."; \
1613afe87ebSRoger A. Faulkner	(cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
1623afe87ebSRoger A. Faulkner
1639c5a3148SRichard Lowe$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC
1643afe87ebSRoger A. Faulkner	@cd $@; pwd; $(MAKE) check
1653afe87ebSRoger A. Faulkner
1663afe87ebSRoger A. FaulknerFRC:
167