Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/lex/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# By default, flex will be configured to generate 8-bit scanners only if the | # 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 | # -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 | # "-DDEFAULT_CSIZE=256" to CFLAGS. Note that doing so will double the size | ||||
# of all uncompressed scanners. | # of all uncompressed scanners. | ||||
# | # | ||||
# Bootstrapping of lex is handled automatically. | # Bootstrapping of lex is handled automatically. | ||||
# Also note that flex.skel no longer gets installed. | # Also note that flex.skel no longer gets installed. | ||||
# | # | ||||
PROG= lex | PROG= lex | ||||
LINKS+= ${BINDIR}/lex ${BINDIR}/lex++ | LINKS+= ${BINDIR}/lex ${BINDIR}/lex++ | ||||
LINKS+= ${BINDIR}/lex ${BINDIR}/flex | LINKS+= ${BINDIR}/lex ${BINDIR}/flex | ||||
LINKS+= ${BINDIR}/lex ${BINDIR}/flex++ | LINKS+= ${BINDIR}/lex ${BINDIR}/flex++ | ||||
FLEXDIR= ${.CURDIR}/../../contrib/flex | FLEXDIR= ${SRCTOP}/contrib/flex | ||||
.PATH: ${FLEXDIR} | .PATH: ${FLEXDIR} | ||||
SRCS= buf.c ccl.c dfa.c ecs.c filter.c gen.c main.c misc.c \ | SRCS= buf.c ccl.c dfa.c ecs.c filter.c gen.c main.c misc.c \ | ||||
nfa.c options.c parse.y regex.c scan.c scanflags.c \ | nfa.c options.c parse.y regex.c scan.c scanflags.c \ | ||||
scanopt.c skel.c sym.c tables.c tables_shared.c \ | scanopt.c skel.c sym.c tables.c tables_shared.c \ | ||||
tblcmp.c yylex.c | tblcmp.c yylex.c | ||||
LFLAGS+= -is | LFLAGS+= -is | ||||
Show All 39 Lines |