]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Make `examples`, `drill`, and `test` targets build their dependencies.
authorFelipe Gasper <felipe@felipegasper.com>
Wed, 16 Mar 2022 01:18:09 +0000 (21:18 -0400)
committerFelipe Gasper <felipe@felipegasper.com>
Wed, 16 Mar 2022 01:19:02 +0000 (21:19 -0400)
Makefile.in

index 574098c69711c0bcae5576b5b5eb85ed3d5024b9..610b2e5130f68c81d5b036d69e41856d06e37880 100644 (file)
@@ -167,7 +167,7 @@ no-drill-config-h:
             exit -1 ; \
        fi
 
-drill/drill: $(DRILL_LOBJS) $(LIB) $(LIBLOBJS)
+drill/drill: all $(DRILL_LOBJS) $(LIB) $(LIBLOBJS)
        $(LINK_EXE) $(DRILL_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o drill/drill
 
 drill/drill.1: $(srcdir)/drill/drill.1.in
@@ -188,7 +188,7 @@ uninstall-drill:
 clean-drill:
        $(LIBTOOL) --mode clean rm -f $(DRILL_LOBJS) drill/drill drill/drill.1
 
-examples: no-examples-config-h $(EXAMPLE_PROGS) $(TESTNS) $(LDNS_DPA) $(LDNS_DANE) $(EX_SSL_PROGS) examples/ldns-dane.1 examples/ldns-verify-zone.1
+examples: no-examples-config-h all $(EXAMPLE_PROGS) $(TESTNS) $(LDNS_DPA) $(LDNS_DANE) $(EX_SSL_PROGS) examples/ldns-dane.1 examples/ldns-verify-zone.1
 no-examples-config-h:
        @if test -e $(srcdir)/examples/config.h -o -e examples/config.h ; \
        then echo "A config.h was detected in the examples subdirectory." ; \
@@ -505,7 +505,7 @@ allclean: test-clean clean
 test-clean:
        tpkg -b test clean
 
-test: @TEST_P5_DNS_LDNS@
+test: examples drill @TEST_P5_DNS_LDNS@
        ./test/test_all.sh