lib: remove sparc-only libdscp
[unleashed.git] / usr / src / cmd / Makefile.check
blobf73330dfbde9f6cccc1e8868138de339129a4ec5
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 2017 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         consadm                         \
38         coreadm                         \
39         cron                            \
40         dispadmin                       \
41         drd                             \
42         dumpadm                         \
43         fcinfo                          \
44         fcoesvc                         \
45         fm                              \
46         ibd_upgrade                     \
47         intrd                           \
48         iscsid                          \
49         iscsitsvc                       \
50         kbd                             \
51         keyserv                         \
52         ldapcachemgr                    \
53         dlmgmtd                         \
54         ndmpd                           \
55         nscd                            \
56         pools                           \
57         power                           \
58         rmvolmgr                        \
59         rpcbind                         \
60         rpcsvc                          \
61         sa                              \
62         saf                             \
63         smserverd                       \
64         stmfsvc                         \
65         stmsboot                        \
66         syseventd                       \
67         syslogd                         \
68         utmpd                           \
69         ypcmd                           \
70         zoneadm                         \
71         zoneadmd
73 MANIFEST_SUBDIRS=                       \
74         boot/scripts                    \
75         cmd-crypto/scripts              \
76         cmd-inet/usr.lib/ilbd           \
77         cmd-inet/usr.lib/in.chargend    \
78         cmd-inet/usr.lib/in.daytimed    \
79         cmd-inet/usr.lib/in.discardd    \
80         cmd-inet/usr.lib/in.echod       \
81         cmd-inet/usr.lib/in.ndpd        \
82         cmd-inet/usr.lib/in.ripngd      \
83         cmd-inet/usr.lib/in.timed       \
84         cmd-inet/usr.lib/inetd          \
85         cmd-inet/usr.lib/mdnsd          \
86         cmd-inet/usr.lib/vrrpd          \
87         cmd-inet/usr.lib/wpad           \
88         cmd-inet/usr.sbin               \
89         cmd-inet/usr.sbin/in.rdisc      \
90         cmd-inet/usr.sbin/in.routed     \
91         cmd-inet/usr.sbin/in.talkd      \
92         cmd-inet/usr.sbin/ipsecutils    \
93         dfs.cmds/sharemgr               \
94         fs.d/autofs                     \
95         fs.d/nfs/svc                    \
96         fs.d/smbclnt/svc                \
97         gss/gssd                        \
98         hal/addons/network-devices      \
99         hal/hald/solaris                \
100         halt/smf.$(MACH)                \
101         hostid/smf                      \
102         idmap/idmapd                    \
103         ipf/svc                         \
104         isns/isnsd                      \
105         krb5/kadmin/server              \
106         krb5/krb5kdc                    \
107         krb5/kwarn                      \
108         krb5/slave                      \
109         picl/picld                      \
110         rcap/rcapd                      \
111         rpcsvc/rpc.bootparamd           \
112         smbsrv/smbd                     \
113         svc/milestone                   \
114         vscan/vscand                    \
115         ypcmd/yppasswd                  \
116         ypcmd/ypupdated                 \
117         zonestat/zonestatd
119 MISC_SUBDIRS=           \
120         dtrace/test/tst \
121         sgs
123 .KEEP_STATE:
125 # Manifests cannot be checked in parallel, because we are using the global
126 # repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
127 # repository that is built from the manifests in this workspace, whereas
128 # the build machine's repository may be out of sync with these manifests.
129 # Because we are using a private repository, svccfg-native must start up a
130 # private copy of configd-native.  We cannot have multiple copies of
131 # configd-native trying to access global.db simultaneously.
133 .NO_PARALLEL:
135 check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS)
137 svccfg_check:
138         @$(ECHO) "building requirements for svccfg check ..."; \
139         (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
141 $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC
142         @cd $@; pwd; $(MAKE) check
144 FRC: