1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1996-11-04 03:55:26 +00:00
|
|
|
|
2002-03-16 20:45:01 +00:00
|
|
|
BCDIR= ${.CURDIR}/../../../contrib/bc
|
|
|
|
.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples
|
1998-04-29 22:05:39 +00:00
|
|
|
|
1998-05-01 10:01:02 +00:00
|
|
|
PROG= bc
|
1998-05-04 16:22:30 +00:00
|
|
|
SRCS= bc.y execute.c global.c load.c main.c scan.l storage.c util.c \
|
1998-05-01 10:01:02 +00:00
|
|
|
number.c getopt.c getopt1.c
|
2002-03-16 20:45:01 +00:00
|
|
|
CFLAGS+=-I. -I${.CURDIR} -I${BCDIR}/h -I${BCDIR}/bc
|
|
|
|
CFLAGS+=-DHAVE_CONFIG_H
|
2001-11-11 02:16:52 +00:00
|
|
|
DPADD= ${LIBREADLINE} ${LIBTERMCAP}
|
|
|
|
LDADD= -lreadline -ltermcap
|
1998-04-30 08:14:04 +00:00
|
|
|
|
2001-12-17 16:45:09 +00:00
|
|
|
FILES= ckbook.b pi.b primes.b twins.b
|
|
|
|
FILESDIR= ${SHAREDIR}/examples/bc
|
2000-01-10 08:55:02 +00:00
|
|
|
|
1993-06-19 00:26:18 +00:00
|
|
|
.include <bsd.prog.mk>
|