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