1# $FreeBSD$ 2 3PACKAGE= clibs 4SHLIB_NAME= libgcc_s.so.1 5SHLIBDIR?= /lib 6 7MK_SSP= no 8WARNS?= 2 9 10LDFLAGS+= -nodefaultlibs 11LIBADD+= c 12VERSION_MAP= ${.CURDIR}/Version.map 13 14.include "../libcompiler_rt/Makefile.inc" 15.include "../libgcc_eh/Makefile.inc" 16 17# gcc has incompatible internal declarations for __divtc3 and __multc3, but has 18# no option to silence its warning, so make warnings non-fatal. 19NO_WERROR.gcc= 20 21LIBCSRCDIR= ${SRCTOP}/lib/libc 22LIBMSRCDIR= ${SRCTOP}/lib/msun/src 23CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH} 24CFLAGS+= -I${LIBMSRCDIR} 25.PATH: ${LIBMSRCDIR} 26SRCS+= s_fabs.c 27SRCS+= s_fabsf.c 28SRCS+= s_fabsl.c 29SRCS+= s_fmax.c 30SRCS+= s_fmaxf.c 31SRCS+= s_fmaxl.c 32SRCS+= s_logb.c 33SRCS+= s_logbf.c 34SRCS+= s_logbl.c 35SRCS+= s_scalbn.c 36SRCS+= s_scalbnf.c 37SRCS+= s_scalbnl.c 38 39.include <bsd.lib.mk> 40