Added 'install' target, so libradius.so gets installed, too
authoraland <aland>
Tue, 9 Jul 2002 15:13:50 +0000 (15:13 +0000)
committeraland <aland>
Tue, 9 Jul 2002 15:13:50 +0000 (15:13 +0000)
src/lib/Makefile

index bf621db..fdb2e90 100644 (file)
@@ -51,5 +51,8 @@ dynamic: $(TARGET).la
 clean:
        rm -f *.o $(TARGET).a $(TARGET).la
 
-install:
-
+install: static dynamic
+       $(LIBTOOL) --mode=install $(INSTALL) -c \
+               $(TARGET).la $(R)$(libdir)/$(TARGET).la;
+       rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
+       ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la