blob: 9d5391d0638b28366bb673d2870e3744dff8329c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# $OpenBSD: Makefile,v 1.8 2015/10/10 19:28:54 deraadt Exp $
PROG= bc
SRCS= bc.y scan.l tty.c dc.c bcode.c inout.c mem.c stack.c
CPPFLAGS+= -I. -I${.CURDIR}
CFLAGS+= -Wall -Wno-unused
YFLAGS+=
LDADD+= -ledit -lcurses -lcrypto
DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBCRYPTO}
.PATH: ${.CURDIR}/../dc
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/bc.library \
${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>
|