]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/lib/libssp/Makefile
Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1.
[FreeBSD/FreeBSD.git] / gnu / lib / libssp / Makefile
1 # $FreeBSD$
2
3 SHLIBDIR?=      /lib
4
5 MK_PROFILE=     no
6 MK_SSP=         no
7
8 .include <bsd.own.mk>
9
10 GCCDIR= ${SRCTOP}/contrib/gcc
11 GCCLIB= ${SRCTOP}/contrib/gcclibs
12 SRCDIR= ${GCCLIB}/libssp
13
14 .PATH: ${SRCDIR} ${SRCDIR}/ssp
15
16 LIB=            ssp
17 SHLIB_MAJOR=    0
18 LD_FATAL_WARNINGS=      no
19
20 SRCS=   ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
21         memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
22         strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
23         vsnprintf-chk.c vsprintf-chk.c
24
25 CFLAGS+= -DHAVE_CONFIG_H
26 CFLAGS+= -I${.CURDIR}  -I${SRCDIR}  -I${GCCLIB}/include
27
28 VERSION_MAP= ${SRCDIR}/ssp.map
29
30
31 INCS=   ssp.h string.h stdio.h unistd.h
32 INCSDIR=${INCLUDEDIR}/ssp
33
34 CLEANFILES= ssp.h
35 ssp.h: ssp.h.in
36         sed -e 's/@ssp_have_usable_vsnprintf@/define/' ${.ALLSRC} > ${.TARGET}
37
38 SUBDIR+= libssp_nonshared
39
40 .include <bsd.lib.mk>