head	1.19;
access;
symbols
	netbsd-11-0-RC4:1.19
	netbsd-11-0-RC3:1.19
	netbsd-11-0-RC2:1.19
	netbsd-11-0-RC1:1.19
	perseant-exfatfs-base-20250801:1.19
	netbsd-11:1.19.0.30
	netbsd-11-base:1.19
	netbsd-10-1-RELEASE:1.19
	perseant-exfatfs-base-20240630:1.19
	perseant-exfatfs:1.19.0.28
	perseant-exfatfs-base:1.19
	netbsd-8-3-RELEASE:1.19
	netbsd-9-4-RELEASE:1.19
	netbsd-10-0-RELEASE:1.19
	netbsd-10-0-RC6:1.19
	netbsd-10-0-RC5:1.19
	netbsd-10-0-RC4:1.19
	netbsd-10-0-RC3:1.19
	netbsd-10-0-RC2:1.19
	netbsd-10-0-RC1:1.19
	netbsd-10:1.19.0.26
	netbsd-10-base:1.19
	netbsd-9-3-RELEASE:1.19
	cjep_sun2x-base1:1.19
	cjep_sun2x:1.19.0.24
	cjep_sun2x-base:1.19
	cjep_staticlib_x-base1:1.19
	netbsd-9-2-RELEASE:1.19
	cjep_staticlib_x:1.19.0.22
	cjep_staticlib_x-base:1.19
	netbsd-9-1-RELEASE:1.19
	phil-wifi-20200421:1.19
	phil-wifi-20200411:1.19
	is-mlppp:1.19.0.20
	is-mlppp-base:1.19
	phil-wifi-20200406:1.19
	netbsd-8-2-RELEASE:1.19
	netbsd-9-0-RELEASE:1.19
	netbsd-9-0-RC2:1.19
	netbsd-9-0-RC1:1.19
	phil-wifi-20191119:1.19
	netbsd-9:1.19.0.18
	netbsd-9-base:1.19
	phil-wifi-20190609:1.19
	netbsd-8-1-RELEASE:1.19
	netbsd-8-1-RC1:1.19
	pgoyette-compat-merge-20190127:1.19
	pgoyette-compat-20190127:1.19
	pgoyette-compat-20190118:1.19
	pgoyette-compat-1226:1.19
	pgoyette-compat-1126:1.19
	pgoyette-compat-1020:1.19
	pgoyette-compat-0930:1.19
	pgoyette-compat-0906:1.19
	netbsd-7-2-RELEASE:1.17
	pgoyette-compat-0728:1.19
	netbsd-8-0-RELEASE:1.19
	phil-wifi:1.19.0.16
	phil-wifi-base:1.19
	pgoyette-compat-0625:1.19
	netbsd-8-0-RC2:1.19
	pgoyette-compat-0521:1.19
	pgoyette-compat-0502:1.19
	pgoyette-compat-0422:1.19
	netbsd-8-0-RC1:1.19
	pgoyette-compat-0415:1.19
	pgoyette-compat-0407:1.19
	pgoyette-compat-0330:1.19
	pgoyette-compat-0322:1.19
	pgoyette-compat-0315:1.19
	netbsd-7-1-2-RELEASE:1.17
	pgoyette-compat:1.19.0.14
	pgoyette-compat-base:1.19
	netbsd-7-1-1-RELEASE:1.17
	matt-nb8-mediatek:1.19.0.12
	matt-nb8-mediatek-base:1.19
	perseant-stdc-iso10646:1.19.0.10
	perseant-stdc-iso10646-base:1.19
	netbsd-8:1.19.0.8
	netbsd-8-base:1.19
	prg-localcount2-base3:1.19
	prg-localcount2-base2:1.19
	prg-localcount2-base1:1.19
	prg-localcount2:1.19.0.6
	prg-localcount2-base:1.19
	pgoyette-localcount-20170426:1.19
	bouyer-socketcan-base1:1.19
	pgoyette-localcount-20170320:1.19
	netbsd-7-1:1.17.0.26
	netbsd-7-1-RELEASE:1.17
	netbsd-7-1-RC2:1.17
	netbsd-7-nhusb-base-20170116:1.17
	bouyer-socketcan:1.19.0.4
	bouyer-socketcan-base:1.19
	pgoyette-localcount-20170107:1.19
	netbsd-7-1-RC1:1.17
	pgoyette-localcount-20161104:1.19
	netbsd-7-0-2-RELEASE:1.17
	localcount-20160914:1.19
	netbsd-7-nhusb:1.17.0.24
	netbsd-7-nhusb-base:1.17
	pgoyette-localcount-20160806:1.19
	pgoyette-localcount-20160726:1.19
	pgoyette-localcount:1.19.0.2
	pgoyette-localcount-base:1.19
	netbsd-7-0-1-RELEASE:1.17
	netbsd-7-0:1.17.0.22
	netbsd-7-0-RELEASE:1.17
	netbsd-7-0-RC3:1.17
	netbsd-7-0-RC2:1.17
	netbsd-7-0-RC1:1.17
	netbsd-5-2-3-RELEASE:1.13
	netbsd-5-1-5-RELEASE:1.13
	netbsd-6-0-6-RELEASE:1.17
	netbsd-6-1-5-RELEASE:1.17
	netbsd-7:1.17.0.20
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.17
	yamt-pagecache-tag8:1.17
	netbsd-6-1-4-RELEASE:1.17
	netbsd-6-0-5-RELEASE:1.17
	tls-earlyentropy:1.17.0.18
	tls-earlyentropy-base:1.17
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.17
	riastradh-drm2-base3:1.17
	netbsd-6-1-3-RELEASE:1.17
	netbsd-6-0-4-RELEASE:1.17
	netbsd-5-2-2-RELEASE:1.13
	netbsd-5-1-4-RELEASE:1.13
	netbsd-6-1-2-RELEASE:1.17
	netbsd-6-0-3-RELEASE:1.17
	netbsd-5-2-1-RELEASE:1.13
	netbsd-5-1-3-RELEASE:1.13
	netbsd-6-1-1-RELEASE:1.17
	riastradh-drm2-base2:1.17
	riastradh-drm2-base1:1.17
	riastradh-drm2:1.17.0.12
	riastradh-drm2-base:1.17
	netbsd-6-1:1.17.0.16
	netbsd-6-0-2-RELEASE:1.17
	netbsd-6-1-RELEASE:1.17
	netbsd-6-1-RC4:1.17
	netbsd-6-1-RC3:1.17
	agc-symver:1.17.0.14
	agc-symver-base:1.17
	netbsd-6-1-RC2:1.17
	netbsd-6-1-RC1:1.17
	yamt-pagecache-base8:1.17
	netbsd-5-2:1.13.0.24
	netbsd-6-0-1-RELEASE:1.17
	yamt-pagecache-base7:1.17
	netbsd-5-2-RELEASE:1.13
	netbsd-5-2-RC1:1.13
	matt-nb6-plus-nbase:1.17
	yamt-pagecache-base6:1.17
	netbsd-6-0:1.17.0.10
	netbsd-6-0-RELEASE:1.17
	netbsd-6-0-RC2:1.17
	tls-maxphys:1.17.0.8
	tls-maxphys-base:1.17
	matt-nb6-plus:1.17.0.6
	matt-nb6-plus-base:1.17
	netbsd-6-0-RC1:1.17
	yamt-pagecache-base5:1.17
	yamt-pagecache-base4:1.17
	netbsd-6:1.17.0.4
	netbsd-6-base:1.17
	netbsd-5-1-2-RELEASE:1.13
	netbsd-5-1-1-RELEASE:1.13
	yamt-pagecache-base3:1.17
	yamt-pagecache-base2:1.17
	yamt-pagecache:1.17.0.2
	yamt-pagecache-base:1.17
	cherry-xenmp:1.15.0.4
	cherry-xenmp-base:1.15
	bouyer-quota2-nbase:1.15
	bouyer-quota2:1.15.0.2
	bouyer-quota2-base:1.15
	matt-mips64-premerge-20101231:1.15
	matt-nb5-mips64-premerge-20101231:1.13
	matt-nb5-pq3:1.13.0.22
	matt-nb5-pq3-base:1.13
	netbsd-5-1:1.13.0.20
	netbsd-5-1-RELEASE:1.13
	netbsd-5-1-RC4:1.13
	matt-nb5-mips64-k15:1.13
	netbsd-5-1-RC3:1.13
	netbsd-5-1-RC2:1.13
	netbsd-5-1-RC1:1.13
	netbsd-5-0-2-RELEASE:1.13
	matt-nb5-mips64-premerge-20091211:1.13
	matt-premerge-20091211:1.15
	OPENBSD20091026:1.1.1.3
	OPENBSD:1.1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13
	matt-nb4-mips64-k7-u2a-k9b:1.13
	matt-nb5-mips64-u1-k1-k5:1.13
	matt-nb5-mips64:1.13.0.18
	netbsd-5-0-1-RELEASE:1.13
	jym-xensuspend-nbase:1.14
	netbsd-5-0:1.13.0.16
	netbsd-5-0-RELEASE:1.13
	netbsd-5-0-RC4:1.13
	netbsd-5-0-RC3:1.13
	netbsd-5-0-RC2:1.13
	jym-xensuspend:1.13.0.14
	jym-xensuspend-base:1.14
	netbsd-5-0-RC1:1.13
	netbsd-5:1.13.0.12
	netbsd-5-base:1.13
	matt-mips64-base2:1.13
	matt-mips64:1.12.0.28
	mjf-devfs2:1.13.0.10
	mjf-devfs2-base:1.13
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.13
	wrstuden-revivesa-base-2:1.13
	wrstuden-fixsa-newbase:1.12
	wrstuden-revivesa-base-1:1.13
	yamt-pf42-base4:1.13
	yamt-pf42-base3:1.13
	hpcarm-cleanup-nbase:1.13
	yamt-pf42-baseX:1.13
	yamt-pf42-base2:1.13
	wrstuden-revivesa:1.13.0.8
	wrstuden-revivesa-base:1.13
	yamt-pf42:1.13.0.6
	yamt-pf42-base:1.13
	keiichi-mipv6-nbase:1.13
	keiichi-mipv6:1.13.0.4
	keiichi-mipv6-base:1.13
	matt-armv6-nbase:1.13
	matt-armv6-prevmlocking:1.12.24.1
	wrstuden-fixsa-base-1:1.12
	netbsd-4-0:1.12.0.26
	netbsd-4-0-RELEASE:1.12
	cube-autoconf:1.13.0.2
	cube-autoconf-base:1.13
	netbsd-4-0-RC5:1.12
	netbsd-4-0-RC4:1.12
	netbsd-4-0-RC3:1.12
	netbsd-4-0-RC2:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.24
	matt-armv6-base:1.13
	matt-mips64-base:1.12
	hpcarm-cleanup:1.12.0.22
	hpcarm-cleanup-base:1.13
	netbsd-3-1-1-RELEASE:1.12
	netbsd-3-0-3-RELEASE:1.12
	wrstuden-fixsa:1.12.0.20
	wrstuden-fixsa-base:1.12
	abandoned-netbsd-4-base:1.12
	abandoned-netbsd-4:1.12.0.14
	netbsd-3-1:1.12.0.16
	netbsd-3-1-RELEASE:1.12
	netbsd-3-0-2-RELEASE:1.12
	netbsd-3-1-RC4:1.12
	netbsd-3-1-RC3:1.12
	netbsd-3-1-RC2:1.12
	netbsd-3-1-RC1:1.12
	netbsd-4:1.12.0.18
	netbsd-4-base:1.12
	chap-midi-nbase:1.12
	netbsd-3-0-1-RELEASE:1.12
	chap-midi:1.12.0.12
	chap-midi-base:1.12
	netbsd-3-0:1.12.0.10
	netbsd-3-0-RELEASE:1.12
	netbsd-3-0-RC6:1.12
	netbsd-3-0-RC5:1.12
	netbsd-3-0-RC4:1.12
	netbsd-3-0-RC3:1.12
	netbsd-3-0-RC2:1.12
	netbsd-3-0-RC1:1.12
	netbsd-2-0-3-RELEASE:1.12
	netbsd-2-1:1.12.0.8
	netbsd-2-1-RELEASE:1.12
	netbsd-2-1-RC6:1.12
	netbsd-2-1-RC5:1.12
	netbsd-2-1-RC4:1.12
	netbsd-2-1-RC3:1.12
	netbsd-2-1-RC2:1.12
	netbsd-2-1-RC1:1.12
	netbsd-2-0-2-RELEASE:1.12
	netbsd-3:1.12.0.6
	netbsd-3-base:1.12
	netbsd-2-0-1-RELEASE:1.12
	netbsd-2:1.12.0.4
	netbsd-2-base:1.12
	netbsd-2-0-RELEASE:1.12
	netbsd-2-0-RC5:1.12
	netbsd-2-0-RC4:1.12
	netbsd-2-0-RC3:1.12
	netbsd-2-0-RC2:1.12
	netbsd-2-0-RC1:1.12
	netbsd-2-0:1.12.0.2
	netbsd-2-0-base:1.12
	netbsd-1-6-PATCH002-RELEASE:1.11
	netbsd-1-6-PATCH002:1.11
	netbsd-1-6-PATCH002-RC4:1.11
	netbsd-1-6-PATCH002-RC3:1.11
	netbsd-1-6-PATCH002-RC2:1.11
	netbsd-1-6-PATCH002-RC1:1.11
	netbsd-1-6-PATCH001:1.11
	netbsd-1-6-PATCH001-RELEASE:1.11
	netbsd-1-6-PATCH001-RC3:1.11
	netbsd-1-6-PATCH001-RC2:1.11
	netbsd-1-6-PATCH001-RC1:1.11
	fvdl_fs64_base:1.11
	netbsd-1-6-RELEASE:1.11
	netbsd-1-6-RC3:1.11
	netbsd-1-6-RC2:1.11
	netbsd-1-6-RC1:1.11
	netbsd-1-6:1.11.0.2
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.8.10.1
	netbsd-1-5-PATCH002:1.8.10.1
	netbsd-1-5-PATCH001:1.8.10.1
	netbsd-1-5-RELEASE:1.8.10.1
	netbsd-1-5-BETA2:1.8.10.1
	netbsd-1-5-BETA:1.8.10.1
	netbsd-1-4-PATCH003:1.8.2.1
	netbsd-1-5-ALPHA2:1.8
	netbsd-1-5:1.8.0.10
	netbsd-1-5-base:1.8
	minoura-xpg4dl-base:1.8
	minoura-xpg4dl:1.8.0.8
	netbsd-1-4-PATCH002:1.8
	wrstuden-devbsize-19991221:1.8
	wrstuden-devbsize:1.8.0.6
	wrstuden-devbsize-base:1.8
	comdex-fall-1999:1.8.0.4
	comdex-fall-1999-base:1.8
	netbsd-1-4-PATCH001:1.8
	netbsd-1-4-RELEASE:1.8
	netbsd-1-4:1.8.0.2
	netbsd-1-4-base:1.8
	netbsd-1-3-PATCH003:1.5.4.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.5.4.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.5.4.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.5.4.1
	netbsd-1-3-PATCH002:1.5.4.1
	netbsd-1-3-PATCH001:1.5.4.1
	netbsd-1-3-RELEASE:1.5.4.1
	netbsd-1-3-BETA:1.5.4.1
	netbsd-1-3:1.5.0.4
	netbsd-1-3-base:1.5
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	lite-2:1.1.1.2
	CSRG:1.1.1
	netbsd-1-0-PATCH06:1.4
	netbsd-1-0-PATCH05:1.4
	netbsd-1-0-PATCH04:1.4
	netbsd-1-0-PATCH03:1.4
	netbsd-1-0-PATCH02:1.4
	netbsd-1-0-PATCH1:1.4
	netbsd-1-0-PATCH0:1.4
	netbsd-1-0-RELEASE:1.4
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	netbsd-0-8:1.1.1.1
	netbsd-alpha-1:1.1.1.1
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2015.01.29.19.26.20;	author christos;	state Exp;
branches;
next	1.18;
commitid	wJmVZeF0aXLWeX7y;

