xref: /illumos-gate/usr/src/Targetdirs (revision 9d6681f7f834fe39fc8c9d9a791e581f7684d913)
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 2022 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 2022 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	/usr/share/bhyve
59
60sparc_DIRS=			\
61	/usr/lib/ldoms
62
63sparc_64ONLY= $(POUND_SIGN)
6464ONLY=  $($(MACH)_64ONLY)
65
66$(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
67
68PYTHON3_DIRS = \
69	/usr/lib/python$(PYTHON3_VERSION) \
70	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages \
71	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris \
72	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris/__pycache__ \
73	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs \
74	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs/__pycache__
75
76$(BUILDPY3b)PYTHON3_DIRS += \
77	/usr/lib/python$(PYTHON3b_VERSION) \
78	/usr/lib/python$(PYTHON3b_VERSION)/vendor-packages \
79	/usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/solaris \
80	/usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/solaris/__pycache__ \
81	/usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/zfs \
82	/usr/lib/python$(PYTHON3b_VERSION)/vendor-packages/zfs/__pycache__
83
84DIRS= \
85	/boot \
86	/boot/solaris \
87	/boot/solaris/bin \
88	$($(MACH)_DIRS) \
89	/dev \
90	/dev/dsk \
91	/dev/fd \
92	/dev/ipnet \
93	/dev/net \
94	/dev/rdsk \
95	/dev/rmt \
96	/dev/pts \
97	/dev/sad \
98	/dev/swap \
99	/dev/term \
100	/dev/vt \
101	/dev/zcons \
102	/devices \
103	/devices/pseudo \
104	/etc \
105	/etc/brand  \
106	/etc/brand/solaris10  \
107	/etc/cron.d \
108	/etc/crypto \
109	/etc/crypto/certs \
110	/etc/crypto/crls \
111	/etc/dbus-1 \
112	/etc/dbus-1/system.d \
113	/etc/default \
114	/etc/devices  \
115	/etc/dev  \
116	/etc/dfs  \
117	/etc/dladm \
118	/etc/fs  \
119	/etc/fs/nfs  \
120	/etc/fs/zfs \
121	/etc/ftpd  \
122	/etc/hal \
123	/etc/hal/fdi \
124	/etc/hal/fdi/information \
125	/etc/hal/fdi/information/10freedesktop \
126	/etc/hal/fdi/information/20thirdparty \
127	/etc/hal/fdi/information/30user \
128	/etc/hal/fdi/policy \
129	/etc/hal/fdi/policy/10osvendor \
130	/etc/hal/fdi/policy/20thirdparty \
131	/etc/hal/fdi/policy/30user \
132	/etc/hal/fdi/preprobe \
133	/etc/hal/fdi/preprobe/10osvendor \
134	/etc/hal/fdi/preprobe/20thirdparty \
135	/etc/hal/fdi/preprobe/30user \
136	/etc/ipadm \
137	/etc/iscsi \
138	/etc/rpcsec	\
139	/etc/security	\
140	/etc/security/auth_attr.d \
141	/etc/security/exec_attr.d \
142	/etc/security/prof_attr.d \
143	/etc/security/tsol	\
144	/etc/gss	\
145	/etc/init.d  \
146	/etc/dhcp	\
147	/etc/lib  \
148	/etc/mail  \
149	/etc/mail/cf  \
150	/etc/mail/cf/cf  \
151	/etc/mail/cf/domain  \
152	/etc/mail/cf/feature  \
153	/etc/mail/cf/m4  \
154	/etc/mail/cf/mailer  \
155	/etc/mail/cf/ostype  \
156	/etc/mail/cf/sh  \
157	/etc/net-snmp \
158	/etc/net-snmp/snmp \
159	/etc/opt  \
160	/etc/rc0.d  \
161	/etc/rc1.d  \
162	/etc/rc2.d  \
163	/etc/rc3.d  \
164	/etc/rcS.d  \
165	/etc/saf \
166	/etc/sasl	\
167	/etc/sfw \
168	/etc/skel	\
169	/etc/svc \
170	/etc/svc/profile \
171	/etc/svc/profile/site \
172	/etc/svc/volatile \
173	/etc/system.d \
174	/etc/tm  \
175	/etc/usb   \
176	/etc/user_attr.d \
177	/etc/zfs  \
178	/etc/zones  \
179	/export  \
180	/home  \
181	/lib \
182	/lib/crypto \
183	/lib/inet \
184	/lib/fm \
185	/lib/secure \
186	/lib/svc \
187	/lib/svc/bin \
188	/lib/svc/capture \
189	/lib/svc/manifest \
190	/lib/svc/manifest/milestone \
191	/lib/svc/manifest/device \
192	/lib/svc/manifest/system \
193	/lib/svc/manifest/system/device \
194	/lib/svc/manifest/system/filesystem \
195	/lib/svc/manifest/system/security \
196	/lib/svc/manifest/system/svc \
197	/lib/svc/manifest/network \
198	/lib/svc/manifest/network/dns \
199	/lib/svc/manifest/network/ipsec \
200	/lib/svc/manifest/network/ldap \
201	/lib/svc/manifest/network/nfs \
202	/lib/svc/manifest/network/nis \
203	/lib/svc/manifest/network/rpc \
204	/lib/svc/manifest/network/security \
205	/lib/svc/manifest/network/shares \
206	/lib/svc/manifest/application \
207	/lib/svc/manifest/application/management \
208	/lib/svc/manifest/application/security \
209	/lib/svc/manifest/application/print \
210	/lib/svc/manifest/platform \
211	/lib/svc/manifest/platform/sun4u \
212	/lib/svc/manifest/platform/sun4v \
213	/lib/svc/manifest/site \
214	/lib/svc/method \
215	/lib/svc/monitor \
216	/lib/svc/seed \
217	/lib/svc/share \
218	/kernel  \
219	/kernel/firmware \
220	/mnt  \
221	/opt  \
222	/platform  \
223	/proc  \
224	/root  \
225	/sbin  \
226	/system \
227	/system/boot \
228	/system/contract \
229	/system/object \
230	/tmp \
231	/usr  \
232	/usr/ast \
233	/usr/ast/bin \
234	/usr/bin \
235	/usr/bin/$(MACH32) \
236	/usr/ccs \
237	/usr/ccs/bin \
238	/usr/ccs/lib \
239	/usr/demo \
240	/usr/demo/SOUND \
241	/usr/games \
242	/usr/has \
243	/usr/has/bin \
244	/usr/has/lib \
245        /usr/has/man \
246	/usr/include \
247	/usr/include/ads \
248	/usr/include/ast \
249	/usr/include/fm \
250	/usr/include/gssapi \
251	/usr/include/hal \
252	/usr/include/kerberosv5 \
253	/usr/include/libmilter \
254	/usr/include/libpolkit \
255	/usr/include/sasl \
256	/usr/include/scsi \
257	/usr/include/security \
258	/usr/include/sys/crypto \
259	/usr/include/tsol \
260	/usr/kernel  \
261	/usr/kvm \
262	/usr/lib \
263	/usr/lib/abi \
264	/usr/lib/brand \
265	/usr/lib/brand/ipkg \
266	/usr/lib/brand/labeled \
267	/usr/lib/brand/shared \
268	/usr/lib/brand/sn1 \
269	/usr/lib/brand/solaris10 \
270	/usr/lib/class \
271	/usr/lib/class/FSS \
272	/usr/lib/class/FX \
273	/usr/lib/class/IA \
274	/usr/lib/class/RT \
275	/usr/lib/class/SDC \
276	/usr/lib/class/TS \
277	/usr/lib/crypto \
278	/usr/lib/elfedit \
279	/usr/lib/fm \
280	/usr/lib/font \
281	/usr/lib/fs \
282	/usr/lib/fs/nfs \
283	/usr/lib/fs/proc \
284	/usr/lib/fs/smb \
285	/usr/lib/fs/zfs \
286	/usr/lib/gss \
287	/usr/lib/hal \
288	/usr/lib/inet \
289	/usr/lib/inet/ilb \
290	/usr/lib/krb5 \
291	/usr/lib/link_audit \
292	/usr/lib/locale \
293	/usr/lib/locale/C \
294	/usr/lib/locale/C/LC_COLLATE \
295	/usr/lib/locale/C/LC_CTYPE \
296	/usr/lib/locale/C/LC_MESSAGES \
297	/usr/lib/locale/C/LC_MONETARY \
298	/usr/lib/locale/C/LC_NUMERIC \
299	/usr/lib/locale/C/LC_TIME \
300	/usr/lib/lwp \
301	/usr/lib/mdb \
302	/usr/lib/mdb/kvm \
303	/usr/lib/mdb/proc \
304	/usr/lib/nfs \
305	/usr/lib/varpd \
306	/usr/net \
307	/usr/net/servers \
308	/usr/lib/pool \
309	/usr/lib/rcap \
310	/usr/lib/rcap/$(MACH32) \
311	/usr/lib/sa  \
312	/usr/lib/saf \
313	/usr/lib/sasl \
314	/usr/lib/scsi \
315	/usr/lib/secure \
316	/usr/lib/security \
317	/usr/lib/smbsrv \
318	/usr/lib/vscan \
319	/usr/lib/zfs \
320	/usr/lib/zones \
321	/usr/old \
322	/usr/platform  \
323	/usr/proc \
324	/usr/proc/bin \
325	/usr/sadm \
326	/usr/sadm/install \
327	/usr/sadm/install/bin \
328	/usr/sadm/install/scripts \
329	/usr/sbin \
330	/usr/sbin/$(MACH32) \
331	/usr/share  \
332	/usr/share/applications \
333	/usr/share/audio \
334	/usr/share/audio/samples \
335	/usr/share/audio/samples/au \
336	/usr/share/gnome \
337	/usr/share/gnome/autostart \
338	/usr/share/hwdata \
339	/usr/share/lib \
340	/usr/share/lib/ccs \
341	/usr/share/lib/tmac  \
342	/usr/share/lib/ldif  \
343	/usr/share/lib/xml \
344	/usr/share/lib/xml/dtd \
345	/usr/share/man \
346	/usr/share/src \
347	/usr/ucb \
348	$(MACH32_DIRS) \
349	/usr/ucblib \
350	/usr/xpg4 \
351	/usr/xpg4/bin \
352	/usr/xpg4/include \
353	/usr/xpg4/lib \
354	/usr/xpg6 \
355	/usr/xpg6/bin \
356	/var  \
357	/var/adm  \
358	/var/adm/exacct \
359	/var/adm/log \
360	/var/adm/pool \
361	/var/adm/sa \
362	/var/adm/sm.bin \
363	/var/adm/streams \
364	/var/cores \
365	/var/cron \
366	/var/db \
367	/var/db/ipf \
368	/var/games \
369	/var/idmap \
370	/var/krb5 \
371	/var/krb5/rcache  \
372	/var/krb5/rcache/root  \
373	/var/ld \
374	/var/log \
375	/var/log/pool \
376	/var/logadm \
377	/var/mail \
378	/var/news \
379	/var/opt \
380	/var/preserve \
381	/var/run \
382	/var/saf \
383	/var/sadm \
384	/var/sadm/install \
385	/var/sadm/install/admin \
386	/var/sadm/install/logs \
387	/var/sadm/pkg \
388	/var/sadm/security \
389	/var/smb \
390	/var/smb/cvol \
391	/var/smb/cvol/windows \
392	/var/smb/cvol/windows/system32 \
393	/var/smb/cvol/windows/system32/vss \
394	/var/spool \
395	/var/spool/cron \
396	/var/spool/cron/atjobs \
397	/var/spool/cron/crontabs \
398	/var/spool/lp \
399	/var/spool/pkg \
400	/var/spool/uucp \
401	/var/spool/uucppublic \
402	/var/svc \
403	/var/svc/log \
404	/var/svc/manifest \
405	/var/svc/manifest/milestone \
406	/var/svc/manifest/device \
407	/var/svc/manifest/system \
408	/var/svc/manifest/system/device \
409	/var/svc/manifest/system/filesystem \
410	/var/svc/manifest/system/security \
411	/var/svc/manifest/system/svc \
412	/var/svc/manifest/network \
413	/var/svc/manifest/network/dns \
414	/var/svc/manifest/network/ipsec \
415	/var/svc/manifest/network/ldap \
416	/var/svc/manifest/network/nfs \
417	/var/svc/manifest/network/nis \
418	/var/svc/manifest/network/rpc \
419	/var/svc/manifest/network/routing \
420	/var/svc/manifest/network/security \
421	/var/svc/manifest/network/shares \
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	$(PYTHON3_DIRS) \
477	/usr/lib/rcap/$(MACH64) \
478	/usr/lib/sasl/$(MACH64) \
479	/usr/lib/scsi/$(MACH64) \
480	/usr/lib/secure/$(MACH64) \
481	/usr/lib/security/$(MACH64) \
482	/usr/lib/smbsrv/$(MACH64) \
483	/usr/lib/abi/$(MACH64) \
484	/usr/lib/varpd/$(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/locale/POSIX \
513	/usr/lib/elfedit/32 \
514	/usr/lib/lwp/32 \
515	/usr/lib/link_audit/32 \
516	/usr/lib/secure/32 \
517	/usr/mail \
518	/usr/man \
519	/usr/pub \
520	/usr/src \
521	/usr/tmp \
522	/usr/ucblib/32 \
523	/var/ld/32
524
525sparc_SYM.DIRS64=
526
527SYM.DIRS64= \
528	$($(MACH)_SYM.DIRS64) \
529	/lib/64 \
530	/lib/crypto/64 \
531	/lib/secure/64 \
532	/usr/lib/64 \
533	/usr/lib/brand/sn1/64 \
534	/usr/lib/brand/solaris10/64 \
535	/usr/lib/elfedit/64 \
536	/usr/lib/fm/64 \
537	/usr/lib/link_audit/64 \
538	/usr/lib/lwp/64 \
539	/usr/lib/secure/64 \
540	/usr/lib/security/64 \
541	/usr/lib/varpd/64 \
542	/usr/xpg4/lib/64 \
543	/var/ld/64 \
544	/usr/ucblib/64
545
546# prepend the ROOT prefix
547
548ROOTDIRS=	$(TARGETDIRS:%=$(ROOT)%)
549
550# conditional assignments
551#
552# Target directories with non-default values for owner and group must
553# be referenced here, using their fully-prefixed names, and the non-
554# default values assigned.  If a directory is mentioned above and not
555# mentioned below, it has default values for attributes.
556#
557# The default value for DIRMODE is specified in usr/src/Makefile.master.
558#
559
560$(ROOT)/var/adm \
561$(ROOT)/var/adm/sa :=		DIRMODE= 775
562
563$(ROOT)/var/spool/lp:=		DIRMODE= 775
564
565# file mode
566#
567$(ROOT)/tmp \
568$(ROOT)/var/krb5/rcache \
569$(ROOT)/var/preserve \
570$(ROOT)/var/spool/pkg \
571$(ROOT)/var/spool/uucppublic \
572$(ROOT)/var/tmp:=	DIRMODE= 1777
573
574$(ROOT)/root:=		DIRMODE= 700
575
576$(ROOT)/var/krb5/rcache/root:=	DIRMODE= 700
577
578
579#
580# These permissions must match those set
581# in the package manifests.
582#
583$(ROOT)/var/sadm/pkg \
584$(ROOT)/var/sadm/security \
585$(ROOT)/var/sadm/install/logs :=	DIRMODE= 555
586
587
588#
589# These permissions must match the ones set
590# internally by fdfs and autofs.
591#
592$(ROOT)/dev/fd \
593$(ROOT)/home:=		DIRMODE= 555
594
595$(ROOT)/var/mail:=	DIRMODE=1777
596
597$(ROOT)/proc:=		DIRMODE= 555
598
599$(ROOT)/system/boot:=		DIRMODE= 555
600$(ROOT)/system/contract:=	DIRMODE= 555
601$(ROOT)/system/object:=		DIRMODE= 555
602
603# symlink assignments, LINKDEST is the value of the symlink
604#
605$(ROOT)/usr/lib/cron:=			LINKDEST=../../etc/cron.d
606$(ROOT)/bin:=				LINKDEST=usr/bin
607$(ROOT)/lib/32:=			LINKDEST=.
608$(ROOT)/lib/crypto/32:=			LINKDEST=.
609$(ROOT)/lib/secure/32:=			LINKDEST=.
610$(ROOT)/dev/stdin:=			LINKDEST=fd/0
611$(ROOT)/dev/stdout:=			LINKDEST=fd/1
612$(ROOT)/dev/stderr:=			LINKDEST=fd/2
613$(ROOT)/usr/pub:=			LINKDEST=share/lib/pub
614$(ROOT)/usr/man:=			LINKDEST=share/man
615$(ROOT)/usr/src:=			LINKDEST=share/src
616$(ROOT)/usr/adm:=			LINKDEST=../var/adm
617$(ROOT)/etc/log:=			LINKDEST=../var/adm/log
618$(ROOT)/usr/mail:=			LINKDEST=../var/mail
619$(ROOT)/usr/news:=			LINKDEST=../var/news
620$(ROOT)/usr/preserve:=			LINKDEST=../var/preserve
621$(ROOT)/usr/spool:=			LINKDEST=../var/spool
622$(ROOT)/usr/tmp:=			LINKDEST=../var/tmp
623$(ROOT)/usr/lib/tmac:=			LINKDEST=../share/lib/tmac
624$(ROOT)/usr/lib/32:=			LINKDEST=.
625$(ROOT)/usr/lib/elfedit/32:=		LINKDEST=.
626$(ROOT)/usr/lib/locale/POSIX:=		LINKDEST=./C
627$(ROOT)/usr/lib/lwp/32:=		LINKDEST=.
628$(ROOT)/usr/lib/link_audit/32:=		LINKDEST=.
629$(ROOT)/usr/lib/secure/32:=		LINKDEST=.
630$(ROOT)/usr/ccs/lib/link_audit:=	LINKDEST=../../lib/link_audit
631$(ROOT)/var/ld/32:=			LINKDEST=.
632$(ROOT)/usr/ucblib/32:=			LINKDEST=.
633
634
635$(BUILD64) $(ROOT)/lib/64:=		LINKDEST=$(MACH64)
636$(BUILD64) $(ROOT)/lib/crypto/64:=	LINKDEST=$(MACH64)
637$(BUILD64) $(ROOT)/lib/secure/64:=	LINKDEST=$(MACH64)
638$(BUILD64) $(ROOT)/usr/lib/64:=		LINKDEST=$(MACH64)
639$(BUILD64) $(ROOT)/usr/lib/elfedit/64:=	LINKDEST=$(MACH64)
640$(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=	LINKDEST=$(MACH64)
641$(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:=	LINKDEST=$(MACH64)
642$(BUILD64) $(ROOT)/usr/lib/fm/64 := LINKDEST=$(MACH64)
643$(BUILD64) $(ROOT)/usr/lib/lwp/64:=	LINKDEST=$(MACH64)
644$(BUILD64) $(ROOT)/usr/lib/link_audit/64:=	LINKDEST=$(MACH64)
645$(BUILD64) $(ROOT)/usr/lib/secure/64:=	LINKDEST=$(MACH64)
646$(BUILD64) $(ROOT)/usr/lib/security/64:=	LINKDEST=$(MACH64)
647$(BUILD64) $(ROOT)/usr/lib/varpd/64:=	LINKDEST=$(MACH64)
648$(BUILD64) $(ROOT)/usr/xpg4/lib/64:=	LINKDEST=$(MACH64)
649$(BUILD64) $(ROOT)/var/ld/64:=		LINKDEST=$(MACH64)
650$(BUILD64) $(ROOT)/usr/ucblib/64:=	LINKDEST=$(MACH64)
651
652#
653# Installing a directory symlink calls for overriding INS.dir to install
654# a symlink.
655#
656$(DIRLINKS:%=$(ROOT)%):= \
657   INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
658