1# $FreeBSD$ 2 3PACKAGE= clibs 4SHLIBDIR?= /lib 5SHLIB= ssp 6SHLIB_MAJOR= 0 7 8VERSION_DEF= ${.CURDIR}/Versions.def 9SYMBOL_MAPS= ${.CURDIR}/Symbol.map 10 11.PATH: ${SRCTOP}/lib/libc/secure 12CFLAGS+= -I${SRCTOP}/lib/libc/include 13# _elf_aux_info is exported from libc as elf_aux_info(3), so just that for the 14# libssp build instead. 15CFLAGS+= -D_elf_aux_info=elf_aux_info 16SRCS= stack_protector.c fortify_stubs.c 17 18CFLAGS.fortify_stubs.c= -Wno-unused-parameter 19 20.include <bsd.lib.mk> 21