head	1.27;
access;
symbols
	RELENG_8_4:1.27.0.2
	RELENG_8_3_0_RELEASE:1.26.10.1.8.1
	RELENG_8_3:1.26.10.1.0.8
	RELENG_8_3_BP:1.26.10.1
	RELENG_7_4_0_RELEASE:1.26.14.1
	RELENG_8_2_0_RELEASE:1.26.10.1.6.1
	RELENG_7_4:1.26.0.14
	RELENG_7_4_BP:1.26
	RELENG_8_2:1.26.10.1.0.6
	RELENG_8_2_BP:1.26.10.1
	RELENG_8_1_0_RELEASE:1.26.10.1.4.1
	RELENG_8_1:1.26.10.1.0.4
	RELENG_8_1_BP:1.26.10.1
	RELENG_7_3_0_RELEASE:1.26.12.1
	RELENG_7_3:1.26.0.12
	RELENG_7_3_BP:1.26
	RELENG_8_0_0_RELEASE:1.26.10.1.2.1
	RELENG_8_0:1.26.10.1.0.2
	RELENG_8_0_BP:1.26.10.1
	RELENG_8:1.26.0.10
	RELENG_8_BP:1.26
	RELENG_7_2_0_RELEASE:1.26.8.1
	RELENG_7_2:1.26.0.8
	RELENG_7_2_BP:1.26
	RELENG_7_1_0_RELEASE:1.26.6.1
	RELENG_6_4_0_RELEASE:1.24.20.1
	RELENG_7_1:1.26.0.6
	RELENG_7_1_BP:1.26
	RELENG_6_4:1.24.0.20
	RELENG_6_4_BP:1.24
	RELENG_7_0_0_RELEASE:1.26
	RELENG_6_3_0_RELEASE:1.24
	RELENG_7_0:1.26.0.4
	RELENG_7_0_BP:1.26
	RELENG_6_3:1.24.0.18
	RELENG_6_3_BP:1.24
	RELENG_7:1.26.0.2
	RELENG_7_BP:1.26
	RELENG_6_2_0_RELEASE:1.24
	RELENG_6_2:1.24.0.16
	RELENG_6_2_BP:1.24
	RELENG_5_5_0_RELEASE:1.24
	RELENG_5_5:1.24.0.14
	RELENG_5_5_BP:1.24
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.12
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.10
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.8
	RELENG_6_BP:1.24
	RELENG_5_4_0_RELEASE:1.24
	RELENG_5_4:1.24.0.6
	RELENG_5_4_BP:1.24
	RELENG_4_11_0_RELEASE:1.17.2.1
	RELENG_4_11:1.17.2.1.0.12
	RELENG_4_11_BP:1.17.2.1
	RELENG_5_3_0_RELEASE:1.24
	RELENG_5_3:1.24.0.4
	RELENG_5_3_BP:1.24
	RELENG_5:1.24.0.2
	RELENG_5_BP:1.24
	RELENG_4_10_0_RELEASE:1.17.2.1
	RELENG_4_10:1.17.2.1.0.10
	RELENG_4_10_BP:1.17.2.1
	RELENG_5_2_1_RELEASE:1.23
	RELENG_5_2_0_RELEASE:1.23
	RELENG_5_2:1.23.0.6
	RELENG_5_2_BP:1.23
	RELENG_4_9_0_RELEASE:1.17.2.1
	RELENG_4_9:1.17.2.1.0.8
	RELENG_4_9_BP:1.17.2.1
	RELENG_5_1_0_RELEASE:1.23
	RELENG_5_1:1.23.0.4
	RELENG_5_1_BP:1.23
	RELENG_4_8_0_RELEASE:1.17.2.1
	RELENG_4_8:1.17.2.1.0.6
	RELENG_4_8_BP:1.17.2.1
	RELENG_5_0_0_RELEASE:1.23
	RELENG_5_0:1.23.0.2
	RELENG_5_0_BP:1.23
	RELENG_4_7_0_RELEASE:1.17.2.1
	RELENG_4_7:1.17.2.1.0.4
	RELENG_4_7_BP:1.17.2.1
	RELENG_4_6_2_RELEASE:1.17.2.1
	RELENG_4_6_1_RELEASE:1.17.2.1
	RELENG_4_6_0_RELEASE:1.17.2.1
	RELENG_4_6:1.17.2.1.0.2
	RELENG_4_6_BP:1.17.2.1
	RELENG_4_5_0_RELEASE:1.17
	RELENG_4_5:1.17.0.8
	RELENG_4_5_BP:1.17
	RELENG_4_4_0_RELEASE:1.17
	RELENG_4_4:1.17.0.6
	RELENG_4_4_BP:1.17
	RELENG_4_3_0_RELEASE:1.17
	RELENG_4_3:1.17.0.4
	RELENG_4_3_BP:1.17
	RELENG_4_2_0_RELEASE:1.17
	RELENG_4_1_1_RELEASE:1.17
	PRE_SMPNG:1.17
	RELENG_4_1_0_RELEASE:1.17
	RELENG_3_5_0_RELEASE:1.14.2.3
	RELENG_4_0_0_RELEASE:1.17
	RELENG_4:1.17.0.2
	RELENG_4_BP:1.17
	RELENG_3_4_0_RELEASE:1.14.2.2
	RELENG_3_3_0_RELEASE:1.14.2.2
	RELENG_3_2_PAO:1.14.0.4
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.2
	RELENG_3_BP:1.14
	RELENG_2_2_8_RELEASE:1.3.10.1
	RELENG_3_0_0_RELEASE:1.14
	RELENG_2_2_7_RELEASE:1.3.10.1
	RELENG_2_2_6_RELEASE:1.3.10.1
	RELENG_2_2_5_RELEASE:1.3.10.1
	RELENG_2_2_2_RELEASE:1.3.10.1
	RELENG_2_2_1_RELEASE:1.3.10.1
	RELENG_2_2_0_RELEASE:1.3.10.1
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.3.0.10
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.8
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.6
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.4
	MOVED_NEWCVS:1.3
	FINAL_1_1_5:1.3
	ALPHA_1_1_5:1.3
	FINAL_1_1:1.3
	GAMMA_1_1:1.3
	BETA_1_1:1.3.0.2
	BP_BETA_1_1:1.3
	FINAL_1_0:1.3
	EPSILON_1_0:1.3
	GAMMA_1_0:1.3
	BETA_1_0:1.3
	ALPHA_1_0:1.3
	V_1_0_2_0:1.1.1.1;
