# XXX Note we aren't building ../conf/main.cf.default
# The shipped makefiles construct it using postconf -d after building
# postconf. It isn't entirely clear how to deal with that in a cross
# build environment, and the .default file isn't that useful to
# the user anyway.
${GENSRCS}: postconf-hdrs.stamp
CLEANFILES+= postconf-hdrs.stamp
postconf-hdrs.stamp: ${DIST}/../global/mail_params.h ${DIST}/../global/mail_params.c
${_MKMSG_CREATE} ${GENSRCS}
rm -f ${.TARGET}
# Don't replace this with anything that puts DIST in the path to the
# files processed by awk; the awk script will produce wrong results
# if the source tree is in a directory that contains "tls" or "global"
# in its path.
(cd ${DIST} && ${TOOL_AWK} -f ${DIST}/extract.awk ../*/*.c) |\
${HOST_SH} -
touch ${.TARGET}