Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / flex / lib / Makefile
blobd915bf293e92a055cddb8aeda13aec93e70427b0
1 # $NetBSD: Makefile,v 1.1 2009/10/26 00:49:04 christos Exp $
3 NOPIC= # defined
5 .include <bsd.own.mk>
7 LIB= l
8 SRCS= libmain.c libyywrap.c
10 .if ${MKSTATICLIB} != "no"
11 LINKS= ${LIBDIR}/libl.a ${LIBDIR}/libfl.a
12 .endif
14 .PATH: ${NETBSDSRCDIR}/usr.bin/lex
16 .if ${MKPROFILE} != "no"
17 LINKS+= ${LIBDIR}/libl_p.a ${LIBDIR}/libfl_p.a
18 .endif
20 .if ${MKDEBUGLIB} != "no"
21 LINKS+= ${LIBDIR}/libl_g.a ${LIBDIR}/libfl_g.a
22 .endif
24 .include <bsd.lib.mk>