17c478bd9Sstevel@tonic-gate# CDDL HEADER START 27c478bd9Sstevel@tonic-gate# 37c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 4749f21d3Swesolows# Common Development and Distribution License (the "License"). 5749f21d3Swesolows# You may not use this file except in compliance with the License. 67c478bd9Sstevel@tonic-gate# 77c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 87c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 97c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 107c478bd9Sstevel@tonic-gate# and limitations under the License. 117c478bd9Sstevel@tonic-gate# 127c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 137c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 147c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 157c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 167c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 177c478bd9Sstevel@tonic-gate# 187c478bd9Sstevel@tonic-gate# CDDL HEADER END 197c478bd9Sstevel@tonic-gate# 201ce19511Sth199096 21749f21d3Swesolows# 22adfc3118STruong Nguyen# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. 23c10c16deSRichard Lowe# Copyright 2011, Richard Lowe 244445fffbSMatthew Ahrens# Copyright (c) 2012 by Delphix. All rights reserved. 2525c28e83SPiotr Jasiukajtis# Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com> 26f5c2e7eaSTheo Schlossnagle# Copyright 2012 OmniTI Computer Consulting, Inc. All rights reserved. 277d10cd4dSGarrett D'Amore# Copyright 2022 Garrett D'Amore <garrett@damore.org> 28f73e0305SHans Rosenfeld# Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 292b987d42SAlexander Eremin# Copyright 2017 Nexenta Systems, Inc. 30f06dce2cSAndrew Stormont# Copyright 2017 RackTop Systems. 31d7b72f7bSAndy Fiddaman# Copyright 2022 OmniOS Community Edition (OmniOSce) Association. 32d8ab6e12SDon Brady# Copyright 2020 Joyent, Inc. 33749f21d3Swesolows# 341ce19511Sth199096 351ce19511Sth199096# 367c478bd9Sstevel@tonic-gate# It is easier to think in terms of directory names without the ROOT macro 377c478bd9Sstevel@tonic-gate# prefix. ROOTDIRS is TARGETDIRS with ROOT prefixes. It is necessary 387c478bd9Sstevel@tonic-gate# to work with ROOT prefixes when controlling conditional assignments. 397c478bd9Sstevel@tonic-gate# 407c478bd9Sstevel@tonic-gate 4148bc00d6SjmcpDIRLINKS= $(SYM.DIRS) 4248bc00d6Sjmcp$(BUILD64) DIRLINKS += $(SYM.DIRS64) 437c478bd9Sstevel@tonic-gate 4448bc00d6SjmcpTARGETDIRS= $(DIRS) 4548bc00d6Sjmcp$(BUILD64) TARGETDIRS += $(DIRS64) 467c478bd9Sstevel@tonic-gate 4748bc00d6SjmcpTARGETDIRS += $(FILELINKS) $(DIRLINKS) 487c478bd9Sstevel@tonic-gate 4948bc00d6Sjmcpi386_DIRS= \ 507c478bd9Sstevel@tonic-gate /boot/acpi \ 517c478bd9Sstevel@tonic-gate /boot/acpi/tables \ 527c478bd9Sstevel@tonic-gate /boot/grub \ 537c478bd9Sstevel@tonic-gate /boot/grub/bin \ 5448bc00d6Sjmcp /platform/i86pc \ 5525c28e83SPiotr Jasiukajtis /lib/libmvec \ 5648bc00d6Sjmcp /usr/lib/xen \ 57d7b72f7bSAndy Fiddaman /usr/lib/xen/bin \ 58d7b72f7bSAndy Fiddaman /usr/share/bhyve 597c478bd9Sstevel@tonic-gate 6048bc00d6Sjmcpsparc_DIRS= \ 6148bc00d6Sjmcp /usr/lib/ldoms 627c478bd9Sstevel@tonic-gate 6348bc00d6Sjmcpsparc_64ONLY= $(POUND_SIGN) 6448bc00d6Sjmcp64ONLY= $($(MACH)_64ONLY) 6548bc00d6Sjmcp 6648bc00d6Sjmcp$(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32) 6748bc00d6Sjmcp 6870143b9fSRichard LowePYTHON3_DIRS = \ 69e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION) \ 70e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION)/vendor-packages \ 71e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris \ 72e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris/__pycache__ \ 73e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs \ 74e8921a52SAndy Fiddaman /usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs/__pycache__ 75e8921a52SAndy Fiddaman 7645ede40bSAndy Fiddaman$(BUILDPY3b)PYTHON3_DIRS += \ 7745ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION) \ 7845ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION)/vendor-packages \ 7945ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/solaris \ 8045ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/solaris/__pycache__ \ 8145ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/zfs \ 8245ede40bSAndy Fiddaman /usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/zfs/__pycache__ 8345ede40bSAndy Fiddaman 8448bc00d6SjmcpDIRS= \ 85986fd29aSsetje /boot \ 86986fd29aSsetje /boot/solaris \ 87986fd29aSsetje /boot/solaris/bin \ 8848bc00d6Sjmcp $($(MACH)_DIRS) \ 897c478bd9Sstevel@tonic-gate /dev \ 907c478bd9Sstevel@tonic-gate /dev/dsk \ 917c478bd9Sstevel@tonic-gate /dev/fd \ 92b127ac41SPhilip Kirk /dev/ipnet \ 93d62bc4baSyz147064 /dev/net \ 947c478bd9Sstevel@tonic-gate /dev/rdsk \ 957c478bd9Sstevel@tonic-gate /dev/rmt \ 967c478bd9Sstevel@tonic-gate /dev/pts \ 977c478bd9Sstevel@tonic-gate /dev/sad \ 987c478bd9Sstevel@tonic-gate /dev/swap \ 9948bc00d6Sjmcp /dev/term \ 100aecfc01dSrui zang - Sun Microsystems - Beijing China /dev/vt \ 101c54df98aSjg /dev/zcons \ 1027c478bd9Sstevel@tonic-gate /devices \ 1037c478bd9Sstevel@tonic-gate /devices/pseudo \ 1047c478bd9Sstevel@tonic-gate /etc \ 105edfa49ffS /etc/brand \ 106e71ca95cSGerald Jelinek /etc/brand/solaris10 \ 1077c478bd9Sstevel@tonic-gate /etc/cron.d \ 1087c478bd9Sstevel@tonic-gate /etc/crypto \ 1097c478bd9Sstevel@tonic-gate /etc/crypto/certs \ 1107c478bd9Sstevel@tonic-gate /etc/crypto/crls \ 11148bc00d6Sjmcp /etc/dbus-1 \ 11248bc00d6Sjmcp /etc/dbus-1/system.d \ 1137c478bd9Sstevel@tonic-gate /etc/default \ 1147c478bd9Sstevel@tonic-gate /etc/devices \ 1158d483882Smlf /etc/dev \ 1167c478bd9Sstevel@tonic-gate /etc/dfs \ 11748bc00d6Sjmcp /etc/dladm \ 1187c478bd9Sstevel@tonic-gate /etc/fs \ 1197c478bd9Sstevel@tonic-gate /etc/fs/nfs \ 120fa9e4066Sahrens /etc/fs/zfs \ 1217c478bd9Sstevel@tonic-gate /etc/ftpd \ 12218c2aff7Sartem /etc/hal \ 12318c2aff7Sartem /etc/hal/fdi \ 12418c2aff7Sartem /etc/hal/fdi/information \ 12518c2aff7Sartem /etc/hal/fdi/information/10freedesktop \ 12618c2aff7Sartem /etc/hal/fdi/information/20thirdparty \ 12718c2aff7Sartem /etc/hal/fdi/information/30user \ 12818c2aff7Sartem /etc/hal/fdi/policy \ 12918c2aff7Sartem /etc/hal/fdi/policy/10osvendor \ 13018c2aff7Sartem /etc/hal/fdi/policy/20thirdparty \ 13118c2aff7Sartem /etc/hal/fdi/policy/30user \ 13218c2aff7Sartem /etc/hal/fdi/preprobe \ 13318c2aff7Sartem /etc/hal/fdi/preprobe/10osvendor \ 13418c2aff7Sartem /etc/hal/fdi/preprobe/20thirdparty \ 13518c2aff7Sartem /etc/hal/fdi/preprobe/30user \ 1366e91bba0SGirish Moodalbail /etc/ipadm \ 13736c5fee3Smcneal /etc/iscsi \ 1387c478bd9Sstevel@tonic-gate /etc/rpcsec \ 1397c478bd9Sstevel@tonic-gate /etc/security \ 140ead1f93eSLiane Praza /etc/security/auth_attr.d \ 141ead1f93eSLiane Praza /etc/security/exec_attr.d \ 142ead1f93eSLiane Praza /etc/security/prof_attr.d \ 143f875b4ebSrica /etc/security/tsol \ 1447c478bd9Sstevel@tonic-gate /etc/gss \ 1457c478bd9Sstevel@tonic-gate /etc/init.d \ 146d04ccbb3Scarlsonj /etc/dhcp \ 1477c478bd9Sstevel@tonic-gate /etc/lib \ 14848bc00d6Sjmcp /etc/mail \ 14948bc00d6Sjmcp /etc/mail/cf \ 15048bc00d6Sjmcp /etc/mail/cf/cf \ 15148bc00d6Sjmcp /etc/mail/cf/domain \ 15248bc00d6Sjmcp /etc/mail/cf/feature \ 15348bc00d6Sjmcp /etc/mail/cf/m4 \ 15448bc00d6Sjmcp /etc/mail/cf/mailer \ 15548bc00d6Sjmcp /etc/mail/cf/ostype \ 15648bc00d6Sjmcp /etc/mail/cf/sh \ 15748bc00d6Sjmcp /etc/net-snmp \ 15848bc00d6Sjmcp /etc/net-snmp/snmp \ 1597c478bd9Sstevel@tonic-gate /etc/opt \ 1607c478bd9Sstevel@tonic-gate /etc/rc0.d \ 1617c478bd9Sstevel@tonic-gate /etc/rc1.d \ 1627c478bd9Sstevel@tonic-gate /etc/rc2.d \ 1637c478bd9Sstevel@tonic-gate /etc/rc3.d \ 1647c478bd9Sstevel@tonic-gate /etc/rcS.d \ 16548bc00d6Sjmcp /etc/saf \ 1667c478bd9Sstevel@tonic-gate /etc/sasl \ 1677c478bd9Sstevel@tonic-gate /etc/sfw \ 168a7fe1d5bSAndy Stormont /etc/skel \ 1697c478bd9Sstevel@tonic-gate /etc/svc \ 1709444c26fSTom Whitten /etc/svc/profile \ 171adfc3118STruong Nguyen /etc/svc/profile/site \ 1727c478bd9Sstevel@tonic-gate /etc/svc/volatile \ 1732b987d42SAlexander Eremin /etc/system.d \ 1747c478bd9Sstevel@tonic-gate /etc/tm \ 1757c478bd9Sstevel@tonic-gate /etc/usb \ 176ead1f93eSLiane Praza /etc/user_attr.d \ 177088e9d47Seschrock /etc/zfs \ 1787c478bd9Sstevel@tonic-gate /etc/zones \ 1797c478bd9Sstevel@tonic-gate /export \ 1807c478bd9Sstevel@tonic-gate /home \ 18148bc00d6Sjmcp /lib \ 18248bc00d6Sjmcp /lib/crypto \ 18348bc00d6Sjmcp /lib/inet \ 184fc5ba5b7SAntonello Cruz /lib/fm \ 18548bc00d6Sjmcp /lib/secure \ 18648bc00d6Sjmcp /lib/svc \ 18748bc00d6Sjmcp /lib/svc/bin \ 18848bc00d6Sjmcp /lib/svc/capture \ 1899444c26fSTom Whitten /lib/svc/manifest \ 1909444c26fSTom Whitten /lib/svc/manifest/milestone \ 1919444c26fSTom Whitten /lib/svc/manifest/device \ 1929444c26fSTom Whitten /lib/svc/manifest/system \ 1939444c26fSTom Whitten /lib/svc/manifest/system/device \ 1949444c26fSTom Whitten /lib/svc/manifest/system/filesystem \ 1959444c26fSTom Whitten /lib/svc/manifest/system/security \ 1969444c26fSTom Whitten /lib/svc/manifest/system/svc \ 1979444c26fSTom Whitten /lib/svc/manifest/network \ 1989444c26fSTom Whitten /lib/svc/manifest/network/dns \ 1999444c26fSTom Whitten /lib/svc/manifest/network/ipsec \ 2009444c26fSTom Whitten /lib/svc/manifest/network/ldap \ 2019444c26fSTom Whitten /lib/svc/manifest/network/nfs \ 2029444c26fSTom Whitten /lib/svc/manifest/network/nis \ 2039444c26fSTom Whitten /lib/svc/manifest/network/rpc \ 2049444c26fSTom Whitten /lib/svc/manifest/network/security \ 2059444c26fSTom Whitten /lib/svc/manifest/network/shares \ 2069444c26fSTom Whitten /lib/svc/manifest/application \ 2079444c26fSTom Whitten /lib/svc/manifest/application/management \ 2089444c26fSTom Whitten /lib/svc/manifest/application/security \ 2099444c26fSTom Whitten /lib/svc/manifest/application/print \ 2109444c26fSTom Whitten /lib/svc/manifest/platform \ 2119444c26fSTom Whitten /lib/svc/manifest/platform/sun4u \ 2129444c26fSTom Whitten /lib/svc/manifest/platform/sun4v \ 2139444c26fSTom Whitten /lib/svc/manifest/site \ 21448bc00d6Sjmcp /lib/svc/method \ 21548bc00d6Sjmcp /lib/svc/monitor \ 21648bc00d6Sjmcp /lib/svc/seed \ 21748bc00d6Sjmcp /lib/svc/share \ 2187c478bd9Sstevel@tonic-gate /kernel \ 219f73e0305SHans Rosenfeld /kernel/firmware \ 2207c478bd9Sstevel@tonic-gate /mnt \ 2217c478bd9Sstevel@tonic-gate /opt \ 2227c478bd9Sstevel@tonic-gate /platform \ 2237c478bd9Sstevel@tonic-gate /proc \ 2245f6d439cSgww /root \ 2257c478bd9Sstevel@tonic-gate /sbin \ 2267c478bd9Sstevel@tonic-gate /system \ 22776ca3cb0SRobert Mustacchi /system/boot \ 2287c478bd9Sstevel@tonic-gate /system/contract \ 2297c478bd9Sstevel@tonic-gate /system/object \ 23048bc00d6Sjmcp /tmp \ 2317c478bd9Sstevel@tonic-gate /usr \ 23248bc00d6Sjmcp /usr/ast \ 23348bc00d6Sjmcp /usr/ast/bin \ 23448bc00d6Sjmcp /usr/bin \ 23548bc00d6Sjmcp /usr/bin/$(MACH32) \ 23648bc00d6Sjmcp /usr/ccs \ 23748bc00d6Sjmcp /usr/ccs/bin \ 23848bc00d6Sjmcp /usr/ccs/lib \ 23948bc00d6Sjmcp /usr/demo \ 24048bc00d6Sjmcp /usr/demo/SOUND \ 24148bc00d6Sjmcp /usr/games \ 242ead1f93eSLiane Praza /usr/has \ 243ead1f93eSLiane Praza /usr/has/bin \ 244ead1f93eSLiane Praza /usr/has/lib \ 245c10c16deSRichard Lowe /usr/has/man \ 24648bc00d6Sjmcp /usr/include \ 247b3700b07SGordon Ross /usr/include/ads \ 24848bc00d6Sjmcp /usr/include/ast \ 24948bc00d6Sjmcp /usr/include/fm \ 25048bc00d6Sjmcp /usr/include/gssapi \ 25148bc00d6Sjmcp /usr/include/hal \ 25248bc00d6Sjmcp /usr/include/kerberosv5 \ 25348bc00d6Sjmcp /usr/include/libmilter \ 25448bc00d6Sjmcp /usr/include/libpolkit \ 25548bc00d6Sjmcp /usr/include/sasl \ 25648bc00d6Sjmcp /usr/include/scsi \ 25748bc00d6Sjmcp /usr/include/security \ 25848bc00d6Sjmcp /usr/include/sys/crypto \ 25948bc00d6Sjmcp /usr/include/tsol \ 2607c478bd9Sstevel@tonic-gate /usr/kernel \ 26148bc00d6Sjmcp /usr/kvm \ 26248bc00d6Sjmcp /usr/lib \ 26348bc00d6Sjmcp /usr/lib/abi \ 26448bc00d6Sjmcp /usr/lib/brand \ 265ead1f93eSLiane Praza /usr/lib/brand/ipkg \ 266ead1f93eSLiane Praza /usr/lib/brand/labeled \ 26748bc00d6Sjmcp /usr/lib/brand/shared \ 26848bc00d6Sjmcp /usr/lib/brand/sn1 \ 269e71ca95cSGerald Jelinek /usr/lib/brand/solaris10 \ 27048bc00d6Sjmcp /usr/lib/class \ 27148bc00d6Sjmcp /usr/lib/class/FSS \ 27248bc00d6Sjmcp /usr/lib/class/FX \ 27348bc00d6Sjmcp /usr/lib/class/IA \ 27448bc00d6Sjmcp /usr/lib/class/RT \ 27535a5a358SJonathan Adams /usr/lib/class/SDC \ 27648bc00d6Sjmcp /usr/lib/class/TS \ 27748bc00d6Sjmcp /usr/lib/crypto \ 27848bc00d6Sjmcp /usr/lib/elfedit \ 27948bc00d6Sjmcp /usr/lib/fm \ 28048bc00d6Sjmcp /usr/lib/font \ 28148bc00d6Sjmcp /usr/lib/fs \ 28248bc00d6Sjmcp /usr/lib/fs/nfs \ 28348bc00d6Sjmcp /usr/lib/fs/proc \ 28448bc00d6Sjmcp /usr/lib/fs/smb \ 28548bc00d6Sjmcp /usr/lib/fs/zfs \ 28648bc00d6Sjmcp /usr/lib/gss \ 28748bc00d6Sjmcp /usr/lib/hal \ 28848bc00d6Sjmcp /usr/lib/inet \ 289dbed73cbSSangeeta Misra /usr/lib/inet/ilb \ 29048bc00d6Sjmcp /usr/lib/krb5 \ 29148bc00d6Sjmcp /usr/lib/link_audit \ 2920f9b8dcfSRichard Lowe /usr/lib/locale \ 2930f9b8dcfSRichard Lowe /usr/lib/locale/C \ 2940f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_COLLATE \ 2950f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_CTYPE \ 2960f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_MESSAGES \ 2970f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_MONETARY \ 2980f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_NUMERIC \ 2990f9b8dcfSRichard Lowe /usr/lib/locale/C/LC_TIME \ 30048bc00d6Sjmcp /usr/lib/lwp \ 30148bc00d6Sjmcp /usr/lib/mdb \ 30248bc00d6Sjmcp /usr/lib/mdb/kvm \ 30348bc00d6Sjmcp /usr/lib/mdb/proc \ 30448bc00d6Sjmcp /usr/lib/nfs \ 30536589d6bSRobert Mustacchi /usr/lib/varpd \ 30648bc00d6Sjmcp /usr/net \ 30748bc00d6Sjmcp /usr/net/servers \ 30848bc00d6Sjmcp /usr/lib/pool \ 30948bc00d6Sjmcp /usr/lib/rcap \ 31048bc00d6Sjmcp /usr/lib/rcap/$(MACH32) \ 31148bc00d6Sjmcp /usr/lib/sa \ 31248bc00d6Sjmcp /usr/lib/saf \ 31348bc00d6Sjmcp /usr/lib/sasl \ 31448bc00d6Sjmcp /usr/lib/scsi \ 31548bc00d6Sjmcp /usr/lib/secure \ 31648bc00d6Sjmcp /usr/lib/security \ 31748bc00d6Sjmcp /usr/lib/smbsrv \ 31848bc00d6Sjmcp /usr/lib/vscan \ 31948bc00d6Sjmcp /usr/lib/zfs \ 32048bc00d6Sjmcp /usr/lib/zones \ 32148bc00d6Sjmcp /usr/old \ 3227c478bd9Sstevel@tonic-gate /usr/platform \ 32348bc00d6Sjmcp /usr/proc \ 32448bc00d6Sjmcp /usr/proc/bin \ 32548bc00d6Sjmcp /usr/sadm \ 32648bc00d6Sjmcp /usr/sadm/install \ 32748bc00d6Sjmcp /usr/sadm/install/bin \ 32848bc00d6Sjmcp /usr/sadm/install/scripts \ 32948bc00d6Sjmcp /usr/sbin \ 33048bc00d6Sjmcp /usr/sbin/$(MACH32) \ 3317c478bd9Sstevel@tonic-gate /usr/share \ 33248bc00d6Sjmcp /usr/share/applications \ 33348bc00d6Sjmcp /usr/share/audio \ 33448bc00d6Sjmcp /usr/share/audio/samples \ 33548bc00d6Sjmcp /usr/share/audio/samples/au \ 33648bc00d6Sjmcp /usr/share/gnome \ 33748bc00d6Sjmcp /usr/share/gnome/autostart \ 33848bc00d6Sjmcp /usr/share/hwdata \ 33948bc00d6Sjmcp /usr/share/lib \ 34048bc00d6Sjmcp /usr/share/lib/ccs \ 34148bc00d6Sjmcp /usr/share/lib/tmac \ 34248bc00d6Sjmcp /usr/share/lib/ldif \ 34348bc00d6Sjmcp /usr/share/lib/xml \ 34448bc00d6Sjmcp /usr/share/lib/xml/dtd \ 34548bc00d6Sjmcp /usr/share/man \ 34648bc00d6Sjmcp /usr/share/src \ 34748bc00d6Sjmcp /usr/ucb \ 34848bc00d6Sjmcp $(MACH32_DIRS) \ 34948bc00d6Sjmcp /usr/ucblib \ 35048bc00d6Sjmcp /usr/xpg4 \ 35148bc00d6Sjmcp /usr/xpg4/bin \ 35248bc00d6Sjmcp /usr/xpg4/include \ 35348bc00d6Sjmcp /usr/xpg4/lib \ 35448bc00d6Sjmcp /usr/xpg6 \ 35548bc00d6Sjmcp /usr/xpg6/bin \ 3567c478bd9Sstevel@tonic-gate /var \ 3577c478bd9Sstevel@tonic-gate /var/adm \ 35848bc00d6Sjmcp /var/adm/exacct \ 35948bc00d6Sjmcp /var/adm/log \ 3607c478bd9Sstevel@tonic-gate /var/adm/pool \ 36148bc00d6Sjmcp /var/adm/sa \ 3627c478bd9Sstevel@tonic-gate /var/adm/sm.bin \ 3637c478bd9Sstevel@tonic-gate /var/adm/streams \ 364dfac3eb2SDavid Powell /var/cores \ 3657c478bd9Sstevel@tonic-gate /var/cron \ 366660ed88aSdr146992 /var/db \ 367660ed88aSdr146992 /var/db/ipf \ 36848bc00d6Sjmcp /var/games \ 36948bc00d6Sjmcp /var/idmap \ 3707c478bd9Sstevel@tonic-gate /var/krb5 \ 3717c478bd9Sstevel@tonic-gate /var/krb5/rcache \ 3727c478bd9Sstevel@tonic-gate /var/krb5/rcache/root \ 37348bc00d6Sjmcp /var/ld \ 3747c478bd9Sstevel@tonic-gate /var/log \ 3757c478bd9Sstevel@tonic-gate /var/log/pool \ 376e9a193fcSJohn.Zolnowsky@Sun.COM /var/logadm \ 37748bc00d6Sjmcp /var/mail \ 37848bc00d6Sjmcp /var/news \ 37948bc00d6Sjmcp /var/opt \ 38048bc00d6Sjmcp /var/preserve \ 38148bc00d6Sjmcp /var/run \ 38248bc00d6Sjmcp /var/saf \ 3837c478bd9Sstevel@tonic-gate /var/sadm \ 38448bc00d6Sjmcp /var/sadm/install \ 38548bc00d6Sjmcp /var/sadm/install/admin \ 38648bc00d6Sjmcp /var/sadm/install/logs \ 3875c51f124SMoriah Waterland /var/sadm/pkg \ 3885c51f124SMoriah Waterland /var/sadm/security \ 389da6c28aaSamw /var/smb \ 3909fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States /var/smb/cvol \ 3919fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States /var/smb/cvol/windows \ 3929fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States /var/smb/cvol/windows/system32 \ 3939fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States /var/smb/cvol/windows/system32/vss \ 39448bc00d6Sjmcp /var/spool \ 39548bc00d6Sjmcp /var/spool/cron \ 39648bc00d6Sjmcp /var/spool/cron/atjobs \ 39748bc00d6Sjmcp /var/spool/cron/crontabs \ 39848bc00d6Sjmcp /var/spool/lp \ 39948bc00d6Sjmcp /var/spool/pkg \ 40048bc00d6Sjmcp /var/spool/uucp \ 40148bc00d6Sjmcp /var/spool/uucppublic \ 4027c478bd9Sstevel@tonic-gate /var/svc \ 4037c478bd9Sstevel@tonic-gate /var/svc/log \ 4047c478bd9Sstevel@tonic-gate /var/svc/manifest \ 4057c478bd9Sstevel@tonic-gate /var/svc/manifest/milestone \ 4067c478bd9Sstevel@tonic-gate /var/svc/manifest/device \ 4077c478bd9Sstevel@tonic-gate /var/svc/manifest/system \ 4087c478bd9Sstevel@tonic-gate /var/svc/manifest/system/device \ 4097c478bd9Sstevel@tonic-gate /var/svc/manifest/system/filesystem \ 4107c478bd9Sstevel@tonic-gate /var/svc/manifest/system/security \ 4117c478bd9Sstevel@tonic-gate /var/svc/manifest/system/svc \ 4127c478bd9Sstevel@tonic-gate /var/svc/manifest/network \ 4137c478bd9Sstevel@tonic-gate /var/svc/manifest/network/dns \ 414e3320f40Smarkfen /var/svc/manifest/network/ipsec \ 4157c478bd9Sstevel@tonic-gate /var/svc/manifest/network/ldap \ 4167c478bd9Sstevel@tonic-gate /var/svc/manifest/network/nfs \ 4177c478bd9Sstevel@tonic-gate /var/svc/manifest/network/nis \ 4187c478bd9Sstevel@tonic-gate /var/svc/manifest/network/rpc \ 4199444c26fSTom Whitten /var/svc/manifest/network/routing \ 4207c478bd9Sstevel@tonic-gate /var/svc/manifest/network/security \ 4216185db85Sdougm /var/svc/manifest/network/shares \ 4227c478bd9Sstevel@tonic-gate /var/svc/manifest/application \ 4237c478bd9Sstevel@tonic-gate /var/svc/manifest/application/management \ 4247c478bd9Sstevel@tonic-gate /var/svc/manifest/application/print \ 4259444c26fSTom Whitten /var/svc/manifest/application/security \ 4267c478bd9Sstevel@tonic-gate /var/svc/manifest/platform \ 4277c478bd9Sstevel@tonic-gate /var/svc/manifest/platform/sun4u \ 4281ae08745Sheppo /var/svc/manifest/platform/sun4v \ 4297c478bd9Sstevel@tonic-gate /var/svc/manifest/site \ 430f875b4ebSrica /var/svc/profile \ 43148bc00d6Sjmcp /var/uucp \ 43248bc00d6Sjmcp /var/tmp \ 433f875b4ebSrica /var/tsol \ 434f875b4ebSrica /var/tsol/doors 4357c478bd9Sstevel@tonic-gate 43648bc00d6Sjmcpsparcv9_DIRS64= \ 43748bc00d6Sjmcp /platform/sun4u \ 4387c478bd9Sstevel@tonic-gate /platform/sun4u/lib \ 4397c478bd9Sstevel@tonic-gate /platform/sun4u/lib/$(MACH64) \ 44048bc00d6Sjmcp /usr/platform/sun4u \ 4417c478bd9Sstevel@tonic-gate /usr/platform/sun4u/sbin \ 4427c478bd9Sstevel@tonic-gate /usr/platform/sun4u/lib \ 4437c478bd9Sstevel@tonic-gate /platform/sun4v/lib \ 4447c478bd9Sstevel@tonic-gate /platform/sun4v/lib/$(MACH64) \ 4457c478bd9Sstevel@tonic-gate /usr/platform/sun4v/sbin \ 4467c478bd9Sstevel@tonic-gate /usr/platform/sun4v/lib \ 447fe6f6fb8Shyw /usr/platform/sun4u-us3/lib \ 448fe6f6fb8Shyw /usr/platform/sun4u-opl/lib 4497c478bd9Sstevel@tonic-gate 45048bc00d6Sjmcpamd64_DIRS64= \ 451ae115bc7Smrj /platform/i86pc/amd64 4527c478bd9Sstevel@tonic-gate 45348bc00d6SjmcpDIRS64= \ 45448bc00d6Sjmcp $($(MACH64)_DIRS64) \ 4557c478bd9Sstevel@tonic-gate /lib/$(MACH64) \ 456257873cfSJohn.Zolnowsky@Sun.COM /lib/crypto/$(MACH64) \ 457fc5ba5b7SAntonello Cruz /lib/fm/$(MACH64) \ 4587c478bd9Sstevel@tonic-gate /lib/secure/$(MACH64) \ 4597c478bd9Sstevel@tonic-gate /usr/bin/$(MACH64) \ 4607c478bd9Sstevel@tonic-gate /usr/ccs/bin/$(MACH64) \ 4617c478bd9Sstevel@tonic-gate /usr/ccs/lib/$(MACH64) \ 4627c478bd9Sstevel@tonic-gate /usr/lib/$(MACH64) \ 4637c478bd9Sstevel@tonic-gate /usr/lib/$(MACH64)/gss \ 464628e3cbeSEdward Pilatowicz /usr/lib/brand/sn1/$(MACH64) \ 465e71ca95cSGerald Jelinek /usr/lib/brand/solaris10/$(MACH64) \ 466d29b2c44Sab196087 /usr/lib/elfedit/$(MACH64) \ 4677c478bd9Sstevel@tonic-gate /usr/lib/fm/$(MACH64) \ 46848bc00d6Sjmcp /usr/lib/fs/nfs/$(MACH64) \ 46948bc00d6Sjmcp /usr/lib/fs/smb/$(MACH64) \ 470dc739cedSDan McDonald /usr/lib/inet/$(MACH64) \ 4717c478bd9Sstevel@tonic-gate /usr/lib/krb5/$(MACH64) \ 4727c478bd9Sstevel@tonic-gate /usr/lib/link_audit/$(MACH64) \ 4737c478bd9Sstevel@tonic-gate /usr/lib/lwp/$(MACH64) \ 47448bc00d6Sjmcp /usr/lib/mdb/kvm/$(MACH64) \ 47548bc00d6Sjmcp /usr/lib/mdb/proc/$(MACH64) \ 476e8921a52SAndy Fiddaman $(PYTHON3_DIRS) \ 4777c478bd9Sstevel@tonic-gate /usr/lib/rcap/$(MACH64) \ 4787c478bd9Sstevel@tonic-gate /usr/lib/sasl/$(MACH64) \ 479940d71d2Seschrock /usr/lib/scsi/$(MACH64) \ 4807c478bd9Sstevel@tonic-gate /usr/lib/secure/$(MACH64) \ 4817c478bd9Sstevel@tonic-gate /usr/lib/security/$(MACH64) \ 48255bf511dSas200622 /usr/lib/smbsrv/$(MACH64) \ 4837c478bd9Sstevel@tonic-gate /usr/lib/abi/$(MACH64) \ 48436589d6bSRobert Mustacchi /usr/lib/varpd/$(MACH64) \ 4857c478bd9Sstevel@tonic-gate /usr/sbin/$(MACH64) \ 4867c478bd9Sstevel@tonic-gate /usr/ucb/$(MACH64) \ 4877c478bd9Sstevel@tonic-gate /usr/ucblib/$(MACH64) \ 4887c478bd9Sstevel@tonic-gate /usr/xpg4/lib/$(MACH64) \ 4897c478bd9Sstevel@tonic-gate /var/ld/$(MACH64) 4907c478bd9Sstevel@tonic-gate 4917c478bd9Sstevel@tonic-gate# /var/mail/:saved is built directly by the rootdirs target in 4927c478bd9Sstevel@tonic-gate# /usr/src/Makefile because of the colon in its name. 4937c478bd9Sstevel@tonic-gate 4947c478bd9Sstevel@tonic-gate# macros for symbolic links 49548bc00d6SjmcpSYM.DIRS= \ 49648bc00d6Sjmcp /bin \ 4977c478bd9Sstevel@tonic-gate /dev/stdin \ 4987c478bd9Sstevel@tonic-gate /dev/stdout \ 4997c478bd9Sstevel@tonic-gate /dev/stderr \ 50048bc00d6Sjmcp /etc/log \ 50148bc00d6Sjmcp /lib/32 \ 50248bc00d6Sjmcp /lib/crypto/32 \ 50348bc00d6Sjmcp /lib/secure/32 \ 50448bc00d6Sjmcp /usr/adm \ 5057c478bd9Sstevel@tonic-gate /usr/spool \ 5067c478bd9Sstevel@tonic-gate /usr/lib/tmac \ 5077c478bd9Sstevel@tonic-gate /usr/ccs/lib/link_audit \ 5087c478bd9Sstevel@tonic-gate /usr/news \ 5097c478bd9Sstevel@tonic-gate /usr/preserve \ 5107c478bd9Sstevel@tonic-gate /usr/lib/32 \ 51148bc00d6Sjmcp /usr/lib/cron \ 5120f9b8dcfSRichard Lowe /usr/lib/locale/POSIX \ 513d29b2c44Sab196087 /usr/lib/elfedit/32 \ 5147c478bd9Sstevel@tonic-gate /usr/lib/lwp/32 \ 5157c478bd9Sstevel@tonic-gate /usr/lib/link_audit/32 \ 5167c478bd9Sstevel@tonic-gate /usr/lib/secure/32 \ 51748bc00d6Sjmcp /usr/mail \ 51848bc00d6Sjmcp /usr/man \ 51948bc00d6Sjmcp /usr/pub \ 52048bc00d6Sjmcp /usr/src \ 52148bc00d6Sjmcp /usr/tmp \ 52248bc00d6Sjmcp /usr/ucblib/32 \ 52348bc00d6Sjmcp /var/ld/32 5247c478bd9Sstevel@tonic-gate 52548bc00d6Sjmcpsparc_SYM.DIRS64= 5265f8e1617Snn35248 52748bc00d6SjmcpSYM.DIRS64= \ 52848bc00d6Sjmcp $($(MACH)_SYM.DIRS64) \ 5297c478bd9Sstevel@tonic-gate /lib/64 \ 530257873cfSJohn.Zolnowsky@Sun.COM /lib/crypto/64 \ 5317c478bd9Sstevel@tonic-gate /lib/secure/64 \ 5327c478bd9Sstevel@tonic-gate /usr/lib/64 \ 533628e3cbeSEdward Pilatowicz /usr/lib/brand/sn1/64 \ 534e71ca95cSGerald Jelinek /usr/lib/brand/solaris10/64 \ 535d29b2c44Sab196087 /usr/lib/elfedit/64 \ 536*9d6681f7SRichard Lowe /usr/lib/fm/64 \ 5377c478bd9Sstevel@tonic-gate /usr/lib/link_audit/64 \ 5387c478bd9Sstevel@tonic-gate /usr/lib/lwp/64 \ 5397c478bd9Sstevel@tonic-gate /usr/lib/secure/64 \ 5407c478bd9Sstevel@tonic-gate /usr/lib/security/64 \ 54136589d6bSRobert Mustacchi /usr/lib/varpd/64 \ 5427c478bd9Sstevel@tonic-gate /usr/xpg4/lib/64 \ 54364e3e6f9Scraigm /var/ld/64 \ 54464e3e6f9Scraigm /usr/ucblib/64 5457c478bd9Sstevel@tonic-gate 5467c478bd9Sstevel@tonic-gate# prepend the ROOT prefix 5477c478bd9Sstevel@tonic-gate 5487c478bd9Sstevel@tonic-gateROOTDIRS= $(TARGETDIRS:%=$(ROOT)%) 5497c478bd9Sstevel@tonic-gate 5507c478bd9Sstevel@tonic-gate# conditional assignments 5517c478bd9Sstevel@tonic-gate# 5527c478bd9Sstevel@tonic-gate# Target directories with non-default values for owner and group must 5537c478bd9Sstevel@tonic-gate# be referenced here, using their fully-prefixed names, and the non- 5547c478bd9Sstevel@tonic-gate# default values assigned. If a directory is mentioned above and not 5557c478bd9Sstevel@tonic-gate# mentioned below, it has default values for attributes. 5567c478bd9Sstevel@tonic-gate# 55748bc00d6Sjmcp# The default value for DIRMODE is specified in usr/src/Makefile.master. 5587c478bd9Sstevel@tonic-gate# 5597c478bd9Sstevel@tonic-gate 5607c478bd9Sstevel@tonic-gate$(ROOT)/var/adm \ 5617c478bd9Sstevel@tonic-gate$(ROOT)/var/adm/sa := DIRMODE= 775 5627c478bd9Sstevel@tonic-gate 5637c478bd9Sstevel@tonic-gate$(ROOT)/var/spool/lp:= DIRMODE= 775 5647c478bd9Sstevel@tonic-gate 5657c478bd9Sstevel@tonic-gate# file mode 5667c478bd9Sstevel@tonic-gate# 5677c478bd9Sstevel@tonic-gate$(ROOT)/tmp \ 5687c478bd9Sstevel@tonic-gate$(ROOT)/var/krb5/rcache \ 5697c478bd9Sstevel@tonic-gate$(ROOT)/var/preserve \ 5707c478bd9Sstevel@tonic-gate$(ROOT)/var/spool/pkg \ 5717c478bd9Sstevel@tonic-gate$(ROOT)/var/spool/uucppublic \ 5727c478bd9Sstevel@tonic-gate$(ROOT)/var/tmp:= DIRMODE= 1777 5737c478bd9Sstevel@tonic-gate 5745f6d439cSgww$(ROOT)/root:= DIRMODE= 700 5755f6d439cSgww 5767c478bd9Sstevel@tonic-gate$(ROOT)/var/krb5/rcache/root:= DIRMODE= 700 5777c478bd9Sstevel@tonic-gate 5787c478bd9Sstevel@tonic-gate 5797c478bd9Sstevel@tonic-gate# 5805c51f124SMoriah Waterland# These permissions must match those set 581ead1f93eSLiane Praza# in the package manifests. 5825c51f124SMoriah Waterland# 5835c51f124SMoriah Waterland$(ROOT)/var/sadm/pkg \ 5845c51f124SMoriah Waterland$(ROOT)/var/sadm/security \ 5855c51f124SMoriah Waterland$(ROOT)/var/sadm/install/logs := DIRMODE= 555 5865c51f124SMoriah Waterland 5875c51f124SMoriah Waterland 5885c51f124SMoriah Waterland# 5897c478bd9Sstevel@tonic-gate# These permissions must match the ones set 5907c478bd9Sstevel@tonic-gate# internally by fdfs and autofs. 5917c478bd9Sstevel@tonic-gate# 5927c478bd9Sstevel@tonic-gate$(ROOT)/dev/fd \ 5937c478bd9Sstevel@tonic-gate$(ROOT)/home:= DIRMODE= 555 5947c478bd9Sstevel@tonic-gate 5957c478bd9Sstevel@tonic-gate$(ROOT)/var/mail:= DIRMODE=1777 5967c478bd9Sstevel@tonic-gate 5977c478bd9Sstevel@tonic-gate$(ROOT)/proc:= DIRMODE= 555 5987c478bd9Sstevel@tonic-gate 59976ca3cb0SRobert Mustacchi$(ROOT)/system/boot:= DIRMODE= 555 6007c478bd9Sstevel@tonic-gate$(ROOT)/system/contract:= DIRMODE= 555 6017c478bd9Sstevel@tonic-gate$(ROOT)/system/object:= DIRMODE= 555 6027c478bd9Sstevel@tonic-gate 6037c478bd9Sstevel@tonic-gate# symlink assignments, LINKDEST is the value of the symlink 6047c478bd9Sstevel@tonic-gate# 6057c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/cron:= LINKDEST=../../etc/cron.d 6067c478bd9Sstevel@tonic-gate$(ROOT)/bin:= LINKDEST=usr/bin 6077c478bd9Sstevel@tonic-gate$(ROOT)/lib/32:= LINKDEST=. 608257873cfSJohn.Zolnowsky@Sun.COM$(ROOT)/lib/crypto/32:= LINKDEST=. 6097c478bd9Sstevel@tonic-gate$(ROOT)/lib/secure/32:= LINKDEST=. 6107c478bd9Sstevel@tonic-gate$(ROOT)/dev/stdin:= LINKDEST=fd/0 6117c478bd9Sstevel@tonic-gate$(ROOT)/dev/stdout:= LINKDEST=fd/1 6127c478bd9Sstevel@tonic-gate$(ROOT)/dev/stderr:= LINKDEST=fd/2 6137c478bd9Sstevel@tonic-gate$(ROOT)/usr/pub:= LINKDEST=share/lib/pub 6147c478bd9Sstevel@tonic-gate$(ROOT)/usr/man:= LINKDEST=share/man 6157c478bd9Sstevel@tonic-gate$(ROOT)/usr/src:= LINKDEST=share/src 6167c478bd9Sstevel@tonic-gate$(ROOT)/usr/adm:= LINKDEST=../var/adm 6177c478bd9Sstevel@tonic-gate$(ROOT)/etc/log:= LINKDEST=../var/adm/log 6187c478bd9Sstevel@tonic-gate$(ROOT)/usr/mail:= LINKDEST=../var/mail 6197c478bd9Sstevel@tonic-gate$(ROOT)/usr/news:= LINKDEST=../var/news 6207c478bd9Sstevel@tonic-gate$(ROOT)/usr/preserve:= LINKDEST=../var/preserve 6217c478bd9Sstevel@tonic-gate$(ROOT)/usr/spool:= LINKDEST=../var/spool 6227c478bd9Sstevel@tonic-gate$(ROOT)/usr/tmp:= LINKDEST=../var/tmp 6237c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/tmac:= LINKDEST=../share/lib/tmac 6247c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/32:= LINKDEST=. 625d29b2c44Sab196087$(ROOT)/usr/lib/elfedit/32:= LINKDEST=. 6260f9b8dcfSRichard Lowe$(ROOT)/usr/lib/locale/POSIX:= LINKDEST=./C 6277c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/lwp/32:= LINKDEST=. 6287c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/link_audit/32:= LINKDEST=. 6297c478bd9Sstevel@tonic-gate$(ROOT)/usr/lib/secure/32:= LINKDEST=. 6307c478bd9Sstevel@tonic-gate$(ROOT)/usr/ccs/lib/link_audit:= LINKDEST=../../lib/link_audit 6317c478bd9Sstevel@tonic-gate$(ROOT)/var/ld/32:= LINKDEST=. 63264e3e6f9Scraigm$(ROOT)/usr/ucblib/32:= LINKDEST=. 6337c478bd9Sstevel@tonic-gate 6347c478bd9Sstevel@tonic-gate 6357c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/lib/64:= LINKDEST=$(MACH64) 636257873cfSJohn.Zolnowsky@Sun.COM$(BUILD64) $(ROOT)/lib/crypto/64:= LINKDEST=$(MACH64) 6377c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/lib/secure/64:= LINKDEST=$(MACH64) 6387c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/lib/64:= LINKDEST=$(MACH64) 639d29b2c44Sab196087$(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64) 640628e3cbeSEdward Pilatowicz$(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:= LINKDEST=$(MACH64) 641e71ca95cSGerald Jelinek$(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64) 642*9d6681f7SRichard Lowe$(BUILD64) $(ROOT)/usr/lib/fm/64 := LINKDEST=$(MACH64) 6437c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/lib/lwp/64:= LINKDEST=$(MACH64) 6447c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/lib/link_audit/64:= LINKDEST=$(MACH64) 6457c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/lib/secure/64:= LINKDEST=$(MACH64) 6467c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/lib/security/64:= LINKDEST=$(MACH64) 64736589d6bSRobert Mustacchi$(BUILD64) $(ROOT)/usr/lib/varpd/64:= LINKDEST=$(MACH64) 6487c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/usr/xpg4/lib/64:= LINKDEST=$(MACH64) 6497c478bd9Sstevel@tonic-gate$(BUILD64) $(ROOT)/var/ld/64:= LINKDEST=$(MACH64) 65064e3e6f9Scraigm$(BUILD64) $(ROOT)/usr/ucblib/64:= LINKDEST=$(MACH64) 6517c478bd9Sstevel@tonic-gate 65248bc00d6Sjmcp# 6537c478bd9Sstevel@tonic-gate# Installing a directory symlink calls for overriding INS.dir to install 6547c478bd9Sstevel@tonic-gate# a symlink. 6557c478bd9Sstevel@tonic-gate# 65648bc00d6Sjmcp$(DIRLINKS:%=$(ROOT)%):= \ 65724fe0b3bSjmcp INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ 658