1 # $NetBSD: Makefile,v 1.1 2009/06/23 15:02:53 tron Exp $
3 # XXX Note we aren't building ../conf/main.cf.default
4 # The shipped makefiles construct it using postconf -d after building
5 # postconf. It isn't entirely clear how to deal with that in a cross
6 # build environment, and the .default file isn't that useful to
15 DIST
= ${NETBSDSRCDIR}/external
/ibm-public
/postfix
/dist/src
/${PROG}
19 GENSRCS
=bool_table.h bool_vars.h int_table.h int_vars.h str_table.h \
20 str_vars.h time_table.h time_vars.h raw_table.h raw_vars.h
21 AUTOSRCS
=auto_table.h auto_vars.h
23 SRCS
= ${PSRCS} ${GENSRCS} ${AUTOSRCS}
24 DPSRCS
= ${GENSRCS} ${AUTOSRCS}
26 CLEANFILES
+= ${GENSRCS} ${AUTOSRCS}
30 DPADD
+= ${LIBPGLOBAL} ${LIBPXSASL} ${LIBPUTIL}
31 LDADD
+= ${LIBPGLOBAL} ${LIBPXSASL} ${LIBPUTIL}
33 ${GENSRCS}: postconf-hdrs.stamp
34 CLEANFILES
+= postconf-hdrs.stamp
35 postconf-hdrs.stamp
: ${DIST}/..
/global
/mail_params.h
${DIST}/..
/global
/mail_params.c
36 ${_MKMSG_CREATE} ${GENSRCS}
38 ${TOOL_AWK} -f
${DIST}/extract.awk
${DIST}/..
/*/*.c |
${HOST_SH} -
41 auto_table.h auto_vars.h
: ${DIST}/auto.awk
42 ${TOOL_AWK} -f
${DIST}/auto.awk
44 .
include <bsd.prog.mk
>