1*33881f77Schristos# $NetBSD: Makefile,v 1.9 2020/03/18 19:05:23 christos Exp $ 24e1f96faStron 34e1f96faStron# XXX Note we aren't building ../conf/main.cf.default 44e1f96faStron# The shipped makefiles construct it using postconf -d after building 54e1f96faStron# postconf. It isn't entirely clear how to deal with that in a cross 64e1f96faStron# build environment, and the .default file isn't that useful to 74e1f96faStron# the user anyway. 84e1f96faStron 94e1f96faStronNOMAN= # defined 104e1f96faStron 114e1f96faStron.include <bsd.own.mk> 124e1f96faStron 134e1f96faStronPROG= postconf 144e1f96faStron 154e1f96faStronDIST= ${NETBSDSRCDIR}/external/ibm-public/postfix/dist/src/${PROG} 164e1f96faStron.PATH: ${DIST} 174e1f96faStron 18d561406fStronPSRCS= postconf.c postconf_builtin.c postconf_dbms.c postconf_edit.c \ 19d561406fStron postconf_main.c postconf_master.c postconf_misc.c postconf_node.c \ 2051c5f9b7Stron postconf_other.c postconf_service.c postconf_unused.c postconf_user.c \ 2164f47ed0Stron postconf_lookup.c postconf_match.c postconf_print.c 22d561406fStronGENSRCS=bool_table.h bool_vars.h int_table.h int_vars.h str_table.h \ 23d561406fStron str_vars.h time_table.h time_vars.h raw_table.h raw_vars.h \ 24d561406fStron nint_table.h nint_vars.h nbool_table.h nbool_vars.h long_table.h \ 25463da012Stron long_vars.h str_fn_table.h str_fn_vars.h 264e1f96faStron 27d561406fStronSRCS= ${PSRCS} ${GENSRCS} 28d561406fStronDPSRCS= ${GENSRCS} 294e1f96faStron 30d561406fStronCLEANFILES+= ${GENSRCS} 314e1f96faStron 324e1f96faStronCPPFLAGS+= -I. 334e1f96faStron 34*33881f77SchristosDPADD+= ${LIBPTLS} ${LIBPGLOBAL} ${LIBPXSASL} ${LIBPUTIL} 35*33881f77SchristosLDADD+= ${LIBPTLS} ${LIBPGLOBAL} ${LIBPXSASL} ${LIBPUTIL} 364e1f96faStron 374e1f96faStron${GENSRCS}: postconf-hdrs.stamp 384e1f96faStronCLEANFILES+= postconf-hdrs.stamp 394e1f96faStronpostconf-hdrs.stamp: ${DIST}/../global/mail_params.h ${DIST}/../global/mail_params.c 404e1f96faStron ${_MKMSG_CREATE} ${GENSRCS} 414e1f96faStron rm -f ${.TARGET} 424e1f96faStron ${TOOL_AWK} -f ${DIST}/extract.awk ${DIST}/../*/*.c | ${HOST_SH} - 434e1f96faStron touch ${.TARGET} 444e1f96faStron 454e1f96faStron.include <bsd.prog.mk> 46