8 GCCDIR= ${.CURDIR}/../../../contrib/gcc
9 GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
10 SRCDIR= ${GCCLIB}/libssp
12 .PATH: ${SRCDIR} ${SRCDIR}/ssp
18 SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
19 memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
20 strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
21 vsnprintf-chk.c vsprintf-chk.c
23 CFLAGS+= -DHAVE_CONFIG_H
24 CFLAGS+= -I${.CURDIR} -I${SRCDIR} -I${GCCLIB}/include
26 VERSION_MAP= ${SRCDIR}/ssp.map
29 INCS= ssp.h string.h stdio.h unistd.h
30 INCSDIR=${INCLUDEDIR}/ssp
34 sed -e 's/@ssp_have_usable_vsnprintf@/define/' ${.ALLSRC} > ${.TARGET}
36 SUBDIR+= libssp_nonshared