head	1.15;
access;
symbols
	RELENG_8_4:1.14.0.2
	RELENG_9_1_0_RELEASE:1.8.2.1.4.2
	RELENG_9_1:1.8.2.1.0.4
	RELENG_9_1_BP:1.8.2.1
	RELENG_8_3_0_RELEASE:1.7.22.1.8.1
	RELENG_8_3:1.7.22.1.0.8
	RELENG_8_3_BP:1.7.22.1
	RELENG_9_0_0_RELEASE:1.8.2.1.2.1
	RELENG_9_0:1.8.2.1.0.2
	RELENG_9_0_BP:1.8.2.1
	RELENG_9:1.8.0.2
	RELENG_9_BP:1.8
	RELENG_7_4_0_RELEASE:1.7.26.1
	RELENG_8_2_0_RELEASE:1.7.22.1.6.1
	RELENG_7_4:1.7.0.26
	RELENG_7_4_BP:1.7
	RELENG_8_2:1.7.22.1.0.6
	RELENG_8_2_BP:1.7.22.1
	RELENG_8_1_0_RELEASE:1.7.22.1.4.1
	RELENG_8_1:1.7.22.1.0.4
	RELENG_8_1_BP:1.7.22.1
	RELENG_7_3_0_RELEASE:1.7.24.1
	RELENG_7_3:1.7.0.24
	RELENG_7_3_BP:1.7
	RELENG_8_0_0_RELEASE:1.7.22.1.2.1
	RELENG_8_0:1.7.22.1.0.2
	RELENG_8_0_BP:1.7.22.1
	RELENG_8:1.7.0.22
	RELENG_8_BP:1.7
	RELENG_7_2_0_RELEASE:1.7.20.1
	RELENG_7_2:1.7.0.20
	RELENG_7_2_BP:1.7
	RELENG_7_1_0_RELEASE:1.7.18.1
	RELENG_6_4_0_RELEASE:1.7.16.1
	RELENG_7_1:1.7.0.18
	RELENG_7_1_BP:1.7
	RELENG_6_4:1.7.0.16
	RELENG_6_4_BP:1.7
	RELENG_7_0_0_RELEASE:1.7
	RELENG_6_3_0_RELEASE:1.7
	RELENG_7_0:1.7.0.14
	RELENG_7_0_BP:1.7
	RELENG_6_3:1.7.0.12
	RELENG_6_3_BP:1.7
	RELENG_7:1.7.0.10
	RELENG_7_BP:1.7
	RELENG_6_2_0_RELEASE:1.7
	RELENG_6_2:1.7.0.8
	RELENG_6_2_BP:1.7
	RELENG_5_5_0_RELEASE:1.6
	RELENG_5_5:1.6.0.14
	RELENG_5_5_BP:1.6
	RELENG_6_1_0_RELEASE:1.7
	RELENG_6_1:1.7.0.6
	RELENG_6_1_BP:1.7
	RELENG_6_0_0_RELEASE:1.7
	RELENG_6_0:1.7.0.4
	RELENG_6_0_BP:1.7
	RELENG_6:1.7.0.2
	RELENG_6_BP:1.7
	RELENG_5_4_0_RELEASE:1.6
	RELENG_5_4:1.6.0.12
	RELENG_5_4_BP:1.6
	RELENG_4_11_0_RELEASE:1.2.12.1
	RELENG_4_11:1.2.12.1.0.10
	RELENG_4_11_BP:1.2.12.1
	RELENG_5_3_0_RELEASE:1.6
	RELENG_5_3:1.6.0.10
	RELENG_5_3_BP:1.6
	RELENG_5:1.6.0.8
	RELENG_5_BP:1.6
	RELENG_4_10_0_RELEASE:1.2.12.1
	RELENG_4_10:1.2.12.1.0.8
	RELENG_4_10_BP:1.2.12.1
	RELENG_5_2_1_RELEASE:1.6
	RELENG_5_2_0_RELEASE:1.6
	RELENG_5_2:1.6.0.6
	RELENG_5_2_BP:1.6
	RELENG_4_9_0_RELEASE:1.2.12.1
	RELENG_4_9:1.2.12.1.0.6
	RELENG_4_9_BP:1.2.12.1
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.4
	RELENG_5_1_BP:1.6
	RELENG_4_8_0_RELEASE:1.2.12.1
	RELENG_4_8:1.2.12.1.0.4
	RELENG_4_8_BP:1.2.12.1
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.2
	RELENG_5_0_BP:1.6
	RELENG_4_7_0_RELEASE:1.2.12.1
	RELENG_4_7:1.2.12.1.0.2
	RELENG_4_7_BP:1.2.12.1
	RELENG_4_6_2_RELEASE:1.2
	RELENG_4_6_1_RELEASE:1.2
	RELENG_4_6_0_RELEASE:1.2
	RELENG_4_6:1.2.0.20
	RELENG_4_6_BP:1.2
	cvs_20020426:1.1.1.3
	cvs_20020419:1.1.1.2
	OPENBSD:1.1.1
	RELENG_4_5_0_RELEASE:1.2
	RELENG_4_5:1.2.0.18
	RELENG_4_5_BP:1.2
	RELENG_4_4_0_RELEASE:1.2
	RELENG_4_4:1.2.0.16
	RELENG_4_4_BP:1.2
	RELENG_4_3_0_RELEASE:1.2
	RELENG_4_3:1.2.0.14
	RELENG_4_3_BP:1.2
	RELENG_4_2_0_RELEASE:1.2
	RELENG_4_1_1_RELEASE:1.2
	PRE_SMPNG:1.2
	RELENG_4_1_0_RELEASE:1.2
	RELENG_3_5_0_RELEASE:1.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.12
	RELENG_4_BP:1.2
	RELENG_3_4_0_RELEASE:1.2
	RELENG_3_3_0_RELEASE:1.2
	RELENG_3_2_PAO:1.2.0.10
	RELENG_3_2_PAO_BP:1.2
	RELENG_3_2_0_RELEASE:1.2
	RELENG_3_1_0_RELEASE:1.2
	RELENG_3:1.2.0.8
	RELENG_3_BP:1.2
	RELENG_2_2_8_RELEASE:1.2
	RELENG_3_0_0_RELEASE:1.2
	RELENG_2_2_7_RELEASE:1.2
	RELENG_2_2_6_RELEASE:1.2
	RELENG_2_2_5_RELEASE:1.2
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.2
	RELENG_2_2_1_RELEASE:1.2
	RELENG_2_2_0_RELEASE:1.2
	RELENG_2_1_7_RELEASE:1.2
	RELENG_2_1_6_1_RELEASE:1.2
	RELENG_2_1_6_RELEASE:1.2
	RELENG_2_2:1.2.0.6
	RELENG_2_2_BP:1.2
	RELENG_2_1_5_RELEASE:1.2
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.4
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.2
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.15
date	2013.04.20.00.35.21;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2013.01.01.18.26.42;	author svnexp;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2012.11.17.01.54.24;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.10.21.08.38.55;	author andreast;	state Exp;
branches;
next	1.11;