1.18
date	2015.01.29.13.20.51;	author christos;	state Exp;
branches;
next	1.17;
commitid	2j2l29gXnWHBdV7y;

1.17
date	2011.08.14.12.59.25;	author christos;	state Exp;
branches;
next	1.16;

1.16
date	2011.06.22.05.23.53;	author mrg;	state Exp;
branches;
next	1.15;

1.15
date	2009.10.26.21.11.28;	author christos;	state Exp;
branches;
next	1.14;

1.14
date	2009.04.14.22.15.22;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	2007.10.05.07.36.45;	author lukem;	state Exp;
branches
	1.13.14.1;
next	1.12;

1.12
date	2003.05.18.07.57.35;	author lukem;	state Exp;
branches
	1.12.24.1;
next	1.11;

1.11
date	2001.11.14.14.22.09;	author tv;	state Exp;
branches;
next	1.10;

1.10
date	2001.11.14.06.16.07;	author tv;	state Exp;
branches;
next	1.9;

1.9
date	2000.10.11.14.46.11;	author is;	state Exp;
branches;
next	1.8;

1.8
date	98.09.01.03.16.48;	author enami;	state Exp;
branches
	1.8.2.1
	1.8.10.1;
next	1.7;

1.7
date	98.01.09.08.05.47;	author perry;	state Exp;
branches;
next	1.6;

