NetBSD/lib/libc/resolv/Makefile.inc
christos 4b05f4b58a Jump through taller hoops to provide binary compatibility with programs
compiled with the older and shorter _res. We now use _nres internally
which is the new and bigger one.  We define a _res which is the old
size one if COMPAT__RES is set, and then we consult selected values from
this old _res in res_init(), to emulate the old behavior.
2004-06-09 18:07:03 +00:00

13 lines
336 B
Makefile

# $NetBSD: Makefile.inc,v 1.2 2004/06/09 18:07:03 christos Exp $
# net sources
.PATH: ${.CURDIR}/resolv
CPPFLAGS+=-DCOMPAT__RES
SRCS+= __dn_comp.c __res_close.c __res_send.c h_errno.c \
herror.c res_comp.c res_data.c res_debug.c \
res_init.c res_mkquery.c res_query.c res_send.c \
res_state.c
# For COMPAT__RES
SRCS+= res_compat.c