NetBSD/gnu/usr.bin/bc/Makefile

21 lines
488 B
Makefile

# $NetBSD: Makefile,v 1.25 2002/09/19 03:09:33 lukem Exp $
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/gnu/dist
PROG= bc
SRCS= bc.y execute.c global.c load.c main.c \
number.c scan.l storage.c util.c
CPPFLAGS+= -D_POSIX_SOURCE -funsigned-char -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
LFLAGS+= -I8
LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
YHEADER=1
TEXINFO= bc.texi
.PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc
.include <bsd.prog.mk>