Port of ldns and drill
Drill is a DNS utility inspired by dig. https://www.nlnetlabs.nl/projects/ldns/ Fix #99
This commit is contained in:
committed by
Norman Feske
parent
995be00f3f
commit
cdc389ef3d
3
lib/import/import-ldns.mk
Normal file
3
lib/import/import-ldns.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
LDNS_PORT_DIR := $(call select_from_ports,ldns)
|
||||
INC_DIR += $(LDNS_PORT_DIR)/include
|
||||
CC_DEF += -DLDNS_TRUST_ANCHOR_FILE=\"/etc/unbound/root.key\"
|
||||
13
lib/mk/ldns.mk
Normal file
13
lib/mk/ldns.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
include $(REP_DIR)/lib/import/import-ldns.mk
|
||||
LDNS_SRC_DIR := $(LDNS_PORT_DIR)/src/lib/ldns
|
||||
|
||||
LIBS += libc libssl
|
||||
|
||||
SRC_LDNS_C := $(notdir $(wildcard $(LDNS_SRC_DIR)/*.c))
|
||||
|
||||
SRC_C += $(filter-out linktest.c,$(SRC_LDNS_C))
|
||||
SRC_C += $(notdir $(wildcard $(LDNS_SRC_DIR)/compat/b64*.c))
|
||||
SRC_CC += getproto.cc
|
||||
|
||||
vpath %.c $(LDNS_SRC_DIR) $(LDNS_SRC_DIR)/compat
|
||||
vpath %.cc $(REP_DIR)/src/lib/ldns
|
||||
Reference in New Issue
Block a user