Add adns support in background resolver.
[mLib] / Makefile.am
index 36ae2a3..8e0c51d 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-Makefile-*-
 ##
-## $Id: Makefile.am,v 1.38 2003/10/12 14:54:18 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.
+##
+## Revision 1.40  2003/11/10 10:01:14  mdw
+## Various Debian fixes.
+##
+## Revision 1.39  2003/11/09 13:48:43  mdw
+## Debianization\!
+##
 ## Revision 1.38  2003/10/12 14:54:18  mdw
 ## Version bump.
 ##
@@ -136,21 +148,22 @@ 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 \
-       env.h fdflags.h fwatch.h lock.h \
+       env.h fdflags.h fdpass.h fwatch.h lock.h \
        bres.h conn.h lbuf.h ident.h pkbuf.h sel.h selbuf.h selpk.h sig.h \
        tv.h \
        base64.h hex.h mdwopt.h str.h testrig.h url.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.
 
@@ -160,17 +173,21 @@ libmLib_la_SOURCES = \
        pool.c pool-file.c pool-sub.c \
        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 fwatch.c lock.c \
-       bres.c conn.c lbuf.c ident.c pkbuf.c sel.c selbuf.c selpk.c sig.c \
+       env.c fdflags.c fdpass.c fwatch.c lock.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
 
 crc32-tab.c: crc-mktab
        ./crc-mktab \
                -p0x04c11db7 -b32 -B8 -r \
-               -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c
+               -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c.new
+       mv crc32-tab.c.new crc32-tab.c
 
 crc_mktab_SOURCES = crc-mktab.c mdwopt.c quis.c pquis.c report.c str.c
 
@@ -264,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
@@ -282,6 +299,8 @@ uninstall-man:
 
 CLEANFILES = $(TEST_CLEAN) crc32-tab.c
 DISTCLEANFILES = libtool
-EXTRA_DIST = $(TEST_DIST) maninst
+EXTRA_DIST = \
+       $(TEST_DIST) maninst \
+       debian/rules debian/copyright debian/control debian/changelog
 
 ##----- That's all, folks ---------------------------------------------------