Makefile (94267) | Makefile (94339) |
---|---|
1# $FreeBSD: head/usr.bin/awk/Makefile 94267 2002-04-09 07:05:24Z ru $ | 1# $FreeBSD: head/usr.bin/awk/Makefile 94339 2002-04-10 03:10:03Z 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+= -I. -I${AWKSRC} --- 4 unchanged lines hidden (view full) --- 14.if ${MACHINE_ARCH} == "sparc64" 15LINKS= ${BINDIR}/nawk ${BINDIR}/awk 16MLINKS= nawk.1 awk.1 17.endif 18 19CLEANFILES= maketab proctab.c ytab.h 20 21ytab.h: awkgram.h | 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+= -I. -I${AWKSRC} --- 4 unchanged lines hidden (view full) --- 14.if ${MACHINE_ARCH} == "sparc64" 15LINKS= ${BINDIR}/nawk ${BINDIR}/awk 16MLINKS= nawk.1 awk.1 17.endif 18 19CLEANFILES= maketab proctab.c ytab.h 20 21ytab.h: awkgram.h |
22 ln -fs ${.ALLSRC} ${.TARGET} | 22 ln -sf ${.ALLSRC} ${.TARGET} |
23 24proctab.c: maketab 25 ./maketab > proctab.c 26 27build-tools: maketab 28maketab: ytab.h ${AWKSRC}/maketab.c 29 | 23 24proctab.c: maketab 25 ./maketab > proctab.c 26 27build-tools: maketab 28maketab: ytab.h ${AWKSRC}/maketab.c 29 |
30CLEANFILES+= nawk.1 | 30CLEANFILES+= nawk.1 |
31nawk.1: awk.1 | 31nawk.1: awk.1 |
32 ln -fs ${.ALLSRC} ${.TARGET} | 32 ln -sf ${.ALLSRC} ${.TARGET} |
33 34.include <bsd.prog.mk> | 33 34.include <bsd.prog.mk> |