+## --- 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 ---