head	1.30;
access;
symbols
	perseant-exfatfs-base-20250801:1.30
	perseant-exfatfs-base-20240630:1.30
	perseant-exfatfs:1.30.0.20
	perseant-exfatfs-base:1.30
	cjep_sun2x:1.30.0.18
	cjep_sun2x-base:1.30
	cjep_staticlib_x-base1:1.30
	cjep_staticlib_x:1.30.0.16
	cjep_staticlib_x-base:1.30
	phil-wifi-20200421:1.30
	phil-wifi-20200411:1.30
	phil-wifi-20200406:1.30
	pgoyette-compat-merge-20190127:1.30
	pgoyette-compat-20190127:1.30
	pgoyette-compat-20190118:1.30
	pgoyette-compat-1226:1.30
	pgoyette-compat-1126:1.30
	pgoyette-compat-1020:1.30
	pgoyette-compat-0930:1.30
	pgoyette-compat-0906:1.30
	pgoyette-compat-0728:1.30
	pgoyette-compat-0625:1.30
	pgoyette-compat-0521:1.30
	pgoyette-compat-0502:1.30
	pgoyette-compat-0422:1.30
	pgoyette-compat-0415:1.30
	pgoyette-compat-0407:1.30
	pgoyette-compat-0330:1.30
	pgoyette-compat-0322:1.30
	pgoyette-compat-0315:1.30
	pgoyette-compat:1.30.0.14
	pgoyette-compat-base:1.30
	perseant-stdc-iso10646:1.30.0.12
	perseant-stdc-iso10646-base:1.30
	prg-localcount2-base3:1.30
	prg-localcount2-base2:1.30
	prg-localcount2-base1:1.30
	prg-localcount2:1.30.0.10
	prg-localcount2-base:1.30
	pgoyette-localcount-20170426:1.30
	bouyer-socketcan-base1:1.30
	pgoyette-localcount-20170320:1.30
	bouyer-socketcan:1.30.0.8
	bouyer-socketcan-base:1.30
	pgoyette-localcount-20170107:1.30
	pgoyette-localcount-20161104:1.30
	localcount-20160914:1.30
	pgoyette-localcount-20160806:1.30
	pgoyette-localcount-20160726:1.30
	pgoyette-localcount:1.30.0.6
	pgoyette-localcount-base:1.30
	netbsd-5-2-3-RELEASE:1.28
	netbsd-5-1-5-RELEASE:1.28
	netbsd-6-0-6-RELEASE:1.29.8.1
	netbsd-6-1-5-RELEASE:1.29.8.1
	yamt-pagecache-base9:1.30
	yamt-pagecache-tag8:1.29.6.1
	netbsd-6-1-4-RELEASE:1.29.8.1
	netbsd-6-0-5-RELEASE:1.29.8.1
	tls-earlyentropy:1.30.0.2
	tls-earlyentropy-base:1.30
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.30
	riastradh-drm2-base3:1.30
	netbsd-6-1-3-RELEASE:1.29.8.1
	netbsd-6-0-4-RELEASE:1.29.8.1
	netbsd-5-2-2-RELEASE:1.28
	netbsd-5-1-4-RELEASE:1.28
	netbsd-6-1-2-RELEASE:1.29.8.1
	netbsd-6-0-3-RELEASE:1.29.8.1
	netbsd-5-2-1-RELEASE:1.28
	netbsd-5-1-3-RELEASE:1.28
	netbsd-6-1-1-RELEASE:1.29.8.1
	netbsd-6-1:1.29.8.1.0.4
	netbsd-6-0-2-RELEASE:1.29.8.1
	netbsd-6-1-RELEASE:1.29.8.1
	netbsd-6-1-RC4:1.29.8.1
	netbsd-6-1-RC3:1.29.8.1
	agc-symver:1.30.0.4
	agc-symver-base:1.30
	netbsd-6-1-RC2:1.29.8.1
	tls-maxphys-base:1.30
	netbsd-6-1-RC1:1.29.8.1
	yamt-pagecache-base8:1.30
	netbsd-5-2:1.28.0.36
	netbsd-6-0-1-RELEASE:1.29.8.1
	yamt-pagecache-base7:1.30
	netbsd-5-2-RELEASE:1.28
	netbsd-5-2-RC1:1.28
	yamt-pagecache-base6:1.30
	netbsd-6-0:1.29.8.1.0.2
	netbsd-6-0-RELEASE:1.29.8.1
	netbsd-6-0-RC2:1.29.8.1
	netbsd-6-0-RC1:1.29.8.1
	yamt-pagecache-base5:1.30
	yamt-pagecache-base4:1.30
	netbsd-6:1.29.0.8
	netbsd-6-base:1.29
	netbsd-5-1-2-RELEASE:1.28
	netbsd-5-1-1-RELEASE:1.28
	yamt-pagecache-base3:1.29
	yamt-pagecache-base2:1.29
	yamt-pagecache:1.29.0.6
	yamt-pagecache-base:1.29
	cherry-xenmp:1.29.0.4
	cherry-xenmp-base:1.29
	bouyer-quota2-nbase:1.29
	bouyer-quota2:1.29.0.2
	bouyer-quota2-base:1.29
	matt-mips64-premerge-20101231:1.29
	matt-nb5-mips64-premerge-20101231:1.28
	matt-nb5-pq3:1.28.0.34
	matt-nb5-pq3-base:1.28
	netbsd-5-1:1.28.0.32
	WJF-920714:1.1.1
	netbsd-5-1-RELEASE:1.28
	netbsd-5-1-RC4:1.28
	matt-nb5-mips64-k15:1.28
	netbsd-5-1-RC3:1.28
	netbsd-5-1-RC2:1.28
	netbsd-5-1-RC1:1.28
	netbsd-5-0-2-RELEASE:1.28
	matt-nb5-mips64-premerge-20091211:1.28
	matt-premerge-20091211:1.29
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.28
	matt-nb4-mips64-k7-u2a-k9b:1.28
	matt-nb5-mips64-u1-k1-k5:1.28
	matt-nb5-mips64:1.28.0.30
	netbsd-5-0-1-RELEASE:1.28
	jym-xensuspend-nbase:1.29
	netbsd-5-0:1.28.0.28
	netbsd-5-0-RELEASE:1.28
	netbsd-5-0-RC4:1.28
	netbsd-5-0-RC3:1.28
	netbsd-5-0-RC2:1.28
	jym-xensuspend:1.28.0.26
	jym-xensuspend-base:1.29
	netbsd-5-0-RC1:1.28
	netbsd-5:1.28.0.24
	netbsd-5-base:1.28
	matt-mips64-base2:1.28
	matt-mips64:1.28.0.22
	mjf-devfs2:1.28.0.20
	mjf-devfs2-base:1.28
	netbsd-4-0-1-RELEASE:1.28
	wrstuden-revivesa-base-3:1.28
	wrstuden-revivesa-base-2:1.28
	wrstuden-fixsa-newbase:1.28
	wrstuden-revivesa-base-1:1.28
	yamt-pf42-base4:1.28
	yamt-pf42-base3:1.28
	hpcarm-cleanup-nbase:1.28
	yamt-pf42-baseX:1.28
	yamt-pf42-base2:1.28
	wrstuden-revivesa:1.28.0.18
	wrstuden-revivesa-base:1.28
	yamt-pf42:1.28.0.16
	yamt-pf42-base:1.28
	keiichi-mipv6-nbase:1.28
	keiichi-mipv6:1.28.0.14
	keiichi-mipv6-base:1.28
	matt-armv6-nbase:1.28
	matt-armv6-prevmlocking:1.28
	wrstuden-fixsa-base-1:1.28
	netbsd-4-0:1.28.0.12
	netbsd-4-0-RELEASE:1.28
	cube-autoconf:1.28.0.10
	cube-autoconf-base:1.28
	netbsd-4-0-RC5:1.28
	netbsd-4-0-RC4:1.28
	netbsd-4-0-RC3:1.28
	netbsd-4-0-RC2:1.28
	netbsd-4-0-RC1:1.28
	matt-armv6:1.28.0.8
	matt-armv6-base:1.28
	matt-mips64-base:1.28
	hpcarm-cleanup:1.28.0.6
	hpcarm-cleanup-base:1.28
	netbsd-3-1-1-RELEASE:1.27
	netbsd-3-0-3-RELEASE:1.27
	wrstuden-fixsa:1.28.0.4
	wrstuden-fixsa-base:1.28
	abandoned-netbsd-4-base:1.27
	abandoned-netbsd-4:1.27.0.14
	netbsd-3-1:1.27.0.16
	netbsd-3-1-RELEASE:1.27
	netbsd-3-0-2-RELEASE:1.27
	netbsd-3-1-RC4:1.27
	netbsd-3-1-RC3:1.27
	netbsd-3-1-RC2:1.27
	netbsd-3-1-RC1:1.27
	netbsd-4:1.28.0.2
	netbsd-4-base:1.28
	chap-midi-nbase:1.27
	netbsd-3-0-1-RELEASE:1.27
	chap-midi:1.27.0.12
	chap-midi-base:1.27
	netbsd-3-0:1.27.0.10
	netbsd-3-0-RELEASE:1.27
	netbsd-3-0-RC6:1.27
	netbsd-3-0-RC5:1.27
	netbsd-3-0-RC4:1.27
	netbsd-3-0-RC3:1.27
	netbsd-3-0-RC2:1.27
	netbsd-3-0-RC1:1.27
	netbsd-2-0-3-RELEASE:1.27
	netbsd-2-1:1.27.0.8
	netbsd-2-1-RELEASE:1.27
	netbsd-2-1-RC6:1.27
	netbsd-2-1-RC5:1.27
	netbsd-2-1-RC4:1.27
	netbsd-2-1-RC3:1.27
	netbsd-2-1-RC2:1.27
	netbsd-2-1-RC1:1.27
	netbsd-2-0-2-RELEASE:1.27
	netbsd-3:1.27.0.6
	netbsd-3-base:1.27
	netbsd-2-0-1-RELEASE:1.27
	netbsd-2:1.27.0.4
	netbsd-2-base:1.27
	netbsd-2-0-RELEASE:1.27
	netbsd-2-0-RC5:1.27
	netbsd-2-0-RC4:1.27
	netbsd-2-0-RC3:1.27
	netbsd-2-0-RC2:1.27
	netbsd-2-0-RC1:1.27
	netbsd-2-0:1.27.0.2
	netbsd-2-0-base:1.27
	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.24
	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.19.10.1
	netbsd-1-5-PATCH002:1.19.10.1
	netbsd-1-5-PATCH001:1.19.10.1
	netbsd-1-5-RELEASE:1.19.10.1
	netbsd-1-5-BETA2:1.19.10.1
	netbsd-1-5-BETA:1.19.10.1
	netbsd-1-4-PATCH003:1.19.2.1
	netbsd-1-5-ALPHA2:1.19
	netbsd-1-5:1.19.0.10
	netbsd-1-5-base:1.19
	minoura-xpg4dl-base:1.19
	minoura-xpg4dl:1.19.0.8
	netbsd-1-4-PATCH002:1.19
	wrstuden-devbsize-19991221:1.19
	wrstuden-devbsize:1.19.0.6
	wrstuden-devbsize-base:1.19
	comdex-fall-1999:1.19.0.4
	comdex-fall-1999-base:1.19
	netbsd-1-4-PATCH001:1.19
	netbsd-1-4-RELEASE:1.19
	netbsd-1-4:1.19.0.2
	netbsd-1-4-base:1.19
	netbsd-1-3-PATCH003:1.16.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.16.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.16.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.16.2.1
	netbsd-1-3-PATCH002:1.16.2.1
	netbsd-1-3-PATCH001:1.16.2.1
	netbsd-1-3-RELEASE:1.16.2.1
	netbsd-1-3-BETA:1.16.2.1
	netbsd-1-3:1.16.0.2
	netbsd-1-3-base:1.16
	netbsd-1-2-PATCH001:1.12
	netbsd-1-2-RELEASE:1.12
	netbsd-1-2-BETA:1.12
	netbsd-1-2:1.12.0.4
	netbsd-1-2-base:1.12
	netbsd-1-1-PATCH001:1.11
	netbsd-1-1-RELEASE:1.11
	netbsd-1-1:1.11.0.2
	netbsd-1-1-base:1.11
	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;
