diff options
author | bde <bde@FreeBSD.org> | 1998-05-04 16:22:30 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-04 16:22:30 +0000 |
commit | b8225980196b2c1982521b5c1e72a74bb212f29e (patch) | |
tree | fdce950fb1d7f87c1d0b961e5572be800b6d14d2 /gnu | |
parent | 3c9c899a57b29d0a09aaec11b64a441977542ead (diff) | |
download | FreeBSD-src-b8225980196b2c1982521b5c1e72a74bb212f29e.zip FreeBSD-src-b8225980196b2c1982521b5c1e72a74bb212f29e.tar.gz |
Fixed races in `make -jN' using new yacc rules.
Fixed slightly wrong order of -I's in CFLAGS.
FIxed the usual style bugs in DPADD and LDADD.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/bc/Makefile | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile index 50dc708..ca06c99 100644 --- a/gnu/usr.bin/bc/Makefile +++ b/gnu/usr.bin/bc/Makefile @@ -1,28 +1,15 @@ -# $Id: Makefile,v 1.12 1998/05/01 10:01:00 andreas Exp $ +# $Id: Makefile,v 1.13 1998/05/01 19:13:41 ache Exp $ .PATH: ${.CURDIR}/../../../contrib/bc/bc \ ${.CURDIR}/../../../contrib/bc/lib \ ${.CURDIR}/../../../contrib/bc/doc PROG= bc -BCSRCS= execute.c global.c load.c main.c storage.c util.c \ +SRCS= bc.y execute.c global.c load.c main.c scan.l storage.c util.c \ number.c getopt.c getopt1.c -GENSRCS=bc.c scan.c -SRCS= ${GENSRCS} ${BCSRCS} - YACC= bison -y - -CFLAGS+=-I${.CURDIR} -I. -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H - -bc.h: bc.c - mv y.tab.h bc.h - -beforedepend: bc.h -scan.o: bc.h - -CLEANFILES+= ${GENSRCS} y.tab.h bc.h - -DPADD+= ${LIBREADLINE} ${LIBTERMCAP} -LDADD+= -lreadline -ltermcap +CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H +DPADD= ${LIBREADLINE} ${LIBTERMCAP} +LDADD= -lreadline -ltermcap .include <bsd.prog.mk> |