2001-01-11 04:48:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.24 2001/01/11 01:48:00 phil Exp $
|
1999-02-11 19:13:01 +03:00
|
|
|
|
|
|
|
PROG= bc
|
2000-11-01 16:14:46 +03:00
|
|
|
SRCS= bc.y execute.c global.c load.c main.c \
|
2001-01-11 04:48:00 +03:00
|
|
|
number.c scan.l storage.c util.c
|
2001-01-08 07:53:59 +03:00
|
|
|
CPPFLAGS+= -D_POSIX_SOURCE -funsigned-char -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
|
1999-02-11 19:13:01 +03:00
|
|
|
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
|
|
|
|
2001-01-08 07:53:59 +03:00
|
|
|
TEXINFO= bc.texi
|
|
|
|
|
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>
|