1# $NetBSD: Makefile,v 1.2 1995/07/03 21:25:05 cgd Exp $ 2# $FreeBSD: head/usr.bin/xlint/llib/Makefile 75923 2001-04-24 20:23:37Z asmodai $
| 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
| 3
|
| 4.include <bsd.own.mk> 5
|
4LIBS= llib-lposix.ln llib-lstdc.ln 5LINT= ${.OBJDIR}/../xlint/xlint 6
| 6LIBS= llib-lposix.ln llib-lstdc.ln 7LINT= ${.OBJDIR}/../xlint/xlint 8
|
7all: ${LIBS}
| 9.if ${MKLINT} != "no" 10FILES= ${LIBS} 11FILESDIR= ${LINTLIBDIR}
|
8 9install: 10 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${LIBMODE} \ 11 ${LIBS} ${DESTDIR}${LINTLIBDIR} 12
| 12 13install: 14 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${LIBMODE} \ 15 ${LIBS} ${DESTDIR}${LINTLIBDIR} 16
|
13clean cleanall: 14 rm -f ${LIBS}
| 17CLEANFILES+= ${LIBS}
|
15 16llib-lposix.ln: llib-lposix
| 18 19llib-lposix.ln: llib-lposix
|
17 ${LINT} -Cposix ${.ALLSRC}
| 20 ${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
|
18 19llib-lstdc.ln: llib-lstdc
| 21 22llib-lstdc.ln: llib-lstdc
|
20 ${LINT} -Cstdc ${.ALLSRC}
| 23 ${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
|
21 22.include <bsd.prog.mk>
| 24 25.include <bsd.prog.mk>
|