]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
($(inst_libdir)/libndbm.a, $(inst_libdir)/libndbm.so): New targets.
authorUlrich Drepper <drepper@redhat.com>
Tue, 3 Mar 1998 09:11:06 +0000 (09:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 3 Mar 1998 09:11:06 +0000 (09:11 +0000)
db/Makefile

index 331c8b1d74c5f25dd89a1ae1413cd8912b8536ea..bb22a4fcc1ade06a46549014a5ec7ad8bcb9d1a1 100644 (file)
@@ -50,3 +50,13 @@ endif
 # This ensures they will load libc.so for needed symbols if loaded by
 # a statically-linked program that hasn't already loaded it.
 $(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