head	1.28;
access;
symbols
	perseant-exfatfs-base-20250801:1.28
	perseant-exfatfs-base-20240630:1.28
	cjep_sun2x:1.28.0.10
	cjep_sun2x-base:1.28
	cjep_staticlib_x-base1:1.28
	cjep_staticlib_x:1.28.0.8
	cjep_staticlib_x-base:1.28
	phil-wifi-20200421:1.28
	phil-wifi-20200411:1.28
	phil-wifi-20200406:1.28
	pgoyette-compat-merge-20190127:1.28
	pgoyette-compat-20190127:1.28
	pgoyette-compat-20190118:1.28
	pgoyette-compat-1226:1.28
	pgoyette-compat-1126:1.28
	pgoyette-compat-1020:1.28
	pgoyette-compat-0930:1.28
	pgoyette-compat-0906:1.28
	netbsd-7-2-RELEASE:1.27
	pgoyette-compat-0728:1.28
	pgoyette-compat-0625:1.28
	pgoyette-compat-0521:1.28
	pgoyette-compat-0502:1.28
	pgoyette-compat-0422:1.28
	pgoyette-compat-0415:1.28
	pgoyette-compat-0407:1.28
	pgoyette-compat-0330:1.28
	pgoyette-compat-0322:1.28
	pgoyette-compat-0315:1.28
	netbsd-7-1-2-RELEASE:1.27
	pgoyette-compat:1.28.0.6
	pgoyette-compat-base:1.28
	netbsd-7-1-1-RELEASE:1.27
	perseant-stdc-iso10646:1.28.0.4
	perseant-stdc-iso10646-base:1.28
	prg-localcount2-base3:1.28
	prg-localcount2-base2:1.28
	prg-localcount2-base1:1.28
	prg-localcount2:1.28.0.2
	prg-localcount2-base:1.28
	pgoyette-localcount-20170426:1.28
	bouyer-socketcan-base1:1.28
	pgoyette-localcount-20170320:1.27
	netbsd-7-1:1.27.0.32
	netbsd-7-1-RELEASE:1.27
	netbsd-7-1-RC2:1.27
	netbsd-7-nhusb-base-20170116:1.27
	bouyer-socketcan:1.27.0.30
	bouyer-socketcan-base:1.27
	pgoyette-localcount-20170107:1.27
	netbsd-7-1-RC1:1.27
	pgoyette-localcount-20161104:1.27
	netbsd-7-0-2-RELEASE:1.27
	localcount-20160914:1.27
	netbsd-7-nhusb:1.27.0.28
	netbsd-7-nhusb-base:1.27
	pgoyette-localcount-20160806:1.27
	pgoyette-localcount-20160726:1.27
	pgoyette-localcount:1.27.0.26
	pgoyette-localcount-base:1.27
	netbsd-7-0-1-RELEASE:1.27
	netbsd-7-0:1.27.0.24
	netbsd-7-0-RELEASE:1.27
	netbsd-7-0-RC3:1.27
	netbsd-7-0-RC2:1.27
	netbsd-7-0-RC1:1.27
	netbsd-5-2-3-RELEASE:1.25
	netbsd-5-1-5-RELEASE:1.25
	netbsd-6-0-6-RELEASE:1.27
	netbsd-6-1-5-RELEASE:1.27
	netbsd-7:1.27.0.22
	netbsd-7-base:1.27
	yamt-pagecache-base9:1.27
	yamt-pagecache-tag8:1.27
	netbsd-6-1-4-RELEASE:1.27
	netbsd-6-0-5-RELEASE:1.27
	tls-earlyentropy:1.27.0.20
	tls-earlyentropy-base:1.27
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.27
	riastradh-drm2-base3:1.27
	netbsd-6-1-3-RELEASE:1.27
	netbsd-6-0-4-RELEASE:1.27
	netbsd-5-2-2-RELEASE:1.25
	netbsd-5-1-4-RELEASE:1.25
	netbsd-6-1-2-RELEASE:1.27
	netbsd-6-0-3-RELEASE:1.27
	netbsd-5-2-1-RELEASE:1.25
	netbsd-5-1-3-RELEASE:1.25
	netbsd-6-1-1-RELEASE:1.27
	riastradh-drm2-base2:1.27
	riastradh-drm2-base1:1.27
	riastradh-drm2:1.27.0.14
	riastradh-drm2-base:1.27
	netbsd-6-1:1.27.0.18
	netbsd-6-0-2-RELEASE:1.27
	netbsd-6-1-RELEASE:1.27
	netbsd-6-1-RC4:1.27
	netbsd-6-1-RC3:1.27
	agc-symver:1.27.0.16
	agc-symver-base:1.27
	netbsd-6-1-RC2:1.27
	netbsd-6-1-RC1:1.27
	yamt-pagecache-base8:1.27
	netbsd-5-2:1.25.0.50
	netbsd-6-0-1-RELEASE:1.27
	yamt-pagecache-base7:1.27
	netbsd-5-2-RELEASE:1.25
	netbsd-5-2-RC1:1.25
	matt-nb6-plus-nbase:1.27
	yamt-pagecache-base6:1.27
	netbsd-6-0:1.27.0.12
	netbsd-6-0-RELEASE:1.27
	netbsd-6-0-RC2:1.27
	tls-maxphys:1.27.0.10
	tls-maxphys-base:1.27
	matt-nb6-plus:1.27.0.8
	matt-nb6-plus-base:1.27
	netbsd-6-0-RC1:1.27
	yamt-pagecache-base5:1.27
	yamt-pagecache-base4:1.27
	netbsd-6:1.27.0.6
	netbsd-6-base:1.27
	netbsd-5-1-2-RELEASE:1.25
	netbsd-5-1-1-RELEASE:1.25
	yamt-pagecache-base3:1.27
	yamt-pagecache-base2:1.27
	yamt-pagecache:1.27.0.4
	yamt-pagecache-base:1.27
	cherry-xenmp:1.27.0.2
	cherry-xenmp-base:1.27
	bouyer-quota2-nbase:1.26
	bouyer-quota2:1.26.0.2
	bouyer-quota2-base:1.26
	matt-mips64-premerge-20101231:1.26
	matt-nb5-mips64-premerge-20101231:1.25
	matt-nb5-pq3:1.25.0.48
	matt-nb5-pq3-base:1.25
	netbsd-5-1:1.25.0.46
	netbsd-5-1-RELEASE:1.25
	netbsd-5-1-RC4:1.25
	matt-nb5-mips64-k15:1.25
	netbsd-5-1-RC3:1.25
	netbsd-5-1-RC2:1.25
	netbsd-5-1-RC1:1.25
	netbsd-5-0-2-RELEASE:1.25
	matt-nb5-mips64-premerge-20091211:1.25
	matt-premerge-20091211:1.25
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.25
	matt-nb4-mips64-k7-u2a-k9b:1.25
	matt-nb5-mips64-u1-k1-k5:1.25
	matt-nb5-mips64:1.25.0.44
	netbsd-5-0-1-RELEASE:1.25
	jym-xensuspend-nbase:1.25
	netbsd-5-0:1.25.0.42
	netbsd-5-0-RELEASE:1.25
	netbsd-5-0-RC4:1.25
	netbsd-5-0-RC3:1.25
	netbsd-5-0-RC2:1.25
	jym-xensuspend:1.25.0.40
	jym-xensuspend-base:1.25
	netbsd-5-0-RC1:1.25
	netbsd-5:1.25.0.38
	netbsd-5-base:1.25
	matt-mips64-base2:1.25
	matt-mips64:1.25.0.36
	mjf-devfs2:1.25.0.34
	mjf-devfs2-base:1.25
	netbsd-4-0-1-RELEASE:1.25
	wrstuden-revivesa-base-3:1.25
	wrstuden-revivesa-base-2:1.25
	wrstuden-fixsa-newbase:1.25
	wrstuden-revivesa-base-1:1.25
	yamt-pf42-base4:1.25
	yamt-pf42-base3:1.25
	hpcarm-cleanup-nbase:1.25
	yamt-pf42-baseX:1.25
	yamt-pf42-base2:1.25
	wrstuden-revivesa:1.25.0.32
	wrstuden-revivesa-base:1.25
	yamt-pf42:1.25.0.30
	yamt-pf42-base:1.25
	keiichi-mipv6:1.25.0.28
	keiichi-mipv6-base:1.25
	matt-armv6-nbase:1.25
	matt-armv6-prevmlocking:1.25
	wrstuden-fixsa-base-1:1.25
	netbsd-4-0:1.25.0.26
	netbsd-4-0-RELEASE:1.25
	cube-autoconf:1.25.0.24
	cube-autoconf-base:1.25
	netbsd-4-0-RC5:1.25
	netbsd-4-0-RC4:1.25
	netbsd-4-0-RC3:1.25
	netbsd-4-0-RC2:1.25
	netbsd-4-0-RC1:1.25
	matt-armv6:1.25.0.22
	matt-armv6-base:1.25
	matt-mips64-base:1.25
	hpcarm-cleanup:1.25.0.20
	hpcarm-cleanup-base:1.25
	netbsd-3-1-1-RELEASE:1.25
	netbsd-3-0-3-RELEASE:1.25
	wrstuden-fixsa:1.25.0.18
	wrstuden-fixsa-base:1.25
	abandoned-netbsd-4-base:1.25
	abandoned-netbsd-4:1.25.0.12
	netbsd-3-1:1.25.0.14
	netbsd-3-1-RELEASE:1.25
	netbsd-3-0-2-RELEASE:1.25
	netbsd-3-1-RC4:1.25
	netbsd-3-1-RC3:1.25
	netbsd-3-1-RC2:1.25
	netbsd-3-1-RC1:1.25
	netbsd-4:1.25.0.16
	netbsd-4-base:1.25
	netbsd-3-0-1-RELEASE:1.25
	netbsd-3-0:1.25.0.10
	netbsd-3-0-RELEASE:1.25
	netbsd-3-0-RC6:1.25
	netbsd-3-0-RC5:1.25
	netbsd-3-0-RC4:1.25
	netbsd-3-0-RC3:1.25
	netbsd-3-0-RC2:1.25
	netbsd-3-0-RC1:1.25
	netbsd-2-0-3-RELEASE:1.25
	netbsd-2-1:1.25.0.8
	netbsd-2-1-RELEASE:1.25
	netbsd-2-1-RC6:1.25
	netbsd-2-1-RC5:1.25
	netbsd-2-1-RC4:1.25
	netbsd-2-1-RC3:1.25
	netbsd-2-1-RC2:1.25
	netbsd-2-1-RC1:1.25
	netbsd-2-0-2-RELEASE:1.25
	netbsd-3:1.25.0.6
	netbsd-3-base:1.25
	netbsd-2-0-1-RELEASE:1.25
	netbsd-2:1.25.0.4
	netbsd-2-base:1.25
	netbsd-2-0-RELEASE:1.25
	netbsd-2-0-RC5:1.25
	netbsd-2-0-RC4:1.25
	netbsd-2-0-RC3:1.25
	netbsd-2-0-RC2:1.25
	netbsd-2-0-RC1:1.25
	netbsd-2-0:1.25.0.2
	netbsd-2-0-base:1.25
	netbsd-1-6-PATCH002-RELEASE:1.24
	netbsd-1-6-PATCH002:1.24
	netbsd-1-6-PATCH002-RC4:1.24
	netbsd-1-6-PATCH002-RC3:1.24
	netbsd-1-6-PATCH002-RC2:1.24
	netbsd-1-6-PATCH002-RC1:1.24
	netbsd-1-6-PATCH001:1.24
	netbsd-1-6-PATCH001-RELEASE:1.24
	netbsd-1-6-PATCH001-RC3:1.24
	netbsd-1-6-PATCH001-RC2:1.24
	netbsd-1-6-PATCH001-RC1:1.24
	fvdl_fs64_base:1.25
	netbsd-1-6-RELEASE:1.24
	netbsd-1-6-RC3:1.24
	netbsd-1-6-RC2:1.24
	netbsd-1-6-RC1:1.24
	netbsd-1-6:1.24.0.2
	netbsd-1-6-base:1.24
	netbsd-1-5-PATCH003:1.21
	netbsd-1-5-PATCH002:1.21
	netbsd-1-5-PATCH001:1.21
	netbsd-1-5-RELEASE:1.21
	netbsd-1-5-BETA2:1.21
	netbsd-1-5-BETA:1.21
	netbsd-1-4-PATCH003:1.21
	netbsd-1-5-ALPHA2:1.21
	netbsd-1-5:1.21.0.8
	netbsd-1-5-base:1.21
	netbsd-1-4-PATCH002:1.21
	wrstuden-devbsize-19991221:1.21
	wrstuden-devbsize:1.21.0.6
	wrstuden-devbsize-base:1.21
	comdex-fall-1999:1.21.0.4
	comdex-fall-1999-base:1.21
	netbsd-1-4-PATCH001:1.21
	netbsd-1-4-RELEASE:1.21
	netbsd-1-4:1.21.0.2
	netbsd-1-4-base:1.21
	netbsd-1-3-PATCH003:1.15.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.15.2.2
	netbsd-1-3-PATCH003-CANDIDATE1:1.15.2.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.15.2.2
	netbsd-1-3-PATCH002:1.15.2.2
	netbsd-1-3-PATCH001:1.15.2.2
	netbsd-1-3-RELEASE:1.15.2.2
	netbsd-1-3-BETA:1.15.2.2
	netbsd-1-3:1.15.0.2
	netbsd-1-3-base:1.15
	fsf-bc-1-04:1.1.1.2
	fsf:1.1.1
	netbsd-1-2-PATCH001:1.9
	netbsd-1-2-RELEASE:1.9
	netbsd-1-2-BETA:1.9
	netbsd-1-2-base:1.9
	netbsd-1-2:1.9.0.6
	netbsd-1-1-PATCH001:1.9
	netbsd-1-1-RELEASE:1.9
	netbsd-1-1:1.9.0.2
	netbsd-1-1-base:1.9
	bc-1-03:1.1.1.1
	GNU-bc-1-03:1.1.1
	netbsd-1-0-PATCH06:1.8
	netbsd-1-0-PATCH05:1.8
	netbsd-1-0-PATCH04:1.8
	netbsd-1-0-PATCH03:1.8
	netbsd-1-0-PATCH02:1.8
	netbsd-1-0-PATCH1:1.8
	netbsd-1-0-PATCH0:1.8
	netbsd-1-0-RELEASE:1.8
	netbsd-1-0:1.8.0.2
	netbsd-1-0-base:1.8
	netbsd-0-9-RELEASE:1.3
	netbsd-0-9-BETA:1.3
	netbsd-0-9-ALPHA2:1.3
	netbsd-0-9-ALPHA:1.3
	netbsd-0-9:1.3.0.2
	netbsd-0-9-base:1.3
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2;
locks; strict;
comment	@# @;


