Print this page
lib: move compat links from targetdirs to proper makefiles
@@ -36,12 +36,18 @@
OBJECTS= $(BLTOBJ) $(MACHOBJS) $(COMOBJS)
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
CPPFLAGS += -I../../rtld/common -I$(SRCBASE)/lib/libc/inc \
-I$(SRCBASE)/uts/common/krtld -I$(SRC)/common/sgsrtcid \
-I$(SRCBASE)/uts/sparc
DYNFLAGS += $(VERSREF) $(CC_USE_PROTO) '-R$$ORIGIN'
@@ -66,7 +72,5 @@
MSGSRCS= $(MACHOBJS:%.o=%.c) $(COMOBJS:%.o=../common/%.c) \
$(BLTDATA)
CLEANFILES += $(BLTFILES)
CLOBBERFILES += $(DYNLIB) $(LIBLINKS)
-
-ROOTFS_DYNLIB= $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)