diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-13 08:57:58 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-03-13 08:57:58 +0000 |
commit | ca9fe1b8aef250a275f5272cea5ba61f3ee2f010 (patch) | |
tree | 4041ecf393b1dabf38a348f12f6142c55c85439b | |
parent | 041f2bcde21137a0acb8cd924b94750cc81eef96 (diff) |
Do obj dir correctly.
-rw-r--r-- | usr.sbin/named/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc index 76888bd9318..a8c74a6e67b 100644 --- a/usr.sbin/named/Makefile.inc +++ b/usr.sbin/named/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 1997/03/12 10:41:46 downsj Exp $ +# $OpenBSD: Makefile.inc,v 1.4 1997/03/13 08:57:57 downsj Exp $ # $NetBSD: Makefile.inc,v 1.1 1996/02/02 15:25:35 mrg Exp $ # from: $Id: Makefile.inc,v 8.3 1995/12/31 23:28:00 vixie Exp @@ -15,4 +15,8 @@ CONFIG?= -DUSE_OPTIONS_H INCLUDE?= -I${.CURDIR} -I${BIND_DIR} -I${BIND_DIR}/include # we need to use our version of libresolv. +.if exists(${BIND_DIR}/libresolv/${__objdir}) LIBRESOLV= ${BIND_DIR}/libresolv/${__objdir}/libresolv.a +.else +LIBRESOLV= ${BIND_DIR}/libresolv/libresolv.a +.endif |