diff --git a/bin/tests/dst/Makefile.in b/bin/tests/dst/Makefile.in index fd6d8231b6..7ddc6801bf 100644 --- a/bin/tests/dst/Makefile.in +++ b/bin/tests/dst/Makefile.in @@ -27,8 +27,10 @@ CINCLUDES = -I${srcdir}/../../../lib/isc/unix/include \ CDEFINES = CWARNINGS = -LIBS = ../../../lib/dns/libdns.@A@ \ - ../../../lib/isc/libisc.@A@ \ +DEPLIBS = ../../../lib/dns/libdns.@A@ \ + ../../../lib/isc/libisc.@A@ + +LIBS = ${DEPLIBS} \ @LIBS@ TLIB = ../../../lib/tests/libt_api.@A@ @@ -42,7 +44,7 @@ SRCS = dst_test.c t_dst.c dst_test: dst_test.o ${LIBTOOL} ${CC} -o $@ dst_test.o ${LIBS} -t_dst: t_dst.o ${LIBS} ${TLIB} +t_dst: t_dst.o ${DEPLIBS} ${TLIB} ${LIBTOOL} ${CC} -o $@ t_dst.o ${LIBS} ${TLIB} test: diff --git a/bin/tests/mem/Makefile.in b/bin/tests/mem/Makefile.in index 2721453f65..a1f5ae03ec 100644 --- a/bin/tests/mem/Makefile.in +++ b/bin/tests/mem/Makefile.in @@ -26,16 +26,18 @@ CINCLUDES = -I${srcdir}/../../../lib/isc/unix/include \ CDEFINES = CWARNINGS = -LIBS = ../../../lib/dns/libdns.a \ +DEPLIBS = ../../../lib/dns/libdns.a \ ../../../lib/isc/libisc.a \ - ../../../lib/tests/libt_api.a \ + ../../../lib/tests/libt_api.a + +LIBS = ${DEPLIBS} \ @LIBS@ TARGETS = t_mem @BIND9_MAKE_RULES@ -t_mem: t_mem.o ${LIBS} +t_mem: t_mem.o ${DEPLIBS} ${CC} -o $@ t_mem.o ${LIBS} test: