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.
This commit is contained in:
parent
94e9e9fdc2
commit
56c5891c88
|
@ -1,13 +1,13 @@
|
||||||
# $Id$
|
# $Id: Makefile,v 1.8 1998/05/01 09:51:31 andreas Exp $
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../contrib/bc/dc \
|
BCDIR= ${.CURDIR}/../../../contrib/bc
|
||||||
${.CURDIR}/../../../contrib/bc/lib \
|
|
||||||
${.CURDIR}/../../../contrib/bc/doc
|
.PATH: ${BCDIR}/dc ${BCDIR}/lib ${BCDIR}/doc
|
||||||
|
|
||||||
PROG= dc
|
PROG= dc
|
||||||
SRCS= array.c dc.c eval.c misc.c numeric.c stack.c string.c \
|
SRCS= array.c dc.c eval.c misc.c numeric.c stack.c string.c \
|
||||||
getopt.c getopt1.c number.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}
|
DPADD= ${LIBM}
|
||||||
LDADD= -lm
|
LDADD= -lm
|
||||||
SUBDIR= doc
|
SUBDIR= doc
|
||||||
|
|
Loading…
Reference in New Issue