1999-02-11 19:13:01 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 1999/02/11 16:13:01 tv Exp $
|
|
|
|
|
|
|
|
PROG= bc
|
|
|
|
SRCS= bc.y execute.c getopt.c getopt1.c global.c load.c main.c \
|
|
|
|
number.c scan.l storage.c util.c
|
|
|
|
CPPFLAGS+= -D_POSIX_SOURCE -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
|
|
|
|
LFLAGS+= -I8
|
|
|
|
LDADD+= -ll -ledit -ltermcap
|
|
|
|
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
|
1998-04-09 04:32:31 +04:00
|
|
|
YHEADER=1
|
1999-01-16 08:57:47 +03:00
|
|
|
|
1999-02-11 19:13:01 +03:00
|
|
|
DIST= ${.CURDIR}/../../dist
|
|
|
|
.PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc
|
1993-10-07 10:23:44 +03:00
|
|
|
|
1993-04-10 19:51:24 +04:00
|
|
|
.include <bsd.prog.mk>
|