b41349deef
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
32 lines
435 B
Makefile
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>
|