- alloc.c crc32.c dstr.c exc.c mdwopt.c quis.c \
- report.c sub.c sym.c testrig.c trace.c track.c \
- lock.c \
- conn.c lbuf.c sel.c selbuf.c tv.c
+ alloc.c exc.c quis.c pquis.c report.c sub.c trace.c track.c \
+ dstr.c dputf.c dspool.c hash.c sym.c crc32.c \
+ env.c fdflags.c lock.c \
+ bres.c conn.c lbuf.c ident.c sel.c selbuf.c sig.c tv.c \
+ base64.c mdwopt.c str.c testrig.c url.c
+
+## --- Background resolver ---
+##
+## I must (a) build the standalone version, and (b) inform the client library
+## where the standalone version is.
+
+bres: bres-stnd.o
+ $(LINK) -o bres bres-stnd.o $(LIBS)
+
+bres-stnd.o: $(srcdir)/bres.c
+ $(COMPILE) -c -DBRES_STANDALONE -o bres-stnd.o $(srcdir)/bres.c
+
+bres.o: $(srcdir)/bres.c
+ $(COMPILE) -c -DBRES_SERVER="\"$(libexecdir)/`echo bres|sed '$(transform)'`\"" $(srcdir)/bres.c
+
+## --- Other useful rules ---
+
+install-man:
+ (cd man && make install-man)
+
+##----- That's all, folks ---------------------------------------------------