2006-03-31 03:00:02 +04:00
|
|
|
# $FreeBSD: src/usr.sbin/ndiscvt/Makefile,v 1.5 2004/02/23 20:21:21 johan Exp $
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../sys/compat/ndis
|
|
|
|
|
|
|
|
PROG= ndiscvt
|
|
|
|
SRCS= ndiscvt.c
|
|
|
|
SRCS+= subr_pe.c
|
2006-03-31 03:21:06 +04:00
|
|
|
SRCS+= inf.c inf-token.l inf-parse.y
|
2006-03-31 03:00:02 +04:00
|
|
|
|
2006-03-31 03:21:06 +04:00
|
|
|
DPSRCS+= y.tab.h
|
|
|
|
|
|
|
|
MAN= ndiscvt.8
|
2006-03-31 03:00:02 +04:00
|
|
|
|
|
|
|
WARNS?= 4
|
|
|
|
|
|
|
|
DPADD= ${LIBL}
|
|
|
|
LDADD= -ll
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys
|
|
|
|
|
|
|
|
CLEANFILES= y.output
|
2006-03-31 03:21:06 +04:00
|
|
|
CLEANFILES+= ndiscvt.cat8
|
|
|
|
CLEANFILES+= y.tab.c y.tab.h
|
|
|
|
|
|
|
|
|
|
|
|
y.tab.h: inf-parse.y
|
|
|
|
${YACC} -v -d inf-parse.y
|
2006-03-31 03:00:02 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|