|
|
c1e6af |
diff -ru ldns-1.8.3.orig/Makefile.in ldns-1.8.3/Makefile.in
|
|
|
c1e6af |
--- ldns-1.8.3.orig/Makefile.in 2023-09-14 16:27:42.808302266 +0200
|
|
|
c1e6af |
+++ ldns-1.8.3/Makefile.in 2023-09-14 16:24:26.011635647 +0200
|
|
|
c1e6af |
@@ -27,6 +27,7 @@
|
|
|
c1e6af |
pyldnsx_uninst = @PYLDNSXUNINST@
|
|
|
c1e6af |
libtool = @libtool@
|
|
|
c1e6af |
CONFIG_FILES = @CONFIG_FILES@
|
|
|
c1e6af |
+top_builddir = @top_builddir@
|
|
|
c1e6af |
|
|
|
c1e6af |
LDNS_TRUST_ANCHOR_FILE = @LDNS_TRUST_ANCHOR_FILE@
|
|
|
c1e6af |
DEFAULT_CAFILE = @DEFAULT_CAFILE@
|
|
|
c1e6af |
@@ -119,7 +120,7 @@
|
|
|
c1e6af |
COMP_LIB = $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS)
|
|
|
c1e6af |
LINK = $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS)
|
|
|
c1e6af |
LINK_LIB = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -version-info $(version_info) -no-undefined
|
|
|
c1e6af |
-LINK_EXE = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(LIBSSL_LDFLAGS)
|
|
|
c1e6af |
+LINK_EXE = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS)
|
|
|
c1e6af |
|
|
|
c1e6af |
.PHONY: clean realclean docclean manpages doc lint all lib pyldns test
|
|
|
c1e6af |
.PHONY: install uninstall install-doc uninstall-doc uninstall-pyldns
|
|
|
c1e6af |
@@ -168,7 +169,7 @@
|
|
|
c1e6af |
fi
|
|
|
c1e6af |
|
|
|
c1e6af |
drill/drill: $(DRILL_LOBJS) $(LIB) $(LIBLOBJS)
|
|
|
c1e6af |
- $(LINK_EXE) $(DRILL_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o drill/drill
|
|
|
c1e6af |
+ $(LINK_EXE) $(DRILL_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) -o drill/drill $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
drill/drill.1: $(srcdir)/drill/drill.1.in
|
|
|
c1e6af |
$(edit) $(srcdir)/drill/drill.1.in > drill/drill.1
|
|
|
c1e6af |
@@ -200,23 +201,23 @@
|
|
|
c1e6af |
|
|
|
c1e6af |
# Need LIBSSL_LIBS
|
|
|
c1e6af |
$(EXAMPLE_PROGS):
|
|
|
c1e6af |
- $(LINK_EXE) $@.lo $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $@
|
|
|
c1e6af |
+ $(LINK_EXE) $@.lo $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $@ $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
# Need LIBSSL_LIBS
|
|
|
c1e6af |
$(TESTNS):
|
|
|
c1e6af |
- $(LINK_EXE) $(TESTNS_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $(TESTNS)
|
|
|
c1e6af |
+ $(LINK_EXE) $(TESTNS_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $(TESTNS) $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
# Need LIBSSL_LIBS
|
|
|
c1e6af |
$(LDNS_DPA):
|
|
|
c1e6af |
$(LINK_EXE) $(LDNS_DPA_LOBJS) $(LIBLOBJS) $(LIB) $(LIBPCAP_LIBS) $(LIBSSL_LIBS) $(LIBS) \
|
|
|
c1e6af |
- -o $(LDNS_DPA)
|
|
|
c1e6af |
+ -o $(LDNS_DPA) $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
$(LDNS_DANE):
|
|
|
c1e6af |
$(LINK_EXE) $(LDNS_DANE_LOBJS) $(LIBLOBJS) $(LIB) $(LIBSSL_SSL_LIBS) $(LIBS) \
|
|
|
c1e6af |
- -o $(LDNS_DANE)
|
|
|
c1e6af |
+ -o $(LDNS_DANE) $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
$(EX_SSL_PROGS):
|
|
|
c1e6af |
- $(LINK_EXE) $@.lo $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $@
|
|
|
c1e6af |
+ $(LINK_EXE) $@.lo $(LIBLOBJS) $(LIB) $(LIBSSL_LIBS) $(LIBS) -o $@ $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
examples/ldns-dane.1: $(srcdir)/examples/ldns-dane.1.in
|
|
|
c1e6af |
$(edit) $(srcdir)/examples/ldns-dane.1.in > examples/ldns-dane.1
|
|
|
c1e6af |
@@ -251,14 +252,14 @@
|
|
|
c1e6af |
|
|
|
c1e6af |
linktest: $(srcdir)/linktest.c libldns.la
|
|
|
c1e6af |
$(COMP_LIB) $(LIBSSL_CPPFLAGS) -c $(srcdir)/linktest.c -o linktest.lo
|
|
|
c1e6af |
- $(LINK_EXE) linktest.lo $(LIB) $(LIBSSL_LIBS) $(LIBS) -o linktest
|
|
|
c1e6af |
+ $(LINK_EXE) linktest.lo $(LIB) $(LIBSSL_LIBS) $(LIBS) -o linktest $(top_builddir)/libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
lib: libldns.la
|
|
|
c1e6af |
|
|
|
c1e6af |
lib-export-all: libldns.la-export-all
|
|
|
c1e6af |
|
|
|
c1e6af |
libldns.la: $(LDNS_ALL_LOBJS)
|
|
|
c1e6af |
- $(LINK_LIB) $(LIBSSL_LDFLAGS) $(LIBSSL_LIBS) -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
|
|
|
c1e6af |
+ $(LINK_LIB) $(LIBSSL_LIBS) -export-symbols-regex '^(ldns_|b32_[pn]to[pn]|mktime_from_utc|qsort_rr_compare_nsec3)' -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
|
|
|
c1e6af |
|
|
|
c1e6af |
libldns.la-export-all: $(LDNS_ALL_LOBJS)
|
|
|
c1e6af |
$(LINK_LIB) -o libldns.la $(LDNS_ALL_LOBJS) -rpath $(libdir) $(RUNTIME_PATH)
|