srcdir will ensure that the builddir has a copy of the proto.h file when
the Makefile found it to be out of date. This prevents the repeated
building of all the targets when the srcdir's proto.h file is accurate,
but older than the newest .c file.
proto: proto.h-tstamp
proto.h: proto.h-tstamp
proto: proto.h-tstamp
proto.h: proto.h-tstamp
+ @if test -f proto.h; then :; else cp -p $(srcdir)/proto.h .; fi
proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c