ldns-testpkts.c and .h copied over and used as well.

git-svn-id: file:///svn/unbound/trunk@41 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-01-30 13:03:19 +00:00
parent c13fb0ccf6
commit b0fec589ab
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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.