locks; strict;
comment	@# @;


1.30
date	2012.02.18.16.05.21;	author christos;	state dead;
branches;
next	1.29;

1.29
date	2009.04.14.22.15.22;	author lukem;	state Exp;
branches
	1.29.6.1
	1.29.8.1;
next	1.28;

1.28
date	2006.10.08.17.52.29;	author peter;	state Exp;
branches
	1.28.26.1;
next	1.27;

1.27
date	2003.10.21.10.01.22;	author lukem;	state Exp;
branches;
next	1.26;

1.26
date	2003.10.19.04.25.29;	author lukem;	state Exp;
branches;
next	1.25;

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

1.24
date	2002.01.30.21.07.35;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	2001.11.12.19.32.08;	author tv;	state Exp;
branches;
next	1.22;

1.22
date	2001.09.22.05.39.22;	author tv;	state Exp;
branches;
next	1.21;

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

1.20
date	2000.10.11.14.46.10;	author is;	state Exp;
branches;
next	1.19;

1.19
date	98.04.09.00.32.37;	author tv;	state Exp;
branches
	1.19.2.1
	1.19.10.1;
next	1.18;

1.18
date	98.02.22.12.08.33;	author christos;	state Exp;
branches;
next	1.17;

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

1.16
date	97.10.19.03.54.42;	author lukem;	state Exp;
branches
	1.16.2.1;
next	1.15;

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

1.14
date	96.12.10.07.18.38;	author mikel;	state Exp;
branches;
next	1.13;

1.13
date	96.10.18.06.16.10;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	96.04.25.01.23.37;	author jtc;	state Exp;
branches;
next	1.11;

1.11
date	95.05.05.05.35.10;	author jtc;	state Exp;
branches;
next	1.10;

1.10
date	94.12.22.12.30.07;	author cgd;	state Exp;
branches;
next	1.9;

1.9
date	94.08.17.17.15.26;	author jtc;	state Exp;
branches;
next	1.8;

1.8
date	94.06.02.23.40.06;	author jtc;	state Exp;
branches;
next	1.7;

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

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

1.5
date	93.12.02.19.17.26;	author jtc;	state Exp;
branches;
next	1.4;

1.4
date	93.10.07.07.25.46;	author cgd;	state Exp;
branches;
next	1.3;

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

1.2
date	93.04.03.00.53.37;	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.29.6.1
date	2012.04.17.00.09.34;	author yamt;	state dead;
branches;
next	;

1.29.8.1
date	2012.02.23.02.11.49;	author riz;	state dead;
branches;
next	;

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

1.19.2.1
date	2000.10.19.16.31.34;	author he;	state Exp;
branches;
next	;