1.6
date	97.10.24.09.00.45;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	94.12.22.12.30.16;	author cgd;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	94.06.19.03.58.22;	author glass;	state Exp;
branches;
next	1.3;

1.3
date	93.07.31.15.20.03;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.06.18.21.50.26;	author glass;	state Exp;
branches;
next	1.1;

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

1.13.14.1
date	2009.05.13.19.19.55;	author jym;	state Exp;
branches;
next	;

1.12.24.1
date	2007.11.06.23.35.47;	author matt;	state Exp;
branches;
next	;

1.8.2.1
date	2000.10.19.16.31.42;	author he;	state Exp;
branches;
next	;

1.8.10.1
date	2000.10.18.01.32.46;	author tv;	state Exp;
branches;
next	;

1.5.4.1
date	97.11.08.10.37.25;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.09.28.04.33.54;	author tls;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2009.10.26.21.08.58;	author christos;	state Exp;
branches;
next	;


desc
@@


1.19
log
@use strtoi instead of strtonum, since this is a tool.
@
text
@#	$NetBSD: Makefile,v 1.18 2015/01/29 13:20:51 christos Exp $
#
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93

# -DEXTENDED 
# 	if you want the paste & spaste macros.
.include <bsd.own.mk>

PROG=		m4
CPPFLAGS+=	-DEXTENDED -I${.CURDIR}/lib
SRCS=	parser.y tokenizer.l eval.c expr.c look.c main.c misc.c gnum4.c trace.c
.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
YHEADER=1
.if (${HOSTPROG:U} == "")
DPADD+=		${LIBUTIL} ${LIBL}
LDADD+=		-lutil -ll
.endif

tokenizer.o: parser.h

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

.include <bsd.prog.mk>
@


1.18
log
@latent strtonum removal.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2011/08/14 12:59:25 christos Exp $
a10 1
CPPFLAGS+=	-D_OPENBSD_SOURCE
@


1.17
log
@kill gcc-4.5 warning
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2011/06/22 05:23:53 mrg Exp $
d11 1
d17 1
a17 1
	ohash_qlookupi.c strtonum.c
@


1.16
log
@apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.

this should be looked at more closely.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2009/10/26 21:11:28 christos Exp $
a27 5

# XXX
.if ${HAVE_GCC} == 45
COPTS.main.c+=	-Wno-error
.endif
@


1.15
log
@resolve conflicts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2009/04/14 22:15:22 lukem Exp $
d28 5
@


1.14
log
@Enable WARNS=4 by default for usr.bin, except for:
	awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2007/10/05 07:36:45 lukem Exp $
d7 1
a7 2

WARNS?=	1		# XXX: -Wcast-qual -Wshadow issues
d10 8
a17 3
CPPFLAGS+=	-DEXTENDED -Dunix
SRCS=		eval.c expr.c gnum4.c look.c main.c misc.c trace.c

d19 2
a20 2
DPADD+=		${LIBUTIL}
LDADD+=		-lutil
d23 4
@