1.11
date	2011.12.18.23.54.32;	author dim;	state Exp;
branches;
next	1.10;

1.10
date	2011.11.28.13.32.39;	author bapt;	state Exp;
branches;
next	1.9;

1.9
date	2011.10.16.08.09.17;	author ed;	state Exp;
branches;
next	1.8;

1.8
date	2010.01.02.10.27.05;	author ed;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2005.01.28.16.08.07;	author ru;	state Exp;
branches
	1.7.2.1
	1.7.10.1
	1.7.16.1
	1.7.18.1
	1.7.20.1
	1.7.22.1
	1.7.24.1
	1.7.26.1;
next	1.6;

1.6
date	2002.05.01.21.37.29;	author jmallett;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.20.21.37.26;	author jmallett;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.20.01.49.10;	author jmallett;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.19.17.26.21;	author jmallett;	state Exp;
branches;
next	1.2;

1.2
date	95.05.30.06.31.30;	author rgrimes;	state Exp;
branches
	1.2.12.1;
next	1.1;

1.1
date	94.05.27.12.30.41;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.14.2.1
date	2013.01.01.18.26.42;	author svnexp;	state dead;
branches;
next	1.14.2.2;

1.14.2.2
date	2013.03.28.13.06.05;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.8.2.1.2.1
	1.8.2.1.4.1;
next	1.8.2.2;

1.8.2.2
date	2012.11.17.11.37.39;	author svnexp;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2013.12.12.16.01.46;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.8.2.1.2.2;

