Module Name: src Committed By: phil Date: Mon Apr 10 02:28:48 UTC 2017
Added Files: src/external/bsd/bc/bin: Makefile Log Message: Add Phil Nelson's bc version nb1.0 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/bsd/bc/bin/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/external/bsd/bc/bin/Makefile diff -u /dev/null src/external/bsd/bc/bin/Makefile:1.1 --- /dev/null Mon Apr 10 02:28:48 2017 +++ src/external/bsd/bc/bin/Makefile Mon Apr 10 02:28:48 2017 @@ -0,0 +1,22 @@ +.include <bsd.own.mk> + +PROG= bc +BINDIR= /usr/bin + +SRCDIR= ${.CURDIR}/../dist +.PATH: ${SRCDIR} + +SRCS= global.c load.c util.c execute.c main.c number.c storage.c \ + bc.y scan.l warranty.c + +CPPFLAGS+= -I. -I${SRCDIR} -D_POSIX_SOURCE +CFLAGS+= -funsigned-char +YFLAGS+= +LFLAGS+= -I8 +YHEADER=1 +WARNS=5 + +LDADD+= -ll -ledit -ltermcap +DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP} + +.include <bsd.prog.mk>