1.28
date	2017.04.11.14.05.36;	author christos;	state dead;
branches;
next	1.27;
commitid	nRATRVLJZ1pBE7Nz;

1.27
date	2011.05.25.15.24.07;	author joerg;	state Exp;
branches
	1.27.26.1
	1.27.30.1;
next	1.26;

1.26
date	2010.02.03.15.34.39;	author roy;	state Exp;
branches;
next	1.25;

1.25
date	2002.09.19.03.09.33;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	2001.01.11.01.48.00;	author phil;	state Exp;
branches;
next	1.23;

1.23
date	2001.01.08.04.53.59;	author phil;	state Exp;
branches;
next	1.22;

1.22
date	2000.11.01.13.14.46;	author wiz;	state Exp;
branches;
next	1.21;

1.21
date	99.02.11.16.13.01;	author tv;	state Exp;
branches;
next	1.20;

1.20
date	99.01.18.04.12.15;	author simonb;	state Exp;
branches;
next	1.19;

1.19
date	99.01.16.05.57.47;	author simonb;	state Exp;
branches;
next	1.18;

1.18
date	98.04.09.00.32.33;	author tv;	state Exp;
branches;
next	1.17;

1.17
date	97.10.25.10.10.23;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	97.10.23.22.25.06;	author christos;	state Exp;
branches;
next	1.15;

