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

@@ -73,10 +73,17 @@
 CFLAGS +=       $(CCVERBOSE)
 LDLIBS +=       -lcurses -lc
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+COMPATLINKS=    /usr/ccs/lib/libmenu.so \
+                /usr/ccs/lib/$(MACH64)/libmenu.so
+
+$(ROOT)/usr/ccs/lib/libmenu.so := COMPATLINKTARGET= ../../lib/libmenu.so.1
+$(ROOT)/usr/ccs/lib/$(MACH64)/libmenu.so:= \
+        COMPATLINKTARGET=../../../lib/$(MACH64)/libmenu.so.1
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck