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

*** 205,214 **** --- 205,238 ---- -$(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(LINTLIB); \ cd $(ROOTLIBDIR64); \ $(RM) llib-ltermlib.ln ; \ $(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln; + COMPATLINKS += /usr/ccs/lib/libcurses.so \ + /usr/ccs/lib/libtermlib.so \ + /usr/lib/libtermlib.so \ + /usr/lib/libtermlib.so.1 + + COMPATLINKS64 += /usr/ccs/lib/$(MACH64)/libcurses.so \ + /usr/ccs/lib/$(MACH64)/libtermlib.so \ + /usr/lib/$(MACH64)/libtermlib.so \ + /usr/lib/$(MACH64)/libtermlib.so.1 + + $(ROOT)/usr/ccs/lib/libcurses.so := COMPATLINKTARGET=../../../lib/libcurses.so.1 + $(ROOT)/usr/ccs/lib/libtermlib.so := \ + COMPATLINKTARGET=../../../lib/libcurses.so.1 + $(ROOT)/usr/ccs/lib/$(MACH64)/libcurses.so := \ + COMPATLINKTARGET=../../../../lib/$(MACH64)/libcurses.so.1 + $(ROOT)/usr/ccs/lib/$(MACH64)/libtermlib.so := \ + COMPATLINKTARGET=../../../../lib/$(MACH64)/libcurses.so.1 + $(ROOT)/usr/lib/libtermlib.so.1 := COMPATLINKTARGET= ../../lib/libcurses.so.1 + $(ROOT)/usr/lib/libtermlib.so := COMPATLINKTARGET= ../../lib/libcurses.so.1 + $(ROOT)/usr/lib/$(MACH64)/libtermlib.so.1 := \ + COMPATLINKTARGET= ../../../lib/$(MACH64)/libcurses.so.1 + $(ROOT)/usr/lib/$(MACH64)/libtermlib.so := \ + COMPATLINKTARGET= ../../../lib/$(MACH64)/libcurses.so.1 + # # Install rule for the lint source, which is installed only in # the default library dir, not MACH64 etc. # $(ROOTLINTDIR)/%: ../screen/%