cvs commit: src/gnu/usr.bin/gdb/gdb

Joerg Sonnenberger joerg at britannica.bec.de
Thu Nov 18 12:54:27 PST 2004


On Fri, Nov 19, 2004 at 02:00:45AM +0900, YONETANI Tomokazu wrote:
> .y.c:
> 	@echo "WARNING: using messy implicit rule..." 1>&2
> .if !empty(YFLAGS:M-d)
> 	{ pid=$$$$; ${YACC} ${YFLAGS} -b $$pid ${.IMPSRC} && \
> 	mv $$pid.tab.c ${.TARGET} && \
> 	mv $$pid.tab.h ${.TARGET:S/.c/.h/}; }
> .else
>         ${YACC} ${YFLAGS} ${.IMPSRC}
> .endif

Doesn't work, because of the evaluation order. sys.mk is scanned before
the actual Makefile.

Joerg





More information about the Commits mailing list