1.8.2.1.2.2
date	2012.11.17.08.37.35;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.8.2.1.4.2;

1.8.2.1.4.2
date	2012.11.17.08.48.27;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	2012.11.17.07.45.46;	author svnexp;	state Exp;
branches;
next	;

1.7.10.1
date	2012.11.17.08.08.33;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.7.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.7.22.1.2.1
	1.7.22.1.4.1
	1.7.22.1.6.1
	1.7.22.1.8.1;
next	1.7.22.2;

1.7.22.2
date	2012.11.17.10.37.17;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.7.22.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.7.22.1.8.2;

1.7.22.1.8.2
date	2012.11.17.08.25.50;	author svnexp;	state Exp;
branches;
next	;

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

1.7.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.7.26.2;

1.7.26.2
date	2012.11.17.08.17.43;	author svnexp;	state Exp;
branches;
next	;

1.2.12.1
date	2002.07.15.02.06.15;	author jmallett;	state Exp;
branches;
next	1.2.12.2;

1.2.12.2
date	2012.11.17.07.27.37;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.12.30.42;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.09.18.14.55.52;	author jmallett;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.05.01.21.36.06;	author jmallett;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249657
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	$OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $
# $FreeBSD: head/usr.bin/m4/Makefile 249657 2013-04-19 19:45:00Z ed $

# -DEXTENDED 
# 	if you want the paste & spaste macros.

PROG=	m4
CFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/lib
DPADD=	${LIBY} ${LIBL} ${LIBM}
LDADD=	-ly -ll -lm

NO_WMISSING_VARIABLE_DECLARATIONS=

SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l
.PATH: ${.CURDIR}/lib
SRCS+=	ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
	ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
	ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
	ohash_qlookupi.c

tokenizer.o: parser.h

CLEANFILES+=	parser.c parser.h tokenizer.o

.include <bsd.prog.mk>
@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244927
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/usr.bin/m4/Makefile 244927 2013-01-01 18:25:14Z antoine $
d11 2
a12 2
# clang needs 1 while with gcc we can use 2
#WARNS=	1
@


1.14.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:05 +0000
@
text
@d1 25
@


1.14.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 12
#	$OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $
# $FreeBSD: releng/8.4/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $

# -DEXTENDED 
# 	if you want the paste & spaste macros.

PROG=	m4
CFLAGS+=-DEXTENDED

SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c

.include <bsd.prog.mk>
@


1.13
log
@Switching exporter and resync
@
text
@d2 1
a2 1
# $FreeBSD: head/usr.bin/m4/Makefile 241797 2012-10-21 08:38:55Z andreast $
d9 1
@


1.12
log
@SVN rev 241797 on 2012-10-21 08:38:55Z by andreast

Fix build.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.11
log
@SVN rev 228698 on 2011-12-18 23:54:32Z by dim

Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.

Pointy hat to:	bapt
@
text
@d8 1
a8 1
CFLAGS+=-DEXTENDED -I${.CURDIR}/lib
@


1.10
log
@SVN rev 228063 on 2011-11-28 13:32:39Z by bapt

Synchronize with laster version of m4 from OpenBSD and NetBSD
This bring better compatibility with gnum4

Reviewed by:	cognet
Approved by:	cognet
Obtained from:	OpenBSD, NetBSD
@
text
@d9 1
a9 1
LDADD=	-ly -ll
@


1.9
log
@SVN rev 226422 on 2011-10-16 08:09:17Z by ed

Fix build of m4 with WARNS=6.

Change the parser; rename `exp' to `exponent' not to collide with exp(3).
@
text
@d8 4
a11 1
CFLAGS+=-DEXTENDED
d13 10
a22 1
SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c
@


1.8
log
@SVN rev 201386 on 2010-01-02 10:27:05Z by ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.
@
text
@a11 2
WARNS?=	0

@


1.8.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.bin/m4/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.8.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/259262
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.bin/m4/Makefile 259262 2013-12-12 15:04:59Z tijl $
d8 1
a8 5
CFLAGS+=-DEXTENDED -I${.CURDIR}/lib
DPADD=	${LIBY} ${LIBL} ${LIBM}
LDADD=	-ly -ll -lm
# clang needs 1 while with gcc we can use 2
#WARNS=	1
d10 1
a10 6
SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l
.PATH: ${.CURDIR}/lib
SRCS+=	ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
	ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
	ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
	ohash_qlookupi.c
