2016-10-13 14:57:18 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2016-11-11 13:47:53 -05:00
|
|
|
PACKAGE= clibs
|
2016-10-13 14:57:18 -04:00
|
|
|
SHLIB_NAME= libgcc_s.so.1
|
2016-10-24 10:56:13 -04:00
|
|
|
SHLIBDIR?= /lib
|
2016-10-13 14:57:18 -04:00
|
|
|
|
2016-11-11 18:28:07 -05:00
|
|
|
MK_SSP= no
|
2016-10-13 14:57:18 -04:00
|
|
|
WARNS?= 2
|
|
|
|
|
|
|
|
|
|
LDFLAGS+= -nodefaultlibs
|
2017-01-13 10:17:25 -05:00
|
|
|
LIBADD+= c
|
2016-10-13 14:57:18 -04:00
|
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
|
|
|
|
|
|
.include "../libcompiler_rt/Makefile.inc"
|
|
|
|
|
.include "../libgcc_eh/Makefile.inc"
|
|
|
|
|
|
2017-03-28 15:01:01 -04:00
|
|
|
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
|
|
|
|
|
# no option to silence its warning, so make warnings non-fatal.
|
|
|
|
|
NO_WERROR.gcc=
|
|
|
|
|
|
2016-10-13 15:18:00 -04:00
|
|
|
LIBCSRCDIR= ${SRCTOP}/lib/libc
|
|
|
|
|
LIBMSRCDIR= ${SRCTOP}/lib/msun/src
|
|
|
|
|
CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
|
|
|
|
|
CFLAGS+= -I${LIBMSRCDIR}
|
|
|
|
|
.PATH: ${LIBMSRCDIR}
|
|
|
|
|
SRCS+= s_fabs.c
|
|
|
|
|
SRCS+= s_fabsf.c
|
|
|
|
|
SRCS+= s_fabsl.c
|
|
|
|
|
SRCS+= s_fmax.c
|
|
|
|
|
SRCS+= s_fmaxf.c
|
|
|
|
|
SRCS+= s_fmaxl.c
|
|
|
|
|
SRCS+= s_logb.c
|
|
|
|
|
SRCS+= s_logbf.c
|
|
|
|
|
SRCS+= s_logbl.c
|
|
|
|
|
SRCS+= s_scalbn.c
|
|
|
|
|
SRCS+= s_scalbnf.c
|
|
|
|
|
SRCS+= s_scalbnl.c
|
|
|
|
|
|
2016-10-13 14:57:18 -04:00
|
|
|
.include <bsd.lib.mk>
|