7e659f9491
This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
14 lines
272 B
Makefile
14 lines
272 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR?=${GEOM_CLASS_DIR}
|
|
SHLIB_NAME?=geom_${GEOM_CLASS}.so
|
|
LINKS= ${BINDIR}/geom ${BINDIR}/g${GEOM_CLASS}
|
|
MAN= g${GEOM_CLASS}.8
|
|
SRCS+= geom_${GEOM_CLASS}.c subr.c
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
CFLAGS+= -I${.CURDIR}/../..
|
|
|
|
.include "../Makefile.inc"
|