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