remove xvm/ipagent
[unleashed.git] / usr / src / cmd / Makefile.check
blob71e9819e046b47e1685edce6ad10bd146379324a
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2016 Nexenta Systems, Inc.
28 include ../Makefile.master
31 # Commands providing manifests must offer a check target.  A recursive check
32 # target across all commands directories is not currently provided.
34 MANIFEST_TOPDIRS=                       \
35         acctadm                         \
36         auditd                          \
37         bnu                             \
38         consadm                         \
39         coreadm                         \
40         cron                            \
41         cvcd                            \
42         dispadmin                       \
43         drd                             \
44         dumpadm                         \
45         fcinfo                          \
46         fcoesvc                         \
47         fm                              \
48         ibd_upgrade                     \
49         intrd                           \
50         iscsid                          \
51         iscsitsvc                       \
52         kbd                             \
53         keyserv                         \
54         ldapcachemgr                    \
55         ldmad                           \
56         lms                             \
57         dlmgmtd                         \
58         ndmpd                           \
59         nscd                            \
60         oplhpd                          \
61         pools                           \
62         power                           \
63         rmvolmgr                        \
64         rpcbind                         \
65         rpcsvc                          \
66         sa                              \
67         saf                             \
68         sckmd                           \
69         sf880drd                        \
70         smserverd                       \
71         stmfproxy                       \
72         stmfsvc                         \
73         stmsboot                        \
74         syseventd                       \
75         syslogd                         \
76         utmpd                           \
77         vntsd                           \
78         ypcmd                           \
79         zoneadm                         \
80         zoneadmd
82 MANIFEST_SUBDIRS=                       \
83         boot/scripts                    \
84         cmd-crypto/scripts              \
85         cmd-inet/usr.lib/ilbd           \
86         cmd-inet/usr.lib/in.chargend    \
87         cmd-inet/usr.lib/in.daytimed    \
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/vrrpd          \
96         cmd-inet/usr.lib/wpad           \
97         cmd-inet/usr.sbin               \
98         cmd-inet/usr.sbin/in.rdisc      \
99         cmd-inet/usr.sbin/in.routed     \
100         cmd-inet/usr.sbin/in.talkd      \
101         cmd-inet/usr.sbin/ipsecutils    \
102         cmd-inet/usr.sbin/routeadm      \
103         dcs/sparc/sun4u                 \
104         dfs.cmds/sharemgr               \
105         fs.d/autofs                     \
106         fs.d/nfs/svc                    \
107         fs.d/smbclnt/svc                \
108         gss/gssd                        \
109         hal/addons/network-devices      \
110         hal/hald/solaris                \
111         halt/smf.$(MACH)                \
112         hostid/smf                      \
113         idmap/idmapd                    \
114         ipf/svc                         \
115         isns/isnsd                      \
116         krb5/kadmin/server              \
117         krb5/krb5kdc                    \
118         krb5/kwarn                      \
119         krb5/slave                      \
120         picl/picld                      \
121         rcap/rcapd                      \
122         rpcsvc/rpc.bootparamd           \
123         smbsrv/smbd                     \
124         svc/milestone                   \
125         vscan/vscand                    \
126         ypcmd/yppasswd                  \
127         ypcmd/ypupdated                 \
128         zonestat/zonestatd
130 MISC_SUBDIRS=           \
131         dtrace/test/tst \
132         sgs
134 .KEEP_STATE:
136 # Manifests cannot be checked in parallel, because we are using the global
137 # repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
138 # repository that is built from the manifests in this workspace, whereas
139 # the build machine's repository may be out of sync with these manifests.
140 # Because we are using a private repository, svccfg-native must start up a
141 # private copy of configd-native.  We cannot have multiple copies of
142 # configd-native trying to access global.db simultaneously.
144 .NO_PARALLEL:
146 check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS)
148 svccfg_check:
149         @$(ECHO) "building requirements for svccfg check ..."; \
150         (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
152 $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC
153         @cd $@; pwd; $(MAKE) check
155 FRC: