Makefile (d370fd1cd8fc69e87dc63f4f4a82e5a8b4956c93) Makefile (b0a39ef04d268e729c7f20a80bc8dd6b41cb7261)
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
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
17LIBCSRCDIR= ${SRCTOP}/lib/libc
18LIBMSRCDIR= ${SRCTOP}/lib/msun/src
19CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
20CFLAGS+= -I${LIBMSRCDIR}
21.PATH: ${LIBMSRCDIR}
22SRCS+= s_fabs.c
23SRCS+= s_fabsf.c
24SRCS+= s_fabsl.c
25SRCS+= s_fmax.c
26SRCS+= s_fmaxf.c
27SRCS+= s_fmaxl.c
28SRCS+= s_logb.c
29SRCS+= s_logbf.c
30SRCS+= s_logbl.c
31SRCS+= s_scalbn.c
32SRCS+= s_scalbnf.c
33SRCS+= s_scalbnl.c
34
35.include <bsd.lib.mk>
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>