Makefile revision 91592
1#	$NetBSD: Makefile,v 1.7 2000/06/14 20:22:19 matt Exp $
2# $FreeBSD: head/usr.bin/xlint/llib/Makefile 91592 2002-03-03 15:12:50Z markm $
3
4.include <bsd.own.mk>
5
6LIBS=	llib-lposix.ln llib-lstdc.ln
7LINT=	${.OBJDIR}/../xlint/xlint
8
9.if ${MKLINT} != "no"
10FILES=	${LIBS}
11FILESDIR= ${LINTLIBDIR}
12
13install:
14	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${LIBMODE} \
15	    ${LIBS} ${DESTDIR}${LINTLIBDIR}
16
17CLEANFILES+= ${LIBS}
18
19llib-lposix.ln: llib-lposix
20	${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
21
22llib-lstdc.ln: llib-lstdc
23	${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
24
25.include <bsd.prog.mk>
26