1.19.10.1
date	2000.10.18.01.32.45;	author tv;	state Exp;
branches;
next	;

1.16.2.1
date	97.11.08.10.37.18;	author lukem;	state Exp;
branches;
next	;

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


desc
@@


1.30
log
@this has not been used for ages.
@
text
@#	from: @@(#)Makefile	5.4 (Berkeley) 6/24/90
#	$NetBSD: Makefile,v 1.29 2009/04/14 22:15:22 lukem Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given.  If you want it to always generate 8-bit scanners, add
# "-DDEFAULT_CSIZE=256" to CPPFLAGS.  Note that doing so will double the size
# of all uncompressed scanners.
# 
# If on your system you have trouble building flex due to 8-bit character
# problems, remove the -8 from FLEX_FLAGS and the "#define FLEX_8_BIT_CHARS"
# from the beginning of flexdef.h.
#
# To bootstrap lex, cp initscan.c to scan.c and run make.

WARNS?=	1	# XXX many -Wshadow -Wcast-qual issues

PROG=	lex
CPPFLAGS+=-I. -I${.CURDIR}
SRCS=	ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y sym.c tblcmp.c \
	yylex.c scan.c skel.c
YHEADER=1
CLEANFILES+=scan.c skel.c
INCS	=FlexLexer.h
INCSDIR=/usr/include/g++

MAN = flex.1

LINKS=	${BINDIR}/lex ${BINDIR}/flex \
	${BINDIR}/lex ${BINDIR}/flex++
MLINKS=	flex.1 lex.1 

skel.c:	mkskel.sh flex.skl
	${_MKTARGET_CREATE}
	${HOST_SH} ${.ALLSRC} >${.TARGET}

.ifndef HOSTPROG
scan.c: scan.l
	${_MKTARGET_LEX}
	${LEX} -t -p ${.ALLSRC} >${.TARGET}
.endif

scan.o yylex.o: parse.h

.include <bsd.prog.mk>
@


1.29
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
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.28 2006/10/08 17:52:29 peter Exp $
@


1.29.6.1
log
@sync with head
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.29 2009/04/14 22:15:22 lukem Exp $
@