1.15
date	97.05.14.03.58.13;	author phil;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	97.05.11.15.18.13;	author veego;	state Exp;
branches;
next	1.13;

1.13
date	97.05.09.14.07.03;	author mycroft;	state Exp;
branches;
next	1.12;

1.12
date	97.05.09.07.50.07;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	97.04.29.23.30.15;	author phil;	state Exp;
branches;
next	1.10;

1.10
date	97.04.29.00.28.51;	author phil;	state Exp;
branches;
next	1.9;

1.9
date	94.12.02.00.43.17;	author phil;	state Exp;
branches;
next	1.8;

1.8
date	94.03.11.20.25.06;	author phil;	state Exp;
branches;
next	1.7;

1.7
date	93.12.03.19.10.08;	author jtc;	state Exp;
branches;
next	1.6;

1.6
date	93.12.02.18.18.21;	author jtc;	state Exp;
branches;
next	1.5;

1.5
date	93.10.07.07.23.44;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.08.02.17.25.28;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.05.04.07.49.22;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.04.10.16.09.10;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.04.10.15.51.33;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.27.26.1
date	2017.04.26.02.52.54;	author pgoyette;	state dead;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.27.30.1
date	2017.04.21.16.53.06;	author bouyer;	state dead;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.15.2.1
date	97.11.08.06.52.47;	author lukem;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	97.11.09.22.31.44;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	94.12.01.04.24.14;	author phil;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.04.29.00.11.10;	author phil;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Bye gnu!

christos
@
text
@#	$NetBSD: Makefile,v 1.27 2011/05/25 15:24:07 joerg Exp $

.include <bsd.own.mk>

DIST=		${NETBSDSRCDIR}/gnu/dist

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 -funsigned-char -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
LFLAGS+=	-I8
LDADD+=		-ll -ledit -lterminfo
DPADD+=		${LIBL} ${LIBEDIT} ${LIBTERMINFO}
YHEADER=1

WARNS?=		0	# pointer sign issues

TEXINFO=	bc.texi

.PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc

.include <bsd.prog.mk>
@


1.27
log
@Set WARNS explicitly to 0.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2010/02/03 15:34:39 roy Exp $
@


1.27.26.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2011/05/25 15:24:07 joerg Exp $
@


1.27.30.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2011/05/25 15:24:07 joerg Exp $
@


1.26
log
@Userland now builds and uses terminfo instead of termcap.

OK: core@@, jdc@@
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2002/09/19 03:09:33 lukem Exp $
d16 2
@


1.25
log
@- use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2001/01/11 01:48:00 phil Exp $
d12 2
a13 2
LDADD+=		-ll -ledit -ltermcap
DPADD+=		${LIBL} ${LIBEDIT} ${LIBTERMCAP}
@


1.24
log
@Remove getopt{,1}.c from sources.  Use NetBSD's version.
@
text
@d1 5
a5 1
#	$NetBSD: Makefile,v 1.23 2001/01/08 04:53:59 phil Exp $
a17 1
DIST=		${.CURDIR}/../../dist
@


1.23
log
@Update for bc-1.06.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2000/11/01 13:14:46 wiz Exp $
d5 1
a5 1
		number.c scan.l storage.c util.c getopt.c getopt1.c
@


1.22
log
@Use NetBSD's getopt{,_long}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1999/02/11 16:13:01 tv Exp $
d5 2
a6 2
		number.c scan.l storage.c util.c
CPPFLAGS+=	-D_POSIX_SOURCE -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
d11 2
@


1.21
log
@Clean up.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/01/18 04:12:15 simonb Exp $
d4 1
a4 1
SRCS=		bc.y execute.c getopt.c getopt1.c global.c load.c main.c \
@


1.20
log
@Don't use the distributed yacc'd and lex'd files; build our own with
our own tools from the original .y/.l files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1999/01/16 05:57:47 simonb Exp $
d3 7
a9 9
TOP=	${.CURDIR}/../..
dist=	${TOP}/dist
srcdir=	${dist}/bc

PROG=	bc
CPPFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR} -I${srcdir}/bc -I${srcdir}/h
LFLAGS+=-I8
SRCS=	bc.y execute.c getopt.c getopt1.c global.c load.c main.c number.c \
	scan.l storage.c util.c
a10 2
LDADD+=	-ll -ledit -ltermcap
DPADD+=	${LIBL} ${LIBEDIT} ${LIBTERMCAP}
d12 2
a13 3
.PATH:	${srcdir}/bc
.PATH:	${srcdir}/lib
.PATH:	${srcdir}/doc
@


