summaryrefslogtreecommitdiff
path: root/usr/src/lib/fm
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2019-07-04 01:48:24 +0000
committerRichard Lowe <richlowe@richlowe.net>2020-05-04 16:57:13 -0400
commitcd61ae21816e53b94bc1673f3f1aa651fc3115e8 (patch)
tree58f0148e78b6ea4e2e3d64cc45641c9f62d4e574 /usr/src/lib/fm
parent241c90a06e8d1708235651863df515a2d522a03a (diff)
downloadillumos-joyent-cd61ae21816e53b94bc1673f3f1aa651fc3115e8.tar.gz
12447 should install library compat symlinks from library makefiles, not Targetdirs
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/fm')
-rw-r--r--usr/src/lib/fm/libfmevent/Makefile.com15
-rw-r--r--usr/src/lib/fm/libfmevent/amd64/Makefile2
-rw-r--r--usr/src/lib/fm/libfmevent/i386/Makefile2
-rw-r--r--usr/src/lib/fm/libfmevent/sparc/Makefile2
-rw-r--r--usr/src/lib/fm/libfmevent/sparcv9/Makefile2
5 files changed, 19 insertions, 4 deletions
diff --git a/usr/src/lib/fm/libfmevent/Makefile.com b/usr/src/lib/fm/libfmevent/Makefile.com
index bf24e4c756..8ea99e219d 100644
--- a/usr/src/lib/fm/libfmevent/Makefile.com
+++ b/usr/src/lib/fm/libfmevent/Makefile.com
@@ -75,6 +75,21 @@ $(BUILD64)$(DYNLIB) := LDLIBS64 += -lumem -lnvpair -luutil -lsysevent \
CLEANFILES += ../common/fmev_errstring.c
+COMPATLINKS = usr/lib/fm/$(DYNLIB) \
+ usr/lib/fm/$(LIBLINKS)
+
+COMPATLINKS64 = usr/lib/fm/$(MACH64)/$(DYNLIB) \
+ usr/lib/fm/$(MACH64)/$(LIBLINKS)
+
+$(ROOT)/usr/lib/fm/libfmevent.so.1 := \
+ COMPATLINKTARGET=../../../lib/fm/libfmevent.so.1
+$(ROOT)/usr/lib/fm/libfmevent.so := \
+ COMPATLINKTARGET=../../../lib/fm/libfmevent.so.1
+$(ROOT)/usr/lib/fm/$(MACH64)/libfmevent.so.1:= \
+ COMPATLINKTARGET=../../../../lib/fm/$(MACH64)/libfmevent.so.1
+$(ROOT)/usr/lib/fm/$(MACH64)/libfmevent.so:= \
+ COMPATLINKTARGET=../../../../lib/fm/$(MACH64)/libfmevent.so.1
+
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/lib/fm/libfmevent/amd64/Makefile b/usr/src/lib/fm/libfmevent/amd64/Makefile
index 34adaebb38..e3196f9733 100644
--- a/usr/src/lib/fm/libfmevent/amd64/Makefile
+++ b/usr/src/lib/fm/libfmevent/amd64/Makefile
@@ -27,4 +27,4 @@ include ../../../Makefile.lib.64
DYNFLAGS += -R/usr/lib/fm/$(MACH64)
-install: all $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)
diff --git a/usr/src/lib/fm/libfmevent/i386/Makefile b/usr/src/lib/fm/libfmevent/i386/Makefile
index 991febf8ca..36ac38389b 100644
--- a/usr/src/lib/fm/libfmevent/i386/Makefile
+++ b/usr/src/lib/fm/libfmevent/i386/Makefile
@@ -26,4 +26,4 @@ include ../Makefile.com
DYNFLAGS += -R/usr/lib/fm
-install: all $(ROOTLIBS) $(ROOTLINKS)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/fm/libfmevent/sparc/Makefile b/usr/src/lib/fm/libfmevent/sparc/Makefile
index 991febf8ca..36ac38389b 100644
--- a/usr/src/lib/fm/libfmevent/sparc/Makefile
+++ b/usr/src/lib/fm/libfmevent/sparc/Makefile
@@ -26,4 +26,4 @@ include ../Makefile.com
DYNFLAGS += -R/usr/lib/fm
-install: all $(ROOTLIBS) $(ROOTLINKS)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/fm/libfmevent/sparcv9/Makefile b/usr/src/lib/fm/libfmevent/sparcv9/Makefile
index 34adaebb38..e3196f9733 100644
--- a/usr/src/lib/fm/libfmevent/sparcv9/Makefile
+++ b/usr/src/lib/fm/libfmevent/sparcv9/Makefile
@@ -27,4 +27,4 @@ include ../../../Makefile.lib.64
DYNFLAGS += -R/usr/lib/fm/$(MACH64)
-install: all $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)