Improve the process for GNU tools
[minix3.git] / external / bsd / flex / lib / Makefile
blob3283c0ee3ec5b85474a434e3b1b360c537ec6a5f
1 # $NetBSD: Makefile,v 1.2 2009/10/28 11:20:07 njoly 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>