# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright 2022 Garrett D'Amore # Copyright 2019 Peter Tribble # Copyright 2021 Tintri by DDN, Inc. All rights reserved. # include ../Makefile.master # # Commands providing manifests must offer a check target. A recursive check # target across all commands directories is not currently provided. # # Hammerhead: Removed SPARC-only directories (drd, ldmad, oplhpd, sckmd, # sf880drd, vntsd) - deleted in Phase 2 architecture cleanup # Hammerhead: Removed directories deleted in Phase 3.4 legacy removal: # keyserv, rpcsvc, saf, ypcmd (NIS/UUCP/legacy services) MANIFEST_TOPDIRS= \ acctadm \ auditd \ consadm \ coreadm \ cron \ dispadmin \ dumpadm \ fcinfo \ fcoesvc \ fm \ ibd_upgrade \ intrd \ iscsid \ iscsitsvc \ kbd \ ldapcachemgr \ dlmgmtd \ ndmpd \ nscd \ pools \ power \ rmvolmgr \ rpcbind \ sa \ smserverd \ stmfproxy \ stmfsvc \ stmsboot \ syseventd \ syslogd \ utmpd \ zoneadm \ zoneadmd # Hammerhead: Removed lp/*, print/*, rpcsvc/*, ypcmd/*, vrrpd (Phase 3.4) # Hammerhead: Removed in.chargend, in.daytimed, in.discardd, in.echod, # in.timed, slpd, vrrpd, in.rdisc, in.routed, in.talkd (Phase A/B) MANIFEST_SUBDIRS= \ boot/scripts \ cmd-crypto/scripts \ cmd-inet/usr.lib/ilbd \ cmd-inet/usr.lib/in.mpathd \ cmd-inet/usr.lib/in.ndpd \ cmd-inet/usr.lib/in.ripngd \ cmd-inet/usr.lib/inetd \ cmd-inet/usr.lib/mdnsd \ cmd-inet/usr.lib/wpad \ cmd-inet/usr.sbin \ cmd-inet/usr.sbin/ipsecutils \ cmd-inet/usr.sbin/routeadm \ dfs.cmds/sharemgr \ fs.d/autofs \ fs.d/nfs/svc \ fs.d/smbclnt/svc \ gss/gssd \ hal/addons/network-devices \ hal/hald/solaris \ halt/smf.$(MACH) \ hostid/smf \ idmap/idmapd \ ipf/svc \ isns/isnsd \ krb5/kadmin/server \ krb5/krb5kdc \ krb5/kwarn \ krb5/slave \ picl/picld \ pools/poold \ rcap/rcapd \ smbsrv/smbd \ ssh/etc \ svc/milestone \ tsol/labeld \ tsol/tnctl \ tsol/tnd \ tsol/tsol-zones \ vscan/vscand \ xvm/ipagent \ zonestat/zonestatd MISC_SUBDIRS= \ dtrace/test/tst \ sgs .KEEP_STATE: # Manifests cannot be checked in parallel, because we are using the global # repository that is in $(SRC)/cmd/svc/seed/global.db. This is a # repository that is built from the manifests in this workspace, whereas # the build machine's repository may be out of sync with these manifests. # Because we are using a private repository, svccfg-native must start up a # private copy of configd-native. We cannot have multiple copies of # configd-native trying to access global.db simultaneously. .NOTPARALLEL: check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS) svccfg_check: @$(ECHO) "building requirements for svccfg check ..."; \ (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) global.db) # Hammerhead: Use && to fail fast if cd fails, preventing infinite recursion $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC @cd $@ && pwd && $(MAKE) check FRC: