1274075Sngie# $FreeBSD: releng/10.3/lib/libc/tests/ssp/Makefile 274075 2014-11-04 00:56:25Z ngie $ 2274075Sngie 3274075Sngie.include <bsd.own.mk> 4274075Sngie 5274075SngieTESTSDIR= ${TESTSBASE}/lib/libc/ssp 6274075Sngie 7274075SngieNO_WERROR= 8274075SngieWARNS?= 2 9274075Sngie 10274075SngieCFLAGS.h_raw+= -fstack-protector-all -Wstack-protector 11274075Sngie.if ${COMPILER_TYPE} == "clang" 12274075SngieCFLAGS.h_raw+= -fsanitize=bounds 13274075Sngie.elif ${COMPILER_TYPE} == "gcc" 14274075SngieCFLAGS.h_raw+= --param ssp-buffer-size=1 15274075SngieDPADD+= ${LIBSSP} 16274075SngieLDADD+= -lssp 17274075Sngie.endif 18274075Sngie 19274075SngieNETBSD_ATF_TESTS_SH= ssp_test 20274075Sngie 21274075SngieBINDIR= ${TESTSDIR} 22274075Sngie 23274075SngiePROGS= h_fgets 24274075SngiePROGS+= h_gets 25274075SngiePROGS+= h_getcwd 26274075SngiePROGS+= h_memcpy 27274075SngiePROGS+= h_memmove 28274075SngiePROGS+= h_memset 29274075SngiePROGS+= h_raw 30274075SngiePROGS+= h_read 31274075SngiePROGS+= h_readlink 32274075SngiePROGS+= h_snprintf 33274075SngiePROGS+= h_sprintf 34274075SngiePROGS+= h_stpcpy 35274075SngiePROGS+= h_stpncpy 36274075SngiePROGS+= h_strcat 37274075SngiePROGS+= h_strcpy 38274075SngiePROGS+= h_strncat 39274075SngiePROGS+= h_strncpy 40274075SngiePROGS+= h_vsnprintf 41274075SngiePROGS+= h_vsprintf 42274075Sngie 43274075Sngie.include "../Makefile.netbsd-tests" 44274075Sngie 45274075Sngie.include <bsd.test.mk> 46