xref: /illumos-gate/usr/src/Targetdirs (revision 3c30f56df862431210f98c7c8f13cf1362b9c574)
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#
33
34#
35# It is easier to think in terms of directory names without the ROOT macro
36# prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
37# to work with ROOT prefixes when controlling conditional assignments.
38#
39
40DIRLINKS=	$(SYM.DIRS)
41$(BUILD64)	DIRLINKS += $(SYM.DIRS64)
42
43FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
44$(BUILD64)	FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
45
46TARGETDIRS=	$(DIRS)
47$(BUILD64)	TARGETDIRS += $(DIRS64)
48
49TARGETDIRS	+= $(FILELINKS) $(DIRLINKS)
50
51i386_DIRS=			\
52	/boot/acpi		\
53	/boot/acpi/tables	\
54	/boot/grub		\
55	/boot/grub/bin		\
56	/platform/i86pc		\
57	/lib/libmvec		\
58	/usr/lib/xen		\
59	/usr/lib/xen/bin
60
61sparc_DIRS=				\
62	/usr/lib/ldoms
63
64sparc_64ONLY= $(POUND_SIGN)
6564ONLY=  $($(MACH)_64ONLY)
66
67$(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
68
69PYTHON2_DIRS=
70PYTHON2_64DIRS=
71PYTHON3_DIRS=
72
73$(BUILDPY2)PYTHON2_DIRS += \
74	/usr/lib/python$(PYTHON_VERSION) \
75	/usr/lib/python$(PYTHON_VERSION)/vendor-packages \
76	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/solaris \
77	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs
78
79$(BUILDPY2)PYTHON2_64DIRS += \
80	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 \
81	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/solaris/64 \
82	/usr/lib/python$(PYTHON_VERSION)/vendor-packages/zfs/64
83
84$(BUILDPY3)PYTHON3_DIRS += \
85	/usr/lib/python$(PYTHON3_VERSION) \
86	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages \
87	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris \
88	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/solaris/__pycache__ \
89	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs \
90	/usr/lib/python$(PYTHON3_VERSION)/vendor-packages/zfs/__pycache__
91
92DIRS= \
93	/boot \
94	/boot/solaris \
95	/boot/solaris/bin \
96	$($(MACH)_DIRS) \
97	/dev \
98	/dev/dsk \
99	/dev/fd \
100	/dev/ipnet \
101	/dev/net \
102	/dev/rdsk \
103	/dev/rmt \
104	/dev/pts \
105	/dev/sad \
106	/dev/swap \
107	/dev/term \
108	/dev/vt \
109	/dev/zcons \
110	/devices \
111	/devices/pseudo \
112	/etc \
113	/etc/brand  \
114	/etc/brand/solaris10  \
115	/etc/cron.d \
116	/etc/crypto \
117	/etc/crypto/certs \
118	/etc/crypto/crls \
119	/etc/dbus-1 \
120	/etc/dbus-1/system.d \
121	/etc/default \
122	/etc/devices  \
123	/etc/dev  \
124	/etc/dfs  \
125	/etc/dladm \
126	/etc/fs  \
127	/etc/fs/nfs  \
128	/etc/fs/zfs \
129	/etc/ftpd  \
130	/etc/hal \
131	/etc/hal/fdi \
132	/etc/hal/fdi/information \
133	/etc/hal/fdi/information/10freedesktop \
134	/etc/hal/fdi/information/20thirdparty \
135	/etc/hal/fdi/information/30user \
136	/etc/hal/fdi/policy \
137	/etc/hal/fdi/policy/10osvendor \
138	/etc/hal/fdi/policy/20thirdparty \
139	/etc/hal/fdi/policy/30user \
140	/etc/hal/fdi/preprobe \
141	/etc/hal/fdi/preprobe/10osvendor \
142	/etc/hal/fdi/preprobe/20thirdparty \
143	/etc/hal/fdi/preprobe/30user \
144	/etc/ipadm \
145	/etc/iscsi \
146	/etc/rpcsec	\
147	/etc/security	\
148	/etc/security/auth_attr.d \
149	/etc/security/exec_attr.d \
150	/etc/security/prof_attr.d \
151	/etc/security/tsol	\
152	/etc/gss	\
153	/etc/init.d  \
154	/etc/dhcp	\
155	/etc/lib  \
156	/etc/mail  \
157	/etc/mail/cf  \
158	/etc/mail/cf/cf  \
159	/etc/mail/cf/domain  \
160	/etc/mail/cf/feature  \
161	/etc/mail/cf/m4  \
162	/etc/mail/cf/mailer  \
163	/etc/mail/cf/ostype  \
164	/etc/mail/cf/sh  \
165	/etc/net-snmp \
166	/etc/net-snmp/snmp \
167	/etc/opt  \
168	/etc/rc0.d  \
169	/etc/rc1.d  \
170	/etc/rc2.d  \
171	/etc/rc3.d  \
172	/etc/rcS.d  \
173	/etc/saf \
174	/etc/sasl	\
175	/etc/sfw \
176	/etc/skel	\
177	/etc/svc \
178	/etc/svc/profile \
179	/etc/svc/profile/site \
180	/etc/svc/volatile \
181	/etc/system.d \
182	/etc/tm  \
183	/etc/usb   \
184	/etc/user_attr.d \
185	/etc/zfs  \
186	/etc/zones  \
187	/export  \
188	/home  \
189	/lib \
190	/lib/crypto \
191	/lib/inet \
192	/lib/fm \
193	/lib/secure \
194	/lib/svc \
195	/lib/svc/bin \
196	/lib/svc/capture \
197	/lib/svc/manifest \
198	/lib/svc/manifest/milestone \
199	/lib/svc/manifest/device \
200	/lib/svc/manifest/system \
201	/lib/svc/manifest/system/device \
202	/lib/svc/manifest/system/filesystem \
203	/lib/svc/manifest/system/security \
204	/lib/svc/manifest/system/svc \
205	/lib/svc/manifest/network \
206	/lib/svc/manifest/network/dns \
207	/lib/svc/manifest/network/ipsec \
208	/lib/svc/manifest/network/ldap \
209	/lib/svc/manifest/network/nfs \
210	/lib/svc/manifest/network/nis \
211	/lib/svc/manifest/network/rpc \
212	/lib/svc/manifest/network/security \
213	/lib/svc/manifest/network/shares \
214	/lib/svc/manifest/network/ssl \
215	/lib/svc/manifest/application \
216	/lib/svc/manifest/application/management \
217	/lib/svc/manifest/application/security \
218	/lib/svc/manifest/application/print \
219	/lib/svc/manifest/platform \
220	/lib/svc/manifest/platform/sun4u \
221	/lib/svc/manifest/platform/sun4v \
222	/lib/svc/manifest/site \
223	/lib/svc/method \
224	/lib/svc/monitor \
225	/lib/svc/seed \
226	/lib/svc/share \
227	/kernel  \
228	/kernel/firmware \
229	/mnt  \
230	/opt  \
231	/platform  \
232	/proc  \
233	/root  \
234	/sbin  \
235	/system \
236	/system/boot \
237	/system/contract \
238	/system/object \
239	/tmp \
240	/usr  \
241	/usr/4lib \
242	/usr/ast \
243	/usr/ast/bin \
244	/usr/bin \
245	/usr/bin/$(MACH32) \
246	/usr/ccs \
247	/usr/ccs/bin \
248	/usr/ccs/lib \
249	/usr/demo \
250	/usr/demo/SOUND \
251	/usr/games \
252	/usr/has \
253	/usr/has/bin \
254	/usr/has/lib \
255        /usr/has/man \
256	/usr/include \
257	/usr/include/ads \
258	/usr/include/ast \
259	/usr/include/fm \
260	/usr/include/gssapi \
261	/usr/include/hal \
262	/usr/include/kerberosv5 \
263	/usr/include/libmilter \
264	/usr/include/libpolkit \
265	/usr/include/sasl \
266	/usr/include/scsi \
267	/usr/include/security \
268	/usr/include/sys/crypto \
269	/usr/include/tsol \
270	/usr/kernel  \
271	/usr/kvm \
272	/usr/lib \
273	/usr/lib/abi \
274	/usr/lib/brand \
275	/usr/lib/brand/ipkg \
276	/usr/lib/brand/labeled \
277	/usr/lib/brand/shared \
278	/usr/lib/brand/sn1 \
279	/usr/lib/brand/solaris10 \
280	/usr/lib/class \
281	/usr/lib/class/FSS \
282	/usr/lib/class/FX \
283	/usr/lib/class/IA \
284	/usr/lib/class/RT \
285	/usr/lib/class/SDC \
286	/usr/lib/class/TS \
287	/usr/lib/crypto \
288	/usr/lib/elfedit \
289	/usr/lib/fm \
290	/usr/lib/font \
291	/usr/lib/fs \
292	/usr/lib/fs/nfs \
293	/usr/lib/fs/proc \
294	/usr/lib/fs/smb \
295	/usr/lib/fs/zfs \
296	/usr/lib/gss \
297	/usr/lib/hal \
298	/usr/lib/inet \
299	/usr/lib/inet/ilb \
300	/usr/lib/krb5 \
301	/usr/lib/link_audit \
302	/usr/lib/lwp \
303	/usr/lib/mdb \
304	/usr/lib/mdb/kvm \
305	/usr/lib/mdb/proc \
306	/usr/lib/nfs \
307	/usr/net \
308	/usr/net/servers \
309	/usr/lib/pool \
310	$(PYTHON2_DIRS) \
311	/usr/lib/rcap \
312	/usr/lib/rcap/$(MACH32) \
313	/usr/lib/sa  \
314	/usr/lib/saf \
315	/usr/lib/sasl \
316	/usr/lib/scsi \
317	/usr/lib/secure \
318	/usr/lib/security \
319	/usr/lib/smbsrv \
320	/usr/lib/vscan \
321	/usr/lib/zfs \
322	/usr/lib/zones \
323	/usr/old \
324	/usr/platform  \
325	/usr/proc \
326	/usr/proc/bin \
327	/usr/sadm \
328	/usr/sadm/install \
329	/usr/sadm/install/bin \
330	/usr/sadm/install/scripts \
331	/usr/sbin \
332	/usr/sbin/$(MACH32) \
333	/usr/share  \
334	/usr/share/applications \
335	/usr/share/audio \
336	/usr/share/audio/samples \
337	/usr/share/audio/samples/au \
338	/usr/share/gnome \
339	/usr/share/gnome/autostart \
340	/usr/share/hwdata \
341	/usr/share/lib \
342	/usr/share/lib/ccs \
343	/usr/share/lib/tmac  \
344	/usr/share/lib/ldif  \
345	/usr/share/lib/xml \
346	/usr/share/lib/xml/dtd \
347	/usr/share/man \
348	/usr/share/src \
349	/usr/ucb \
350	$(MACH32_DIRS) \
351	/usr/ucblib \
352	/usr/xpg4 \
353	/usr/xpg4/bin \
354	/usr/xpg4/include \
355	/usr/xpg4/lib \
356	/usr/xpg6 \
357	/usr/xpg6/bin \
358	/var  \
359	/var/adm  \
360	/var/adm/exacct \
361	/var/adm/log \
362	/var/adm/pool \
363	/var/adm/sa \
364	/var/adm/sm.bin \
365	/var/adm/streams \
366	/var/cores \
367	/var/cron \
368	/var/db \
369	/var/db/ipf \
370	/var/games \
371	/var/idmap \
372	/var/krb5 \
373	/var/krb5/rcache  \
374	/var/krb5/rcache/root  \
375	/var/ld \
376	/var/log \
377	/var/log/pool \
378	/var/logadm \
379	/var/mail \
380	/var/news \
381	/var/opt \
382	/var/preserve \
383	/var/run \
384	/var/saf \
385	/var/sadm \
386	/var/sadm/install \
387	/var/sadm/install/admin \
388	/var/sadm/install/logs \
389	/var/sadm/pkg \
390	/var/sadm/security \
391	/var/smb \
392	/var/smb/cvol \
393	/var/smb/cvol/windows \
394	/var/smb/cvol/windows/system32 \
395	/var/smb/cvol/windows/system32/vss \
396	/var/spool \
397	/var/spool/cron \
398	/var/spool/cron/atjobs \
399	/var/spool/cron/crontabs \
400	/var/spool/lp \
401	/var/spool/pkg \
402	/var/spool/uucp \
403	/var/spool/uucppublic \
404	/var/svc \
405	/var/svc/log \
406	/var/svc/manifest \
407	/var/svc/manifest/milestone \
408	/var/svc/manifest/device \
409	/var/svc/manifest/system \
410	/var/svc/manifest/system/device \
411	/var/svc/manifest/system/filesystem \
412	/var/svc/manifest/system/security \
413	/var/svc/manifest/system/svc \
414	/var/svc/manifest/network \
415	/var/svc/manifest/network/dns \
416	/var/svc/manifest/network/ipsec \
417	/var/svc/manifest/network/ldap \
418	/var/svc/manifest/network/nfs \
419	/var/svc/manifest/network/nis \
420	/var/svc/manifest/network/rpc \
421	/var/svc/manifest/network/routing \
422	/var/svc/manifest/network/security \
423	/var/svc/manifest/network/shares \
424	/var/svc/manifest/network/ssl \
425	/var/svc/manifest/application \
426	/var/svc/manifest/application/management \
427	/var/svc/manifest/application/print \
428	/var/svc/manifest/application/security \
429	/var/svc/manifest/platform \
430	/var/svc/manifest/platform/sun4u \
431	/var/svc/manifest/platform/sun4v \
432	/var/svc/manifest/site \
433	/var/svc/profile \
434	/var/uucp \
435	/var/tmp \
436	/var/tsol \
437	/var/tsol/doors
438
439sparcv9_DIRS64= \
440	/platform/sun4u \
441	/platform/sun4u/lib \
442	/platform/sun4u/lib/$(MACH64) \
443	/usr/platform/sun4u \
444	/usr/platform/sun4u/sbin \
445	/usr/platform/sun4u/lib \
446	/platform/sun4v/lib \
447	/platform/sun4v/lib/$(MACH64) \
448	/usr/platform/sun4v/sbin \
449	/usr/platform/sun4v/lib \
450	/usr/platform/sun4u-us3/lib \
451	/usr/platform/sun4u-opl/lib
452
453amd64_DIRS64= \
454	/platform/i86pc/amd64
455
456DIRS64= \
457	$($(MACH64)_DIRS64) \
458	/lib/$(MACH64) \
459	/lib/crypto/$(MACH64) \
460	/lib/fm/$(MACH64) \
461	/lib/secure/$(MACH64) \
462	/usr/bin/$(MACH64) \
463	/usr/ccs/bin/$(MACH64)  \
464	/usr/ccs/lib/$(MACH64) \
465	/usr/lib/$(MACH64) \
466	/usr/lib/$(MACH64)/gss \
467	/usr/lib/brand/sn1/$(MACH64) \
468	/usr/lib/brand/solaris10/$(MACH64) \
469	/usr/lib/elfedit/$(MACH64) \
470	/usr/lib/fm/$(MACH64) \
471	/usr/lib/fs/nfs/$(MACH64) \
472	/usr/lib/fs/smb/$(MACH64) \
473	/usr/lib/inet/$(MACH64) \
474	/usr/lib/krb5/$(MACH64) \
475	/usr/lib/link_audit/$(MACH64) \
476	/usr/lib/lwp/$(MACH64) \
477	/usr/lib/mdb/kvm/$(MACH64) \
478	/usr/lib/mdb/proc/$(MACH64) \
479	$(PYTHON2_64DIRS) \
480	$(PYTHON3_DIRS) \
481	/usr/lib/rcap/$(MACH64) \
482	/usr/lib/sasl/$(MACH64) \
483	/usr/lib/scsi/$(MACH64) \
484	/usr/lib/secure/$(MACH64) \
485	/usr/lib/security/$(MACH64) \
486	/usr/lib/smbsrv/$(MACH64) \
487	/usr/lib/abi/$(MACH64) \
488	/usr/sbin/$(MACH64) \
489	/usr/ucb/$(MACH64) \
490	/usr/ucblib/$(MACH64) \
491	/usr/xpg4/lib/$(MACH64) \
492	/var/ld/$(MACH64)
493
494# /var/mail/:saved is built directly by the rootdirs target in
495# /usr/src/Makefile because of the colon in its name.
496
497# macros for symbolic links
498SYM.DIRS= \
499	/bin \
500	/dev/stdin \
501	/dev/stdout \
502	/dev/stderr \
503	/etc/lib/ld.so.1 \
504	/etc/lib/libdl.so.1 \
505	/etc/lib/nss_files.so.1 \
506	/etc/log \
507	/lib/32 \
508	/lib/crypto/32 \
509	/lib/secure/32 \
510	/usr/adm \
511	/usr/spool \
512	/usr/lib/tmac \
513	/usr/ccs/lib/link_audit \
514	/usr/news \
515	/usr/preserve \
516	/usr/lib/32 \
517	/usr/lib/cron \
518	/usr/lib/elfedit/32 \
519	/usr/lib/lwp/32 \
520	/usr/lib/link_audit/32 \
521	/usr/lib/secure/32 \
522	/usr/mail \
523	/usr/man \
524	/usr/pub \
525	/usr/src \
526	/usr/tmp \
527	/usr/ucblib/32 \
528	/var/ld/32
529
530sparc_SYM.DIRS64=
531
532SYM.DIRS64= \
533	$($(MACH)_SYM.DIRS64) \
534	/lib/64 \
535	/lib/crypto/64 \
536	/lib/secure/64 \
537	/usr/lib/64 \
538	/usr/lib/brand/sn1/64 \
539	/usr/lib/brand/solaris10/64 \
540	/usr/lib/elfedit/64 \
541	/usr/lib/link_audit/64 \
542	/usr/lib/lwp/64 \
543	/usr/lib/secure/64 \
544	/usr/lib/security/64 \
545	/usr/xpg4/lib/64 \
546	/var/ld/64 \
547	/usr/ucblib/64
548
549# prepend the ROOT prefix
550
551ROOTDIRS=	$(TARGETDIRS:%=$(ROOT)%)
552
553# conditional assignments
554#
555# Target directories with non-default values for owner and group must
556# be referenced here, using their fully-prefixed names, and the non-
557# default values assigned.  If a directory is mentioned above and not
558# mentioned below, it has default values for attributes.
559#
560# The default value for DIRMODE is specified in usr/src/Makefile.master.
561#
562
563$(ROOT)/var/adm \
564$(ROOT)/var/adm/sa :=		DIRMODE= 775
565
566$(ROOT)/var/spool/lp:=		DIRMODE= 775
567
568# file mode
569#
570$(ROOT)/tmp \
571$(ROOT)/var/krb5/rcache \
572$(ROOT)/var/preserve \
573$(ROOT)/var/spool/pkg \
574$(ROOT)/var/spool/uucppublic \
575$(ROOT)/var/tmp:=	DIRMODE= 1777
576
577$(ROOT)/root:=		DIRMODE= 700
578
579$(ROOT)/var/krb5/rcache/root:=	DIRMODE= 700
580
581
582#
583# These permissions must match those set
584# in the package manifests.
585#
586$(ROOT)/var/sadm/pkg \
587$(ROOT)/var/sadm/security \
588$(ROOT)/var/sadm/install/logs :=	DIRMODE= 555
589
590
591#
592# These permissions must match the ones set
593# internally by fdfs and autofs.
594#
595$(ROOT)/dev/fd \
596$(ROOT)/home:=		DIRMODE= 555
597
598$(ROOT)/var/mail:=	DIRMODE=1777
599
600$(ROOT)/proc:=		DIRMODE= 555
601
602$(ROOT)/system/boot:=		DIRMODE= 555
603$(ROOT)/system/contract:=	DIRMODE= 555
604$(ROOT)/system/object:=		DIRMODE= 555
605
606# symlink assignments, LINKDEST is the value of the symlink
607#
608$(ROOT)/usr/lib/cron:=			LINKDEST=../../etc/cron.d
609$(ROOT)/bin:=				LINKDEST=usr/bin
610$(ROOT)/lib/32:=			LINKDEST=.
611$(ROOT)/lib/crypto/32:=			LINKDEST=.
612$(ROOT)/lib/secure/32:=			LINKDEST=.
613$(ROOT)/dev/stdin:=			LINKDEST=fd/0
614$(ROOT)/dev/stdout:=			LINKDEST=fd/1
615$(ROOT)/dev/stderr:=			LINKDEST=fd/2
616$(ROOT)/usr/pub:=			LINKDEST=share/lib/pub
617$(ROOT)/usr/man:=			LINKDEST=share/man
618$(ROOT)/usr/src:=			LINKDEST=share/src
619$(ROOT)/usr/adm:=			LINKDEST=../var/adm
620$(ROOT)/etc/lib/ld.so.1:=		LINKDEST=../../lib/ld.so.1
621$(ROOT)/etc/lib/libdl.so.1:=		LINKDEST=../../lib/libdl.so.1
622$(ROOT)/etc/lib/nss_files.so.1:=	LINKDEST=../../lib/nss_files.so.1
623$(ROOT)/etc/log:=			LINKDEST=../var/adm/log
624$(ROOT)/usr/mail:=			LINKDEST=../var/mail
625$(ROOT)/usr/news:=			LINKDEST=../var/news
626$(ROOT)/usr/preserve:=			LINKDEST=../var/preserve
627$(ROOT)/usr/spool:=			LINKDEST=../var/spool
628$(ROOT)/usr/tmp:=			LINKDEST=../var/tmp
629$(ROOT)/usr/lib/tmac:=			LINKDEST=../share/lib/tmac
630$(ROOT)/usr/lib/32:=			LINKDEST=.
631$(ROOT)/usr/lib/elfedit/32:=		LINKDEST=.
632$(ROOT)/usr/lib/lwp/32:=		LINKDEST=.
633$(ROOT)/usr/lib/link_audit/32:=		LINKDEST=.
634$(ROOT)/usr/lib/secure/32:=		LINKDEST=.
635$(ROOT)/usr/ccs/lib/link_audit:=	LINKDEST=../../lib/link_audit
636$(ROOT)/var/ld/32:=			LINKDEST=.
637$(ROOT)/usr/ucblib/32:=			LINKDEST=.
638
639
640$(BUILD64) $(ROOT)/lib/64:=		LINKDEST=$(MACH64)
641$(BUILD64) $(ROOT)/lib/crypto/64:=	LINKDEST=$(MACH64)
642$(BUILD64) $(ROOT)/lib/secure/64:=	LINKDEST=$(MACH64)
643$(BUILD64) $(ROOT)/usr/lib/64:=		LINKDEST=$(MACH64)
644$(BUILD64) $(ROOT)/usr/lib/elfedit/64:=	LINKDEST=$(MACH64)
645$(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:=	LINKDEST=$(MACH64)
646$(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:=	LINKDEST=$(MACH64)
647$(BUILD64) $(ROOT)/usr/lib/lwp/64:=	LINKDEST=$(MACH64)
648$(BUILD64) $(ROOT)/usr/lib/link_audit/64:=	LINKDEST=$(MACH64)
649$(BUILD64) $(ROOT)/usr/lib/secure/64:=	LINKDEST=$(MACH64)
650$(BUILD64) $(ROOT)/usr/lib/security/64:=	LINKDEST=$(MACH64)
651$(BUILD64) $(ROOT)/usr/xpg4/lib/64:=	LINKDEST=$(MACH64)
652$(BUILD64) $(ROOT)/var/ld/64:=		LINKDEST=$(MACH64)
653$(BUILD64) $(ROOT)/usr/ucblib/64:=	LINKDEST=$(MACH64)
654
655#
656# Installing a directory symlink calls for overriding INS.dir to install
657# a symlink.
658#
659$(DIRLINKS:%=$(ROOT)%):= \
660   INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
661
662# Special symlinks to populate usr/ccs/lib, whose objects
663# have actually been moved to usr/lib
664# Rather than adding another set of rules, we add usr/lib/lwp files here
665$(ROOT)/usr/ccs/lib/libcurses.so:=	REALPATH=../../../lib/libcurses.so.1
666$(ROOT)/usr/ccs/lib/libform.so:=	REALPATH=../../lib/libform.so.1
667$(ROOT)/usr/ccs/lib/libgen.so:=		REALPATH=../../../lib/libgen.so.1
668$(ROOT)/usr/ccs/lib/libmalloc.so:=	REALPATH=../../lib/libmalloc.so.1
669$(ROOT)/usr/ccs/lib/libmenu.so:=	REALPATH=../../lib/libmenu.so.1
670$(ROOT)/usr/ccs/lib/libpanel.so:=	REALPATH=../../lib/libpanel.so.1
671$(ROOT)/usr/ccs/lib/libtermlib.so:=	REALPATH=../../../lib/libcurses.so.1
672$(ROOT)/usr/ccs/lib/libtermcap.so:=	REALPATH=../../../lib/libtermcap.so.1
673$(ROOT)/usr/ccs/lib/values-Xa.o:=	REALPATH=../../lib/values-Xa.o
674$(ROOT)/usr/ccs/lib/values-Xc.o:=	REALPATH=../../lib/values-Xc.o
675$(ROOT)/usr/ccs/lib/values-Xs.o:=	REALPATH=../../lib/values-Xs.o
676$(ROOT)/usr/ccs/lib/values-Xt.o:=	REALPATH=../../lib/values-Xt.o
677$(ROOT)/usr/ccs/lib/values-xpg4.o:=	REALPATH=../../lib/values-xpg4.o
678$(ROOT)/usr/ccs/lib/values-xpg6.o:=	REALPATH=../../lib/values-xpg6.o
679$(ROOT)/usr/ccs/lib/libl.so:=		REALPATH=../../lib/libl.so.1
680$(ROOT)/usr/ccs/lib/liby.so:=		REALPATH=../../lib/liby.so.1
681$(ROOT)/usr/lib/lwp/libthread.so.1:=	REALPATH=../libthread.so.1
682$(ROOT)/usr/lib/lwp/libthread_db.so.1:=	REALPATH=../libthread_db.so.1
683
684# symlinks to populate usr/ccs/lib/$(MACH64)
685$(ROOT)/usr/ccs/lib/$(MACH64)/libcurses.so:= \
686	REALPATH=../../../../lib/$(MACH64)/libcurses.so.1
687$(ROOT)/usr/ccs/lib/$(MACH64)/libform.so:= \
688	REALPATH=../../../lib/$(MACH64)/libform.so.1
689$(ROOT)/usr/ccs/lib/$(MACH64)/libgen.so:= \
690	REALPATH=../../../../lib/$(MACH64)/libgen.so.1
691$(ROOT)/usr/ccs/lib/$(MACH64)/libmalloc.so:= \
692	REALPATH=../../../lib/$(MACH64)/libmalloc.so.1
693$(ROOT)/usr/ccs/lib/$(MACH64)/libmenu.so:= \
694	REALPATH=../../../lib/$(MACH64)/libmenu.so.1
695$(ROOT)/usr/ccs/lib/$(MACH64)/libpanel.so:= \
696	REALPATH=../../../lib/$(MACH64)/libpanel.so.1
697$(ROOT)/usr/ccs/lib/$(MACH64)/libtermlib.so:= \
698	REALPATH=../../../../lib/$(MACH64)/libcurses.so.1
699$(ROOT)/usr/ccs/lib/$(MACH64)/libtermcap.so:= \
700	REALPATH=../../../../lib/$(MACH64)/libtermcap.so.1
701$(ROOT)/usr/ccs/lib/$(MACH64)/values-Xa.o:= \
702	REALPATH=../../../lib/$(MACH64)/values-Xa.o
703$(ROOT)/usr/ccs/lib/$(MACH64)/values-Xc.o:= \
704	REALPATH=../../../lib/$(MACH64)/values-Xc.o
705$(ROOT)/usr/ccs/lib/$(MACH64)/values-Xs.o:= \
706	REALPATH=../../../lib/$(MACH64)/values-Xs.o
707$(ROOT)/usr/ccs/lib/$(MACH64)/values-Xt.o:= \
708	REALPATH=../../../lib/$(MACH64)/values-Xt.o
709$(ROOT)/usr/ccs/lib/$(MACH64)/values-xpg4.o:= \
710	REALPATH=../../../lib/$(MACH64)/values-xpg4.o
711$(ROOT)/usr/ccs/lib/$(MACH64)/values-xpg6.o:= \
712	REALPATH=../../../lib/$(MACH64)/values-xpg6.o
713$(ROOT)/usr/ccs/lib/$(MACH64)/libl.so:= \
714	REALPATH=../../../lib/$(MACH64)/libl.so.1
715$(ROOT)/usr/ccs/lib/$(MACH64)/liby.so:= \
716	REALPATH=../../../lib/$(MACH64)/liby.so.1
717$(ROOT)/usr/lib/lwp/$(MACH64)/libthread.so.1:= \
718	REALPATH=../../$(MACH64)/libthread.so.1
719$(ROOT)/usr/lib/lwp/$(MACH64)/libthread_db.so.1:= \
720	REALPATH=../../$(MACH64)/libthread_db.so.1
721
722SYM.USRCCSLIB= \
723	/usr/ccs/lib/libcurses.so \
724	/usr/ccs/lib/libform.so \
725	/usr/ccs/lib/libgen.so \
726	/usr/ccs/lib/libmalloc.so \
727	/usr/ccs/lib/libmenu.so \
728	/usr/ccs/lib/libpanel.so \
729	/usr/ccs/lib/libtermlib.so \
730	/usr/ccs/lib/libtermcap.so \
731	/usr/ccs/lib/values-Xa.o \
732	/usr/ccs/lib/values-Xc.o \
733	/usr/ccs/lib/values-Xs.o \
734	/usr/ccs/lib/values-Xt.o \
735	/usr/ccs/lib/values-xpg4.o \
736	/usr/ccs/lib/values-xpg6.o \
737	/usr/ccs/lib/libl.so \
738	/usr/ccs/lib/liby.so \
739	/usr/lib/lwp/libthread.so.1 \
740	/usr/lib/lwp/libthread_db.so.1
741
742SYM.USRCCSLIB64= \
743	/usr/ccs/lib/$(MACH64)/libcurses.so \
744	/usr/ccs/lib/$(MACH64)/libform.so \
745	/usr/ccs/lib/$(MACH64)/libgen.so \
746	/usr/ccs/lib/$(MACH64)/libmalloc.so \
747	/usr/ccs/lib/$(MACH64)/libmenu.so \
748	/usr/ccs/lib/$(MACH64)/libpanel.so \
749	/usr/ccs/lib/$(MACH64)/libtermlib.so \
750	/usr/ccs/lib/$(MACH64)/libtermcap.so \
751	/usr/ccs/lib/$(MACH64)/values-Xa.o \
752	/usr/ccs/lib/$(MACH64)/values-Xc.o \
753	/usr/ccs/lib/$(MACH64)/values-Xs.o \
754	/usr/ccs/lib/$(MACH64)/values-Xt.o \
755	/usr/ccs/lib/$(MACH64)/values-xpg4.o \
756	/usr/ccs/lib/$(MACH64)/values-xpg6.o \
757	/usr/ccs/lib/$(MACH64)/libl.so \
758	/usr/ccs/lib/$(MACH64)/liby.so \
759	/usr/lib/lwp/$(MACH64)/libthread.so.1 \
760	/usr/lib/lwp/$(MACH64)/libthread_db.so.1
761
762# Special symlinks to direct libraries that have been moved
763# from /usr/lib to /lib in order to live in the root filesystem.
764$(ROOT)/lib/libposix4.so.1:=		REALPATH=librt.so.1
765$(ROOT)/lib/libposix4.so:=		REALPATH=libposix4.so.1
766$(ROOT)/lib/libthread_db.so.1:=		REALPATH=libc_db.so.1
767$(ROOT)/lib/libthread_db.so:=		REALPATH=libc_db.so.1
768$(ROOT)/usr/lib/ld.so.1:=		REALPATH=../../lib/ld.so.1
769$(ROOT)/usr/lib/libadm.so.1:=		REALPATH=../../lib/libadm.so.1
770$(ROOT)/usr/lib/libadm.so:=		REALPATH=../../lib/libadm.so.1
771$(ROOT)/usr/lib/libaio.so.1:=		REALPATH=../../lib/libaio.so.1
772$(ROOT)/usr/lib/libaio.so:=		REALPATH=../../lib/libaio.so.1
773$(ROOT)/usr/lib/libavl.so.1:=		REALPATH=../../lib/libavl.so.1
774$(ROOT)/usr/lib/libavl.so:=		REALPATH=../../lib/libavl.so.1
775$(ROOT)/usr/lib/libbsm.so.1:=		REALPATH=../../lib/libbsm.so.1
776$(ROOT)/usr/lib/libbsm.so:=		REALPATH=../../lib/libbsm.so.1
777$(ROOT)/usr/lib/libc.so.1:=		REALPATH=../../lib/libc.so.1
778$(ROOT)/usr/lib/libc.so:=		REALPATH=../../lib/libc.so.1
779$(ROOT)/usr/lib/libc_db.so.1:=		REALPATH=../../lib/libc_db.so.1
780$(ROOT)/usr/lib/libc_db.so:=		REALPATH=../../lib/libc_db.so.1
781$(ROOT)/usr/lib/libcmdutils.so.1:=	REALPATH=../../lib/libcmdutils.so.1
782$(ROOT)/usr/lib/libcmdutils.so:=	REALPATH=../../lib/libcmdutils.so.1
783$(ROOT)/usr/lib/libcontract.so.1:=	REALPATH=../../lib/libcontract.so.1
784$(ROOT)/usr/lib/libcontract.so:=	REALPATH=../../lib/libcontract.so.1
785$(ROOT)/usr/lib/libcryptoutil.so.1:=	REALPATH=../../lib/libcryptoutil.so.1
786$(ROOT)/usr/lib/libcryptoutil.so:=	REALPATH=../../lib/libcryptoutil.so.1
787$(ROOT)/usr/lib/libctf.so.1:=		REALPATH=../../lib/libctf.so.1
788$(ROOT)/usr/lib/libctf.so:=		REALPATH=../../lib/libctf.so.1
789$(ROOT)/usr/lib/libcurses.so.1:=	REALPATH=../../lib/libcurses.so.1
790$(ROOT)/usr/lib/libcurses.so:=		REALPATH=../../lib/libcurses.so.1
791$(ROOT)/usr/lib/libdevice.so.1:=	REALPATH=../../lib/libdevice.so.1
792$(ROOT)/usr/lib/libdevice.so:=		REALPATH=../../lib/libdevice.so.1
793$(ROOT)/usr/lib/libdevid.so.1:=		REALPATH=../../lib/libdevid.so.1
794$(ROOT)/usr/lib/libdevid.so:=		REALPATH=../../lib/libdevid.so.1
795$(ROOT)/usr/lib/libdevinfo.so.1:=	REALPATH=../../lib/libdevinfo.so.1
796$(ROOT)/usr/lib/libdevinfo.so:=		REALPATH=../../lib/libdevinfo.so.1
797$(ROOT)/usr/lib/libdhcpagent.so.1:=	REALPATH=../../lib/libdhcpagent.so.1
798$(ROOT)/usr/lib/libdhcpagent.so:=	REALPATH=../../lib/libdhcpagent.so.1
799$(ROOT)/usr/lib/libdhcputil.so.1:=	REALPATH=../../lib/libdhcputil.so.1
800$(ROOT)/usr/lib/libdhcputil.so:=	REALPATH=../../lib/libdhcputil.so.1
801$(ROOT)/usr/lib/libdl.so.1:=		REALPATH=../../lib/libdl.so.1
802$(ROOT)/usr/lib/libdl.so:=		REALPATH=../../lib/libdl.so.1
803$(ROOT)/usr/lib/libdlpi.so.1:=		REALPATH=../../lib/libdlpi.so.1
804$(ROOT)/usr/lib/libdlpi.so:=		REALPATH=../../lib/libdlpi.so.1
805$(ROOT)/usr/lib/libdoor.so.1:=		REALPATH=../../lib/libdoor.so.1
806$(ROOT)/usr/lib/libdoor.so:=		REALPATH=../../lib/libdoor.so.1
807$(ROOT)/usr/lib/libdwarf.so.1:=		REALPATH=../../lib/libdwarf.so.1
808$(ROOT)/usr/lib/libdwarf.so:=		REALPATH=../../lib/libdwarf.so.1
809$(ROOT)/usr/lib/libefi.so.1:=		REALPATH=../../lib/libefi.so.1
810$(ROOT)/usr/lib/libefi.so:=		REALPATH=../../lib/libefi.so.1
811$(ROOT)/usr/lib/libelf.so.1:=		REALPATH=../../lib/libelf.so.1
812$(ROOT)/usr/lib/libelf.so:=		REALPATH=../../lib/libelf.so.1
813$(ROOT)/usr/lib/libfakekernel.so.1:=	REALPATH=../../lib/libfakekernel.so.1
814$(ROOT)/usr/lib/libfakekernel.so:=	REALPATH=../../lib/libfakekernel.so.1
815$(ROOT)/usr/lib/libfdisk.so.1:=		REALPATH=../../lib/libfdisk.so.1
816$(ROOT)/usr/lib/libfdisk.so:=		REALPATH=../../lib/libfdisk.so.1
817$(ROOT)/usr/lib/libgen.so.1:=		REALPATH=../../lib/libgen.so.1
818$(ROOT)/usr/lib/libgen.so:=		REALPATH=../../lib/libgen.so.1
819$(ROOT)/usr/lib/libinetutil.so.1:=	REALPATH=../../lib/libinetutil.so.1
820$(ROOT)/usr/lib/libinetutil.so:=	REALPATH=../../lib/libinetutil.so.1
821$(ROOT)/usr/lib/libintl.so.1:=		REALPATH=../../lib/libintl.so.1
822$(ROOT)/usr/lib/libintl.so:=		REALPATH=../../lib/libintl.so.1
823$(ROOT)/usr/lib/libkmf.so.1:=		REALPATH=../../lib/libkmf.so.1
824$(ROOT)/usr/lib/libkmf.so:=		REALPATH=../../lib/libkmf.so.1
825$(ROOT)/usr/lib/libkmfberder.so.1:=	REALPATH=../../lib/libkmfberder.so.1
826$(ROOT)/usr/lib/libkmfberder.so:=	REALPATH=../../lib/libkmfberder.so.1
827$(ROOT)/usr/lib/libkstat.so.1:=		REALPATH=../../lib/libkstat.so.1
828$(ROOT)/usr/lib/libkstat.so:=		REALPATH=../../lib/libkstat.so.1
829$(ROOT)/usr/lib/liblddbg.so.4:=		REALPATH=../../lib/liblddbg.so.4
830$(ROOT)/usr/lib/libm.so.1:=		REALPATH=../../lib/libm.so.1
831$(ROOT)/usr/lib/libm.so.2:=		REALPATH=../../lib/libm.so.2
832$(ROOT)/usr/lib/libm.so:=		REALPATH=../../lib/libm.so.2
833$(ROOT)/usr/lib/libmd.so.1:=		REALPATH=../../lib/libmd.so.1
834$(ROOT)/usr/lib/libmd.so:=		REALPATH=../../lib/libmd.so.1
835$(ROOT)/usr/lib/libmd5.so.1:=		REALPATH=../../lib/libmd5.so.1
836$(ROOT)/usr/lib/libmd5.so:=		REALPATH=../../lib/libmd5.so.1
837$(ROOT)/usr/lib/libmp.so.1:=		REALPATH=../../lib/libmp.so.1
838$(ROOT)/usr/lib/libmp.so.2:=		REALPATH=../../lib/libmp.so.2
839$(ROOT)/usr/lib/libmp.so:=		REALPATH=../../lib/libmp.so.2
840$(ROOT)/usr/lib/libmvec.so.1:=		REALPATH=../../lib/libmvec.so.1
841$(ROOT)/usr/lib/libmvec.so:=		REALPATH=../../lib/libmvec.so.1
842$(ROOT)/usr/lib/libnsl.so.1:=		REALPATH=../../lib/libnsl.so.1
843$(ROOT)/usr/lib/libnsl.so:=		REALPATH=../../lib/libnsl.so.1
844$(ROOT)/usr/lib/libnvpair.so.1:=	REALPATH=../../lib/libnvpair.so.1
845$(ROOT)/usr/lib/libnvpair.so:=		REALPATH=../../lib/libnvpair.so.1
846$(ROOT)/usr/lib/libpam.so.1:=		REALPATH=../../lib/libpam.so.1
847$(ROOT)/usr/lib/libpam.so:=		REALPATH=../../lib/libpam.so.1
848$(ROOT)/usr/lib/libposix4.so.1:=	REALPATH=../../lib/librt.so.1
849$(ROOT)/usr/lib/libposix4.so:=		REALPATH=../../lib/librt.so.1
850$(ROOT)/usr/lib/libproc.so.1:=		REALPATH=../../lib/libproc.so.1
851$(ROOT)/usr/lib/libproc.so:=		REALPATH=../../lib/libproc.so.1
852$(ROOT)/usr/lib/libpthread.so.1:=	REALPATH=../../lib/libpthread.so.1
853$(ROOT)/usr/lib/libpthread.so:=		REALPATH=../../lib/libpthread.so.1
854$(ROOT)/usr/lib/librcm.so.1:=		REALPATH=../../lib/librcm.so.1
855$(ROOT)/usr/lib/librcm.so:=		REALPATH=../../lib/librcm.so.1
856$(ROOT)/usr/lib/libresolv.so.1:=	REALPATH=../../lib/libresolv.so.1
857$(ROOT)/usr/lib/libresolv.so.2:=	REALPATH=../../lib/libresolv.so.2
858$(ROOT)/usr/lib/libresolv.so:=		REALPATH=../../lib/libresolv.so.2
859$(ROOT)/usr/lib/librestart.so.1:=	REALPATH=../../lib/librestart.so.1
860$(ROOT)/usr/lib/librestart.so:=		REALPATH=../../lib/librestart.so.1
861$(ROOT)/usr/lib/librpcsvc.so.1:=	REALPATH=../../lib/librpcsvc.so.1
862$(ROOT)/usr/lib/librpcsvc.so:=		REALPATH=../../lib/librpcsvc.so.1
863$(ROOT)/usr/lib/librt.so.1:=		REALPATH=../../lib/librt.so.1
864$(ROOT)/usr/lib/librt.so:=		REALPATH=../../lib/librt.so.1
865$(ROOT)/usr/lib/librtld.so.1:=		REALPATH=../../lib/librtld.so.1
866$(ROOT)/usr/lib/librtld_db.so.1:=	REALPATH=../../lib/librtld_db.so.1
867$(ROOT)/usr/lib/librtld_db.so:=		REALPATH=../../lib/librtld_db.so.1
868$(ROOT)/usr/lib/libscf.so.1:=		REALPATH=../../lib/libscf.so.1
869$(ROOT)/usr/lib/libscf.so:=		REALPATH=../../lib/libscf.so.1
870$(ROOT)/usr/lib/libsec.so.1:=		REALPATH=../../lib/libsec.so.1
871$(ROOT)/usr/lib/libsec.so:=		REALPATH=../../lib/libsec.so.1
872$(ROOT)/usr/lib/libsecdb.so.1:=		REALPATH=../../lib/libsecdb.so.1
873$(ROOT)/usr/lib/libsecdb.so:=		REALPATH=../../lib/libsecdb.so.1
874$(ROOT)/usr/lib/libsendfile.so.1:=	REALPATH=../../lib/libsendfile.so.1
875$(ROOT)/usr/lib/libsendfile.so:=	REALPATH=../../lib/libsendfile.so.1
876$(ROOT)/usr/lib/libsocket.so.1:=	REALPATH=../../lib/libsocket.so.1
877$(ROOT)/usr/lib/libsocket.so:=		REALPATH=../../lib/libsocket.so.1
878$(ROOT)/usr/lib/libsysevent.so.1:=	REALPATH=../../lib/libsysevent.so.1
879$(ROOT)/usr/lib/libsysevent.so:=	REALPATH=../../lib/libsysevent.so.1
880$(ROOT)/usr/lib/libtermcap.so.1:=	REALPATH=../../lib/libtermcap.so.1
881$(ROOT)/usr/lib/libtermcap.so:=		REALPATH=../../lib/libtermcap.so.1
882$(ROOT)/usr/lib/libtermlib.so.1:=	REALPATH=../../lib/libcurses.so.1
883$(ROOT)/usr/lib/libtermlib.so:=		REALPATH=../../lib/libcurses.so.1
884$(ROOT)/usr/lib/libthread.so.1:=	REALPATH=../../lib/libthread.so.1
885$(ROOT)/usr/lib/libthread.so:=		REALPATH=../../lib/libthread.so.1
886$(ROOT)/usr/lib/libthread_db.so.1:=	REALPATH=../../lib/libc_db.so.1
887$(ROOT)/usr/lib/libthread_db.so:=	REALPATH=../../lib/libc_db.so.1
888$(ROOT)/usr/lib/libtsnet.so.1:=		REALPATH=../../lib/libtsnet.so.1
889$(ROOT)/usr/lib/libtsnet.so:=		REALPATH=../../lib/libtsnet.so.1
890$(ROOT)/usr/lib/libtsol.so.2:=		REALPATH=../../lib/libtsol.so.2
891$(ROOT)/usr/lib/libtsol.so:=		REALPATH=../../lib/libtsol.so.2
892$(ROOT)/usr/lib/libumem.so.1:=		REALPATH=../../lib/libumem.so.1
893$(ROOT)/usr/lib/libumem.so:=		REALPATH=../../lib/libumem.so.1
894$(ROOT)/usr/lib/libuuid.so.1:=		REALPATH=../../lib/libuuid.so.1
895$(ROOT)/usr/lib/libuuid.so:=		REALPATH=../../lib/libuuid.so.1
896$(ROOT)/usr/lib/libuutil.so.1:=		REALPATH=../../lib/libuutil.so.1
897$(ROOT)/usr/lib/libuutil.so:=		REALPATH=../../lib/libuutil.so.1
898$(ROOT)/usr/lib/libw.so.1:=		REALPATH=../../lib/libw.so.1
899$(ROOT)/usr/lib/libw.so:=		REALPATH=../../lib/libw.so.1
900$(ROOT)/usr/lib/libxnet.so.1:=		REALPATH=../../lib/libxnet.so.1
901$(ROOT)/usr/lib/libxnet.so:=		REALPATH=../../lib/libxnet.so.1
902$(ROOT)/usr/lib/libzfs.so.1:=		REALPATH=../../lib/libzfs.so.1
903$(ROOT)/usr/lib/libzfs.so:=		REALPATH=../../lib/libzfs.so.1
904$(ROOT)/usr/lib/libzfs_core.so.1:=	REALPATH=../../lib/libzfs_core.so.1
905$(ROOT)/usr/lib/libzfs_core.so:=	REALPATH=../../lib/libzfs_core.so.1
906$(ROOT)/usr/lib/nss_compat.so.1:=	REALPATH=../../lib/nss_compat.so.1
907$(ROOT)/usr/lib/nss_dns.so.1:=		REALPATH=../../lib/nss_dns.so.1
908$(ROOT)/usr/lib/nss_files.so.1:=	REALPATH=../../lib/nss_files.so.1
909$(ROOT)/usr/lib/nss_nis.so.1:=		REALPATH=../../lib/nss_nis.so.1
910$(ROOT)/usr/lib/nss_user.so.1:=		REALPATH=../../lib/nss_user.so.1
911$(ROOT)/usr/lib/fm/libfmevent.so.1:=    REALPATH=../../../lib/fm/libfmevent.so.1
912$(ROOT)/usr/lib/fm/libfmevent.so:=      REALPATH=../../../lib/fm/libfmevent.so.1
913
914$(ROOT)/lib/$(MACH64)/libposix4.so.1:= \
915	REALPATH=librt.so.1
916$(ROOT)/lib/$(MACH64)/libposix4.so:= \
917	REALPATH=libposix4.so.1
918$(ROOT)/lib/$(MACH64)/libthread_db.so.1:= \
919	REALPATH=libc_db.so.1
920$(ROOT)/lib/$(MACH64)/libthread_db.so:= \
921	REALPATH=libc_db.so.1
922$(ROOT)/usr/lib/$(MACH64)/ld.so.1:= \
923	REALPATH=../../../lib/$(MACH64)/ld.so.1
924$(ROOT)/usr/lib/$(MACH64)/libadm.so.1:= \
925	REALPATH=../../../lib/$(MACH64)/libadm.so.1
926$(ROOT)/usr/lib/$(MACH64)/libadm.so:= \
927	REALPATH=../../../lib/$(MACH64)/libadm.so.1
928$(ROOT)/usr/lib/$(MACH64)/libaio.so.1:= \
929	REALPATH=../../../lib/$(MACH64)/libaio.so.1
930$(ROOT)/usr/lib/$(MACH64)/libaio.so:= \
931	REALPATH=../../../lib/$(MACH64)/libaio.so.1
932$(ROOT)/usr/lib/$(MACH64)/libavl.so.1:= \
933	REALPATH=../../../lib/$(MACH64)/libavl.so.1
934$(ROOT)/usr/lib/$(MACH64)/libavl.so:= \
935	REALPATH=../../../lib/$(MACH64)/libavl.so.1
936$(ROOT)/usr/lib/$(MACH64)/libbsm.so.1:= \
937	REALPATH=../../../lib/$(MACH64)/libbsm.so.1
938$(ROOT)/usr/lib/$(MACH64)/libbsm.so:= \
939	REALPATH=../../../lib/$(MACH64)/libbsm.so.1
940$(ROOT)/usr/lib/$(MACH64)/libc.so.1:= \
941	REALPATH=../../../lib/$(MACH64)/libc.so.1
942$(ROOT)/usr/lib/$(MACH64)/libc.so:= \
943	REALPATH=../../../lib/$(MACH64)/libc.so.1
944$(ROOT)/usr/lib/$(MACH64)/libc_db.so.1:= \
945	REALPATH=../../../lib/$(MACH64)/libc_db.so.1
946$(ROOT)/usr/lib/$(MACH64)/libc_db.so:= \
947	REALPATH=../../../lib/$(MACH64)/libc_db.so.1
948$(ROOT)/usr/lib/$(MACH64)/libcmdutils.so.1:= \
949	REALPATH=../../../lib/$(MACH64)/libcmdutils.so.1
950$(ROOT)/usr/lib/$(MACH64)/libcmdutils.so:= \
951	REALPATH=../../../lib/$(MACH64)/libcmdutils.so.1
952$(ROOT)/usr/lib/$(MACH64)/libcontract.so.1:= \
953	REALPATH=../../../lib/$(MACH64)/libcontract.so.1
954$(ROOT)/usr/lib/$(MACH64)/libcontract.so:= \
955	REALPATH=../../../lib/$(MACH64)/libcontract.so.1
956$(ROOT)/usr/lib/$(MACH64)/libctf.so.1:= \
957	REALPATH=../../../lib/$(MACH64)/libctf.so.1
958$(ROOT)/usr/lib/$(MACH64)/libctf.so:= \
959	REALPATH=../../../lib/$(MACH64)/libctf.so.1
960$(ROOT)/usr/lib/$(MACH64)/libcurses.so.1:= \
961	REALPATH=../../../lib/$(MACH64)/libcurses.so.1
962$(ROOT)/usr/lib/$(MACH64)/libcurses.so:= \
963	REALPATH=../../../lib/$(MACH64)/libcurses.so.1
964$(ROOT)/usr/lib/$(MACH64)/libdevice.so.1:= \
965	REALPATH=../../../lib/$(MACH64)/libdevice.so.1
966$(ROOT)/usr/lib/$(MACH64)/libdevice.so:= \
967	REALPATH=../../../lib/$(MACH64)/libdevice.so.1
968$(ROOT)/usr/lib/$(MACH64)/libdevid.so.1:= \
969	REALPATH=../../../lib/$(MACH64)/libdevid.so.1
970$(ROOT)/usr/lib/$(MACH64)/libdevid.so:= \
971	REALPATH=../../../lib/$(MACH64)/libdevid.so.1
972$(ROOT)/usr/lib/$(MACH64)/libdevinfo.so.1:= \
973	REALPATH=../../../lib/$(MACH64)/libdevinfo.so.1
974$(ROOT)/usr/lib/$(MACH64)/libdevinfo.so:= \
975	REALPATH=../../../lib/$(MACH64)/libdevinfo.so.1
976$(ROOT)/usr/lib/$(MACH64)/libdhcputil.so.1:= \
977	REALPATH=../../../lib/$(MACH64)/libdhcputil.so.1
978$(ROOT)/usr/lib/$(MACH64)/libdhcputil.so:= \
979	REALPATH=../../../lib/$(MACH64)/libdhcputil.so.1
980$(ROOT)/usr/lib/$(MACH64)/libdl.so.1:= \
981	REALPATH=../../../lib/$(MACH64)/libdl.so.1
982$(ROOT)/usr/lib/$(MACH64)/libdl.so:= \
983	REALPATH=../../../lib/$(MACH64)/libdl.so.1
984$(ROOT)/usr/lib/$(MACH64)/libdlpi.so.1:= \
985	REALPATH=../../../lib/$(MACH64)/libdlpi.so.1
986$(ROOT)/usr/lib/$(MACH64)/libdlpi.so:= \
987	REALPATH=../../../lib/$(MACH64)/libdlpi.so.1
988$(ROOT)/usr/lib/$(MACH64)/libdoor.so.1:= \
989	REALPATH=../../../lib/$(MACH64)/libdoor.so.1
990$(ROOT)/usr/lib/$(MACH64)/libdoor.so:= \
991	REALPATH=../../../lib/$(MACH64)/libdoor.so.1
992$(ROOT)/usr/lib/$(MACH64)/libdwarf.so.1:= \
993	REALPATH=../../../lib/$(MACH64)/libdwarf.so.1
994$(ROOT)/usr/lib/$(MACH64)/libdwarf.so:= \
995	REALPATH=../../../lib/$(MACH64)/libdwarf.so.1
996$(ROOT)/usr/lib/$(MACH64)/libefi.so.1:= \
997	REALPATH=../../../lib/$(MACH64)/libefi.so.1
998$(ROOT)/usr/lib/$(MACH64)/libefi.so:= \
999	REALPATH=../../../lib/$(MACH64)/libefi.so.1
1000$(ROOT)/usr/lib/$(MACH64)/libelf.so.1:= \
1001	REALPATH=../../../lib/$(MACH64)/libelf.so.1
1002$(ROOT)/usr/lib/$(MACH64)/libelf.so:= \
1003	REALPATH=../../../lib/$(MACH64)/libelf.so.1
1004$(ROOT)/usr/lib/$(MACH64)/libgen.so.1:= \
1005	REALPATH=../../../lib/$(MACH64)/libgen.so.1
1006$(ROOT)/usr/lib/$(MACH64)/libgen.so:= \
1007	REALPATH=../../../lib/$(MACH64)/libgen.so.1
1008$(ROOT)/usr/lib/$(MACH64)/libinetutil.so.1:= \
1009	REALPATH=../../../lib/$(MACH64)/libinetutil.so.1
1010$(ROOT)/usr/lib/$(MACH64)/libinetutil.so:= \
1011	REALPATH=../../../lib/$(MACH64)/libinetutil.so.1
1012$(ROOT)/usr/lib/$(MACH64)/libintl.so.1:= \
1013	REALPATH=../../../lib/$(MACH64)/libintl.so.1
1014$(ROOT)/usr/lib/$(MACH64)/libintl.so:= \
1015	REALPATH=../../../lib/$(MACH64)/libintl.so.1
1016$(ROOT)/usr/lib/$(MACH64)/libkstat.so.1:= \
1017	REALPATH=../../../lib/$(MACH64)/libkstat.so.1
1018$(ROOT)/usr/lib/$(MACH64)/libkstat.so:= \
1019	REALPATH=../../../lib/$(MACH64)/libkstat.so.1
1020$(ROOT)/usr/lib/$(MACH64)/liblddbg.so.4:= \
1021	REALPATH=../../../lib/$(MACH64)/liblddbg.so.4
1022$(ROOT)/usr/lib/$(MACH64)/libm.so.1:= \
1023	REALPATH=../../../lib/$(MACH64)/libm.so.1
1024$(ROOT)/usr/lib/$(MACH64)/libm.so.2:= \
1025	REALPATH=../../../lib/$(MACH64)/libm.so.2
1026$(ROOT)/usr/lib/$(MACH64)/libm.so:= \
1027	REALPATH=../../../lib/$(MACH64)/libm.so.2
1028$(ROOT)/usr/lib/$(MACH64)/libmd.so.1:= \
1029	REALPATH=../../../lib/$(MACH64)/libmd.so.1
1030$(ROOT)/usr/lib/$(MACH64)/libmd.so:= \
1031	REALPATH=../../../lib/$(MACH64)/libmd.so.1
1032$(ROOT)/usr/lib/$(MACH64)/libmd5.so.1:= \
1033	REALPATH=../../../lib/$(MACH64)/libmd5.so.1
1034$(ROOT)/usr/lib/$(MACH64)/libmd5.so:= \
1035	REALPATH=../../../lib/$(MACH64)/libmd5.so.1
1036$(ROOT)/usr/lib/$(MACH64)/libmp.so.2:= \
1037	REALPATH=../../../lib/$(MACH64)/libmp.so.2
1038$(ROOT)/usr/lib/$(MACH64)/libmp.so:= \
1039	REALPATH=../../../lib/$(MACH64)/libmp.so.2
1040$(ROOT)/usr/lib/$(MACH64)/libmvec.so.1:= \
1041	REALPATH=../../../lib/$(MACH64)/libmvec.so.1
1042$(ROOT)/usr/lib/$(MACH64)/libmvec.so:= \
1043	REALPATH=../../../lib/$(MACH64)/libmvec.so.1
1044$(ROOT)/usr/lib/$(MACH64)/libnsl.so.1:= \
1045	REALPATH=../../../lib/$(MACH64)/libnsl.so.1
1046$(ROOT)/usr/lib/$(MACH64)/libnsl.so:= \
1047	REALPATH=../../../lib/$(MACH64)/libnsl.so.1
1048$(ROOT)/usr/lib/$(MACH64)/libnvpair.so.1:= \
1049	REALPATH=../../../lib/$(MACH64)/libnvpair.so.1
1050$(ROOT)/usr/lib/$(MACH64)/libnvpair.so:= \
1051	REALPATH=../../../lib/$(MACH64)/libnvpair.so.1
1052$(ROOT)/usr/lib/$(MACH64)/libpam.so.1:= \
1053	REALPATH=../../../lib/$(MACH64)/libpam.so.1
1054$(ROOT)/usr/lib/$(MACH64)/libpam.so:= \
1055	REALPATH=../../../lib/$(MACH64)/libpam.so.1
1056$(ROOT)/usr/lib/$(MACH64)/libposix4.so.1:= \
1057	REALPATH=../../../lib/$(MACH64)/librt.so.1
1058$(ROOT)/usr/lib/$(MACH64)/libposix4.so:= \
1059	REALPATH=../../../lib/$(MACH64)/librt.so.1
1060$(ROOT)/usr/lib/$(MACH64)/libproc.so.1:= \
1061	REALPATH=../../../lib/$(MACH64)/libproc.so.1
1062$(ROOT)/usr/lib/$(MACH64)/libproc.so:= \
1063	REALPATH=../../../lib/$(MACH64)/libproc.so.1
1064$(ROOT)/usr/lib/$(MACH64)/libpthread.so.1:= \
1065	REALPATH=../../../lib/$(MACH64)/libpthread.so.1
1066$(ROOT)/usr/lib/$(MACH64)/libpthread.so:= \
1067	REALPATH=../../../lib/$(MACH64)/libpthread.so.1
1068$(ROOT)/usr/lib/$(MACH64)/librcm.so.1:= \
1069	REALPATH=../../../lib/$(MACH64)/librcm.so.1
1070$(ROOT)/usr/lib/$(MACH64)/librcm.so:= \
1071	REALPATH=../../../lib/$(MACH64)/librcm.so.1
1072$(ROOT)/usr/lib/$(MACH64)/libresolv.so.2:= \
1073	REALPATH=../../../lib/$(MACH64)/libresolv.so.2
1074$(ROOT)/usr/lib/$(MACH64)/libresolv.so:= \
1075	REALPATH=../../../lib/$(MACH64)/libresolv.so.2
1076$(ROOT)/usr/lib/$(MACH64)/librestart.so.1:= \
1077	REALPATH=../../../lib/$(MACH64)/librestart.so.1
1078$(ROOT)/usr/lib/$(MACH64)/librestart.so:= \
1079	REALPATH=../../../lib/$(MACH64)/librestart.so.1
1080$(ROOT)/usr/lib/$(MACH64)/librpcsvc.so.1:= \
1081	REALPATH=../../../lib/$(MACH64)/librpcsvc.so.1
1082$(ROOT)/usr/lib/$(MACH64)/librpcsvc.so:= \
1083	REALPATH=../../../lib/$(MACH64)/librpcsvc.so.1
1084$(ROOT)/usr/lib/$(MACH64)/librt.so.1:= \
1085	REALPATH=../../../lib/$(MACH64)/librt.so.1
1086$(ROOT)/usr/lib/$(MACH64)/librt.so:= \
1087	REALPATH=../../../lib/$(MACH64)/librt.so.1
1088$(ROOT)/usr/lib/$(MACH64)/librtld.so.1:= \
1089	REALPATH=../../../lib/$(MACH64)/librtld.so.1
1090$(ROOT)/usr/lib/$(MACH64)/librtld_db.so.1:= \
1091	REALPATH=../../../lib/$(MACH64)/librtld_db.so.1
1092$(ROOT)/usr/lib/$(MACH64)/librtld_db.so:= \
1093	REALPATH=../../../lib/$(MACH64)/librtld_db.so.1
1094$(ROOT)/usr/lib/$(MACH64)/libscf.so.1:= \
1095	REALPATH=../../../lib/$(MACH64)/libscf.so.1
1096$(ROOT)/usr/lib/$(MACH64)/libscf.so:= \
1097	REALPATH=../../../lib/$(MACH64)/libscf.so.1
1098$(ROOT)/usr/lib/$(MACH64)/libsec.so.1:= \
1099	REALPATH=../../../lib/$(MACH64)/libsec.so.1
1100$(ROOT)/usr/lib/$(MACH64)/libsec.so:= \
1101	REALPATH=../../../lib/$(MACH64)/libsec.so.1
1102$(ROOT)/usr/lib/$(MACH64)/libsecdb.so.1:= \
1103	REALPATH=../../../lib/$(MACH64)/libsecdb.so.1
1104$(ROOT)/usr/lib/$(MACH64)/libsecdb.so:= \
1105	REALPATH=../../../lib/$(MACH64)/libsecdb.so.1
1106$(ROOT)/usr/lib/$(MACH64)/libsendfile.so.1:= \
1107	REALPATH=../../../lib/$(MACH64)/libsendfile.so.1
1108$(ROOT)/usr/lib/$(MACH64)/libsendfile.so:= \
1109	REALPATH=../../../lib/$(MACH64)/libsendfile.so.1
1110$(ROOT)/usr/lib/$(MACH64)/libsocket.so.1:= \
1111	REALPATH=../../../lib/$(MACH64)/libsocket.so.1
1112$(ROOT)/usr/lib/$(MACH64)/libsocket.so:= \
1113	REALPATH=../../../lib/$(MACH64)/libsocket.so.1
1114$(ROOT)/usr/lib/$(MACH64)/libsysevent.so.1:= \
1115	REALPATH=../../../lib/$(MACH64)/libsysevent.so.1
1116$(ROOT)/usr/lib/$(MACH64)/libsysevent.so:= \
1117	REALPATH=../../../lib/$(MACH64)/libsysevent.so.1
1118$(ROOT)/usr/lib/$(MACH64)/libtermcap.so.1:= \
1119	REALPATH=../../../lib/$(MACH64)/libtermcap.so.1
1120$(ROOT)/usr/lib/$(MACH64)/libtermcap.so:= \
1121	REALPATH=../../../lib/$(MACH64)/libtermcap.so.1
1122$(ROOT)/usr/lib/$(MACH64)/libtermlib.so.1:= \
1123	REALPATH=../../../lib/$(MACH64)/libcurses.so.1
1124$(ROOT)/usr/lib/$(MACH64)/libtermlib.so:= \
1125	REALPATH=../../../lib/$(MACH64)/libcurses.so.1
1126$(ROOT)/usr/lib/$(MACH64)/libthread.so.1:= \
1127	REALPATH=../../../lib/$(MACH64)/libthread.so.1
1128$(ROOT)/usr/lib/$(MACH64)/libthread.so:= \
1129	REALPATH=../../../lib/$(MACH64)/libthread.so.1
1130$(ROOT)/usr/lib/$(MACH64)/libthread_db.so.1:= \
1131	REALPATH=../../../lib/$(MACH64)/libc_db.so.1
1132$(ROOT)/usr/lib/$(MACH64)/libthread_db.so:= \
1133	REALPATH=../../../lib/$(MACH64)/libc_db.so.1
1134$(ROOT)/usr/lib/$(MACH64)/libtsnet.so.1:= \
1135	REALPATH=../../../lib/$(MACH64)/libtsnet.so.1
1136$(ROOT)/usr/lib/$(MACH64)/libtsnet.so:= \
1137	REALPATH=../../../lib/$(MACH64)/libtsnet.so.1
1138$(ROOT)/usr/lib/$(MACH64)/libtsol.so.2:= \
1139	REALPATH=../../../lib/$(MACH64)/libtsol.so.2
1140$(ROOT)/usr/lib/$(MACH64)/libtsol.so:= \
1141	REALPATH=../../../lib/$(MACH64)/libtsol.so.2
1142$(ROOT)/usr/lib/$(MACH64)/libumem.so.1:= \
1143	REALPATH=../../../lib/$(MACH64)/libumem.so.1
1144$(ROOT)/usr/lib/$(MACH64)/libumem.so:= \
1145	REALPATH=../../../lib/$(MACH64)/libumem.so.1
1146$(ROOT)/usr/lib/$(MACH64)/libuuid.so.1:= \
1147	REALPATH=../../../lib/$(MACH64)/libuuid.so.1
1148$(ROOT)/usr/lib/$(MACH64)/libuuid.so:= \
1149	REALPATH=../../../lib/$(MACH64)/libuuid.so.1
1150$(ROOT)/usr/lib/$(MACH64)/libuutil.so.1:= \
1151	REALPATH=../../../lib/$(MACH64)/libuutil.so.1
1152$(ROOT)/usr/lib/$(MACH64)/libuutil.so:= \
1153	REALPATH=../../../lib/$(MACH64)/libuutil.so.1
1154$(ROOT)/usr/lib/$(MACH64)/libw.so.1:= \
1155	REALPATH=../../../lib/$(MACH64)/libw.so.1
1156$(ROOT)/usr/lib/$(MACH64)/libw.so:= \
1157	REALPATH=../../../lib/$(MACH64)/libw.so.1
1158$(ROOT)/usr/lib/$(MACH64)/libxnet.so.1:= \
1159	REALPATH=../../../lib/$(MACH64)/libxnet.so.1
1160$(ROOT)/usr/lib/$(MACH64)/libxnet.so:= \
1161	REALPATH=../../../lib/$(MACH64)/libxnet.so.1
1162$(ROOT)/usr/lib/$(MACH64)/libzfs.so:= \
1163	REALPATH=../../../lib/$(MACH64)/libzfs.so.1
1164$(ROOT)/usr/lib/$(MACH64)/libzfs.so.1:= \
1165	REALPATH=../../../lib/$(MACH64)/libzfs.so.1
1166$(ROOT)/usr/lib/$(MACH64)/libzfs_core.so:= \
1167	REALPATH=../../../lib/$(MACH64)/libzfs_core.so.1
1168$(ROOT)/usr/lib/$(MACH64)/libzfs_core.so.1:= \
1169	REALPATH=../../../lib/$(MACH64)/libzfs_core.so.1
1170$(ROOT)/usr/lib/$(MACH64)/libfakekernel.so:= \
1171	REALPATH=../../../lib/$(MACH64)/libfakekernel.so.1
1172$(ROOT)/usr/lib/$(MACH64)/libfakekernel.so.1:= \
1173	REALPATH=../../../lib/$(MACH64)/libfakekernel.so.1
1174$(ROOT)/usr/lib/$(MACH64)/libfdisk.so.1:= \
1175	REALPATH=../../../lib/$(MACH64)/libfdisk.so.1
1176$(ROOT)/usr/lib/$(MACH64)/libfdisk.so:= \
1177	REALPATH=../../../lib/$(MACH64)/libfdisk.so.1
1178$(ROOT)/usr/lib/$(MACH64)/nss_compat.so.1:= \
1179	REALPATH=../../../lib/$(MACH64)/nss_compat.so.1
1180$(ROOT)/usr/lib/$(MACH64)/nss_dns.so.1:= \
1181	REALPATH=../../../lib/$(MACH64)/nss_dns.so.1
1182$(ROOT)/usr/lib/$(MACH64)/nss_files.so.1:= \
1183	REALPATH=../../../lib/$(MACH64)/nss_files.so.1
1184$(ROOT)/usr/lib/$(MACH64)/nss_nis.so.1:= \
1185	REALPATH=../../../lib/$(MACH64)/nss_nis.so.1
1186$(ROOT)/usr/lib/$(MACH64)/nss_user.so.1:= \
1187	REALPATH=../../../lib/$(MACH64)/nss_user.so.1
1188$(ROOT)/usr/lib/fm/$(MACH64)/libfmevent.so.1:= \
1189	REALPATH=../../../../lib/fm/$(MACH64)/libfmevent.so.1
1190$(ROOT)/usr/lib/fm/$(MACH64)/libfmevent.so:= \
1191	REALPATH=../../../../lib/fm/$(MACH64)/libfmevent.so.1
1192
1193i386_SYM.USRLIB= \
1194	/usr/lib/libfdisk.so \
1195	/usr/lib/libfdisk.so.1
1196
1197SYM.USRLIB= \
1198	$($(MACH)_SYM.USRLIB)	\
1199	/lib/libposix4.so \
1200	/lib/libposix4.so.1 \
1201	/lib/libthread_db.so \
1202	/lib/libthread_db.so.1 \
1203	/usr/lib/ld.so.1 \
1204	/usr/lib/libadm.so \
1205	/usr/lib/libadm.so.1 \
1206	/usr/lib/libaio.so \
1207	/usr/lib/libaio.so.1 \
1208	/usr/lib/libavl.so \
1209	/usr/lib/libavl.so.1 \
1210	/usr/lib/libbsm.so \
1211	/usr/lib/libbsm.so.1 \
1212	/usr/lib/libc.so \
1213	/usr/lib/libc.so.1 \
1214	/usr/lib/libc_db.so \
1215	/usr/lib/libc_db.so.1 \
1216	/usr/lib/libcmdutils.so \
1217	/usr/lib/libcmdutils.so.1 \
1218	/usr/lib/libcontract.so \
1219	/usr/lib/libcontract.so.1 \
1220	/usr/lib/libctf.so \
1221	/usr/lib/libctf.so.1 \
1222	/usr/lib/libcurses.so \
1223	/usr/lib/libcurses.so.1 \
1224	/usr/lib/libdevice.so \
1225	/usr/lib/libdevice.so.1 \
1226	/usr/lib/libdevid.so \
1227	/usr/lib/libdevid.so.1 \
1228	/usr/lib/libdevinfo.so \
1229	/usr/lib/libdevinfo.so.1 \
1230	/usr/lib/libdhcpagent.so \
1231	/usr/lib/libdhcpagent.so.1 \
1232	/usr/lib/libdhcputil.so \
1233	/usr/lib/libdhcputil.so.1 \
1234	/usr/lib/libdl.so \
1235	/usr/lib/libdl.so.1 \
1236	/usr/lib/libdlpi.so \
1237	/usr/lib/libdlpi.so.1 \
1238	/usr/lib/libdoor.so \
1239	/usr/lib/libdoor.so.1 \
1240	/usr/lib/libdwarf.so \
1241	/usr/lib/libdwarf.so.1 \
1242	/usr/lib/libefi.so \
1243	/usr/lib/libefi.so.1 \
1244	/usr/lib/libelf.so \
1245	/usr/lib/libelf.so.1 \
1246	/usr/lib/libfakekernel.so \
1247	/usr/lib/libfakekernel.so.1 \
1248	/usr/lib/libgen.so \
1249	/usr/lib/libgen.so.1 \
1250	/usr/lib/libinetutil.so \
1251	/usr/lib/libinetutil.so.1 \
1252	/usr/lib/libintl.so \
1253	/usr/lib/libintl.so.1 \
1254	/usr/lib/libkstat.so \
1255	/usr/lib/libkstat.so.1 \
1256	/usr/lib/liblddbg.so.4 \
1257	/usr/lib/libm.so.1 \
1258	/usr/lib/libm.so.2 \
1259	/usr/lib/libm.so \
1260	/usr/lib/libmd.so \
1261	/usr/lib/libmd.so.1 \
1262	/usr/lib/libmd5.so \
1263	/usr/lib/libmd5.so.1 \
1264	/usr/lib/libmp.so \
1265	/usr/lib/libmp.so.1 \
1266	/usr/lib/libmp.so.2 \
1267	/usr/lib/libmvec.so.1 \
1268	/usr/lib/libmvec.so \
1269	/usr/lib/libnsl.so \
1270	/usr/lib/libnsl.so.1 \
1271	/usr/lib/libnvpair.so \
1272	/usr/lib/libnvpair.so.1 \
1273	/usr/lib/libpam.so \
1274	/usr/lib/libpam.so.1 \
1275	/usr/lib/libposix4.so \
1276	/usr/lib/libposix4.so.1 \
1277	/usr/lib/libproc.so \
1278	/usr/lib/libproc.so.1 \
1279	/usr/lib/libpthread.so \
1280	/usr/lib/libpthread.so.1 \
1281	/usr/lib/librcm.so \
1282	/usr/lib/librcm.so.1 \
1283	/usr/lib/libresolv.so \
1284	/usr/lib/libresolv.so.1 \
1285	/usr/lib/libresolv.so.2 \
1286	/usr/lib/librestart.so \
1287	/usr/lib/librestart.so.1 \
1288	/usr/lib/librpcsvc.so \
1289	/usr/lib/librpcsvc.so.1 \
1290	/usr/lib/librt.so \
1291	/usr/lib/librt.so.1 \
1292	/usr/lib/librtld.so.1 \
1293	/usr/lib/librtld_db.so \
1294	/usr/lib/librtld_db.so.1 \
1295	/usr/lib/libscf.so \
1296	/usr/lib/libscf.so.1 \
1297	/usr/lib/libsec.so \
1298	/usr/lib/libsec.so.1 \
1299	/usr/lib/libsecdb.so \
1300	/usr/lib/libsecdb.so.1 \
1301	/usr/lib/libsendfile.so \
1302	/usr/lib/libsendfile.so.1 \
1303	/usr/lib/libsocket.so \
1304	/usr/lib/libsocket.so.1 \
1305	/usr/lib/libsysevent.so \
1306	/usr/lib/libsysevent.so.1 \
1307	/usr/lib/libtermcap.so \
1308	/usr/lib/libtermcap.so.1 \
1309	/usr/lib/libtermlib.so \
1310	/usr/lib/libtermlib.so.1 \
1311	/usr/lib/libthread.so \
1312	/usr/lib/libthread.so.1 \
1313	/usr/lib/libthread_db.so \
1314	/usr/lib/libthread_db.so.1 \
1315	/usr/lib/libtsnet.so \
1316	/usr/lib/libtsnet.so.1 \
1317	/usr/lib/libtsol.so \
1318	/usr/lib/libtsol.so.2 \
1319	/usr/lib/libumem.so \
1320	/usr/lib/libumem.so.1 \
1321	/usr/lib/libuuid.so \
1322	/usr/lib/libuuid.so.1 \
1323	/usr/lib/libuutil.so \
1324	/usr/lib/libuutil.so.1 \
1325	/usr/lib/libw.so \
1326	/usr/lib/libw.so.1 \
1327	/usr/lib/libxnet.so \
1328	/usr/lib/libxnet.so.1 \
1329	/usr/lib/libzfs.so \
1330	/usr/lib/libzfs.so.1 \
1331	/usr/lib/libzfs_core.so \
1332	/usr/lib/libzfs_core.so.1 \
1333	/usr/lib/nss_compat.so.1 \
1334	/usr/lib/nss_dns.so.1 \
1335	/usr/lib/nss_files.so.1 \
1336	/usr/lib/nss_nis.so.1 \
1337	/usr/lib/nss_user.so.1 \
1338	/usr/lib/fm/libfmevent.so \
1339	/usr/lib/fm/libfmevent.so.1
1340
1341sparcv9_SYM.USRLIB64=
1342
1343amd64_SYM.USRLIB64=	\
1344	/usr/lib/amd64/libfdisk.so	\
1345	/usr/lib/amd64/libfdisk.so.1
1346
1347
1348SYM.USRLIB64= \
1349	$($(MACH64)_SYM.USRLIB64)		\
1350	/lib/$(MACH64)/libposix4.so \
1351	/lib/$(MACH64)/libposix4.so.1 \
1352	/lib/$(MACH64)/libthread_db.so \
1353	/lib/$(MACH64)/libthread_db.so.1 \
1354	/usr/lib/$(MACH64)/ld.so.1 \
1355	/usr/lib/$(MACH64)/libadm.so \
1356	/usr/lib/$(MACH64)/libadm.so.1 \
1357	/usr/lib/$(MACH64)/libaio.so \
1358	/usr/lib/$(MACH64)/libaio.so.1 \
1359	/usr/lib/$(MACH64)/libavl.so \
1360	/usr/lib/$(MACH64)/libavl.so.1 \
1361	/usr/lib/$(MACH64)/libbsm.so \
1362	/usr/lib/$(MACH64)/libbsm.so.1 \
1363	/usr/lib/$(MACH64)/libc.so \
1364	/usr/lib/$(MACH64)/libc.so.1 \
1365	/usr/lib/$(MACH64)/libc_db.so \
1366	/usr/lib/$(MACH64)/libc_db.so.1 \
1367	/usr/lib/$(MACH64)/libcmdutils.so \
1368	/usr/lib/$(MACH64)/libcmdutils.so.1 \
1369	/usr/lib/$(MACH64)/libcontract.so \
1370	/usr/lib/$(MACH64)/libcontract.so.1 \
1371	/usr/lib/$(MACH64)/libctf.so \
1372	/usr/lib/$(MACH64)/libctf.so.1 \
1373	/usr/lib/$(MACH64)/libcurses.so \
1374	/usr/lib/$(MACH64)/libcurses.so.1 \
1375	/usr/lib/$(MACH64)/libdevice.so \
1376	/usr/lib/$(MACH64)/libdevice.so.1 \
1377	/usr/lib/$(MACH64)/libdevid.so \
1378	/usr/lib/$(MACH64)/libdevid.so.1 \
1379	/usr/lib/$(MACH64)/libdevinfo.so \
1380	/usr/lib/$(MACH64)/libdevinfo.so.1 \
1381	/usr/lib/$(MACH64)/libdhcputil.so \
1382	/usr/lib/$(MACH64)/libdhcputil.so.1 \
1383	/usr/lib/$(MACH64)/libdl.so \
1384	/usr/lib/$(MACH64)/libdl.so.1 \
1385	/usr/lib/$(MACH64)/libdlpi.so \
1386	/usr/lib/$(MACH64)/libdlpi.so.1 \
1387	/usr/lib/$(MACH64)/libdoor.so \
1388	/usr/lib/$(MACH64)/libdoor.so.1 \
1389	/usr/lib/$(MACH64)/libdwarf.so \
1390	/usr/lib/$(MACH64)/libdwarf.so.1 \
1391	/usr/lib/$(MACH64)/libefi.so \
1392	/usr/lib/$(MACH64)/libefi.so.1 \
1393	/usr/lib/$(MACH64)/libelf.so \
1394	/usr/lib/$(MACH64)/libelf.so.1 \
1395	/usr/lib/$(MACH64)/libfakekernel.so \
1396	/usr/lib/$(MACH64)/libfakekernel.so.1 \
1397	/usr/lib/$(MACH64)/libgen.so \
1398	/usr/lib/$(MACH64)/libgen.so.1 \
1399	/usr/lib/$(MACH64)/libinetutil.so \
1400	/usr/lib/$(MACH64)/libinetutil.so.1 \
1401	/usr/lib/$(MACH64)/libintl.so \
1402	/usr/lib/$(MACH64)/libintl.so.1 \
1403	/usr/lib/$(MACH64)/libkstat.so \
1404	/usr/lib/$(MACH64)/libkstat.so.1 \
1405	/usr/lib/$(MACH64)/liblddbg.so.4 \
1406	/usr/lib/$(MACH64)/libm.so.1 \
1407	/usr/lib/$(MACH64)/libm.so.2 \
1408	/usr/lib/$(MACH64)/libm.so \
1409	/usr/lib/$(MACH64)/libmd.so \
1410	/usr/lib/$(MACH64)/libmd.so.1 \
1411	/usr/lib/$(MACH64)/libmd5.so \
1412	/usr/lib/$(MACH64)/libmd5.so.1 \
1413	/usr/lib/$(MACH64)/libmp.so \
1414	/usr/lib/$(MACH64)/libmp.so.2 \
1415	/usr/lib/$(MACH64)/libmvec.so.1 \
1416	/usr/lib/$(MACH64)/libmvec.so \
1417	/usr/lib/$(MACH64)/libnsl.so \
1418	/usr/lib/$(MACH64)/libnsl.so.1 \
1419	/usr/lib/$(MACH64)/libnvpair.so \
1420	/usr/lib/$(MACH64)/libnvpair.so.1 \
1421	/usr/lib/$(MACH64)/libpam.so \
1422	/usr/lib/$(MACH64)/libpam.so.1 \
1423	/usr/lib/$(MACH64)/libposix4.so \
1424	/usr/lib/$(MACH64)/libposix4.so.1 \
1425	/usr/lib/$(MACH64)/libproc.so \
1426	/usr/lib/$(MACH64)/libproc.so.1 \
1427	/usr/lib/$(MACH64)/libpthread.so \
1428	/usr/lib/$(MACH64)/libpthread.so.1 \
1429	/usr/lib/$(MACH64)/librcm.so \
1430	/usr/lib/$(MACH64)/librcm.so.1 \
1431	/usr/lib/$(MACH64)/libresolv.so \
1432	/usr/lib/$(MACH64)/libresolv.so.2 \
1433	/usr/lib/$(MACH64)/librestart.so \
1434	/usr/lib/$(MACH64)/librestart.so.1 \
1435	/usr/lib/$(MACH64)/librpcsvc.so \
1436	/usr/lib/$(MACH64)/librpcsvc.so.1 \
1437	/usr/lib/$(MACH64)/librt.so \
1438	/usr/lib/$(MACH64)/librt.so.1 \
1439	/usr/lib/$(MACH64)/librtld.so.1 \
1440	/usr/lib/$(MACH64)/librtld_db.so \
1441	/usr/lib/$(MACH64)/librtld_db.so.1 \
1442	/usr/lib/$(MACH64)/libscf.so \
1443	/usr/lib/$(MACH64)/libscf.so.1 \
1444	/usr/lib/$(MACH64)/libsec.so \
1445	/usr/lib/$(MACH64)/libsec.so.1 \
1446	/usr/lib/$(MACH64)/libsecdb.so \
1447	/usr/lib/$(MACH64)/libsecdb.so.1 \
1448	/usr/lib/$(MACH64)/libsendfile.so \
1449	/usr/lib/$(MACH64)/libsendfile.so.1 \
1450	/usr/lib/$(MACH64)/libsocket.so \
1451	/usr/lib/$(MACH64)/libsocket.so.1 \
1452	/usr/lib/$(MACH64)/libsysevent.so \
1453	/usr/lib/$(MACH64)/libsysevent.so.1 \
1454	/usr/lib/$(MACH64)/libtermcap.so \
1455	/usr/lib/$(MACH64)/libtermcap.so.1 \
1456	/usr/lib/$(MACH64)/libtermlib.so \
1457	/usr/lib/$(MACH64)/libtermlib.so.1 \
1458	/usr/lib/$(MACH64)/libthread.so \
1459	/usr/lib/$(MACH64)/libthread.so.1 \
1460	/usr/lib/$(MACH64)/libthread_db.so \
1461	/usr/lib/$(MACH64)/libthread_db.so.1 \
1462	/usr/lib/$(MACH64)/libtsnet.so \
1463	/usr/lib/$(MACH64)/libtsnet.so.1 \
1464	/usr/lib/$(MACH64)/libtsol.so \
1465	/usr/lib/$(MACH64)/libtsol.so.2 \
1466	/usr/lib/$(MACH64)/libumem.so \
1467	/usr/lib/$(MACH64)/libumem.so.1 \
1468	/usr/lib/$(MACH64)/libuuid.so \
1469	/usr/lib/$(MACH64)/libuuid.so.1 \
1470	/usr/lib/$(MACH64)/libuutil.so \
1471	/usr/lib/$(MACH64)/libuutil.so.1 \
1472	/usr/lib/$(MACH64)/libw.so \
1473	/usr/lib/$(MACH64)/libw.so.1 \
1474	/usr/lib/$(MACH64)/libxnet.so \
1475	/usr/lib/$(MACH64)/libxnet.so.1 \
1476	/usr/lib/$(MACH64)/libzfs.so \
1477	/usr/lib/$(MACH64)/libzfs.so.1 \
1478	/usr/lib/$(MACH64)/libzfs_core.so \
1479	/usr/lib/$(MACH64)/libzfs_core.so.1 \
1480	/usr/lib/$(MACH64)/nss_compat.so.1 \
1481	/usr/lib/$(MACH64)/nss_dns.so.1 \
1482	/usr/lib/$(MACH64)/nss_files.so.1 \
1483	/usr/lib/$(MACH64)/nss_nis.so.1 \
1484	/usr/lib/$(MACH64)/nss_user.so.1 \
1485	/usr/lib/fm/$(MACH64)/libfmevent.so \
1486	/usr/lib/fm/$(MACH64)/libfmevent.so.1
1487
1488#
1489# usr/src/Makefile uses INS.dir for any member of ROOTDIRS, the fact
1490# these are symlinks to files has no bearing on this.
1491#
1492$(FILELINKS:%=$(ROOT)%):= \
1493    INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
1494