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