freebsd-skq/usr.bin/m4/Makefile
bapt b63145f988 Lower warnings again to 3 the right thing would be to fix the warnings
which will be done by discussing with upstream I want the m4 code to stay
as close as possible to upstream.
2014-08-07 09:38:27 +00:00

29 lines
563 B
Makefile

# $OpenBSD: Makefile,v 1.13 2014/05/12 19:11:19 espie Exp $
# $FreeBSD$
# -DEXTENDED
# if you want the paste & spaste macros.
.include <src.opts.mk>
PROG= m4
CFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/../../lib/libohash
DPADD= ${LIBY} ${LIBL} ${LIBM} ${LIBOHASH}
LDADD= -ly -ll -lm ${LDOHASH}
NO_WMISSING_VARIABLE_DECLARATIONS=
SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y tokenizer.l
WARNS= 3
tokenizer.o: parser.h
CLEANFILES+= parser.c parser.h tokenizer.o
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>