locks; strict;
comment	@# @;


1.27
date	2010.02.21.14.28.03;	author gabor;	state dead;
branches
	1.27.2.1;
next	1.26;

1.26
date	2006.03.17.18.54.22;	author ru;	state Exp;
branches
	1.26.2.1
	1.26.6.1
	1.26.8.1
	1.26.10.1
	1.26.12.1
	1.26.14.1;
next	1.25;

1.25
date	2005.08.05.16.04.53;	author phk;	state Exp;
branches;
next	1.24;

1.24
date	2004.02.17.00.56.16;	author ache;	state Exp;
branches
	1.24.8.1
	1.24.20.1;
next	1.23;

1.23
date	2002.03.16.20.45.01;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2001.12.17.16.45.09;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2001.11.11.02.16.52;	author bde;	state Exp;
branches;
next	1.20;

1.20
date	2001.11.09.17.09.42;	author ache;	state Exp;
branches;
next	1.19;

1.19
date	2001.10.19.12.45.59;	author bde;	state Exp;
branches;
next	1.18;

1.18
date	2001.10.19.00.24.39;	author mdodd;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.10.08.55.02;	author phantom;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	99.08.27.23.34.38;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	99.08.02.10.02.07;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	98.05.04.16.22.30;	author bde;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	98.05.01.19.13.41;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	98.05.01.10.01.00;	author andreas;	state Exp;
branches;
next	1.11;

1.11
date	98.05.01.04.42.53;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	98.05.01.02.49.40;	author scrappy;	state Exp;
branches;
next	1.9;

1.9
date	98.04.30.15.59.49;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	98.04.30.08.14.04;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	98.04.30.07.50.49;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	98.04.29.22.05.23;	author andreas;	state Exp;
branches;
next	1.5;

1.5
date	96.11.04.16.14.16;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	96.11.04.03.54.56;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	93.07.02.04.53.04;	author root;	state Exp;
branches
	1.3.10.1;
next	1.2;

1.2
date	93.06.21.03.41.19;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	93.06.19.00.26.14;	author paul;	state Exp;
branches
	1.1.1.1;
next	;

1.27.2.1
date	2010.02.21.14.28.03;	author svnexp;	state dead;
branches;
next	1.27.2.2;

