COPTS = $(BINDDEF)
RANLIB = ranlib
-BINDLIBDEF = -L/usr/local/bind/lib -lbind
-BINDINCDEF = -I/usr/local/bind/include
+BINDLIBDEF = ../minires/libres.a
+BINDINCDEF =
## Dynamic DNS update support
##--nsupdate--
#BINDLIB = $(BINDLIBDEF)
#BINDINC = $(BINDINCDEF)
#BINDDEF = -DNSUPDATE
+#MINIRES = minires
##--nsupdate--
# Major version number (if applicable)
# http://www.isc.org for more information.
#
-SUBDIRS= common omapip server client relay dhcpctl
+SUBDIRS= common omapip $(MINIRES) server client relay dhcpctl
all:
@for dir in ${SUBDIRS}; do \
DEBUG = -g
INCLUDES = -I.. $(BINDINC) -I../includes
-DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a
+DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a ../minires/libres.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: $(PROG) $(CATMANPAGES)
#ifndef lint
static char copyright[] =
-"$Id: print.c,v 1.33 2000/01/26 14:55:34 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: print.c,v 1.34 2000/02/02 07:22:33 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
const char *predicate = "if", *en, *op;
int errorp;
- for (u = HEAD (*uq); u; u = NEXT (u, r_link)) {
+ for (u = ISC_LIST_HEAD (*uq); u; u = ISC_LIST_NEXT (u, r_link)) {
ttlp = 0;
if (s != &obuf [0] && s + 1 < end)
*s++ = ' ';
*s++ = ' ';
}
}
- if (u == TAIL (*uq))
+ if (u == ISC_LIST_TAIL (*uq))
break;
}
if (s == &obuf [0]) {
#ifndef lint
static char copyright[] =
-"$Id: tree.c,v 1.71 2000/01/27 22:40:49 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
+"$Id: tree.c,v 1.72 2000/02/02 07:22:33 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
res_ninit (&res);
inited = 1;
}
- INIT_LIST (uq);
+ ISC_LIST_INIT (uq);
cur = expr;
do {
next = cur -> data.dns_transaction.cdr;
scope, cur -> data.dns_transaction.car));
if (!status)
goto dns_bad;
- APPEND (uq, nut, r_link);
+ ISC_LIST_APPEND (uq, nut, r_link);
cur = next;
} while (next);
/* Do the update and record the error code, if there was
an error; otherwise set it to NOERROR. */
- if (res_nupdate (&res, HEAD (uq), NULL))
+ if (res_nupdate (&res, ISC_LIST_HEAD (uq), NULL))
*result = NOERROR;
else
/* The resolver doesn't return any actual error
print_dns_status ((int)*result, &uq);
dns_bad:
- while (!EMPTY (uq)) {
- ns_updrec *tmp = HEAD (uq);
- UNLINK (uq, tmp, r_link);
+ while (!ISC_LIST_EMPTY (uq)) {
+ ns_updrec *tmp = ISC_LIST_HEAD (uq);
+ ISC_LIST_UNLINK (uq, tmp, r_link);
if (tmp -> r_data) {
dfree (tmp -> r_data, MDL);
tmp -> r_data = (char *)0;
minversubst="-e /^##--minver--/,/^##--minver--/s/MinorVersion/$minor/"
fi
-for foo in . client server relay common omapip dhcpctl; do
+for foo in . client server relay common omapip dhcpctl minires; do
(sed $nsupdate $majversubst $minversubst \
-e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \
<Makefile.conf; cat site.conf; cat $foo/Makefile.dist) \
DEBUG = -g
INCLUDES = -I.. $(BINDINC) -I../includes
-DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a
+DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a ../minires/libres.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
all: $(PROG) $(CATMANPAGES)