1.29.8.1
log
@Pull up following revision(s) (requested by tron in ticket #19):
	usr.bin/lex/version.h: file removal
	usr.bin/lex/main.c: file removal
	usr.bin/lex/libmain.c: file removal
	usr.bin/lex/COPYING: file removal
	usr.bin/lex/misc.c: file removal
	usr.bin/lex/Makefile: file removal
	usr.bin/lex/dfa.c: file removal
	tools/compat/Makefile: revision 1.56
	external/bsd/flex/dist/libmain.c: revision 1.2
	usr.bin/lex/flexdef.h: file removal
	usr.bin/lex/flex.1: file removal
	usr.bin/lex/ecs.c: file removal
	usr.bin/lex/FlexLexer.h: file removal
	usr.bin/lex/libyywrap.c: file removal
	usr.bin/lex/config.h: file removal
	usr.bin/lex/ccl.c: file removal
	usr.bin/lex/NEWS: file removal
	usr.bin/lex/flex.skl: file removal
	usr.bin/lex/scan.l: file removal
	usr.bin/lex/gen.c: file removal
	usr.bin/lex/yylex.c: file removal
	usr.bin/lex/VERSION: file removal
	usr.bin/lex/initscan.c: file removal
	usr.bin/lex/sym.c: file removal
	usr.bin/lex/tblcmp.c: file removal
	usr.bin/lex/nfa.c: file removal
	usr.bin/lex/mkskel.sh: file removal
	external/bsd/flex/dist/libyywrap.c: revision 1.2
	usr.bin/lex/parse.y: file removal
this has not been used for ages.
Adjust libyywrap.c location.
fix prototypes
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.29 2009/04/14 22:15:22 lukem Exp $
@


1.28
log
@WFORMAT is no more...
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.27 2003/10/21 10:01:22 lukem Exp $
d15 2
@


1.28.26.1
log
@Sync with HEAD.

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

@


1.27
log
@Rework how MAKEVERBOSE operates:

    *	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.26 2003/10/19 04:25:29 lukem Exp $
a20 1
WFORMAT= 1
@


1.26
log
@support MAKEVERBOSE and use ${HOST_SH}
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.25 2003/05/18 07:57:34 lukem Exp $
d32 1
a32 2
	${_MKMSGCREATE}
	${_MKCMD}\
d37 1
a37 2
	${_MKMSGLEX}
	${_MKCMD}\
@


1.25
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
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.24 2002/01/30 21:07:35 tv Exp $
d32 3
a34 1
	sh ${.ALLSRC} >${.TARGET}
d38 2
@


1.24
log
@Remove extraneous linkage to -ll.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.23 2001/11/12 19:32:08 tv Exp $
a40 1
.ifndef HOSTPROG
a41 1
.endif
@


1.23
log
@Find files via .PATH where appropriate.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.22 2001/09/22 05:39:22 tv Exp $
a20 2
LDADD=	-ll
DPADD=	${LIBL}
@


1.22
log
@flex -> ${LEX}
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.21 2001/08/14 10:18:27 tv Exp $
d33 2
a34 2
skel.c:	flex.skl mkskel.sh
	sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c
d38 1
a38 1
	${LEX} -t -p ${.CURDIR}/scan.l > scan.c
@


1.21
log
@Add hooks to allow toolchain bits to be reachover-built at the top level.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.20 2000/10/11 14:46:10 is Exp $
d38 1
a38 1
	flex -t -p ${.CURDIR}/scan.l > scan.c
@


1.20
log
@More format string cleanup by sommerfeld.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.19 1998/04/09 00:32:37 tv Exp $
d18 1
a18 2
	yylex.c
OBJS+=	scan.o skel.o
d36 1
d39 1
d43 1
d45 1
@


1.19
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
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.18 1998/02/22 12:08:33 christos Exp $
d24 1
a24 1

@


1.19.2.1
log
@Pull up revision 1.20 (requested by he):
  Format string cleanup.
@
text
@d2 1
a2 1
#	$NetBSD$
d24 1
a24 1
WFORMAT= 1
@


1.19.10.1
log
@Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.20 2000/10/11 14:46:10 is Exp $
d24 1
a24 1
WFORMAT= 1
@


1.18
log
@WARNSify
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.17 1997/10/23 05:13:18 lukem Exp $
d17 1
a17 1
SRCS=	ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c sym.c tblcmp.c \
d20 2
a21 1
CLEANFILES+=parse.c parse.h scan.c skel.c y.tab.c y.tab.h
a32 5

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


1.17
log
@use CPPFLAGS instead of CFLAGS, fix parallel make dependancies
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.16 1997/10/19 03:54:42 lukem Exp $
a14 1
WARNS=	0
@


1.16
log
@disable WARNS for now (3rd-party code)
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.15 1997/03/24 21:59:41 christos Exp $
d6 1
a6 1
# "-DDEFAULT_CSIZE=256" to CFLAGS.  Note that doing so will double the size
d17 1
a17 1
CFLAGS+=-I. -I${.CURDIR}
d34 2
a35 2
parse.h parse.c: parse.y
	${YACC} -d ${.IMPSRC}
d45 1
a45 1
scan.o: parse.c
@


1.16.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.17 1997/10/23 05:13:18 lukem Exp $
d6 1
a6 1
# "-DDEFAULT_CSIZE=256" to CPPFLAGS.  Note that doing so will double the size
d17 1
a17 1
CPPFLAGS+=-I. -I${.CURDIR}
d34 2
a35 2
parse.c parse.h: parse.y
	${YACC} -d ${.ALLSRC}
d45 1
a45 1
scan.o yylex.o: parse.h
@


1.15
log
@- Makefile cleanups
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.14 1996/12/10 07:18:38 mikel Exp $
d15 1
@


1.14
log
@Upgrade to flex 2.5.4.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.13 1996/10/18 06:16:10 thorpej Exp $
d24 3
a44 4

includes:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/FlexLexer.h \
		${DESTDIR}/usr/include/g++
@


1.13
log
@Use ${INSTALL}.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.1.1.12 1996/07/31 22:56:23 thorpej Exp $
@


1.12
log
@Use 'includes' instead of 'afterinstall' target to install headers
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.11 1995/05/05 05:35:10 jtc Exp $
d44 1
a44 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/FlexLexer.h \
@


1.11
log
@Upgrade to Flex version 2.5.2
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1994/12/22 12:30:07 cgd Exp $
d43 1
a43 1
afterinstall:
@


1.10
log
@specify man pages the new way.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1994/08/17 17:15:26 jtc Exp $
a16 1
LFLAGS=	-is8 -p
d24 1
a24 1
MAN = flex.1 flexdoc.1
d28 1
a28 1
MLINKS=	flex.1 lex.1 flexdoc.1 lexdoc.1
d37 3
@


1.9
log
@Use shell to invoke mkskel.sh instead of assuming execute bit will be set.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1994/06/02 23:40:06 jtc Exp $
d25 1
a25 1
MAN1 = flex.0 flexdoc.0
@


1.8
log
@Change BINOWN -> BINGRP where appropriate.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1994/02/04 19:15:27 jtc Exp $
d37 1
a37 1
	${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c
@


1.7
log
@The Lex library is now built from ~/lib/libl by pulling the appropriate
sources from ~/usr.bin/lex.  This will allow us to start "importing"
future flex releases.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1993/12/14 19:49:06 jtc Exp $
d42 1
a42 1
	install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${.CURDIR}/FlexLexer.h \
@


1.6
log
@Lost its RCS Id.
@
text
@d2 1
a2 1
#	$Id: $
a20 1
SUBDIR=	lib
@


1.5
log
@Upgraded to Flex 2.4.2.
@
text
@d2 1
a2 1
#	Makefile,v 1.3 1993/08/01 05:41:56 mycroft Exp
@


1.4
log
@converted to use gnu malloc, and depend on it correctly
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1993/08/01 05:41:56 mycroft Exp $
d17 1
a17 1
LFLAGS=	-is8
d20 7
a26 3
OBJS+=	scan.o
LDADD+=	-lgnumalloc
DPADD+=	/usr/lib/libgnumalloc.a
d28 3
a30 3
SUBDIR=	lib
CLEANFILES+=parse.c parse.h scan.c y.tab.h
MAN1 = lex.0 flexdoc.0
d32 1
a32 1
parse.h parse.c:
d37 2
a38 3
beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/lex.skel \
	    ${DESTDIR}/usr/share/misc
d41 4
@


1.3
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d21 3
@


1.2
log
@now installs flexdoc(1) too.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.4 (Berkeley) 6/24/90
@


1.1
log
@Initial revision
@
text
@d22 1
@


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