1.27.2.2
date	2013.03.28.13.02.47;	author svnexp;	state Exp;
branches;
next	;

1.26.2.1
date	2012.11.17.08.01.28;	author svnexp;	state Exp;
branches;
next	;

1.26.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.26.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.26.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.26.10.1.2.1
	1.26.10.1.4.1
	1.26.10.1.6.1
	1.26.10.1.8.1;
next	1.26.10.2;

1.26.10.2
date	2012.11.17.10.35.58;	author svnexp;	state Exp;
branches;
next	;

1.26.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.26.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.26.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.26.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.26.10.1.8.2;

1.26.10.1.8.2
date	2012.11.17.08.24.39;	author svnexp;	state Exp;
branches;
next	;

1.26.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.26.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.26.14.2;

1.26.14.2
date	2012.11.17.08.16.38;	author svnexp;	state Exp;
branches;
next	;

1.24.8.1
date	2012.11.17.07.39.14;	author svnexp;	state Exp;
branches;
next	;

1.24.20.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.17.2.1
date	2002.02.18.16.26.51;	author ru;	state Exp;
branches;
next	1.17.2.2;

1.17.2.2
date	2012.11.17.07.23.00;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	99.08.05.06.37.18;	author obrien;	state Exp;
branches;
next	1.14.2.2;

1.14.2.2
date	99.08.29.14.31.48;	author peter;	state Exp;
branches;
next	1.14.2.3;

1.14.2.3
date	2000.04.24.11.17.53;	author phantom;	state Exp;
branches;
next	;

1.3.10.1
date	96.11.06.09.23.49;	author phk;	state Exp;
branches;
next	;

1.1.1.1
date	93.06.19.00.26.15;	author paul;	state Exp;
branches;
next	;


desc
@@


1.27
log
@SVN rev 204171 on 2010-02-21 14:28:03Z by gabor

- Remove GNU bc/dc bits. There has not been any regressions seen after
  BSD bc/dc import. It has been tested with make universe that this code
  is not used by anything any more.

Approved by:	delphij (mentor)
@
text
@# $FreeBSD: src/gnu/usr.bin/bc/Makefile,v 1.26 2006/03/17 18:54:22 ru Exp $

.include <bsd.own.mk>

BCDIR=	${.CURDIR}/../../../contrib/bc
.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples

PROG=	bc
SRCS=	bc.y execute.c global.c load.c main.c scan.l storage.c util.c \
	number.c
CFLAGS+=-I. -I${.CURDIR} -I${BCDIR}/h -I${BCDIR}/bc
CFLAGS+=-DHAVE_CONFIG_H
DPADD=	${LIBREADLINE} ${LIBTERMCAP}
LDADD=	-lreadline -ltermcap

.if ${MK_EXAMPLES} != "no"
FILES=	ckbook.b pi.b primes.b twins.b
FILESDIR=	${SHAREDIR}/examples/bc
.endif

.include <bsd.prog.mk>
@


1.27.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:47 +0000
@
text
@d1 21
@


1.27.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 21
# $FreeBSD: releng/8.4/gnu/usr.bin/bc/Makefile 156813 2006-03-17 18:54:44Z ru $

.include <bsd.own.mk>

BCDIR=	${.CURDIR}/../../../contrib/bc
.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples

PROG=	bc
SRCS=	bc.y execute.c global.c load.c main.c scan.l storage.c util.c \
	number.c
CFLAGS+=-I. -I${.CURDIR} -I${BCDIR}/h -I${BCDIR}/bc
CFLAGS+=-DHAVE_CONFIG_H
DPADD=	${LIBREADLINE} ${LIBTERMCAP}
LDADD=	-lreadline -ltermcap

.if ${MK_EXAMPLES} != "no"
FILES=	ckbook.b pi.b primes.b twins.b
FILESDIR=	${SHAREDIR}/examples/bc
.endif

.include <bsd.prog.mk>
@


1.26
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.26.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/bc/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.26.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.26.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/bc/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.26.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.26.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.26.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/bc/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.26.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.26.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/bc/Makefile 156813 2006-03-17 18:54:44Z ru $
@


1.26.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.26.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.26.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.26.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.26.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.25
log
@Respect NO_EXAMPLES
@
text
@d3 2
d16 1
a16 1
.if !defined (NO_EXAMPLES)
@


1.24
log
@Remove getopt*.c, we already have getopt_long() in libc
@
text
@d14 1
d17 1
@


