xref: /illumos-gate/usr/src/Targetdirs (revision c3937c08b16d32677a7dc955a81325f2e7a61b5d)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20
21#
22# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2011, Richard Lowe
24# Copyright (c) 2012 by Delphix. All rights reserved.
25# Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>
26# Copyright 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
27# Copyright 2014 Garrett D'Amore <garrett@damore.org>
28# Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
29# Copyright 2017 Nexenta Systems, Inc.
30# Copyright 2017 RackTop Systems.
31# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
32# Copyright 2020 Joyent, Inc.
33#
34
35#
36# It is easier to think in terms of directory names without the ROOT macro
37# prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
38# to work with ROOT prefixes when controlling conditional assignments.
39#
40
41DIRLINKS=	$(SYM.DIRS)
42$(BUILD64)	DIRLINKS += $(SYM.DIRS64)
43
44TARGETDIRS=	$(DIRS)
45$(BUILD64)	TARGETDIRS += $(DIRS64)
46
47TARGETDIRS	+= $(FILELINKS) $(DIRLINKS)
48
49i386_DIRS=			\
50	/boot/acpi		\
51	/boot/acpi/tables	\
52	/boot/grub		\
53	/boot/grub/bin		\
54	/platform/i86pc		\
55	/lib/libmvec		\
56	/usr/lib/xen		\
57	/usr/lib/xen/bin
58
59sparc_DIRS=				\
60	/usr/lib/ldoms
61
62sparc_64ONLY= $(POUND_SIGN)
6364ONLY=  $($(MACH)_64ONLY)
64
65$(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
66
67PYTHON2_DIRS=
68PYTHON2_64DIRS=
69PYTHON3_DIRS=
70
71$(BUILDPY2)PYTHON2_DIRS += \
72	/usr/lib/python$(PYTHON_VERSION) \
73	/usr/lib/python$(PYTHON_VERSION)/vendor-packages \
74	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/solaris \
75	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs
76
77$(BUILDPY2)PYTHON2_64DIRS += \
78	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 \
79	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/solaris/64 \
80	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs/64
81
82$(BUILDPY3)PYTHON3_DIRS += \
83	/usr/lib/python$(PYTHON3_VERSION) \
84	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages \
85	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris \
86	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris/__pycache__ \
87	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs \
88	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs/__pycache__
89
90DIRS= \
91	/boot \
92	/boot/solaris \
93	/boot/solaris/bin \
94	$($(MACH)_DIRS) \
95	/dev \
96	/dev/dsk \
97	/dev/fd \
98	/dev/ipnet \
99	/dev/net \
100	/dev/rdsk \
101	/dev/rmt \
102	/dev/pts \
103	/dev/sad \
104	/dev/swap \
105	/dev/term \
106	/dev/vt \
107	/dev/zcons \
108	/devices \
109	/devices/pseudo \
110	/etc \
111	/etc/brand  \
112	/etc/brand/solaris10  \
113	/etc/cron.d \
114	/etc/crypto \
115	/etc/crypto/certs \
116	/etc/crypto/crls \
117	/etc/dbus-1 \
118	/etc/dbus-1/system.d \
119	/etc/default \
120	/etc/devices  \
121	/etc/dev  \
122	/etc/dfs  \
123	/etc/dladm \
124	/etc/fs  \
125	/etc/fs/nfs  \
126	/etc/fs/zfs \
127	/etc/ftpd  \
128	/etc/hal \
129	/etc/hal/fdi \
130	/etc/hal/fdi/information \
131	/etc/hal/fdi/information/10freedesktop \
132	/etc/hal/fdi/information/20thirdparty \
133	/etc/hal/fdi/information/30user \
134	/etc/hal/fdi/policy \
135	/etc/hal/fdi/policy/10osvendor \
136	/etc/hal/fdi/policy/20thirdparty \
137	/etc/hal/fdi/policy/30user \
138	/etc/hal/fdi/preprobe \
139	/etc/hal/fdi/preprobe/10osvendor \
140	/etc/hal/fdi/preprobe/20thirdparty \
141	/etc/hal/fdi/preprobe/30user \
142	/etc/ipadm \
143	/etc/iscsi \
144	/etc/rpcsec	\
145	/etc/security	\
146	/etc/security/auth_attr.d \
147	/etc/security/exec_attr.d \
148	/etc/security/prof_attr.d \
149	/etc/security/tsol	\
150	/etc/gss	\
151	/etc/init.d  \
152	/etc/dhcp	\
153	/etc/lib  \
154	/etc/mail  \
155	/etc/mail/cf  \
156	/etc/mail/cf/cf  \
157	/etc/mail/cf/domain  \
158	/etc/mail/cf/feature  \
159	/etc/mail/cf/m4  \
160	/etc/mail/cf/mailer  \
161	/etc/mail/cf/ostype  \
162	/etc/mail/cf/sh  \
163	/etc/net-snmp \
164	/etc/net-snmp/snmp \
165	/etc/opt  \
166	/etc/rc0.d  \
167	/etc/rc1.d  \
168	/etc/rc2.d  \
169	/etc/rc3.d  \
170	/etc/rcS.d  \
171	/etc/saf \
172	/etc/sasl	\
173	/etc/sfw \
174	/etc/skel	\
175	/etc/svc \
176	/etc/svc/profile \
177	/etc/svc/profile/site \
178	/etc/svc/volatile \
179	/etc/system.d \
180	/etc/tm  \
181	/etc/usb   \
182	/etc/user_attr.d \
183	/etc/zfs  \
184	/etc/zones  \
185	/export  \
186	/home  \
187	/lib \
188	/lib/crypto \
189	/lib/inet \
190	/lib/fm \
191	/lib/secure \
192	/lib/svc \
193	/lib/svc/bin \
194	/lib/svc/capture \
195	/lib/svc/manifest \
196	/lib/svc/manifest/milestone \
197	/lib/svc/manifest/device \
198	/lib/svc/manifest/system \
199	/lib/svc/manifest/system/device \
200	/lib/svc/manifest/system/filesystem \
201	/lib/svc/manifest/system/security \
202	/lib/svc/manifest/system/svc \
203	/lib/svc/manifest/network \
204	/lib/svc/manifest/network/dns \
205	/lib/svc/manifest/network/ipsec \
206	/lib/svc/manifest/network/ldap \
207	/lib/svc/manifest/network/nfs \
208	/lib/svc/manifest/network/nis \
209	/lib/svc/manifest/network/rpc \
210	/lib/svc/manifest/network/security \
211	/lib/svc/manifest/network/shares \
212	/lib/svc/manifest/network/ssl \
213	/lib/svc/manifest/application \
214	/lib/svc/manifest/application/management \
215	/lib/svc/manifest/application/security \
216	/lib/svc/manifest/application/print \
217	/lib/svc/manifest/platform \
218	/lib/svc/manifest/platform/sun4u \
219	/lib/svc/manifest/platform/sun4v \
220	/lib/svc/manifest/site \
221	/lib/svc/method \
222	/lib/svc/monitor \
223	/lib/svc/seed \
224	/lib/svc/share \
225	/kernel  \
226	/kernel/firmware \
227	/mnt  \
228	/opt  \
229	/platform  \
230	/proc  \
231	/root  \
232	/sbin  \
233	/system \
234	/system/boot \
235	/system/contract \
236	/system/object \
237	/tmp \
238	/usr  \
239	/usr/ast \
240	/usr/ast/bin \
241	/usr/bin \
242	/usr/bin/$(MACH32) \
243	/usr/ccs \
244	/usr/ccs/bin \
245	/usr/ccs/lib \
246	/usr/demo \
247	/usr/demo/SOUND \
248	/usr/games \
249	/usr/has \
250	/usr/has/bin \
251	/usr/has/lib \
252        /usr/has/man \
253	/usr/include \
254	/usr/include/ads \
255	/usr/include/ast \
256	/usr/include/fm \
257	/usr/include/gssapi \
258	/usr/include/hal \
259	/usr/include/kerberosv5 \
260	/usr/include/libmilter \
261	/usr/include/libpolkit \
262	/usr/include/sasl \
263	/usr/include/scsi \
264	/usr/include/security \
265	/usr/include/sys/crypto \
266	/usr/include/tsol \
267	/usr/kernel  \
268	/usr/kvm \
269	/usr/lib \
270	/usr/lib/abi \
271	/usr/lib/brand \
272	/usr/lib/brand/ipkg \
273	/usr/lib/brand/labeled \
274	/usr/lib/brand/shared \
275	/usr/lib/brand/sn1 \
276	/usr/lib/brand/solaris10 \
277	/usr/lib/class \
278	/usr/lib/class/FSS \
279	/usr/lib/class/FX \
280	/usr/lib/class/IA \
281	/usr/lib/class/RT \
282	/usr/lib/class/SDC \
283	/usr/lib/class/TS \
284	/usr/lib/crypto \
285	/usr/lib/elfedit \
286	/usr/lib/fm \
287	/usr/lib/font \
288	/usr/lib/fs \
289	/usr/lib/fs/nfs \
290	/usr/lib/fs/proc \
291	/usr/lib/fs/smb \
292	/usr/lib/fs/zfs \
293	/usr/lib/gss \
294	/usr/lib/hal \
295	/usr/lib/inet \
296	/usr/lib/inet/ilb \
297	/usr/lib/krb5 \
298	/usr/lib/link_audit \
299	/usr/lib/lwp \
300	/usr/lib/mdb \
301	/usr/lib/mdb/kvm \
302	/usr/lib/mdb/proc \
303	/usr/lib/nfs \
304	/usr/net \
305	/usr/net/servers \
306	/usr/lib/pool \
307	$(PYTHON2_DIRS) \
308	/usr/lib/rcap \
309	/usr/lib/rcap/$(MACH32) \
310	/usr/lib/sa  \
311	/usr/lib/saf \
312	/usr/lib/sasl \
313	/usr/lib/scsi \
314	/usr/lib/secure \
315	/usr/lib/security \
316	/usr/lib/smbsrv \
317	/usr/lib/vscan \
318	/usr/lib/zfs \
319	/usr/lib/zones \
320	/usr/old \
321	/usr/platform  \
322	/usr/proc \
323	/usr/proc/bin \
324	/usr/sadm \
325	/usr/sadm/install \
326	/usr/sadm/install/bin \
327	/usr/sadm/install/scripts \
328	/usr/sbin \
329	/usr/sbin/$(MACH32) \
330	/usr/share  \
331	/usr/share/applications \
332	/usr/share/audio \
333	/usr/share/audio/samples \
334	/usr/share/audio/samples/au \
335	/usr/share/gnome \
336	/usr/share/gnome/autostart \
337	/usr/share/hwdata \
338	/usr/share/lib \
339	/usr/share/lib/ccs \
340	/usr/share/lib/tmac  \
341	/usr/share/lib/ldif  \
342	/usr/share/lib/xml \
343	/usr/share/lib/xml/dtd \
344	/usr/share/man \
345	/usr/share/src \
346	/usr/ucb \
347	$(MACH32_DIRS) \
348	/usr/ucblib \
349	/usr/xpg4 \
350	/usr/xpg4/bin \
351	/usr/xpg4/include \
352	/usr/xpg4/lib \
353	/usr/xpg6 \
354	/usr/xpg6/bin \
355	/var  \
356	/var/adm  \
357	/var/adm/exacct \
358	/var/adm/log \
359	/var/adm/pool \
360	/var/adm/sa \
361	/var/adm/sm.bin \
362	/var/adm/streams \
363	/var/cores \
364	/var/cron \
365	/var/db \
366	/var/db/ipf \
367	/var/games \
368	/var/idmap \
369	/var/krb5 \
370	/var/krb5/rcache  \
371	/var/krb5/rcache/root  \
372	/var/ld \
373	/var/log \
374	/var/log/pool \
375	/var/logadm \
376	/var/mail \
377	/var/news \
378	/var/opt \
379	/var/preserve \
380	/var/run \
381	/var/saf \
382	/var/sadm \
383	/var/sadm/install \
384	/var/sadm/install/admin \
385	/var/sadm/install/logs \
386	/var/sadm/pkg \
387	/var/sadm/security \
388	/var/smb \
389	/var/smb/cvol \
390	/var/smb/cvol/windows \
391	/var/smb/cvol/windows/system32 \
392	/var/smb/cvol/windows/system32/vss \
393	/var/spool \
394	/var/spool/cron \
395	/var/spool/cron/atjobs \
396	/var/spool/cron/crontabs \
397	/var/spool/lp \
398	/var/spool/pkg \
399	/var/spool/uucp \
400	/var/spool/uucppublic \
401	/var/svc \
402	/var/svc/log \
403	/var/svc/manifest \
404	/var/svc/manifest/milestone \
405	/var/svc/manifest/device \
406	/var/svc/manifest/system \
407	/var/svc/manifest/system/device \
408	/var/svc/manifest/system/filesystem \
409	/var/svc/manifest/system/security \
410	/var/svc/manifest/system/svc \
411	/var/svc/manifest/network \
412	/var/svc/manifest/network/dns \
413	/var/svc/manifest/network/ipsec \
414	/var/svc/manifest/network/ldap \
415	/var/svc/manifest/network/nfs \
416	/var/svc/manifest/network/nis \
417	/var/svc/manifest/network/rpc \
418	/var/svc/manifest/network/routing \
419	/var/svc/manifest/network/security \
420	/var/svc/manifest/network/shares \
421	/var/svc/manifest/network/ssl \
422	/var/svc/manifest/application \
423	/var/svc/manifest/application/management \
424	/var/svc/manifest/application/print \
425	/var/svc/manifest/application/security \
426	/var/svc/manifest/platform \
427	/var/svc/manifest/platform/sun4u \
428	/var/svc/manifest/platform/sun4v \
429	/var/svc/manifest/site \
430	/var/svc/profile \
431	/var/uucp \
432	/var/tmp \
433	/var/tsol \
434	/var/tsol/doors
435
436sparcv9_DIRS64= \
437	/platform/sun4u \
438	/platform/sun4u/lib \
439	/platform/sun4u/lib/$(MACH64) \
440	/usr/platform/sun4u \
441	/usr/platform/sun4u/sbin \
442	/usr/platform/sun4u/lib \
443	/platform/sun4v/lib \
444	/platform/sun4v/lib/$(MACH64) \
445	/usr/platform/sun4v/sbin \
446	/usr/platform/sun4v/lib \
447	/usr/platform/sun4u-us3/lib \
448	/usr/platform/sun4u-opl/lib
449
450amd64_DIRS64= \
451	/platform/i86pc/amd64
452
453DIRS64= \
454	$($(MACH64)_DIRS64) \
455	/lib/$(MACH64) \
456	/lib/crypto/$(MACH64) \
457	/lib/fm/$(MACH64) \
458	/lib/secure/$(MACH64) \
459	/usr/bin/$(MACH64) \
460	/usr/ccs/bin/$(MACH64)  \
461	/usr/ccs/lib/$(MACH64) \
462	/usr/lib/$(MACH64) \
463	/usr/lib/$(MACH64)/gss \
464	/usr/lib/brand/sn1/$(MACH64) \
465	/usr/lib/brand/solaris10/$(MACH64) \
466	/usr/lib/elfedit/$(MACH64) \
467	/usr/lib/fm/$(MACH64) \
468	/usr/lib/fs/nfs/$(MACH64) \
469	/usr/lib/fs/smb/$(MACH64) \
470	/usr/lib/inet/$(MACH64) \
471	/usr/lib/krb5/$(MACH64) \
472	/usr/lib/link_audit/$(MACH64) \
473	/usr/lib/lwp/$(MACH64) \
474	/usr/lib/mdb/kvm/$(MACH64) \
475	/usr/lib/mdb/proc/$(MACH64) \
476	$(PYTHON2_64DIRS) \
477	$(PYTHON3_DIRS) \
478	/usr/lib/rcap/$(MACH64) \
479	/usr/lib/sasl/$(MACH64) \
480	/usr/lib/scsi/$(MACH64) \
481	/usr/lib/secure/$(MACH64) \
482	/usr/lib/security/$(MACH64) \
483	/usr/lib/smbsrv/$(MACH64) \
484	/usr/lib/abi/$(MACH64) \
485	/usr/sbin/$(MACH64) \
486	/usr/ucb/$(MACH64) \
487	/usr/ucblib/$(MACH64) \
488	/usr/xpg4/lib/$(MACH64) \
489	/var/ld/$(MACH64)
490
491# /var/mail/:saved is built directly by the rootdirs target in
492# /usr/src/Makefile because of the colon in its name.
493
494# macros for symbolic links
495SYM.DIRS= \
496	/bin \
497	/dev/stdin \
498	/dev/stdout \
499	/dev/stderr \
500	/etc/log \
501	/lib/32 \
502	/lib/crypto/32 \
503	/lib/secure/32 \
504	/usr/adm \
505	/usr/spool \
506	/usr/lib/tmac \
507	/usr/ccs/lib/link_audit \
508	/usr/news \
509	/usr/preserve \
510	/usr/lib/32 \
511	/usr/lib/cron \
512	/usr/lib/elfedit/32 \
513	/usr/lib/lwp/32 \
514	/usr/lib/link_audit/32 \
515	/usr/lib/secure/32 \
516	/usr/mail \
517	/usr/man \
518	/usr/pub \
519	/usr/src \
520	/usr/tmp \
521	/usr/ucblib/32 \
522	/var/ld/32
523
524sparc_SYM.DIRS64=
525
526SYM.DIRS64= \
527	$($(MACH)_SYM.DIRS64) \
528	/lib/64 \
529	/lib/crypto/64 \
530	/lib/secure/64 \
531	/usr/lib/64 \
532	/usr/lib/brand/sn1/64 \
533	/usr/lib/brand/solaris10/64 \
534	/usr/lib/elfedit/64 \
535	/usr/lib/link_audit/64 \
536	/usr/lib/lwp/64 \
537	/usr/lib/secure/64 \
538	/usr/lib/security/64 \
539	/usr/xpg4/lib/64 \
540	/var/ld/64 \
541	/usr/ucblib/64
542
543# prepend the ROOT prefix
544
545ROOTDIRS=	$(TARGETDIRS:%=$(ROOT)%)
546
547# conditional assignments
548#
549# Target directories with non-default values for owner and group must
550# be referenced here, using their fully-prefixed names, and the non-
551# default values assigned.  If a directory is mentioned above and not
552# mentioned below, it has default values for attributes.
553#
554# The default value for DIRMODE is specified in usr/src/Makefile.master.
555#
556
557$(ROOT)/var/adm \
558$(ROOT)/var/adm/sa :=		DIRMODE= 775
559
560$(ROOT)/var/spool/lp:=		DIRMODE= 775
561
562# file mode
563#
564$(ROOT)/tmp \
565$(ROOT)/var/krb5/rcache \
566$(ROOT)/var/preserve \
567$(ROOT)/var/spool/pkg \
568$(ROOT)/var/spool/uucppublic \
569$(ROOT)/var/tmp:=	DIRMODE= 1777
570
571$(ROOT)/root:=		DIRMODE= 700
572
573$(ROOT)/var/krb5/rcache/root:=	DIRMODE= 700
574
575
576#
577# These permissions must match those set
578# in the package manifests.
579#
580$(ROOT)/var/sadm/pkg \
581$(ROOT)/var/sadm/security \
582$(ROOT)/var/sadm/install/logs :=	DIRMODE= 555
583
584
585#
586# These permissions must match the ones set
587# internally by fdfs and autofs.
588#
589$(ROOT)/dev/fd \
590$(ROOT)/home:=		DIRMODE= 555
591
592$(ROOT)/var/mail:=	DIRMODE=1777
593
594$(ROOT)/proc:=		DIRMODE= 555
595
596$(ROOT)/system/boot:=		DIRMODE= 555
597$(ROOT)/system/contract:=	DIRMODE= 555
598$(ROOT)/system/object:=		DIRMODE= 555
599
600# symlink assignments, LINKDEST is the value of the symlink
601#
602$(ROOT)/usr/lib/cron:=			LINKDEST=../../etc/cron.d
603$(ROOT)/bin:=				LINKDEST=usr/bin
604$(ROOT)/lib/32:=			LINKDEST=.
605$(ROOT)/lib/crypto/32:=			LINKDEST=.
606$(ROOT)/lib/secure/32:=			LINKDEST=.
607$(ROOT)/dev/stdin:=			LINKDEST=fd/0
608$(ROOT)/dev/stdout:=			LINKDEST=fd/1
609$(ROOT)/dev/stderr:=			LINKDEST=fd/2
610$(ROOT)/usr/pub:=			LINKDEST=share/lib/pub
611$(ROOT)/usr/man:=			LINKDEST=share/man
612$(ROOT)/usr/src:=			LINKDEST=share/src
613$(ROOT)/usr/adm:=			LINKDEST=../var/adm
614$(ROOT)/etc/log:=			LINKDEST=../var/adm/log
615$(ROOT)/usr/mail:=			LINKDEST=../var/mail
616$(ROOT)/usr/news:=			LINKDEST=../var/news
617$(ROOT)/usr/preserve:=			LINKDEST=../var/preserve
618$(ROOT)/usr/spool:=			LINKDEST=../var/spool
619$(ROOT)/usr/tmp:=			LINKDEST=../var/tmp
620$(ROOT)/usr/lib/tmac:=			LINKDEST=../share/lib/tmac
621$(ROOT)/usr/lib/32:=			LINKDEST=.
622$(ROOT)/usr/lib/elfedit/32:=		LINKDEST=.
623$(ROOT)/usr/lib/lwp/32:=		LINKDEST=.
624$(ROOT)/usr/lib/link_audit/32:=		LINKDEST=.
625$(ROOT)/usr/lib/secure/32:=		LINKDEST=.
626$(ROOT)/usr/ccs/lib/link_audit:=	LINKDEST=../../lib/link_audit
627$(ROOT)/var/ld/32:=			LINKDEST=.
628$(ROOT)/usr/ucblib/32:=			LINKDEST=.
629
630
631$(BUILD64) $(ROOT)/lib/64:=		LINKDEST=$(MACH64)
632$(BUILD64) $(ROOT)/lib/crypto/64:=	LINKDEST=$(MACH64)
633$(BUILD64) $(ROOT)/lib/secure/64:=	LINKDEST=$(MACH64)
634$(BUILD64) $(ROOT)/usr/lib/64:=		LINKDEST=$(MACH64)
635$(BUILD64) $(ROOT)/usr/lib/elfedit/64:=	LINKDEST=$(MACH64)
636$(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=	LINKDEST=$(MACH64)
637$(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:=	LINKDEST=$(MACH64)
638$(BUILD64) $(ROOT)/usr/lib/lwp/64:=	LINKDEST=$(MACH64)
639$(BUILD64) $(ROOT)/usr/lib/link_audit/64:=	LINKDEST=$(MACH64)
640$(BUILD64) $(ROOT)/usr/lib/secure/64:=	LINKDEST=$(MACH64)
641$(BUILD64) $(ROOT)/usr/lib/security/64:=	LINKDEST=$(MACH64)
642$(BUILD64) $(ROOT)/usr/xpg4/lib/64:=	LINKDEST=$(MACH64)
643$(BUILD64) $(ROOT)/var/ld/64:=		LINKDEST=$(MACH64)
644$(BUILD64) $(ROOT)/usr/ucblib/64:=	LINKDEST=$(MACH64)
645
646#
647# Installing a directory symlink calls for overriding INS.dir to install
648# a symlink.
649#
650$(DIRLINKS:%=$(ROOT)%):= \
651   INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
652