c6c7cd
diff --git a/lib/Makefile b/lib/Makefile
c6c7cd
index bc758df..7f51b41 100644
c6c7cd
--- a/lib/Makefile
c6c7cd
+++ b/lib/Makefile
c6c7cd
@@ -221,7 +221,7 @@ libpm.o: compile.h
c6c7cd
 .PHONY: install.lib
c6c7cd
 ifeq ($(NETPBMLIBTYPE),unixshared)
c6c7cd
 # install a Unix-style shared library
c6c7cd
-install.lib: $(PKGDIR)/lib $(PKGDIR)/sharedlink
c6c7cd
+install.lib: $(PKGDIR)/lib
c6c7cd
 	cd $(PKGDIR)/lib ; rm -f libnetpbm.$(NETPBMLIBSUFFIX).$(MAJ).*
c6c7cd
 	$(INSTALL) -c -m $(INSTALL_PERM_LIBD) \
c6c7cd
 	  libnetpbm.$(NETPBMLIBSUFFIX).$(MAJ).$(MIN)  $(PKGDIR)/lib/
c6c7cd
@@ -263,27 +263,26 @@ $(INTERFACE_HEADERS:%=%_installhdr): $(PKGDIR)/include/netpbm
c6c7cd
 	  $(SRCDIR)/lib/$(@:%_installhdr=%) $(PKGDIR)/include/netpbm/
c6c7cd
 
c6c7cd
 .PHONY: install.staticlib
c6c7cd
-install.staticlib: $(PKGDIR)/staticlink
c6c7cd
+install.staticlib: $(PKGDIR)/lib
c6c7cd
 	$(INSTALL) -c -m $(INSTALL_PERM_LIBS) libnetpbm.$(STATICLIBSUFFIX) \
c6c7cd
-	  $(PKGDIR)/staticlink
c6c7cd
+	  $(PKGDIR)/lib
c6c7cd
 
c6c7cd
 # Install a shared library stub -- the ".so" file used at link time to
c6c7cd
 # prepare a program for dynamically linking a library at run time 
c6c7cd
 .PHONY: install.sharedlibstub
c6c7cd
-install.sharedlibstub: $(PKGDIR)/sharedlink
c6c7cd
+install.sharedlibstub: $(PKGDIR)/lib
c6c7cd
 ifeq ($(NETPBMLIBTYPE),unixshared)
c6c7cd
 # install the link-time (.so) links to the runtime libraries
c6c7cd
-	cd $(PKGDIR)/sharedlink ; \
c6c7cd
+	cd $(PKGDIR)/lib ; \
c6c7cd
           rm -f libnetpbm.$(NETPBMLIBSUFFIX); \
c6c7cd
-          $(SYMLINK) ../lib/libnetpbm.$(NETPBMLIBSUFFIX).$(MAJ) \
c6c7cd
+          $(SYMLINK) libnetpbm.$(NETPBMLIBSUFFIX).$(MAJ) \
c6c7cd
             libnetpbm.$(NETPBMLIBSUFFIX)
c6c7cd
 endif
c6c7cd
 ifeq ($(NETPBMLIBTYPE),dll)
c6c7cd
-	$(INSTALL) -c -m $(INSTALL_PERM_LIBS) libnetpbm.dll.a \
c6c7cd
-	  $(PKGDIR)/sharedlink
c6c7cd
+	$(INSTALL) -c -m $(INSTALL_PERM_LIBS) libnetpbm.dll.a $(PKGDIR)/link
c6c7cd
 endif
c6c7cd
 ifeq ($(NETPBMLIBTYPE),dylib)
c6c7cd
-	cd $(PKGDIR)/sharedlink/ ; \
c6c7cd
+	cd $(PKGDIR)/link/ ; \
c6c7cd
           rm -f libnetpbm.dylib; \
c6c7cd
 	$(SYMLINK) ../lib/libnetpbm.$(MAJ).$(MIN).dylib libnetpbm.dylib
c6c7cd
 endif