1.13
log
@Convert to using raise_default_signal(3).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2003/05/18 07:57:35 lukem Exp $
d8 2
a18 2
WARNS=1

@


1.13.14.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2009/04/14 22:15:22 lukem Exp $
a7 2
WARNS?=	1		# XXX: -Wcast-qual -Wshadow issues

d17 2
@


1.12
log
@Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2001/11/14 14:22:09 tv Exp $
d12 5
@


1.12.24.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2007/10/05 07:36:45 lukem Exp $
a11 5
.if (${HOSTPROG:U} == "")
DPADD+=		${LIBUTIL}
LDADD+=		-lutil
.endif

@


1.11
log
@Make this buildable as a reachover host tool.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2001/11/14 06:16:07 tv Exp $
a13 1
.ifndef HOSTPROG
a14 1
.endif
@


1.10
log
@Pull in various changes from OpenBSD, most from Marc Espie, including:
* Provide some GNUisms as extensions.
* Provide dynamically growable string space.
* Make define(defn(foo)) work correctly for builtins.
(The current version is supposed to be capable of satisfying autoconf.)

All still relevant NetBSD changes have been preserved in this version, and
formatting and style fixes have been applied in various places.

Thanks to Masao Uebayashi <uebayasi@@soum.co.jp> for pointing this out.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/10/11 14:46:11 is Exp $
d14 1
d16 1
@


