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 2009 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26include ../Makefile.master 27 28# 29# Commands providing manifests must offer a check target. A recursive check 30# target across all commands directories is not currently provided. 31# 32MANIFEST_TOPDIRS= \ 33 acctadm \ 34 auditd \ 35 bnu \ 36 consadm \ 37 coreadm \ 38 cron \ 39 cvcd \ 40 dispadmin \ 41 drd \ 42 dumpadm \ 43 fcinfo \ 44 fcoesvc \ 45 fm \ 46 intrd \ 47 iscsid \ 48 iscsitsvc \ 49 kbd \ 50 keyserv \ 51 ldapcachemgr \ 52 ldmad \ 53 lms \ 54 mms \ 55 dlmgmtd \ 56 ndmpd \ 57 nscd \ 58 oplhpd \ 59 pools \ 60 power \ 61 rexd \ 62 rmvolmgr \ 63 rpcbind \ 64 rpcsvc \ 65 sa \ 66 saf \ 67 sckmd \ 68 sf880drd \ 69 smserverd \ 70 stmfproxy \ 71 stmfsvc \ 72 stmsboot \ 73 syseventd \ 74 syslogd \ 75 utmpd \ 76 vntsd \ 77 ypcmd \ 78 zoneadm \ 79 zoneadmd 80 81MANIFEST_SUBDIRS= \ 82 agents/snmp/snmprelayd \ 83 boot/scripts \ 84 cmd-crypto/scripts \ 85 cmd-inet/usr.lib/in.chargend \ 86 cmd-inet/usr.lib/in.daytimed \ 87 cmd-inet/usr.lib/in.dhcpd \ 88 cmd-inet/usr.lib/in.discardd \ 89 cmd-inet/usr.lib/in.echod \ 90 cmd-inet/usr.lib/in.ndpd \ 91 cmd-inet/usr.lib/in.ripngd \ 92 cmd-inet/usr.lib/in.timed \ 93 cmd-inet/usr.lib/inetd \ 94 cmd-inet/usr.lib/mdnsd \ 95 cmd-inet/usr.lib/slpd \ 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 \ 115 hostid/smf \ 116 idmap/idmapd \ 117 ipf/svc \ 118 iscsi/iscsitgtd \ 119 isns/isnsd \ 120 krb5/kadmin/server \ 121 krb5/krb5kdc \ 122 krb5/kwarn \ 123 krb5/slave \ 124 lp/cmd/lpsched \ 125 lvm/rpc.mdcommd \ 126 lvm/rpc.metad \ 127 lvm/rpc.metamedd \ 128 lvm/rpc.metamhd \ 129 lvm/md_monitord \ 130 lvm/util \ 131 picl/picld \ 132 pools/poold \ 133 print/bsd-sysv-commands \ 134 print/ppdmgr \ 135 rcap/rcapd \ 136 rpcsvc/rpc.bootparamd \ 137 sendmail/lib \ 138 smbsrv/smbd \ 139 ssh/etc \ 140 svc/milestone \ 141 tsol/labeld \ 142 tsol/tnctl \ 143 tsol/tnd \ 144 tsol/tsol-zones \ 145 vscan/vscand \ 146 xvm/ipagent \ 147 ypcmd/yppasswd \ 148 ypcmd/ypupdated 149 150$(CLOSED_BUILD)MANIFEST_SUBDIRS += \ 151 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked 152 153DTEST_SUBDIRS= \ 154 dtrace/test/tst 155 156.KEEP_STATE: 157 158# Manifests cannot be checked in parallel, because we are using the global 159# repository that is in $(SRC)/cmd/svc/seed/global.db. This is a 160# repository that is built from the manifests in this workspace, whereas 161# the build machine's repository may be out of sync with these manifests. 162# Because we are using a private repository, svccfg-native must start up a 163# private copy of configd-native. We cannot have multiple copies of 164# configd-native trying to access global.db simultaneously. 165 166.NO_PARALLEL: 167 168check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS) 169 170svccfg_check: 171 @$(ECHO) "building requirements for svccfg check ..."; \ 172 (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db) 173 174$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC 175 @cd $@; pwd; $(MAKE) check 176 177FRC: 178