aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1999-10-27 07:34:56 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1999-10-27 07:34:56 +0000
commit94e82c0fb3e52ca8b9ee943bfe1c87a5d875d295 (patch)
treeded0903f4070ef1ff12252fd29e854aecbb2ffdd
parent112e4e871cc4a49e5a8f41355bdf4cefe3bbb6bf (diff)
This commit was manufactured by cvs2svn to create tagvendor/flex/2.5.4
'flex-vendor-flex_2_5_4'.
Notes
Notes: svn path=/vendor/flex/dist/; revision=52552 svn path=/vendor/flex/2.5.4/; revision=52553; tag=vendor/flex/2.5.4
-rw-r--r--usr.bin/lex/Makefile57
-rw-r--r--usr.bin/lex/config.h26
-rw-r--r--usr.bin/lex/lib/Makefile20
3 files changed, 0 insertions, 103 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/config.h b/usr.bin/lex/config.h
deleted file mode 100644
index dc4481c4a050..000000000000
--- a/usr.bin/lex/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* config.h. Generated automatically by configure. */
-/* $Header: /home/daffy/u0/vern/flex/RCS/conf.in,v 1.2 95/01/09 12:11:51 vern Exp $ */
-
-/* Define to empty if the keyword does not work. */
-/* #undef const */
-
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-/* #undef size_t */
-
-/* Define if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define if you have the <malloc.h> header file. */
-/* #undef HAVE_MALLOC_H */
-
-/* Define if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
-/* #undef HAVE_ALLOCA_H */
-
-/* Define if platform-specific command line handling is necessary. */
-/* #undef NEED_ARGV_FIXUP */
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>
-