fix: populate ldns submodule and add autotools to LDNS build stage
- Re-cloned zonemaster-ldns with --recurse-submodules so the bundled ldns C library source (including Changelog and configure.ac) is present - Added autoconf, automake, libtool to Dockerfile.backend ldns-build stage so libtoolize + autoreconf can generate ldns/configure during make Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Standard installation pathnames
|
||||
# See the file LICENSE for the license
|
||||
SHELL = @SHELL@
|
||||
VERSION = @PACKAGE_VERSION@
|
||||
basesrcdir = $(shell basename `pwd`)
|
||||
srcdir = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
mandir = @mandir@
|
||||
datarootdir = @datarootdir@
|
||||
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@ @LIBSSL_CPPFLAGS@ -I../..
|
||||
LDFLAGS = @LDFLAGS@ @LIBSSL_LDFLAGS@ -L../../.libs
|
||||
LIBS = @LIBS@ @LIBSSL_SSL_LIBS@ -lldns
|
||||
|
||||
# Hmmm gcc 4.6.1 expects $(LIBS) as the last argument
|
||||
|
||||
COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS)
|
||||
LINK = $(CC) $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
HEADER = config.h
|
||||
TESTS = 12-unit-tests-dnssec
|
||||
|
||||
.PHONY: all clean realclean
|
||||
%.o:
|
||||
$(COMPILE) -c $(srcdir)/$*.c
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
12-unit-tests-dnssec: 12-unit-tests-dnssec.o
|
||||
$(LINK) -o $@ $+ $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f $(TESTS)
|
||||
rm -f lua-rns
|
||||
|
||||
realclean: clean
|
||||
rm -rf autom4te.cache/
|
||||
rm -f config.log config.status aclocal.m4 config.h.in configure Makefile
|
||||
rm -f config.h
|
||||
|
||||
confclean: clean
|
||||
rm -rf config.log config.status config.h Makefile
|
||||
Reference in New Issue
Block a user