($(inst_libdir)/libndbm.a,
authordrepper <drepper>
Fri, 13 Feb 1998 17:38:44 +0000 (17:38 +0000)
committerdrepper <drepper>
Fri, 13 Feb 1998 17:38:44 +0000 (17:38 +0000)
$(inst_libdir)/libndbm.so): New targets.

db2/Makefile

index fb25bb6..2d95bd7 100644 (file)
@@ -110,3 +110,13 @@ endif
 
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 $(objpfx)libdb.so: $(common-objpfx)libc.so
+
+subdir_install: $(inst_libdir)/libndbm.a
+$(inst_libdir)/libndbm.a: $(inst_libdir)/libdb.a
+       $(make-link)
+
+ifeq ($(build-shared),yes)
+subdir_install: $(inst_libdir)/libndbm.so
+$(inst_libdir)/libndbm.so: $(inst_libdir)/libdb.so
+       $(make-link)
+endif