2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile.inc,v 1.4 2013/11/07 02:01:42 christos Exp $
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/ssp
|
|
|
|
|
|
|
|
SSP_SRCS= gets_chk.c fgets_chk.c memcpy_chk.c memmove_chk.c memset_chk.c \
|
2013-12-06 12:04:52 +01:00
|
|
|
snprintf_chk.c sprintf_chk.c stpcpy_chk.c \
|
|
|
|
strcat_chk.c strcpy_chk.c strncat_chk.c strncpy_chk.c \
|
|
|
|
vsnprintf_chk.c vsprintf_chk.c
|
2011-02-14 20:36:03 +01:00
|
|
|
|
|
|
|
.for i in ${SSP_SRCS}
|
|
|
|
SRCS+=${i}
|
|
|
|
WARNS.${i}=4
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
MAN+= ssp.3 __builtin_object_size.3
|