Revert previous; it's unnecessary in light of Christos' fix to

pswfile.c rev 1.2.  It also may have a  make -j  race.

Explicitly use  -f ${.TARGET:.c=.h}  in .psw.c; it can't hurt and
it mirrors what XFree86 does.
This commit is contained in:
lukem 2005-03-20 23:49:06 +00:00
parent 5f073846f4
commit 09f1052592
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pswrap,v 1.3 2005/03/20 23:11:19 rtr Exp $
# $NetBSD: Makefile.pswrap,v 1.4 2005/03/20 23:49:06 lukem Exp $
.SUFFIXES: .psw .c .h
@ -11,9 +11,9 @@ ${PSWRAP}:
.psw.c: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -o ${.TARGET} -h ${.TARGET:.c=.h} ${.IMPSRC}
${PSWRAP} -a -o ${.TARGET} -f ${.TARGET:.c=.h} ${.IMPSRC}
.psw.h: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -f ${.TARGET} -h ${.TARGET} ${.IMPSRC} >/dev/null
${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null