New/Usr/Src/Cmd/Makefile.Check 1
Total Page:16
File Type:pdf, Size:1020Kb
new/usr/src/cmd/Makefile.check 1 new/usr/src/cmd/Makefile.check 2 ********************************************************** 62 rpcsvc \ 4068 Wed Jan 2 21:49:14 2013 63 sa \ new/usr/src/cmd/Makefile.check 64 saf \ 3442 sgs checks should be run in normal builds 65 sckmd \ ********************************************************** 66 sf880drd \ 1 # 67 smserverd \ 2 # CDDL HEADER START 68 stmfproxy \ 3 # 69 stmfsvc \ 4 # The contents of this file are subject to the terms of the 70 stmsboot \ 5 # Common Development and Distribution License (the "License"). 71 syseventd \ 6 # You may not use this file except in compliance with the License. 72 syslogd \ 7 # 73 utmpd \ 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 74 vntsd \ 9 # or http://www.opensolaris.org/os/licensing. 75 ypcmd \ 10 # See the License for the specific language governing permissions 76 zoneadm \ 11 # and limitations under the License. 77 zoneadmd 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 79 MANIFEST_SUBDIRS= \ 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 80 boot/scripts \ 15 # If applicable, add the following below this CDDL HEADER, with the 81 cmd-crypto/scripts \ 16 # fields enclosed by brackets "[]" replaced with your own identifying 82 cmd-inet/usr.lib/ilbd \ 17 # information: Portions Copyright [yyyy] [name of copyright owner] 83 cmd-inet/usr.lib/in.chargend \ 18 # 84 cmd-inet/usr.lib/in.daytimed \ 19 # CDDL HEADER END 85 cmd-inet/usr.lib/in.dhcpd \ 20 # 86 cmd-inet/usr.lib/in.discardd \ 87 cmd-inet/usr.lib/in.echod \ 22 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 88 cmd-inet/usr.lib/in.ndpd \ 89 cmd-inet/usr.lib/in.ripngd \ 24 include ../Makefile.master 90 cmd-inet/usr.lib/in.timed \ 91 cmd-inet/usr.lib/inetd \ 26 # 92 cmd-inet/usr.lib/mdnsd \ 27 # Commands providing manifests must offer a check target. A recursive check 93 cmd-inet/usr.lib/slpd \ 28 # target across all commands directories is not currently provided. 94 cmd-inet/usr.lib/vrrpd \ 29 # 95 cmd-inet/usr.lib/wpad \ 30 MANIFEST_TOPDIRS= \ 96 cmd-inet/usr.sbin \ 31 acctadm \ 97 cmd-inet/usr.sbin/in.ftpd \ 32 auditd \ 98 cmd-inet/usr.sbin/in.rdisc \ 33 bnu \ 99 cmd-inet/usr.sbin/in.routed \ 34 consadm \ 100 cmd-inet/usr.sbin/in.talkd \ 35 coreadm \ 101 cmd-inet/usr.sbin/ipsecutils \ 36 cron \ 102 cmd-inet/usr.sbin/kssl/ksslcfg \ 37 cvcd \ 103 cmd-inet/usr.sbin/routeadm \ 38 dispadmin \ 104 dcs/sparc/sun4u \ 39 drd \ 105 dfs.cmds/sharemgr \ 40 dumpadm \ 106 fs.d/autofs \ 41 fcinfo \ 107 fs.d/nfs/svc \ 42 fcoesvc \ 108 fs.d/smbclnt/svc \ 43 fm \ 109 gss/gssd \ 44 ibd_upgrade \ 110 hal/addons/network-devices \ 45 intrd \ 111 hal/hald/solaris \ 46 iscsid \ 112 halt/smf.$(MACH) \ 47 iscsitsvc \ 113 hostid/smf \ 48 kbd \ 114 idmap/idmapd \ 49 keyserv \ 115 ipf/svc \ 50 ldapcachemgr \ 116 isns/isnsd \ 51 ldmad \ 117 krb5/kadmin/server \ 52 lms \ 118 krb5/krb5kdc \ 53 dlmgmtd \ 119 krb5/kwarn \ 54 ndmpd \ 120 krb5/slave \ 55 nscd \ 121 lp/cmd/lpsched \ 56 oplhpd \ 122 lvm/rpc.mdcommd \ 57 pools \ 123 lvm/rpc.metad \ 58 power \ 124 lvm/rpc.metamedd \ 59 rexd \ 125 lvm/rpc.metamhd \ 60 rmvolmgr \ 126 lvm/md_monitord \ 61 rpcbind \ 127 lvm/util \ new/usr/src/cmd/Makefile.check 3 128 picl/picld \ 129 pools/poold \ 130 print/bsd-sysv-commands \ 131 print/ppdmgr \ 132 rcap/rcapd \ 133 rpcsvc/rpc.bootparamd \ 134 sendmail/lib \ 135 smbsrv/smbd \ 136 ssh/etc \ 137 svc/milestone \ 138 tsol/labeld \ 139 tsol/tnctl \ 140 tsol/tnd \ 141 tsol/tsol-zones \ 142 vscan/vscand \ 143 xvm/ipagent \ 144 ypcmd/yppasswd \ 145 ypcmd/ypupdated \ 146 zonestat/zonestatd 148 MISC_SUBDIRS= \ 149 dtrace/test/tst \ 150 sgs 148 $(CLOSED_BUILD)MANIFEST_SUBDIRS += \ 149 $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked 151 DTEST_SUBDIRS= \ 152 dtrace/test/tst 152 .KEEP_STATE: 154 # Manifests cannot be checked in parallel, because we are using the global 155 # repository that is in $(SRC)/cmd/svc/seed/global.db. This is a 156 # repository that is built from the manifests in this workspace, whereas 157 # the build machine's repository may be out of sync with these manifests. 158 # Because we are using a private repository, svccfg-native must start up a 159 # private copy of configd-native. We cannot have multiple copies of 160 # configd-native trying to access global.db simultaneously. 162 .NO_PARALLEL: 164 check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS) 166 check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS) 166 svccfg_check: 167 @$(ECHO) "building requirements for svccfg check ..."; \ 168 (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db) 170 $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC 172 $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC 171 @cd $@; pwd; $(MAKE) check 173 FRC: new/usr/src/cmd/sgs/Makefile 1 new/usr/src/cmd/sgs/Makefile 2 ********************************************************** 62 error \ 4471 Wed Jan 2 21:49:15 2013 63 gprof \ new/usr/src/cmd/sgs/Makefile 64 lari \ 3442 sgs checks should be run in normal builds 65 lex \ ********************************************************** 66 lorder \ 1 # 67 m4 \ 2 # CDDL HEADER START 68 mcs \ 3 # 69 moe \ 4 # The contents of this file are subject to the terms of the 70 nm \ 5 # Common Development and Distribution License (the "License"). 71 prof \ 6 # You may not use this file except in compliance with the License. 72 ranlib \ 7 # 73 size \ 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 74 symorder \ 9 # or http://www.opensolaris.org/os/licensing. 75 tsort \ 10 # See the License for the specific language governing permissions 76 unifdef \ 11 # and limitations under the License. 77 yacc 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 79 SUBDIRS-i386= 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 80 SUBDIRS-sparc= rtld.4.x 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 82 SUBDIRS= $(SUBDIRS-common) $(SUBDIRS-$(MACH)) 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 84 # Messaging support 19 # CDDL HEADER END 85 # 20 # 86 POSUBDIRS= m4 nm tsort yacc 21 # 87 POFILE= sgs.po 22 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. 88 POFILES= $(POSUBDIRS:%=%/%.po) 23 # 90 MSGSUBDIRS= ld ldd libld liblddbg \ 25 include $(SRC)/cmd/Makefile.cmd 91 libldstab librtld rtld libelf \ 92 ldprof libcrle pvs elfdump \ 27 # Note: Why SUBDIRS-common isn't sorted alphabetically 93 elfedit crle moe lari \ 28 # 94 librtld_db elfwrap ar 29 # The items under SGS are not independent of each other. 30 # They must be built in an order that ensures that 96 MSGDIR= messages 31 # all dependencies of an item have been built before the 32 # item itself. 33 # 99 all := TARGET= all 34 SUBDIRS-common= libconv \ 100 install := TARGET= install 35 .WAIT \ 101 clean := TARGET= clean 36 libdl \ 102 clobber := TARGET= clobber 37 libelf \ 103 delete := TARGET= delete 38 liblddbg \ 104 lint := TARGET= lint 39 .WAIT \ 105 _msg := TARGET= catalog 40 libld \ 106 _msg_gettext := TARGET= catalog 41 libldmake \ 107 _msg_sgsmsg := TARGET= catalog 42 libldstab \ 108 chkmsg := TARGET= chkmsg 43 librtld \ 44 libcrle \ 45 .WAIT \ 111 .KEEP_STATE: 46 0@0 \ 47 ld \ 113 .PARALLEL: $(SUBDIRS) 48 ldd \ 49 lddstub \ 115 all install: native-add .WAIT $(SUBDIRS) 50 rtld \ 51 link_audit \ 117 include $(SRC)/cmd/Makefile.targ 52 .WAIT \ 53 librtld_db \ 119 # Messaging support 54 ldprof \ 120 # 55 pvs \ 121 _msg: _msg_gettext _msg_sgsmsg 56 crle \ 57 ar \ 123 _msg_gettext: $(MSGDOMAIN)/$(POFILE) 58 dump \ 59 elfdump \ 125 _msg_sgsmsg: $(MSGDIR) 60 elfedit \ 61 elfwrap \ 127 $(MSGDOMAIN)/$(POFILE): \ new/usr/src/cmd/sgs/Makefile 3 new/usr/src/cmd/sgs/Makefile 4 128 $(MSGDOMAIN) $(POFILE) 194 ../../common/elfcap \ 195 ../../head \ 130 $(POFILE): $(POSUBDIRS) 196 ../../uts/common/krtld \ 131 $(RM) $(POFILE) 197 ../../uts/common/sys \ 132 cat $(POFILES) > $(POFILE) 198 ../../uts/sparc/sys \ 199 ../../uts/sparc/krtld \ 134 $(MSGDIR): $(MSGSUBDIRS) FRC 200 ../../uts/intel/ia32/krtld \ 135 @ cd $@; pwd; $(MAKE) $(TARGET) 201 ../../uts/intel/amd64/krtld 137 chkmsg: libconv $(MSGSUBDIRS) FRC 203 xref: FRC 204 @ $(RM) cscope.* 139 check: chkmsg 205 xref -p -x cscope 141 #endif /* ! codereview */ 142 # built from lib/Makefile 143 install_lib: FRC 144 @ cd lex; pwd; $(MAKE) $@ 145 @ cd yacc; pwd; $(MAKE) $@ 147 lint: $(SUBDIRS) 149 delete \ 150 clean clobber: native-clobber .WAIT $(SUBDIRS) $(MSGDIR) 152 $(SUBDIRS): FRC 153 @ cd $@; pwd; $(MAKE) $(TARGET) 156 # Integration of ld and ld.so.1 in some developement cycles requires that both 157 # of these modules be built using the new ld. This `native' target allows us 158 # to build a local ld which will then be used to build the delivered version of 159 # itself and ld.so.1. Once this new functionality appears in the standard ld 160 # this target can be disabled. 162 native-add: native-proto FRC 163 @ cd tools/$(MACH); pwd; $(MAKE) native 164 @ cd libconv/$(MACH); pwd; $(MAKE) 165 @ cd libelf/$(MACH); pwd; $(MAKE) native 166 @ cd liblddbg/$(MACH); pwd; $(MAKE) native 167 @ cd libldstab/$(MACH); pwd; $(MAKE) native 168 @ cd libld/$(MACH); pwd; $(MAKE) native 169 @ cd ld/$(MACH); pwd; $(MAKE) native 171 native-clobber: 172 @ cd tools; pwd; $(MAKE) $(TARGET) 173 $(RM) -r proto/$(MACH) 175 native-proto: 176 -@mkdir -p proto/$(MACH) 178 FRC: 180 # 181 # Cross-reference customization: ignore the directories named by XRPRUNE, 182 # and tweak the file globs slightly. 183 # 184 XRPRUNE= rtld.4.x packages abi 185 XRADD= *.msg mapfile* llib-[a-z]* 186 XRDEL= Makefile* kobj_* 188 # 189 # Establish a set of directories for xref to search. As there are duplicates 190 # of things like headers, and only one file will be added to the xref database, 191 # we want xref to list the source file.