freebsd-skq/usr.bin/lex/lib/Makefile

23 lines
404 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
.PATH: ${.CURDIR}/../../../contrib/flex
LIB= ln
SRCS= libmain.c libyywrap.c
NO_PIC=
.if ${MK_INSTALLLIB} != "no"
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
.endif
.if ${MK_PROFILE} != "no"
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
.endif
.include <bsd.lib.mk>