aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/dc/Makefile
blob: 509be76dcd0fe66da8e07b234f5d7d2a82dee44c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Makefile copyright Andreas Klemm <andreas@FreeBSD.ORG> 1998
#
# $Id: Makefile,v 1.6 1998/04/29 22:14:40 andreas Exp $

.include "${.CURDIR}/../Makefile.inc"

.PATH:	${.CURDIR}/../../../contrib/bc/dc \
	${.CURDIR}/../../../contrib/bc/lib \
	${.CURDIR}/../../../contrib/bc/doc

PROG=		dc
SRCS=		array.c dc.c eval.c misc.c numeric.c stack.c string.c \
		getopt.c getopt1.c number.c
MAN1=		dc.1

CFLAGS+=	-DHAVE_VPRINTF=1  -DSTDC_HEADERS=1 -DHAVE_ISGRAPH=1 \
		-DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_STDDEF_H=1 \
		-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 \
		-I${.CURDIR}/../../../contrib/bc/h -I${.CURDIR}

DPADD=		${LIBM}
LDADD=		-lm

SUBDIR+= doc

.include <bsd.prog.mk>