summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/dc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-01 12:01:57 +0000
committerbde <bde@FreeBSD.org>1998-05-01 12:01:57 +0000
commitdec484575fb940f5ba0941f3c7ca2158f291d75b (patch)
treefc0a3cb022abcf285a74634109ff4c2612355639 /gnu/usr.bin/dc
parent1b9c37d2c09a7747643278d111c1a1d371b8128b (diff)
downloadFreeBSD-src-dec484575fb940f5ba0941f3c7ca2158f291d75b.zip
FreeBSD-src-dec484575fb940f5ba0941f3c7ca2158f291d75b.tar.gz
Added missing -DHAVE_CONFIG_H to CFLAGS. It happens to be a no-op here
only because dc doesn't use anything in the gnu library that has a significant dependency on config.h. Simplified paths.
Diffstat (limited to 'gnu/usr.bin/dc')
-rw-r--r--gnu/usr.bin/dc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/dc/Makefile b/gnu/usr.bin/dc/Makefile
index 60b8b97..4df503f 100644
--- a/gnu/usr.bin/dc/Makefile
+++ b/gnu/usr.bin/dc/Makefile
@@ -1,13 +1,13 @@
-# $Id$
+# $Id: Makefile,v 1.8 1998/05/01 09:51:31 andreas Exp $
-.PATH: ${.CURDIR}/../../../contrib/bc/dc \
- ${.CURDIR}/../../../contrib/bc/lib \
- ${.CURDIR}/../../../contrib/bc/doc
+BCDIR= ${.CURDIR}/../../../contrib/bc
+
+.PATH: ${BCDIR}/dc ${BCDIR}/lib ${BCDIR}/doc
PROG= dc
SRCS= array.c dc.c eval.c misc.c numeric.c stack.c string.c \
getopt.c getopt1.c number.c
-CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h
+CFLAGS+=-I${.CURDIR} -I${BCDIR}/h -DHAVE_CONFIG_H
DPADD= ${LIBM}
LDADD= -lm
SUBDIR= doc
OpenPOWER on IntegriCloud