blob: 123c77eb357c1c3e95c11044ac32655ef5f6230d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- Makefile.orig 2005-04-15 08:54:32.000000000 -0400
+++ Makefile 2005-04-15 08:56:17.000000000 -0400
@@ -5,6 +5,10 @@
CVSROOT=$(shell cat CVS/Root)
# major number of the .so lib
SOMAJOR = 0
+# minor number of the .so lib
+SOMINOR = 5
+# micro number of the .so lib
+SOMICRO = 5
SHAREDLIB = lib$(NAME).so
SONAME = $(SHAREDLIB).$(SOMAJOR)
@@ -29,6 +33,8 @@
install -m 644 utempter.h $(RPM_BUILD_ROOT)/usr/include
install -m 644 $(SHAREDLIB) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(VERSION)
ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB)
+ ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(SOMAJOR).$(SOMINOR)
+ ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(SOMAJOR)
$(SHAREDLIB): utmpintf.os
$(CC) -o $@ -shared -Wl,-soname,$(SONAME) $^ -lc
|