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 fm \ 45 intrd \ 46 iscsid \ 47 iscsitsvc \ 48 kbd \ 49 keyserv \ 50 ldapcachemgr \ 51 mms \ 52 dlmgmtd \ 53 ndmpd \ 54 nscd \ 55 oplhpd \ 56 pools \ 57 power \ 58 rexd \ 59 rmvolmgr \ 60 rpcbind \ 61 rpcsvc \ 62 sa \ 63 saf \ 64 sckmd \ 65 sf880drd \ 66 smserverd \ 67 stmfsvc \ 68 stmsboot \ 69 syseventd \ 70 syslogd \ 71 utmpd \ 72 vntsd \ 73 ypcmd \ 74 zoneadm \ 75 zoneadmd 76 77MANIFEST_SUBDIRS= \ 78 agents/snmp/snmprelayd \ 79 boot/scripts \ 80 cmd-crypto/scripts \ 81 cmd-inet/usr.lib/in.chargend \ 82 cmd-inet/usr.lib/in.daytimed \ 83 cmd-inet/usr.lib/in.dhcpd \ 84 cmd-inet/usr.lib/in.discardd \ 85 cmd-inet/usr.lib/in.echod \ 86 cmd-inet/usr.lib/in.ndpd \ 87 cmd-inet/usr.lib/in.ripngd \ 88 cmd-inet/usr.lib/in.timed \ 89 cmd-inet/usr.lib/inetd \ 90 cmd-inet/usr.lib/mdnsd \ 91 cmd-inet/usr.lib/slpd \ 92 cmd-inet/usr.lib/wpad \ 93 cmd-inet/usr.sbin \ 94 cmd-inet/usr.sbin/in.ftpd \ 95 cmd-inet/usr.sbin/in.rdisc \ 96 cmd-inet/usr.sbin/in.routed \ 97 cmd-inet/usr.sbin/in.talkd \ 98 cmd-inet/usr.sbin/ipsecutils \ 99 cmd-inet/usr.sbin/kssl/ksslcfg \ 100 cmd-inet/usr.sbin/routeadm \ 101 dcs/sparc/sun4u \ 102 dfs.cmds/sharemgr \ 103 fps/fpsd \ 104 fs.d/autofs \ 105 fs.d/nfs/svc \ 106 fs.d/smbclnt/svc \ 107 gss/gssd \ 108 hal/addons/network-devices \ 109 hal/hald/solaris \ 110 hostid/smf \ 111 idmap/idmapd \ 112 ipf/svc \ 113 iscsi/iscsitgtd \ 114 isns/isnsd \ 115 krb5/kadmin/server \ 116 krb5/krb5kdc \ 117 krb5/kwarn \ 118 krb5/slave \ 119 lp/cmd/lpsched \ 120 lvm/rpc.mdcommd \ 121 lvm/rpc.metad \ 122 lvm/rpc.metamedd \ 123 lvm/rpc.metamhd \ 124 lvm/md_monitord \ 125 lvm/util \ 126 picl/picld \ 127 pools/poold \ 128 print/bsd-sysv-commands \ 129 print/ppdmgr \ 130 rcap/rcapd \ 131 rpcsvc/rpc.bootparamd \ 132 sendmail/lib \ 133 smbsrv/smbd \ 134 ssh/etc \ 135 svc/milestone \ 136 tsol/labeld \ 137 tsol/tnctl \ 138 tsol/tnd \ 139 tsol/tsol-zones \ 140 vscan/vscand \ 141 xvm/ipagent \ 142 ypcmd/yppasswd \ 143 ypcmd/ypupdated \ 144 xntpd/xntpd 145 146$(CLOSED_BUILD)MANIFEST_SUBDIRS += \ 147 $(CLOSED)/cmd/smartcard/daemon \ 148 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked 149 150DTEST_SUBDIRS= \ 151 dtrace/test/tst 152 153.KEEP_STATE: 154 155# Manifests cannot be checked in parallel, because we are using the global 156# repository that is in $(SRC)/cmd/svc/seed/global.db. This is a 157# repository that is built from the manifests in this workspace, whereas 158# the build machine's repository may be out of sync with these manifests. 159# Because we are using a private repository, svccfg-native must start up a 160# private copy of configd-native. We cannot have multiple copies of 161# configd-native trying to access global.db simultaneously. 162 163.NO_PARALLEL: 164 165check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS) 166 167svccfg_check: 168 @$(ECHO) "building requirements for svccfg check ..."; \ 169 (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db) 170 171$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC 172 @cd $@; pwd; $(MAKE) check 173 174FRC: 175