mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Rename the existing "elftoolchain" package to "toolchain", and move everything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the toolchain package. This means we have one package called "toolchain" which contains all the development-related utilities which are not compilers or already part of some other package (e.g., llvm). Reviewed by: des, emaste Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50286
24 lines
499 B
Makefile
24 lines
499 B
Makefile
.include <src.opts.mk>
|
|
|
|
BYACC_SRC= ${SRCTOP}/contrib/byacc
|
|
.PATH: ${BYACC_SRC}
|
|
|
|
PACKAGE= toolchain
|
|
PROG= yacc
|
|
SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \
|
|
reader.c yaccpar.c symtab.c verbose.c warshall.c
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}
|
|
CFLAGS+= -DMAXTABLE=INT_MAX
|
|
|
|
YYPATCH!= cat ${BYACC_SRC}/VERSION
|
|
CFLAGS+= -DYYPATCH=${YYPATCH}
|
|
|
|
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
|
|
MLINKS= yacc.1 byacc.1
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|