aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/dc/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-05-01 12:01:57 +0000
committerBruce Evans <bde@FreeBSD.org>1998-05-01 12:01:57 +0000
commit56c5891c88499f7f6d2278f1d4b716ef4ffbf7f8 (patch)
tree190b856d7ff72a415beeb1e1867b95f3ff7d1b56 /gnu/usr.bin/dc/Makefile
parent94e9e9fdc27a0f897143485a9c37a548cf8a0e59 (diff)
downloadsrc-56c5891c88499f7f6d2278f1d4b716ef4ffbf7f8.tar.gz
src-56c5891c88499f7f6d2278f1d4b716ef4ffbf7f8.zip
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.
Notes
Notes: svn path=/head/; revision=35579
Diffstat (limited to 'gnu/usr.bin/dc/Makefile')
-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 60b8b97022b8..4df503fcb23f 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