From: Wouter Wijngaards Date: Thu, 14 Oct 2010 12:56:21 +0000 (+0000) Subject: Copy util and net headers. X-Git-Tag: release-1.6.7~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ea2ebbe01680e0602371573a8b0f97a8709484;p=thirdparty%2Fldns.git Copy util and net headers. --- diff --git a/Makefile.in b/Makefile.in index 3fbb965e..93cd0d2d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -101,7 +101,7 @@ COMP_LIB = $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) LINK = $(CC) $(strip $(CFLAGS) $(LDFLAGS) $(LIBS)) LINK_LIB = $(LIBTOOL) --mode=link $(CC) $(strip $(CFLAGS) $(LDFLAGS) $(LIBS) -version-number $(version_info) -no-undefined) -%.o: $(srcdir)/%.c $(LIBDNS_HEADERS) ldns/util.h ldns/config.h +%.o: $(srcdir)/%.c $(LIBDNS_HEADERS) ldns/net.h ldns/util.h ldns/config.h $(COMP_LIB) $(LIBSSL_CPPFLAGS) -c $< .PHONY: clean realclean docclean manpages doc lint all lib pyldns @@ -110,7 +110,7 @@ LINK_LIB = $(LIBTOOL) --mode=link $(CC) $(strip $(CFLAGS) $(LDFLAGS) $(LIBS) -ve all: copy-headers lib linktest manpages @PYLDNS@ -linktest: $(srcdir)/linktest.c $(LIBDNS_HEADERS) ldns/util.h ldns/config.h libldns.la +linktest: $(srcdir)/linktest.c $(LIBDNS_HEADERS) ldns/net.h ldns/util.h ldns/config.h libldns.la $(LIBTOOL) --mode=link $(CC) $(srcdir)/linktest.c $(CPPFLAGS) $(LIBSSL_CPPFLAGS) $(CFLAGS) -lldns $(LIBS) -o linktest lib: libldns.la @@ -125,12 +125,12 @@ libldns.la: $(LIBDNS_OBJECTS) libldns.la-export-all: $(LIBDNS_OBJECTS) $(LINK_LIB) -o libldns.la $(LIBDNS_LOBJECTS) -rpath $(libdir) $(RUNTIME_PATH) -$(addprefix include/ldns/, $(notdir $(LIBDNS_HEADERS))): include/ldns/%.h: $(srcdir)/ldns/%.h +$(addprefix include/ldns/, $(notdir $(LIBDNS_HEADERS))) include/ldns/util.h include/ldns/net.h include/ldns/config.h: include/ldns/%.h: $(srcdir)/ldns/%.h @if [ ! -d include ] ; then ($(INSTALL) -d include || echo "include exists") ; fi ; @if [ ! -d include/ldns ] ; then (cd include; ln -s ../ldns ./ldns || echo "include/ldns exists") ; fi ; $(INSTALL) -c -m 644 $< ./include/ldns/ -copy-headers: $(addprefix include/ldns/, $(notdir $(LIBDNS_HEADERS))) +copy-headers: $(addprefix include/ldns/, $(notdir $(LIBDNS_HEADERS))) include/ldns/util.h include/ldns/net.h include/ldns/config.h mancheck: sh -c 'find . -name \*.\[13\] -exec troff -z {} \;' 2>&1 | sed "s/^\.\///" | sed "s/\(:[0\-9]\+:\)/\1 warning:/g"