]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libgcc_s/Makefile
ping: fix data type of a variable for a packet sequence number
[FreeBSD/FreeBSD.git] / lib / libgcc_s / Makefile
1 # $FreeBSD$
2
3 PACKAGE=        clibs
4 SHLIB_NAME=     libgcc_s.so.1
5 SHLIBDIR?=      /lib
6
7 MK_SSP=         no
8 WARNS?= 2
9
10 LDFLAGS+=       -nodefaultlibs
11 LIBADD+=        c
12 VERSION_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.
19 NO_WERROR.gcc=
20
21 LIBCSRCDIR=     ${SRCTOP}/lib/libc
22 LIBMSRCDIR=     ${SRCTOP}/lib/msun/src
23 CFLAGS+=        -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
24 CFLAGS+=        -I${LIBMSRCDIR}
25 .PATH:          ${LIBMSRCDIR}
26 SRCS+=          s_fabs.c
27 SRCS+=          s_fabsf.c
28 SRCS+=          s_fabsl.c
29 SRCS+=          s_fmax.c
30 SRCS+=          s_fmaxf.c
31 SRCS+=          s_logb.c
32 SRCS+=          s_logbf.c
33 SRCS+=          s_scalbn.c
34 SRCS+=          s_scalbnf.c
35
36 # Don't include long double routines on architectures where long double
37 # is the same size as double.
38 .if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \
39     ${MACHINE_CPUARCH} != "powerpc"
40 SRCS+=          s_fmaxl.c
41 SRCS+=          s_logbl.c
42 SRCS+=          s_scalbnl.c
43 .endif
44
45 .include <bsd.lib.mk>