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

@@ -51,12 +51,18 @@
 
 OBJECTS =       $(BLTOBJ) $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(TOOLOBJ)
 
 
 include         $(SRC)/lib/Makefile.lib
+include         $(SRC)/lib/Makefile.rootfs
 include         $(SRC)/cmd/sgs/Makefile.com
 
+LIBS =          $(DYNLIB)
+
+COMPATLINKS =   /usr/lib/$(DYNLIB)
+COMPATLINKS64 = /usr/lib/$(MACH64)/$(DYNLIB)
+
 SRCDIR =        ../common
 
 CERRWARN +=     -_gcc=-Wno-unused-value
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses

@@ -85,6 +91,5 @@
                 $(TOOLOBJ:%.o=$(SGSTOOLS)/common/%.c) $(BLTDATA)
 
 CLEANFILES +=   $(BLTFILES)
 CLOBBERFILES += $(DYNLIB) $(LIBLINKS)
 
-ROOTFS_DYNLIB = $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)