1.19
log
@Update bc to 1.05a and dc to 1.2, which source in src/gnu/dist/bc.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
CPPFLAGS+=-D_POSIX_SOURCE -I${.CURDIR} -I${srcdir}/bc -I${srcdir}/h
@


1.18
log
@.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
@
text
@d1 5
a5 1
#	$NetBSD: Makefile,v 1.17 1997/10/25 10:10:23 lukem Exp $
d8 1
a8 1
CPPFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
d14 5
a18 1
DPADD+=	${LIBL}
@


1.17
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/10/23 22:25:06 christos Exp $
d8 1
a10 7

CLEANFILES+= bc.h

bc.c bc.h: bc.y
	${YACC} -d ${.ALLSRC}
	mv y.tab.c bc.c
	mv y.tab.h bc.h
@


1.16
log
@PR/4301: Jaromir Dolecek: Enable readline, now that we emulate it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1997/05/14 03:58:13 phil Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
@


1.15
log
@Revert scan.l back to be identical to FSF master source.  Add rules
to Makefile to do proper build with original FSF source.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1997/05/11 15:18:13 veego Exp $
d8 1
a8 1
LDADD+=	-ll
@


1.15.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/10/25 10:10:23 lukem Exp $
d4 1
a4 1
CPPFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
d8 1
a8 1
LDADD+=	-ll -ledit -ltermcap
@