1.9
log
@More format string cleanup by sommerfeld.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1998/09/01 03:16:48 enami Exp $
d8 6
a13 4
PROG=	m4
CPPFLAGS+=-DEXTENDED -Dunix
SRCS=	eval.c expr.c look.c main.c misc.c
MAN=	m4.1
@


1.8
log
@add -Dunix to CPPFLAGS to suppress cpp warning.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1998/01/09 08:05:47 perry Exp $
a11 1

@


1.8.2.1
log
@Pull up revision 1.9 (requested by he):
  Format string cleanup.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
@


1.8.10.1
log
@Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/10/11 14:46:11 is Exp $
d12 1
@


1.7
log
@RCS Id Police.
@
text
@d1 1
a1 1
#	$NetBSD$
d9 1
a9 1
CPPFLAGS+=-DEXTENDED
@


1.6
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 2
@


1.5
log
@specify man pages the new way.
@
text
@d7 1
a7 1
CFLAGS+=-DEXTENDED
@


1.5.4.1
log
@sync with trunk (approved by thorpej)
@
text
@d7 1
a7 1
CPPFLAGS+=-DEXTENDED
@


1.4
log
@upgrade to 4.4-lite m4.  no local changes of note
@
text
@d9 1
a9 1
MAN1=	m4.0
@


1.3
log
@Add RCS indentifiers.
@
text
@d1 4
a4 5
#	from: @@(#)Makefile	5.7.1.1 (Berkeley) 5/8/91
#	$Id: $
#
#	-DEXTENDED 
#		if you want the paste & spaste macros.
d8 2
a9 2
SRCS =  expr.c int2str.c look.c main.c misc.c serv.c
MAN1 =  m4.0
@


1.2
log
@baseline of new version of m4 supplied by Ozan Yigit, original author
of the broken m4 we had.  This is his stuff virgin + our Makefile.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.7.1.1 (Berkeley) 5/8/91
@


1.1
log
@Initial revision
@
text
@d8 2
a9 2
SRCS =  main.c eval.c serv.c look.c misc.c expr.c
NOMAN=	noman
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@imported from 44lite2
@
text
@d1 4
a4 4
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93

# -DEXTENDED 
# 	if you want the paste & spaste macros.
d8 2
a9 1
SRCS=	eval.c expr.c look.c main.c misc.c
@


1.1.1.3
log
@Import new m4 from OpenBSD.
@
text
@d1 1
a1 1
#	$OpenBSD: Makefile,v 1.11 2004/05/12 21:17:03 espie Exp $
d7 2
a8 16
CFLAGS+=-DEXTENDED -I.
CDIAGFLAGS=-W -Wall -Wstrict-prototypes -pedantic \
	-Wno-unused -Wno-char-subscripts -Wno-sign-compare

LDADD= -ly -ll
DPADD= ${LIBY} ${LIBL}

SRCS=	eval.c expr.c look.c main.c misc.c gnum4.c trace.c tokenizer.l parser.y
MAN=	m4.1

parser.c parser.h: parser.y
	${YACC} -d ${.ALLSRC} && mv y.tab.c parser.c && mv y.tab.h parser.h

tokenizer.o: parser.h

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

