1# $OpenBSD: Makefile,v 1.2 2003/11/03 19:51:42 otto Exp $ 2 3PROG= bc 4SRCS= bc.y scan.l tty.c y.tab.h 5CFLAGS+= -I. -I${.CURDIR} 6WARNS?= 3 7 8DPADD= ${LIBEDIT} ${LIBNCURSES} 9LDADD= -lprivate_edit -lprivate_ncurses 10LDFLAGS+= ${PRIVATELIB_LDFLAGS} 11 12.if !defined(NO_SHARE) 13FILES= bc.library 14FILESDIR= /usr/share/misc 15.endif 16 17.include <bsd.prog.mk> 18