1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.sbin/ndiscvt/Makefile
Dimitry Andric b41349deef Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built for
x86, any alignment warnings can be safely ignored.  Define YY_NO_INPUT
in usr.sbin/ndiscvt/inf-token.l, so no unused lex functions are defined.

MFC after:	1 week
2011-12-17 22:16:27 +00:00

32 lines
435 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../sys/compat/ndis
PROG= ndiscvt
SRCS= ndiscvt.c
SRCS+= subr_pe.c
SRCS+= inf.c inf-token.l inf-parse.y y.tab.h
MAN= ndiscvt.8
MAN+= ndisgen.8
WARNS?= 4
NO_WCAST_ALIGN=
DPADD= ${LIBL}
LDADD= -ll
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys
CLEANFILES= y.output
FILES= windrv_stub.c
FILESNAME= windrv_stub.c
FILESDIR= /usr/share/misc
SCRIPTS= ndisgen.sh
.include <bsd.prog.mk>