summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-au
blob: adec775ad7ca1aafe31a859517036e437273d4ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-au,v 1.1.1.1 2000/08/14 04:33:24 itojun Exp $

--- postconf/Makefile.orig	Wed Apr 26 20:25:55 2000
+++ postconf/Makefile	Wed Apr 26 20:39:03 2000
@@ -0,0 +1,28 @@
+#	$NetBSD: patch-au,v 1.1.1.1 2000/08/14 04:33:24 itojun 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} ${AUXLIBS}
+
+# 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>