More gcc80 adjustments.
[dragonfly.git] / gnu / usr.bin / cc80 / support-libs / libdecnumber / Makefile
1 GCC_NO_PATH=    yes
2 GCC_NO_LIBS=    yes
3 LOCAL_CONFIG=   yes
4 .include "../Makefile.inc"
5 .PATH: ${GCCDIR}/libdecnumber
6 .PATH: ${GCCDIR}/libdecnumber/dpd
7
8 LIB=            decnumber
9 INTERNALLIB=    YES
10
11 # for now do not let the use of -flto (check -Wlto-type-mismatch !)
12 .if ${CFLAGS:M-flto}
13 CFLAGS+=        -fno-lto
14 .endif
15
16 SRCS=   decContext.c \
17         decNumber.c \
18         decimal32.c \
19         decimal64.c \
20         decimal128.c
21
22 gstdint.h:
23         echo "#include <stdint.h>" > ${.TARGET}
24
25 depend all: gstdint.h
26
27 CLEANFILES+=    gstdint.h
28
29 .include <bsd.lib.mk>