NetBSD/gnu/usr.bin/bc/Makefile

23 lines
524 B
Makefile
Raw Normal View History

2011-05-25 19:24:07 +04:00
# $NetBSD: Makefile,v 1.27 2011/05/25 15:24:07 joerg Exp $
.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 \
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 -lterminfo
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMINFO}
YHEADER=1
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
.include <bsd.prog.mk>