Home | History | Annotate | Line # | Download | only in lint1
Makefile revision 1.47
      1  1.47  christos #	$NetBSD: Makefile,v 1.47 2011/12/25 01:05:44 christos Exp $
      2  1.17   thorpej 
      3  1.17   thorpej .include <bsd.own.mk>
      4   1.1       cgd 
      5  1.21        tv PROG=		lint1
      6  1.21        tv SRCS=		cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \
      7  1.37  christos 		init.c emit.c emit1.c inittyp.c tyname.c print.c
      8  1.21        tv MAN=		lint.7
      9  1.21        tv YHEADER=
     10  1.47  christos #DBG=-g
     11  1.43  christos #CPPFLAGS+=-DYYDEBUG=1
     12  1.47  christos #YFLAGS+=-v
     13  1.19   thorpej 
     14  1.35  christos CPPFLAGS+=	-I${.CURDIR} -I. -DPASS=\"${PROG}.h\"
     15  1.17   thorpej 
     16  1.21        tv LINTFLAGS=	-aehpz
     17  1.21        tv BINDIR=		/usr/libexec
     18   1.9  christos 
     19  1.21        tv CLEANFILES+=	${MAN}
     20  1.22        tv 
     21  1.22        tv .if ${USETOOLS} == "yes"
     22  1.22        tv LINT1=		${TOOLDIR}/libexec/${MACHINE_GNU_PLATFORM}-lint1
     23  1.22        tv .endif
     24  1.22        tv LINT1?=		./${PROG}
     25  1.22        tv 
     26  1.22        tv ${MAN}:		makeman ${LINT1:C/^\.\///} Makefile
     27  1.34     lukem 	${_MKTARGET_CREATE}
     28  1.33     lukem 	${HOST_SH} ${.ALLSRC:M*makeman} ${LINT1} -m >${.TARGET}
     29   1.1       cgd 
     30  1.26     lukem LDADD+=		-lm
     31  1.27       dbj .ifndef HOSTPROG
     32  1.26     lukem DPADD+=		${LIBM}
     33  1.26     lukem 
     34  1.26     lukem LDADD+=		-ll
     35  1.26     lukem DPADD+=		${LIBL}
     36  1.28     lukem .endif
     37  1.24        tv 
     38  1.46  christos .include "Makefile.ops-h"
     39  1.46  christos .include "Makefile.ops-c"
     40  1.46  christos 
     41   1.1       cgd .include <bsd.prog.mk>
     42