diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1998-04-29 22:15:05 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1998-04-29 22:15:05 +0000 |
commit | 88d16a1b9b9dc0c578bec8194b7e4883b059beee (patch) | |
tree | 044257459ce757ad5fcc7204ae5d9c088a873f33 /gnu/usr.bin/dc/Makefile | |
parent | 4a8ac9040a1a9f3340f0645d82005d4e3ec74f1a (diff) | |
download | src-88d16a1b9b9dc0c578bec8194b7e4883b059beee.tar.gz src-88d16a1b9b9dc0c578bec8194b7e4883b059beee.zip |
update dc utility as well
after importing the new bc-1.0.4 sources,
which contain the latest DNU dc version
Notes
Notes:
svn path=/head/; revision=35522
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 a20cee3683dd..a723055672d5 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> |