freebsd_amp_hwpstate/gnu/usr.bin/bc/Makefile

36 lines
845 B
Makefile
Raw Normal View History

1998-05-01 04:42:53 +00:00
# $Id: Makefile,v 1.10 1998/05/01 02:49:40 scrappy Exp $
1996-11-04 03:55:26 +00:00
.include "${.CURDIR}/../Makefile.inc"
1996-11-04 03:55:26 +00:00
.PATH: ${.CURDIR}/../../../contrib/bc/bc \
${.CURDIR}/../../../contrib/bc/lib \
${.CURDIR}/../../../contrib/bc/doc
PROG= bc
BCSRCS= execute.c global.c load.c main.c storage.c util.c \
number.c getopt.c getopt1.c
GENSRCS= bc.c scan.c
SRCS= ${GENSRCS} ${BCSRCS}
MAN1= bc.1
YACC= bison -y
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 \
1998-04-30 08:14:04 +00:00
-DREADLINE=1 \
1998-04-30 15:59:49 +00:00
-I${.CURDIR}/../../../contrib/bc/h -I${.CURDIR} -I.
1998-04-30 15:59:49 +00:00
bc.h: bc.c
mv y.tab.h bc.h
beforedepend: bc.h
scan.o: bc.h
CLEANFILES+= ${GENSRCS} y.tab.h bc.h
1993-06-19 00:26:18 +00:00
1998-05-01 04:42:53 +00:00
DPADD+= ${LIBREADLINE} ${LIBTERMCAP}
LDADD+= -lreadline -ltermcap
1998-04-30 08:14:04 +00:00
1993-06-19 00:26:18 +00:00
.include <bsd.prog.mk>