1# $FreeBSD$ 2 3PKG= clibs 4SHLIB_NAME= libgcc_s.so.1 5SHLIBDIR?= /lib 6 7WARNS?= 2 8 9LDFLAGS+= -nodefaultlibs 10VERSION_MAP= ${.CURDIR}/Version.map 11 12.include "../libcompiler_rt/Makefile.inc" 13.include "../libgcc_eh/Makefile.inc" 14 15LIBCSRCDIR= ${SRCTOP}/lib/libc 16LIBMSRCDIR= ${SRCTOP}/lib/msun/src 17CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH} 18CFLAGS+= -I${LIBMSRCDIR} 19.PATH: ${LIBMSRCDIR} 20SRCS+= s_fabs.c 21SRCS+= s_fabsf.c 22SRCS+= s_fabsl.c 23SRCS+= s_fmax.c 24SRCS+= s_fmaxf.c 25SRCS+= s_fmaxl.c 26SRCS+= s_logb.c 27SRCS+= s_logbf.c 28SRCS+= s_logbl.c 29SRCS+= s_scalbn.c 30SRCS+= s_scalbnf.c 31SRCS+= s_scalbnl.c 32 33.include <bsd.lib.mk> 34