summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-01-04 11:58:46 +0000
committerderaadt <deraadt@openbsd.org>1996-01-04 11:58:46 +0000
commitbf442c16a9bb9b18dd1d2480c0b93d1751621ef4 (patch)
treeb1b2a3556a6646adc728b86448227259e1bb9e3e
parentcreate /usr/libexec/cpp as a symbolic link (diff)
downloadwireguard-openbsd-bf442c16a9bb9b18dd1d2480c0b93d1751621ef4.tar.xz
wireguard-openbsd-bf442c16a9bb9b18dd1d2480c0b93d1751621ef4.zip
libresolv must exist for backwards compatibility. however, it need not
contain anything -- programs will still be linked against libc and thus use the routines provided there.
-rw-r--r--lib/libresolv/Makefile11
-rw-r--r--lib/libresolv/nothing.c5
-rw-r--r--lib/libresolv/shlib_version2
3 files changed, 12 insertions, 6 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile
index a546423f883..634aa1fc576 100644
--- a/lib/libresolv/Makefile
+++ b/lib/libresolv/Makefile
@@ -1,11 +1,12 @@
# from: @(#)Makefile 5.1 (Berkeley) 6/5/90
-# $Id: Makefile,v 1.1.1.1 1995/10/18 08:43:09 deraadt Exp $
+# $Id: Makefile,v 1.2 1996/01/04 11:58:46 deraadt Exp $
-LIB=resolv
-CFLAGS+=-DDEBUG -DLIBC_SCCS
+# libresolv no longer needs a special version of the resolver routines.
+# The resolver is always in libc.
+# However, an empty library must exist in case something tries to use it.
-.PATH: ${.CURDIR}/../libc/net
+LIB=resolv
-SRCS=gethostnamadr.c res_mkquery.c res_query.c res_send.c
+SRCS=nothing.c
.include <bsd.lib.mk>
diff --git a/lib/libresolv/nothing.c b/lib/libresolv/nothing.c
new file mode 100644
index 00000000000..e6389c4eb87
--- /dev/null
+++ b/lib/libresolv/nothing.c
@@ -0,0 +1,5 @@
+/*
+ *
+ * Absolutely nothing.
+ *
+ */
diff --git a/lib/libresolv/shlib_version b/lib/libresolv/shlib_version
index 1edea46de91..b52599a164f 100644
--- a/lib/libresolv/shlib_version
+++ b/lib/libresolv/shlib_version
@@ -1,2 +1,2 @@
-major=1
+major=2
minor=0