diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1996-06-19 20:26:49 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1996-06-19 20:26:49 +0000 |
commit | 49bb0ed0577c119ceb571c7cf8502065b5bba781 (patch) | |
tree | f8d405385656c83a68624b368cbccbcf6bad0b2b | |
parent | 0a985cc317de2ae12fbe92bd0c6feedc8fb84d6f (diff) |
This commit was manufactured by cvs2svn to create tagvendor/flex/2.5.3
'flex-vendor-flex_2_5_3'.
Notes
Notes:
svn path=/vendor/flex/dist/; revision=16514
svn path=/vendor/flex/2.5.3/; revision=16516; tag=vendor/flex/2.5.3
-rw-r--r-- | usr.bin/lex/Makefile | 57 | ||||
-rw-r--r-- | usr.bin/lex/lib/Makefile | 20 |
2 files changed, 0 insertions, 77 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile deleted file mode 100644 index 7f88e6eea4de..000000000000 --- a/usr.bin/lex/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# $Id$ -# -# 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 CFLAGS. Note that doing so will double the size -# of all uncompressed scanners. -# -# Bootstrapping of lex is handled automatically. -# ALso note that flex.skel no longer gets installed. -# -# XXX Todo: -# Install as lex++, and install FlexLexer.h - -PROG= lex -LINKS= ${BINDIR}/lex ${BINDIR}/flex -#LINKS+= ${BINDIR}/lex ${BINDIR}/lex++ ${BINDIR}/flex ${BINDIR}/flex++ - -SRCS= ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y \ - skel.c sym.c tblcmp.c yylex.c -OBJS+= scan.o -LFLAGS+= -is -CFLAGS+= -I. -I${.CURDIR} -MAN1= flex.1 flexdoc.1 -MLINKS= flex.1 lex.1 flexdoc.1 lexdoc.1 - -CLEANFILES+= parse.c parse.h scan.c y.tab.h - - -SUBDIR= lib - -.depend: parse.h - -parse.c parse.h: parse.y - $(YACC) -d $(.CURDIR)/parse.y - mv y.tab.c parse.c - mv y.tab.h parse.h - -.if exists(/usr/bin/lex) -scan.o: parse.c -.else -# We must bootstrap -scan.o: scan.c parse.h - -scan.c: - @echo "Bootstrapping flex" - @rm -f scan.c - @cp -pf ${.CURDIR}/initscan.c scan.c -.endif - -test: check -check: $(PROG) - ./$(PROG) $(LFLAGS) -t $(COMPRESSION) $(.CURDIR)/scan.l \ - | sed s,\"$(.CURDIR)/scan.l",\"scan.l", \ - | diff $(.CURDIR)/initscan.c - - @echo "Check successful" - -.include <bsd.prog.mk> diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile deleted file mode 100644 index 406e542a9149..000000000000 --- a/usr.bin/lex/lib/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# $Id$ - -LIB= ln -SRCS= libmain.c libyywrap.c -LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a \ - -.if !defined(NOPROFILE) -LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a -.endif - -.if !defined(NOSHARED) -LINKS+= ${LIBDIR}/libln.so.$(SHLIB_MAJOR).$(SHLIB_MINOR) \ - ${LIBDIR}/libl.so.$(SHLIB_MAJOR).$(SHLIB_MINOR) -.endif - -#This is where we get our SHLIB_MAJOR and SHLIB_MINOR -.include "${.CURDIR}/../../../lib/Makefile.inc" - -.include <bsd.lib.mk> - |