diff options
Diffstat (limited to 'src/grp-resolve/libbasic-dns/Makefile')
-rw-r--r-- | src/grp-resolve/libbasic-dns/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/grp-resolve/libbasic-dns/Makefile b/src/grp-resolve/libbasic-dns/Makefile index fe2c4efc95..40ee1e85b5 100644 --- a/src/grp-resolve/libbasic-dns/Makefile +++ b/src/grp-resolve/libbasic-dns/Makefile @@ -24,15 +24,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk include $(topsrcdir)/build-aux/Makefile.head.mk $(outdir)/dns_type-list.txt: src/resolve/dns-type.h - $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(SED) -n -r 's/.* DNS_TYPE_(\w+).*/\1/p' <$< >$@ $(outdir)/dns_type-to-name.h: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *dns_type_to_string(int type) {\n\tswitch(type) {" } {printf " case DNS_TYPE_%s: return ", $$1; sub(/_/, "-"); printf "\"%s\";\n", $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@ $(outdir)/dns_type-from-name.gperf: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@ tests += \ @@ -51,7 +48,6 @@ test_resolve_tables_SOURCES = \ src/shared/test-tables.h test_resolve_tables_CFLAGS = \ - $(AM_CFLAGS) \ $(GCRYPT_CFLAGS) test_resolve_tables_LDADD = \ @@ -64,11 +60,9 @@ test_dns_packet_SOURCES = \ $(basic_dns_sources) test_dns_packet_CPPFLAGS = \ - $(AM_CPPFLAGS) \ -DRESOLVE_TEST_DIR=\"$(abs_top_srcdir)/src/resolve/test-data\" test_dns_packet_CFLAGS = \ - $(AM_CFLAGS) \ $(GCRYPT_CFLAGS) test_dns_packet_LDADD = \ @@ -94,7 +88,6 @@ test_dnssec_SOURCES = \ $(basic_dns_sources) test_dnssec_CFLAGS = \ - $(AM_CFLAGS) \ $(GCRYPT_CFLAGS) test_dnssec_LDADD = \ |