From 56c5891c88499f7f6d2278f1d4b716ef4ffbf7f8 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 1 May 1998 12:01:57 +0000 Subject: [PATCH] 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. --- gnu/usr.bin/dc/Makefile | 10 +++++----- 1 file 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