2011-05-25 19:24:07 +04:00
|
|
|
# $NetBSD: Makefile,v 1.27 2011/05/25 15:24:07 joerg Exp $
|
2002-09-19 07:09:31 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist
|
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
|
2010-02-03 18:34:37 +03:00
|
|
|
LDADD+= -ll -ledit -lterminfo
|
|
|
|
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMINFO}
|
1998-04-09 04:32:31 +04:00
|
|
|
YHEADER=1
|
1999-01-16 08:57:47 +03:00
|
|
|
|
2011-05-25 19:24:07 +04:00
|
|
|
WARNS?= 0 # pointer sign issues
|
|
|
|
|
2001-01-08 07:53:59 +03:00
|
|
|
TEXINFO= bc.texi
|
|
|
|
|
1999-02-11 19:13:01 +03:00
|
|
|
.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>
|