d12 1
a12 3
tokenizer.o: parser.h

CLEANFILES+=	parser.c parser.h tokenizer.o
@


1.8.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/usr.bin/m4/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.8.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/usr.bin/m4/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.7
log
@Let bsd.prog.mk set SRCS and MAN to their default values.
@
text
@d12 2
@


1.7.10.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $
@


1.7.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $
@


1.7.26.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.7.26.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $
@


1.7.24.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.7.22.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.7.22.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
@d2 1
a2 1
# $FreeBSD: stable/8/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $
@


1.7.22.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.7.22.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/usr.bin/m4/Makefile 140941 2005-01-28 16:08:11Z ru $
@


1.7.22.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.7.22.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.7.22.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.7.20.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.7.18.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.7.16.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.6
log
@Merge local changes again, against ANSIfied m4(1).
@
text
@a10 1
MAN=	m4.1
@


1.5
log
@Use %zu to print a size_t, not %u and definitely not %d.

Remove WARNS?=2, as GCC will usually throw a fit right now, and I'm not going
to mix WARNS and NO_WERROR.

Submitted by:	fenner
@
text
@d1 1
a1 1
#	$OpenBSD: Makefile,v 1.8 2001/09/18 14:55:52 espie Exp $
@


1.4
log
@Crank WARNS.

Cast sizeof() to (int), as it's being compared against an int, not a size_t.
If i is changed to a size_t, it means the logic must be slightly changed later
in the flow, where --i is checked to be >= 0.  I am not sure I want to make a
logic change to account for clearing up a warning, when an aesthetic one will
keep from modifying the logic.

Other harmless casts, that I think I've made in the right directions.

Make gpbc() an inline function, rather than an obfuscated macro, make its
scratch space local, rather than global.  The previous macro used a dirty
hack (logical AND in place of a conditional) which would lead GCC to throw
a fit (rightly so) as the logical check, as well as the incrementation of
a variable, were not used for anything.

const'ify a few places where gcc3 yells. xstrdup() some global consts in
places where we xstrdup() when not using consts, but tried to assign them
to non-consts before.

Don't use execv(2) if we don't have the kind of arguments it wants.

Reviewed by:    asmodai obrien tjr
Submitted by:   tjr (a gcc3 build log)
@
text
@a10 1
WARNS?=	2
@


1.3
log
@Bring OpenBSD m4(1) off of the OPENBSD vendor branch, and add the -s option,
$FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function
as stderr is not the same in CURRENT as in OpenBSD.

Reviewed by:	obrien
@
text
@d11 1
@


1.2
log
@Remove trailing whitespace.
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
d4 1
a4 1
# -DEXTENDED
d9 3
a11 1
SRCS=	eval.c expr.c look.c main.c misc.c
@


1.2.12.1
log
@MFC: OpenBSD-derived m4(1).
@
text
@d1 1
a1 2
#	$OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $
# $FreeBSD$
d3 1
a3 1
# -DEXTENDED 
d8 1
a8 3

SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c
MAN=	m4.1
@


1.2.12.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.bin/m4/Makefile 100013 2002-07-15 02:06:15Z jmallett $
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# -DEXTENDED 
@


1.1.1.1
log
@BSD 4.4 Lite Usr.bin Sources
@
text
@@


1.1.1.2
log
@Import OpenBSD m4 as of today.
@
text
@d1 1
a1 1
#	$OpenBSD: Makefile,v 1.8 2001/09/18 14:55:52 espie Exp $
d8 1
a8 9
CDIAGFLAGS=-W -Wall -Wstrict-prototypes \
	-Wno-unused -Wno-char-subscripts -Wno-sign-compare
# No optimization for m88k
.if (${MACHINE_ARCH} == "m88k")
CFLAGS+=-O0
.endif

SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c
MAN=	m4.1
@


1.1.1.3
log
@Import OpenBSD m4(1) as of April 26.  Mostly ANSIfication changes.
@
text
@d1 1
a1 1
#	$OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $
d8 1
a8 1
CDIAGFLAGS=-W -Wall -Wstrict-prototypes -pedantic \
d10 4
@


