Print this page
lib: move compat links from targetdirs to proper makefiles

*** 20,32 **** # CDDL HEADER END # # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. ! # ! # ident "%Z%%M% %I% %E% SMI" ! # # To install libraries in the root filesystem (/lib), # include this Makefile right after Makefile.lib ROOTLIBDIR= $(ROOTFS_LIBDIR) ROOTLIBDIR64= $(ROOTFS_LIBDIR64) --- 20,44 ---- # CDDL HEADER END # # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. ! # To install libraries in the root filesystem (/lib), # include this Makefile right after Makefile.lib ROOTLIBDIR= $(ROOTFS_LIBDIR) ROOTLIBDIR64= $(ROOTFS_LIBDIR64) + + + COMPATLINKS= /usr/lib/$(DYNLIB) \ + /usr/lib/$(LIBLINKS) + + COMPATLINKS64= /usr/lib/$(MACH64)/$(DYNLIB) \ + /usr/lib/$(MACH64)/$(LIBLINKS) + + $(ROOT)/usr/lib/$(DYNLIB) := COMPATLINKTARGET=../../lib/$(DYNLIB) + $(ROOT)/usr/lib/$(LIBLINKS) := COMPATLINKTARGET=../../lib/$(DYNLIB) + $(ROOT)/usr/lib/$(MACH64)/$(DYNLIB):= \ + COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB) + $(ROOT)/usr/lib/$(MACH64)/$(LIBLINKS) := \ + COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB)