xref: /titanic_41/usr/src/cmd/Makefile.check (revision 4a9e65b63d55ba9f286a52fb196b881264a7f533)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
23
24include ../Makefile.master
25
26#
27# Commands providing manifests must offer a check target.  A recursive check
28# target across all commands directories is not currently provided.
29#
30MANIFEST_TOPDIRS=			\
31	acctadm				\
32	auditd				\
33	bnu				\
34	consadm				\
35	coreadm				\
36	cron				\
37	cvcd				\
38	dispadmin			\
39	drd				\
40	dumpadm				\
41	fcinfo				\
42	fcoesvc				\
43	fm				\
44	ibd_upgrade			\
45	intrd				\
46	iscsid				\
47	iscsitsvc			\
48	kbd				\
49	keyserv				\
50	ldapcachemgr			\
51	ldmad				\
52	lms				\
53	dlmgmtd				\
54	ndmpd				\
55	nscd				\
56	oplhpd				\
57	pools				\
58	power				\
59	rexd				\
60	rmvolmgr			\
61	rpcbind				\
62	rpcsvc				\
63	sa				\
64	saf				\
65	sckmd				\
66	sf880drd			\
67	smserverd			\
68	stmfproxy			\
69	stmfsvc				\
70	stmsboot			\
71	syseventd			\
72	syslogd				\
73	utmpd				\
74	vntsd				\
75	ypcmd				\
76	zoneadm				\
77	zoneadmd
78
79MANIFEST_SUBDIRS=			\
80	agents/snmp/snmprelayd		\
81	boot/scripts			\
82	cmd-crypto/scripts		\
83	cmd-inet/usr.lib/ilbd		\
84	cmd-inet/usr.lib/in.chargend	\
85	cmd-inet/usr.lib/in.daytimed	\
86	cmd-inet/usr.lib/in.dhcpd	\
87	cmd-inet/usr.lib/in.discardd	\
88	cmd-inet/usr.lib/in.echod	\
89	cmd-inet/usr.lib/in.ndpd	\
90	cmd-inet/usr.lib/in.ripngd	\
91	cmd-inet/usr.lib/in.timed	\
92	cmd-inet/usr.lib/inetd		\
93	cmd-inet/usr.lib/mdnsd		\
94	cmd-inet/usr.lib/slpd		\
95	cmd-inet/usr.lib/vrrpd		\
96	cmd-inet/usr.lib/wpad		\
97	cmd-inet/usr.sbin		\
98	cmd-inet/usr.sbin/in.ftpd	\
99	cmd-inet/usr.sbin/in.rdisc	\
100	cmd-inet/usr.sbin/in.routed	\
101	cmd-inet/usr.sbin/in.talkd	\
102	cmd-inet/usr.sbin/ipsecutils	\
103	cmd-inet/usr.sbin/kssl/ksslcfg	\
104	cmd-inet/usr.sbin/routeadm	\
105	dcs/sparc/sun4u			\
106	dfs.cmds/sharemgr		\
107	fps/fpsd			\
108	fs.d/autofs			\
109	fs.d/nfs/svc			\
110	fs.d/smbclnt/svc		\
111	gss/gssd			\
112	hal/addons/network-devices	\
113	hal/hald/solaris		\
114	halt/smf.$(MACH)		\
115	hostid/smf			\
116	idmap/idmapd			\
117	ipf/svc				\
118	isns/isnsd			\
119	krb5/kadmin/server		\
120	krb5/krb5kdc			\
121	krb5/kwarn			\
122	krb5/slave			\
123	lp/cmd/lpsched			\
124	lvm/rpc.mdcommd			\
125	lvm/rpc.metad			\
126	lvm/rpc.metamedd		\
127	lvm/rpc.metamhd			\
128	lvm/md_monitord			\
129	lvm/util			\
130	picl/picld			\
131	pools/poold			\
132	print/bsd-sysv-commands		\
133	print/ppdmgr			\
134	rcap/rcapd			\
135	rpcsvc/rpc.bootparamd		\
136	sendmail/lib			\
137	smbsrv/smbd			\
138	ssh/etc				\
139	svc/milestone			\
140	tsol/labeld			\
141	tsol/tnctl			\
142	tsol/tnd			\
143	tsol/tsol-zones			\
144	vscan/vscand			\
145	xvm/ipagent			\
146	ypcmd/yppasswd			\
147	ypcmd/ypupdated
148
149$(CLOSED_BUILD)MANIFEST_SUBDIRS +=		\
150	$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
151
152DTEST_SUBDIRS= \
153	dtrace/test/tst
154
155.KEEP_STATE:
156
157# Manifests cannot be checked in parallel, because we are using the global
158# repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
159# repository that is built from the manifests in this workspace, whereas
160# the build machine's repository may be out of sync with these manifests.
161# Because we are using a private repository, svccfg-native must start up a
162# private copy of configd-native.  We cannot have multiple copies of
163# configd-native trying to access global.db simultaneously.
164
165.NO_PARALLEL:
166
167check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS)
168
169svccfg_check:
170	@$(ECHO) "building requirements for svccfg check ..."; \
171	(cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
172
173$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC
174	@cd $@; pwd; $(MAKE) check
175
176FRC:
177