1.24.8.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/bc/Makefile 125905 2004-02-17 00:56:16Z ache $
@


1.24.20.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.23
log
@GCC 3.1's cpp no longer searches for includes using hints from #line.
@
text
@d8 1
a8 1
	number.c getopt.c getopt1.c
@


1.22
log
@Install files via FILES.
@
text
@d3 2
a4 4
.PATH:	${.CURDIR}/../../../contrib/bc/bc \
	${.CURDIR}/../../../contrib/bc/lib \
	${.CURDIR}/../../../contrib/bc/doc \
	${.CURDIR}/../../../contrib/bc/Examples
d9 2
a10 1
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H
@


1.21
log
@Fixed style bugs (tab corruption) on every changed line in previous commit.
@
text
@d5 2
a6 1
	${.CURDIR}/../../../contrib/bc/doc
d15 2
a16 9
EXAMPLES=	ckbook.b pi.b primes.b twins.b
EXAMPDIR=	/usr/share/examples/bc

beforeinstall:
.for file in ${EXAMPLES}
	cd ${.CURDIR}/../../../contrib/bc/Examples ; \
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
		${DESTDIR}${EXAMPDIR}
.endfor
@


1.20
log
@Back out switching from libreadline to libedit:
1) It is capabilities degradation: f.e. libedit can't process ~/.inputrc files
2) It have no sense to try to un-GNU GNU program.
@
text
@d11 2
a12 2
DPADD=  ${LIBREADLINE} ${LIBTERMCAP}
LDADD=  -lreadline -ltermcap
@


1.19
log
@Fixed style bugs in previous commit:
- don't comment out the old version; just modify it.
- don't 2 sets of 3 style bugs that weren't present in the old version.
@
text
@d11 2
a12 2
DPADD=	${LIBEDIT} ${LIBTERMCAP}
LDADD=	-ledit -ltermcap
@


1.18
log
@Turn on the libedit support in bc.  Turn off libreadline.
@
text
@d11 2
a12 4
#DPADD=	${LIBREADLINE} ${LIBTERMCAP}
#LDADD=	-lreadline -ltermcap
DPADD += ${LIBEDIT} ${LIBTERMCAP}
LDADD += -ledit -ltermcap
@


1.17
log
@install contrib/bc/Examples as /usr/share/examples/bc
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/bc/Makefile,v 1.16 1999/08/27 23:34:38 peter Exp $
d11 4
a14 2
DPADD=	${LIBREADLINE} ${LIBTERMCAP}
LDADD=	-lreadline -ltermcap
@


1.17.2.1
log
@MFC: Install files via FILES.
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 2
	${.CURDIR}/../../../contrib/bc/doc \
	${.CURDIR}/../../../contrib/bc/Examples
d14 9
a22 2
FILES=	ckbook.b pi.b primes.b twins.b
FILESDIR=	${SHAREDIR}/examples/bc
@


1.17.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/bc/Makefile 90862 2002-02-18 16:26:51Z ru $
@


1.16
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d13 10
@


1.15
log
@Use Byacc rather than Bison.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1998/05/04 16:22:30 bde Exp $
@


1.14
log
@Fixed races in `make -jN' using new yacc rules.

Fixed slightly wrong order of -I's in CFLAGS.

FIxed the usual style bugs in DPADD and LDADD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1998/05/01 19:13:41 ache Exp $
a9 1
YACC=	bison -y
@


1.14.2.1
log
@MFC: use Byacc rather than Bison
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1998/05/04 16:22:30 bde Exp $
d10 1
@


1.14.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.14.2.3
log
@MFC: rev 1.17, install examples
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/bc/Makefile,v 1.14.2.2 1999/08/29 14:31:48 peter Exp $
a12 10

EXAMPLES=	ckbook.b pi.b primes.b twins.b
EXAMPDIR=	/usr/share/examples/bc

beforeinstall:
.for file in ${EXAMPLES}
	cd ${.CURDIR}/../../../contrib/bc/Examples ; \
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
		${DESTDIR}${EXAMPDIR}
.endfor
@


1.13
log
@Add missing -DHAVE_CONFIG_H
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1998/05/01 10:01:00 andreas Exp $
d8 1
a8 1
BCSRCS=	execute.c global.c load.c main.c storage.c util.c \
a9 3
GENSRCS=bc.c scan.c
SRCS=	${GENSRCS} ${BCSRCS}

d11 3
a13 13

CFLAGS+=-I${.CURDIR} -I. -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H

bc.h: bc.c
	mv y.tab.h bc.h

beforedepend: bc.h
scan.o:       bc.h

CLEANFILES+=    ${GENSRCS} y.tab.h bc.h

DPADD+= ${LIBREADLINE} ${LIBTERMCAP}
LDADD+= -lreadline -ltermcap
@


1.12
log
@Style:
$Id$ should be preceded by a tab
Don't include ../Makefile.inc when it is not used explicitly
Use the normal amount of horizontal and vertical whitspace (1 tab/none)
Don't override the (correct) default for MAN1
Use the correct order for -I paths
Use config.h generated by `configure', don't use a huge CFLAGS statement
Enable useage of libreadline in config.h, configure didn't enable it itself.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1998/05/01 04:42:53 ache Exp $
d15 1
a15 1
CFLAGS+=-I${.CURDIR} -I. -I${.CURDIR}/../../../contrib/bc/h
@


