NetBSD/x11/tools/pswrap/Makefile.pswrap
lukem 09f1052592 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.
2005-03-20 23:49:06 +00:00

20 lines
471 B
Makefile

# $NetBSD: Makefile.pswrap,v 1.4 2005/03/20 23:49:06 lukem Exp $
.SUFFIXES: .psw .c .h
PSWRAPDIR!= cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${PRINTOBJDIR}
PSWRAP= ${PSWRAPDIR}/pswrap
${PSWRAP}:
(cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${MAKE})
.psw.c: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -o ${.TARGET} -f ${.TARGET:.c=.h} ${.IMPSRC}
.psw.h: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null