diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-04 11:58:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-04 11:58:48 +0000 |
commit | 12a55aa02821d5f5db4bc5c2fa3ef433764c6096 (patch) | |
tree | 3311dac88b3e2c75cdd59a8ff0038c6d18a2d44a /lib | |
parent | 99dba395cb3862f85040cccc73f0cae085714498 (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libresolv/Makefile | 11 | ||||
-rw-r--r-- | lib/libresolv/nothing.c | 5 | ||||
-rw-r--r-- | lib/libresolv/shlib_version | 2 |
3 files changed, 12 insertions, 6 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 88660ca9cf3..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 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 |