]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libgcc_s/Makefile
MFV r328323,328324:
[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_fmaxl.c
32 SRCS+=          s_logb.c
33 SRCS+=          s_logbf.c
34 SRCS+=          s_logbl.c
35 SRCS+=          s_scalbn.c
36 SRCS+=          s_scalbnf.c
37 SRCS+=          s_scalbnl.c
38
39 .include <bsd.lib.mk>