Makefile (163695) | Makefile (172962) |
---|---|
1# $FreeBSD: head/usr.bin/awk/Makefile 163695 2006-10-25 21:23:20Z ru $ | 1# $FreeBSD: head/usr.bin/awk/Makefile 172962 2007-10-25 12:43:22Z obrien $ |
2 3AWKSRC= ${.CURDIR}/../../contrib/one-true-awk 4.PATH: ${AWKSRC} 5 6PROG= nawk 7SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h 8 9CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} --- 14 unchanged lines hidden (view full) --- 24 25build-tools: maketab 26maketab: ytab.h ${AWKSRC}/maketab.c 27 28CLEANFILES+= nawk.1 29nawk.1: awk.1 30 cat ${.ALLSRC} > ${.TARGET} 31 | 2 3AWKSRC= ${.CURDIR}/../../contrib/one-true-awk 4.PATH: ${AWKSRC} 5 6PROG= nawk 7SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h 8 9CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} --- 14 unchanged lines hidden (view full) --- 24 25build-tools: maketab 26maketab: ytab.h ${AWKSRC}/maketab.c 27 28CLEANFILES+= nawk.1 29nawk.1: awk.1 30 cat ${.ALLSRC} > ${.TARGET} 31 |
32.for f in b.c lib.c main.c run.c tran.c | 32.for f in b.c main.c run.c |
33${f}: ${AWKSRC}/${f} ${.CURDIR}/${f}.diff 34 patch -s -b .orig -o ${.TARGET} < ${.CURDIR}/${f}.diff ${AWKSRC}/${f} 35CLEANFILES+= ${f} 36.endfor 37 38.include <bsd.prog.mk> | 33${f}: ${AWKSRC}/${f} ${.CURDIR}/${f}.diff 34 patch -s -b .orig -o ${.TARGET} < ${.CURDIR}/${f}.diff ${AWKSRC}/${f} 35CLEANFILES+= ${f} 36.endfor 37 38.include <bsd.prog.mk> |