diff options
| author | christos <christos@NetBSD.org> | 2003-04-03 19:13:17 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-04-03 19:13:17 +0000 |
| commit | ffb515e2dc331e26b998225a266fc811fd82de4b (patch) | |
| tree | f7449752d558bbf196a707e1080d2effa941c044 /gnu | |
| parent | 4e47272b6b3ef3b1b903ecee25b34ce3897d064b (diff) | |
Don't use suffix rules while building, because the installed sources get
added to ${.ALLSRCS} confusing things.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.sbin/sendmail/cf/cf/Makefile.sendmail | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/cf/Makefile.sendmail b/gnu/usr.sbin/sendmail/cf/cf/Makefile.sendmail index c8a4d36db81..dfb0028df45 100644 --- a/gnu/usr.sbin/sendmail/cf/cf/Makefile.sendmail +++ b/gnu/usr.sbin/sendmail/cf/cf/Makefile.sendmail @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.sendmail,v 1.1 2003/04/01 03:16:54 atatat Exp $ +# $NetBSD: Makefile.sendmail,v 1.2 2003/04/03 19:13:17 christos Exp $ CFDIR?= ${.CURDIR}/.. CHMOD= chmod @@ -6,10 +6,17 @@ M4?= m4 ROMODE= 444 RM= rm -f -.SUFFIXES: .mc .cf - +.if !defined(FILES) +.SUFFIXES: .cf .mc .mc.cf: +.else +__makemc: .USE +.endif ${RM} $@ (cd ${CFDIR}/cf && \ ${M4} ${CFDIR}/m4/cf.m4 ${.CURDIR}/${@:R}.mc > ${.OBJDIR}/$@) ${CHMOD} ${ROMODE} $@ + +.for F in ${FILES:M*.mc} +${F:S/.mc/.cf/}: ${F} __makemc +.endfor |