1.11
log
@Add libtermcap to DPADD too
@
text
@d1 1
a1 3
# $Id: Makefile,v 1.10 1998/05/01 02:49:40 scrappy Exp $

.include "${.CURDIR}/../Makefile.inc"
d7 5
a11 6
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
d13 1
a13 1
YACC=		bison -y
d15 1
a15 5
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 \
		-DREADLINE=1 \
		-I${.CURDIR}/../../../contrib/bc/h -I${.CURDIR} -I.
@


1.10
log
@-ltermcap is required due to -lreadline else you get missing functions
like 'tputs()' et al...
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.9 1998/04/30 15:59:49 ache Exp $
d32 1
a32 1
DPADD+= ${LIBREADLINE}
@


1.9
log
@Use generated bc.h
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1998/04/30 08:14:04 ache Exp $
d33 1
a33 1
LDADD+= -lreadline
@


1.8
log
@Turn on Readline support
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1998/04/30 07:50:49 ache Exp $
d22 1
a22 1
		-I${.CURDIR}/../../../contrib/bc/h -I${.CURDIR}
d24 7
a30 1
CLEANFILES+=	${GENSRCS} y.tab.h
@


1.7
log
@Fix make - use -I${.CURDIR} instead of -I.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1998/04/29 22:05:23 andreas Exp $
d21 1
d25 3
@


1.6
log
@remove old bc-1.0.3 stuff
modify Makefile, to get bc-1.0.4 from src/contrib/bc
adjust config.h
PR:		closes 4183
@
text
@d1 1
a1 1
# $Id$
d21 1
a21 1
		-I${.CURDIR}/../../../contrib/bc/h -I.
@


1.5
log
@Change -I$(.CURDIR) to -I. in CFLAGS.  As Bruce pointed out
$(...) is bad style and without -I. this program would not
compile unless ${.OBJDIR} == ${.CURDIR}.

Submitted by: bde
@
text
@d1 1
a1 1
PROG= bc
d3 1
a3 3
BCSRCS= execute.c global.c load.c main.c number.c storage.c util.c
GENSRCS= bc.c scan.c
SRCS= ${GENSRCS} ${BCSRCS}
d5 19
a23 2
CFLAGS+= -D_POSIX_SOURCE -I.
CLEANFILES+= ${GENSRCS} y.tab.h
@


1.4
log
@Upgrade to version 1.03.
@
text
@d7 1
a7 1
CFLAGS+= -D_POSIX_SOURCE -I$(.CURDIR)
@


1.3
log
@New manual page system
@
text
@d2 5
a6 2
SRCS= bc.c global.c scan.c util.c main.c number.c storage.c load.c execute.c
MAN1= bc.1
d8 1
@


1.3.10.1
log
@Merge from -current
@
text
@d2 3
a4 7

BCSRCS= execute.c global.c load.c main.c number.c storage.c util.c
GENSRCS= bc.c scan.c
SRCS= ${GENSRCS} ${BCSRCS}

CFLAGS+= -D_POSIX_SOURCE -I.
CLEANFILES+= ${GENSRCS} y.tab.h
@


1.2
log
@Removed BINDIR= from Makefile so that bc installs in /usr/gnu/bin
@
text
@d3 1
a3 1
MAN1= bc.0
@


1.1
log
@Initial revision
@
text
@a3 1
BINDIR=
@


1.1.1.1
log
@New bc-1.02 bmake sources
@
text
@@
