33 # to work with ROOT prefixes when controlling conditional assignments.
34 #
35
36 DIRLINKS= $(SYM.DIRS)
37 $(BUILD64) DIRLINKS += $(SYM.DIRS64)
38
39 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
40 $(BUILD64) FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
41
42 TARGETDIRS= $(DIRS)
43 $(BUILD64) TARGETDIRS += $(DIRS64)
44
45 TARGETDIRS += $(FILELINKS) $(DIRLINKS)
46
47 i386_DIRS= \
48 /boot/acpi \
49 /boot/acpi/tables \
50 /boot/grub \
51 /boot/grub/bin \
52 /platform/i86pc \
53 /usr/lib/xen \
54 /usr/lib/xen/bin
55
56 sparc_DIRS= \
57 /usr/lib/ldoms
58
59 sparc_64ONLY= $(POUND_SIGN)
60 64ONLY= $($(MACH)_64ONLY)
61
62 $(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
63
64 DIRS= \
65 /boot \
66 /boot/solaris \
67 /boot/solaris/bin \
68 $($(MACH)_DIRS) \
69 /dev \
70 /dev/dsk \
71 /dev/fd \
72 /dev/ipnet \
574 /usr/spool \
575 /usr/lib/tmac \
576 /usr/ccs/lib/link_audit \
577 /usr/news \
578 /usr/preserve \
579 /usr/lib/32 \
580 /usr/lib/cron \
581 /usr/lib/elfedit/32 \
582 /usr/lib/libp/32 \
583 /usr/lib/lwp/32 \
584 /usr/lib/link_audit/32 \
585 /usr/lib/secure/32 \
586 /usr/mail \
587 /usr/man \
588 /usr/pub \
589 /usr/src \
590 /usr/tmp \
591 /usr/ucblib/32 \
592 /var/ld/32
593
594 sparc_SYM.DIRS64=
595
596 SYM.DIRS64= \
597 $($(MACH)_SYM.DIRS64) \
598 /lib/64 \
599 /lib/crypto/64 \
600 /lib/secure/64 \
601 /usr/lib/64 \
602 /usr/lib/brand/sn1/64 \
603 /usr/lib/brand/solaris10/64 \
604 /usr/lib/elfedit/64 \
605 /usr/lib/libp/64 \
606 /usr/lib/link_audit/64 \
607 /usr/lib/lwp/64 \
608 /usr/lib/secure/64 \
609 /usr/lib/security/64 \
610 /usr/xpg4/lib/64 \
611 /var/ld/64 \
612 /usr/ucblib/64
613
690 $(ROOT)/usr/preserve:= LINKDEST=../var/preserve
691 $(ROOT)/usr/spool:= LINKDEST=../var/spool
692 $(ROOT)/usr/tmp:= LINKDEST=../var/tmp
693 $(ROOT)/usr/lib/tmac:= LINKDEST=../share/lib/tmac
694 $(ROOT)/usr/lib/32:= LINKDEST=.
695 $(ROOT)/usr/lib/elfedit/32:= LINKDEST=.
696 $(ROOT)/usr/lib/libp/32:= LINKDEST=.
697 $(ROOT)/usr/lib/lwp/32:= LINKDEST=.
698 $(ROOT)/usr/lib/link_audit/32:= LINKDEST=.
699 $(ROOT)/usr/lib/secure/32:= LINKDEST=.
700 $(ROOT)/usr/ccs/lib/link_audit:= LINKDEST=../../lib/link_audit
701 $(ROOT)/var/ld/32:= LINKDEST=.
702 $(ROOT)/usr/ucblib/32:= LINKDEST=.
703
704
705 $(BUILD64) $(ROOT)/lib/64:= LINKDEST=$(MACH64)
706 $(BUILD64) $(ROOT)/lib/crypto/64:= LINKDEST=$(MACH64)
707 $(BUILD64) $(ROOT)/lib/secure/64:= LINKDEST=$(MACH64)
708 $(BUILD64) $(ROOT)/usr/lib/64:= LINKDEST=$(MACH64)
709 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
710 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:= LINKDEST=$(MACH64)
711 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
712 $(BUILD64) $(ROOT)/usr/lib/libp/64:= LINKDEST=$(MACH64)
713 $(BUILD64) $(ROOT)/usr/lib/lwp/64:= LINKDEST=$(MACH64)
714 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:= LINKDEST=$(MACH64)
715 $(BUILD64) $(ROOT)/usr/lib/secure/64:= LINKDEST=$(MACH64)
716 $(BUILD64) $(ROOT)/usr/lib/security/64:= LINKDEST=$(MACH64)
717 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:= LINKDEST=$(MACH64)
718 $(BUILD64) $(ROOT)/var/ld/64:= LINKDEST=$(MACH64)
719 $(BUILD64) $(ROOT)/usr/ucblib/64:= LINKDEST=$(MACH64)
720
721 #
722 # Installing a directory symlink calls for overriding INS.dir to install
723 # a symlink.
724 #
725 $(DIRLINKS:%=$(ROOT)%):= \
726 INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
727
728 # Special symlinks to populate usr/ccs/lib, whose objects
729 # have actually been moved to usr/lib
|
33 # to work with ROOT prefixes when controlling conditional assignments.
34 #
35
36 DIRLINKS= $(SYM.DIRS)
37 $(BUILD64) DIRLINKS += $(SYM.DIRS64)
38
39 FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
40 $(BUILD64) FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
41
42 TARGETDIRS= $(DIRS)
43 $(BUILD64) TARGETDIRS += $(DIRS64)
44
45 TARGETDIRS += $(FILELINKS) $(DIRLINKS)
46
47 i386_DIRS= \
48 /boot/acpi \
49 /boot/acpi/tables \
50 /boot/grub \
51 /boot/grub/bin \
52 /platform/i86pc \
53 /usr/lib/brand/lx \
54 /usr/lib/brand/lx/amd64 \
55 /usr/lib/brand/lx/distros \
56 /usr/lib/xen \
57 /usr/lib/xen/bin
58
59 sparc_DIRS= \
60 /usr/lib/ldoms
61
62 sparc_64ONLY= $(POUND_SIGN)
63 64ONLY= $($(MACH)_64ONLY)
64
65 $(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
66
67 DIRS= \
68 /boot \
69 /boot/solaris \
70 /boot/solaris/bin \
71 $($(MACH)_DIRS) \
72 /dev \
73 /dev/dsk \
74 /dev/fd \
75 /dev/ipnet \
577 /usr/spool \
578 /usr/lib/tmac \
579 /usr/ccs/lib/link_audit \
580 /usr/news \
581 /usr/preserve \
582 /usr/lib/32 \
583 /usr/lib/cron \
584 /usr/lib/elfedit/32 \
585 /usr/lib/libp/32 \
586 /usr/lib/lwp/32 \
587 /usr/lib/link_audit/32 \
588 /usr/lib/secure/32 \
589 /usr/mail \
590 /usr/man \
591 /usr/pub \
592 /usr/src \
593 /usr/tmp \
594 /usr/ucblib/32 \
595 /var/ld/32
596
597 i386_SYM.DIRS64= \
598 /usr/lib/brand/lx/64
599
600 sparc_SYM.DIRS64=
601
602 SYM.DIRS64= \
603 $($(MACH)_SYM.DIRS64) \
604 /lib/64 \
605 /lib/crypto/64 \
606 /lib/secure/64 \
607 /usr/lib/64 \
608 /usr/lib/brand/sn1/64 \
609 /usr/lib/brand/solaris10/64 \
610 /usr/lib/elfedit/64 \
611 /usr/lib/libp/64 \
612 /usr/lib/link_audit/64 \
613 /usr/lib/lwp/64 \
614 /usr/lib/secure/64 \
615 /usr/lib/security/64 \
616 /usr/xpg4/lib/64 \
617 /var/ld/64 \
618 /usr/ucblib/64
619
696 $(ROOT)/usr/preserve:= LINKDEST=../var/preserve
697 $(ROOT)/usr/spool:= LINKDEST=../var/spool
698 $(ROOT)/usr/tmp:= LINKDEST=../var/tmp
699 $(ROOT)/usr/lib/tmac:= LINKDEST=../share/lib/tmac
700 $(ROOT)/usr/lib/32:= LINKDEST=.
701 $(ROOT)/usr/lib/elfedit/32:= LINKDEST=.
702 $(ROOT)/usr/lib/libp/32:= LINKDEST=.
703 $(ROOT)/usr/lib/lwp/32:= LINKDEST=.
704 $(ROOT)/usr/lib/link_audit/32:= LINKDEST=.
705 $(ROOT)/usr/lib/secure/32:= LINKDEST=.
706 $(ROOT)/usr/ccs/lib/link_audit:= LINKDEST=../../lib/link_audit
707 $(ROOT)/var/ld/32:= LINKDEST=.
708 $(ROOT)/usr/ucblib/32:= LINKDEST=.
709
710
711 $(BUILD64) $(ROOT)/lib/64:= LINKDEST=$(MACH64)
712 $(BUILD64) $(ROOT)/lib/crypto/64:= LINKDEST=$(MACH64)
713 $(BUILD64) $(ROOT)/lib/secure/64:= LINKDEST=$(MACH64)
714 $(BUILD64) $(ROOT)/usr/lib/64:= LINKDEST=$(MACH64)
715 $(BUILD64) $(ROOT)/usr/lib/elfedit/64:= LINKDEST=$(MACH64)
716 $(BUILD64) $(ROOT)/usr/lib/brand/lx/64:= LINKDEST=$(MACH64)
717 $(BUILD64) $(ROOT)/usr/lib/brand/sn1/64:= LINKDEST=$(MACH64)
718 $(BUILD64) $(ROOT)/usr/lib/brand/solaris10/64:= LINKDEST=$(MACH64)
719 $(BUILD64) $(ROOT)/usr/lib/libp/64:= LINKDEST=$(MACH64)
720 $(BUILD64) $(ROOT)/usr/lib/lwp/64:= LINKDEST=$(MACH64)
721 $(BUILD64) $(ROOT)/usr/lib/link_audit/64:= LINKDEST=$(MACH64)
722 $(BUILD64) $(ROOT)/usr/lib/secure/64:= LINKDEST=$(MACH64)
723 $(BUILD64) $(ROOT)/usr/lib/security/64:= LINKDEST=$(MACH64)
724 $(BUILD64) $(ROOT)/usr/xpg4/lib/64:= LINKDEST=$(MACH64)
725 $(BUILD64) $(ROOT)/var/ld/64:= LINKDEST=$(MACH64)
726 $(BUILD64) $(ROOT)/usr/ucblib/64:= LINKDEST=$(MACH64)
727
728 #
729 # Installing a directory symlink calls for overriding INS.dir to install
730 # a symlink.
731 #
732 $(DIRLINKS:%=$(ROOT)%):= \
733 INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
734
735 # Special symlinks to populate usr/ccs/lib, whose objects
736 # have actually been moved to usr/lib
|