1.15.2.2
log
@backout part of last sync (it was too aggressive, and added some extra stuff
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15.2.1 1997/11/08 06:52:47 lukem Exp $
d8 1
a8 1
LDADD+=	-ll
@


1.14
log
@Add CLEANFILES for y.tab.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/05/09 14:07:03 mycroft Exp $
d11 6
a16 1
CLEANFILES+= y.tab.h
@


1.13
log
@Use DPSRCS.
Use the default build method for the grammar.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/05/09 07:50:07 mycroft Exp $
d10 2
@


1.12
log
@Eliminate bogus redefinitions of standard targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/04/29 23:30:15 phil Exp $
d6 2
a7 3
SRCS=	bc.c bc.h scan.c util.c main.c number.c storage.c load.c execute.c \
	global.c getopt.c getopt1.c

a9 7

CLEANFILES+= bc.c scan.c bc.h

bc.c bc.h: bc.y
	${YACC} -d ${.ALLSRC}
	mv y.tab.c bc.c
	mv y.tab.h bc.h
@


1.11
log
@Fix for make depend from Enami Tsugutomo (PR 3556).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/04/29 00:28:51 phil Exp $
d6 1
a6 1
SRCS=	bc.c scan.c util.c main.c number.c storage.c load.c execute.c \
a13 1
beforedepend: bc.h
@


1.10
log
@Cleanup for import of bc-1.04.  Removing many files not needed for bc-1.04.
Cleanup here due to a major reorganization of fsf tree and the desire
to keep the NetBSD tree as clean as possible.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1994/12/02 00:43:17 phil Exp $
d14 1
d16 1
a16 1
	$(YACC) -d bc.y
@


1.9
log
@Updating to 1.03 with RCS added to most .[chyl] files
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1994/03/11 20:25:06 phil Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -DDOT_IS_LAST -I. -I${.CURDIR}
d6 2
a7 1
SRCS=	bc.c scan.c util.c main.c number.c storage.c load.c execute.c global.c
d12 6
a17 1
CLEANFILES+= bc.c scan.c y.tab.h
@


1.8
log
@Adding the correct flex flags for an interactive scanner.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1993/12/03 19:10:08 jtc Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
d8 2
a9 2
LDADD+=	-ll -lgnumalloc
DPADD+=	${LIBL} /usr/lib/libgnumalloc.a
@


1.7
log
@With the new flex, we don't need this hack any more.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1993/12/02 18:18:21 jtc Exp $
d5 1
@


1.6
log
@All programs that use lex must link with -ll.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1993/10/07 07:23:44 cgd Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj -I${.CURDIR}
a10 7

bc.c: bc.c.dist y.tab.h
	cp ${.CURDIR}/bc.c.dist bc.c
scan.c: scan.c.dist
	cp ${.CURDIR}/scan.c.dist scan.c
y.tab.h: y.tab.h.dist
	cp ${.CURDIR}/y.tab.h.dist y.tab.h
@


1.5
log
@converted to use gnu malloc, and depend on it correctly
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1993/08/02 17:25:28 mycroft Exp $
d7 2
a8 2
LDADD+=	-lgnumalloc
DPADD+=	/usr/lib/libgnumalloc.a
@


1.4
log
@Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
@
text
@d1 1
a1 1
#	$Id: $
d6 4
@


1.3
log
@have compile use the scan.c, y.tab.h, and bc.c files as distributed,
rather than lex/yaccing them ourselves.  still don't know why these don't
get flexed right...
@
text
@d1 1
a1 1
# $Header: /b/source/CVS/src/gnu/usr.bin/bc-1.02/Makefile,v 1.2 1993/04/10 16:09:10 cgd Exp $
@


1.2
log
@fixed makefile bogons
@
text
@d1 1
a1 1
# $Header: /b/source/CVS/src/usr.gnubin/bc-1.02/Makefile,v 1.1 1993/04/10 15:51:33 cgd Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj
d7 7
@


1.1
log
@gnu bc.  necessary to compile the distribution
@
text
@d1 1
a1 1
# $Header: /b/source/CVS/src/gnulib/regex-0.12/Makefile,v 1.1 1993/04/08 01:11:28 cgd Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE
@


1.1.1.1
log
@Import of GNU bc-1.03
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1994/03/11 20:25:06 phil Exp $
d4 1
a4 2
CFLAGS+=-D_POSIX_SOURCE -DDOT_IS_LAST -I. -I${.CURDIR}
LFLAGS+=-I8
a5 4

LDADD+=	-ll
DPADD+=	${LIBL}

@


1.1.1.2
log
@Updating to version 1.04.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1994/12/02 00:43:17 phil Exp $
d4 1
a4 1
CFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
d6 1
a6 2
SRCS=	bc.c scan.c util.c main.c number.c storage.c load.c execute.c \
	global.c getopt.c getopt1.c
d11 1
a11 6
CLEANFILES+= bc.c scan.c bc.h

bc.c bc.h: bc.y
	$(YACC) -d bc.y
	mv y.tab.c bc.c
	mv y.tab.h bc.h
@
