## -*-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
##
##----- 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.
##
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 \
## --- 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.
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
## 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