freebsd-dev/gnu/lib/libssp/Makefile
Ruslan Ermilov 107e14e304 Restore the install location of libssp.so.0.
Noticed by:	tegge
2009-02-24 16:14:15 +00:00

39 lines
795 B
Makefile

# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
MK_SSP= no
GCCDIR= ${.CURDIR}/../../../contrib/gcc
GCCLIB= ${.CURDIR}/../../../contrib/gcclibs
SRCDIR= ${GCCLIB}/libssp
.PATH: ${SRCDIR} ${SRCDIR}/ssp
LIB= ssp
SHLIB_MAJOR= 0
NO_PROFILE=
SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
memset-chk.c 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
CFLAGS+= -DHAVE_CONFIG_H
CFLAGS+= -I${.CURDIR} -I${SRCDIR} -I${GCCLIB}/include
VERSION_MAP= ${SRCDIR}/ssp.map
INCS= ssp.h string.h stdio.h unistd.h
INCSDIR=${INCLUDEDIR}/ssp
CLEANFILES= ssp.h
ssp.h: ssp.h.in
sed -e 's/@ssp_have_usable_vsnprintf@/define/' ${.ALLSRC} > ${.TARGET}
SUBDIR+= libssp_nonshared
.include <bsd.lib.mk>