Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / sbin / postconf / Makefile
blob58e14f65e01f1eab5804af3e39d38c85c69a2eda
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
7 # the user anyway.
9 NOMAN= # defined
11 .include <bsd.own.mk>
13 PROG= postconf
15 DIST= ${NETBSDSRCDIR}/external/ibm-public/postfix/dist/src/${PROG}
16 .PATH: ${DIST}
18 PSRCS= postconf.c
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}
28 CPPFLAGS+= -I.
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}
37 rm -f ${.TARGET}
38 ${TOOL_AWK} -f ${DIST}/extract.awk ${DIST}/../*/*.c | ${HOST_SH} -
39 touch ${.TARGET}
41 auto_table.h auto_vars.h: ${DIST}/auto.awk
42 ${TOOL_AWK} -f ${DIST}/auto.awk
44 .include <bsd.prog.mk>