149c5eacbSEd Maste# $FreeBSD$ 249c5eacbSEd Maste 30eaded92SGlen BarberPACKAGE= clibs 449c5eacbSEd MasteSHLIB_NAME= libgcc_s.so.1 56430a5fdSEd MasteSHLIBDIR?= /lib 649c5eacbSEd Maste 72ed1e385SEd MasteMK_SSP= no 849c5eacbSEd MasteWARNS?= 2 949c5eacbSEd Maste 1049c5eacbSEd MasteLDFLAGS+= -nodefaultlibs 112f21ec01SEd MasteLIBADD+= c 1249c5eacbSEd MasteVERSION_MAP= ${.CURDIR}/Version.map 1349c5eacbSEd Maste 1449c5eacbSEd Maste.include "../libcompiler_rt/Makefile.inc" 1549c5eacbSEd Maste.include "../libgcc_eh/Makefile.inc" 1649c5eacbSEd Maste 17*b0a39ef0SEnji Cooper# gcc has incompatible internal declarations for __divtc3 and __multc3, but has 18*b0a39ef0SEnji Cooper# no option to silence its warning, so make warnings non-fatal. 19*b0a39ef0SEnji CooperNO_WERROR.gcc= 20*b0a39ef0SEnji Cooper 21bff20752SEd MasteLIBCSRCDIR= ${SRCTOP}/lib/libc 22bff20752SEd MasteLIBMSRCDIR= ${SRCTOP}/lib/msun/src 23bff20752SEd MasteCFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH} 24bff20752SEd MasteCFLAGS+= -I${LIBMSRCDIR} 25bff20752SEd Maste.PATH: ${LIBMSRCDIR} 26bff20752SEd MasteSRCS+= s_fabs.c 27bff20752SEd MasteSRCS+= s_fabsf.c 28bff20752SEd MasteSRCS+= s_fabsl.c 29bff20752SEd MasteSRCS+= s_fmax.c 30bff20752SEd MasteSRCS+= s_fmaxf.c 31bff20752SEd MasteSRCS+= s_fmaxl.c 32bff20752SEd MasteSRCS+= s_logb.c 33bff20752SEd MasteSRCS+= s_logbf.c 34bff20752SEd MasteSRCS+= s_logbl.c 35bff20752SEd MasteSRCS+= s_scalbn.c 36bff20752SEd MasteSRCS+= s_scalbnf.c 37bff20752SEd MasteSRCS+= s_scalbnl.c 38bff20752SEd Maste 3949c5eacbSEd Maste.include <bsd.lib.mk> 40