chiark / gitweb /
Add adns support in background resolver.
[mLib] / Makefile.am
index c583808c8660c56278b4cf410249eab6c6f496b8..8e0c51d776a7fb4edb80fe79909fc2def35873a0 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.41 2003/11/29 11:59:17 mdw Exp $
+## $Id: Makefile.am,v 1.42 2003/12/13 20:37:59 mdw Exp $
 ##
 ## Building the distribution
 ##
@@ -29,6 +29,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.42  2003/12/13 20:37:59  mdw
+## Add adns support in background resolver.
+##
 ## Revision 1.41  2003/11/29 11:59:17  mdw
 ## Various stuff.
 ##
@@ -145,10 +148,11 @@ bin_PROGRAMS = crc-mktab
 
 lib_LTLIBRARIES = libmLib.la
 pkglibexecdir = $(libexecdir)/$(PACKAGE)
-pkglibexec_PROGRAMS = bres
+pkglibexec_PROGRAMS = @BRES_LIBEXEC@
+EXTRA_PROGRAMS = bres
 
 pkginclude_HEADERS = \
-       align.h alloc.h arena.h bits.h exc.h quis.h report.h sub.h \
+       align.h alloc.h arena.h bits.h exc.h macros.h quis.h report.h sub.h \
        trace.h track.h unihash.h \
        pool.h \
        atom.h assoc.h darray.h dstr.h dspool.h hash.h sym.h crc32.h \
@@ -159,7 +163,7 @@ pkginclude_HEADERS = \
 
 ## --- Things to put in the library ---
 
-libmLib_la_LDFLAGS = -version-info 2:2:0
+libmLib_la_LDFLAGS = -version-info 2:3:0
 ## Middle number is the patchlevel.  Final number is the minor version.  The
 ## difference between the first and last numbers is major version.
 
@@ -170,9 +174,12 @@ libmLib_la_SOURCES = \
        atom.c assoc.c darray.c dstr.c dputf.c dspool.c hash.c sym.c \
        crc32.c crc32-tab.c \
        env.c fdflags.c fdpass.c fwatch.c lock.c \
-       bres.c conn.c lbuf.c ident.c pkbuf.c sel.c selbuf.c selpk.c sig.c \
+       @BRES_SOURCE@.c \
+       conn.c lbuf.c ident.c pkbuf.c sel.c selbuf.c selpk.c sig.c \
        tv.c \
        base64.c hex.c mdwopt.c str.c testrig.c url.c
+EXTRA_libmLib_la_SOURCES = bres.c bres-adns.c
+libmLib_la_LIBADD = @DEPLIBS@
 
 BUILT_SOURCES = crc32-tab.c
 
@@ -274,7 +281,7 @@ TEST_DIST = \
 ## I must (a) build the standalone version, and (b) inform the client library
 ## where the standalone version is.
 
-bres: bres-stnd.o
+bres$(EXEEXT): bres-stnd.o
        $(LINK) -o bres bres-stnd.o $(LIBS)
 
 bres-stnd.o: $(srcdir)/bres.c