From: Wouter Wijngaards Date: Tue, 30 Jan 2007 13:03:19 +0000 (+0000) Subject: ldns-testpkts.c and .h copied over and used as well. X-Git-Tag: release-0.0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0fec589ab7aa2b8f212bc7c02326ab05201a982;p=thirdparty%2Funbound.git ldns-testpkts.c and .h copied over and used as well. git-svn-id: file:///svn/unbound/trunk@41 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/Makefile.in b/Makefile.in index 5e6aa8a73..0bb59758c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52,7 +52,7 @@ UNITTEST_SRC=testcode/unitmain.c UNITTEST_OBJ=$(addprefix $(BUILD),$(UNITTEST_SRC:.c=.o)) DAEMON_SRC=$(wildcard daemon/*.c) DAEMON_OBJ=$(addprefix $(BUILD),$(DAEMON_SRC:.c=.o)) -TESTBOUND_SRC=testcode/testbound.c +TESTBOUND_SRC=testcode/testbound.c testcode/ldns-testpkts.c TESTBOUND_OBJ=$(addprefix $(BUILD),$(TESTBOUND_SRC:.c=.o)) ALL_SRC=$(COMMON_SRC) $(UNITTEST_SRC) $(DAEMON_SRC) $(TESTBOUND_SRC) ALL_OBJ=$(addprefix $(BUILD),$(ALL_SRC:.c=.o) $(LIBOBJS)) @@ -82,6 +82,11 @@ testbound: $(COMMON_OBJ) $(TESTBOUND_OBJ) $(INFO) Link $@ $Q$(LINK) -o $@ $^ $(LIBS) +testcode/ldns-testpkts.c: $(ldnsdir)/examples/ldns-testpkts.c \ + $(ldnsdir)/examples/ldns-testpkts.h + cp $(ldnsdir)/examples/ldns-testpkts.c testcode/ldns-testpkts.c + cp $(ldnsdir)/examples/ldns-testpkts.h testcode/ldns-testpkts.h + clean: rm -f *.o *.d *.lo *~ tags rm -rf autom4te.cache .libs build doc/html diff --git a/doc/Changelog b/doc/Changelog index 3cf060085..798d1fb4a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +30 January 2007: Wouter + - links in example/ldns-testpkts.c and .h for premade packet support. + 29 January 2007: Wouter - unbound.8 a short manpage.