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]
22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
25 include $(SRC)/Makefile.master
27 ROOTDIR= $(ROOT)/usr/lib/brand
28 ROOTTEMPLATEDIR= $(ROOT)/etc/zones
29 ROOTBRANDDIR= $(ROOTDIR)/$(BRAND)
30 ROOTBRANDDIR64= $(ROOTDIR)/$(BRAND)/$(MACH64)
31 ROOTSHAREDDIR= $(ROOTDIR)/shared
32 ETCBRANDDIR= $(ROOT)/etc/brand/$(BRAND)
34 ROOTPROGS= $(PROGS:%=$(ROOTBRANDDIR)/%)
35 ROOTTXTS= $(TXTS:%=$(ROOTBRANDDIR)/%)
36 ROOTXMLDOCS= $(XMLDOCS:%=$(ROOTBRANDDIR)/%)
37 ROOTSHARED= $(SHARED:%=$(ROOTSHAREDDIR)/%)
38 ETCUSER= $(USERFILES:%=$(ETCBRANDDIR)/%)
40 BRAND_SHARED= $(SRC)/lib/brand/shared
42 ROOTTEMPLATES= $(TEMPLATES:%=$(ROOTTEMPLATEDIR)/%)
44 $(ROOTBRANDDIR) := FILEMODE = 755
46 $(ROOTXMLDOCS) := FILEMODE = 444
48 $(ROOTSHARED) := FILEMODE = 755
50 $(ROOTTEMPLATEDIR) := FILEMODE = 755
52 $(ROOTTEMPLATES) := FILEMODE = 444
54 $(ROOTTXTS) := FILEMODE = 444
56 $(ROOTPROGS) := FILEMODE = 755
58 $(ROOTBRANDDIR)/% $(ROOTBRANDDIR64)/% $(ROOTTEMPLATEDIR)/% $(ROOTSHAREDDIR)/% $(ETCBRANDDIR)/%: %
61 $(ETCUSER) := FILEMODE = 644
62 $(ETCUSER) := OWNER = root
63 $(ETCUSER) := GROUP = sys