$NetBSD: patch-au,v 1.2 1999/09/12 00:14:53 simonb Exp $

--- postconf/Makefile.orig	Sun May 30 18:49:13 1999
+++ postconf/Makefile	Sun May 30 18:49:13 1999
@@ -0,0 +1,28 @@
+#	$NetBSD: patch-au,v 1.2 1999/09/12 00:14:53 simonb Exp $
+.include "../conf/main.cf"
+PROG=	postconf
+BINDIR=${command_directory}
+
+PSRCS=	postconf.c
+GENSRCS=bool_table.h bool_vars.h int_table.h int_vars.h str_table.h \
+	str_vars.h
+SRCS=	${PSRCS} ${GENSRCS}
+
+CLEANFILES+= ${GENSRCS}
+
+CPPFLAGS+= -I${.OBJDIR}
+
+DPADD+= ${LIBPGLOBAL} ${LIBPUTIL}
+LDADD+= ${LIBPGLOBAL} ${LIBPUTIL}
+
+# XXX
+NOMAN=1
+
+AWK?=	awk
+${GENSRCS}: ${.CURDIR}/../global/mail_params.h
+	$(AWK) -f $(.CURDIR)/extract.awk $(.CURDIR)/../*/*.c
+
+# XXX
+${PSRCS}: ${GENSRCS}
+
+.include <bsd.prog.mk>
