diff options
author | andreas <andreas@FreeBSD.org> | 1998-04-29 22:15:05 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1998-04-29 22:15:05 +0000 |
commit | 71fc3af9ecf7cea8b60c9d18488a0535922a4a35 (patch) | |
tree | 7e2568d5d38d59b9323bd902f89ed6e9501985c3 /gnu/usr.bin/dc/Makefile | |
parent | e2ae216f29b9ae75400cfd048d6afa489eef800e (diff) | |
download | FreeBSD-src-71fc3af9ecf7cea8b60c9d18488a0535922a4a35.zip FreeBSD-src-71fc3af9ecf7cea8b60c9d18488a0535922a4a35.tar.gz |
update dc utility as well
after importing the new bc-1.0.4 sources,
which contain the latest DNU dc version
Diffstat (limited to 'gnu/usr.bin/dc/Makefile')
-rw-r--r-- | gnu/usr.bin/dc/Makefile | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/gnu/usr.bin/dc/Makefile b/gnu/usr.bin/dc/Makefile index a20cee3..a723055 100644 --- a/gnu/usr.bin/dc/Makefile +++ b/gnu/usr.bin/dc/Makefile @@ -1,10 +1,26 @@ -PROG= dc -SRCS= dc-array.c dc-eval.c dc-misc.c dc-number.c dc-stack.c dc-string.c number.c -CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../bc -D_POSIX_SOURCE -DPADD= ${LIBM} -LDADD= -lm -SUBDIR+= doc +# Makefile copyright Andreas Klemm <andreas@FreeBSD.ORG> 1998 +# +# $Id$ + +.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 -.PATH: ${.CURDIR}/../bc +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. + +DPADD= ${LIBM} +LDADD= -lm + +SUBDIR+= doc .include <bsd.prog.mk> |