Update for bc-1.06.

This commit is contained in:
phil 2001-01-08 04:53:59 +00:00
parent 699a13760c
commit e6550aba7b
2 changed files with 22 additions and 10 deletions

View File

@ -1,14 +1,16 @@
# $NetBSD: Makefile,v 1.22 2000/11/01 13:14:46 wiz Exp $
# $NetBSD: Makefile,v 1.23 2001/01/08 04:53:59 phil Exp $
PROG= bc
SRCS= bc.y execute.c global.c load.c main.c \
number.c scan.l storage.c util.c
CPPFLAGS+= -D_POSIX_SOURCE -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
number.c scan.l storage.c util.c getopt.c getopt1.c
CPPFLAGS+= -D_POSIX_SOURCE -funsigned-char -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
LFLAGS+= -I8
LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
YHEADER=1
TEXINFO= bc.texi
DIST= ${.CURDIR}/../../dist
.PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc

View File

@ -29,17 +29,20 @@
/* Define if lex declares yytext as a char * by default, not a char[]. */
#define YYTEXT_POINTER 1
/* PACKAGE name */
#define PACKAGE "bc"
/* VERSION number for DC target*/
#define DC_VERSION "1.3"
/* Package VERSION number */
#define VERSION "1.05"
/* COPYRIGHT notice for DC target */
#define DC_COPYRIGHT "Copyright 1994, 1997, 1998, 2000 Free Software Foundation, Inc."
/* define if the math lib is to be loaded from a file. */
/* #undef BC_MATH_FILE */
/* COPYRIGHT notice for BC target */
#define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc."
/* Define to use the readline library. */
#define READLINE 1
/* #undef READLINE */
/* Define to use the BSD libedit library. */
#define LIBEDIT 1
/* Define to `size_t' if <sys/types.h> and <stddef.h> don't define. */
/* #undef ptrdiff_t */
@ -70,3 +73,10 @@
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "bc"
/* Version number of package */
#define VERSION "1.06"