]> git.saurik.com Git - apple/libc.git/blob - gdtoa/Makefile.inc
Libc-594.1.4.tar.gz
[apple/libc.git] / gdtoa / Makefile.inc
1 .PATH: ${.CURDIR}/gdtoa
2 CWD := ${.CURDIR}/gdtoa
3
4 CFLAGS += -I${.CURDIR}/gdtoa
5
6 .sinclude "${.CURDIR}/${MACHINE_ARCH}/stdlib/gdtoa.mk"
7
8 GDTOA_UNIQUE_SRCS != ${PERL} -e '@z = split(" ", "$(GDTOA_FBSDSRCS)"); $$, = "\n"; print @z' | sort -u
9
10 .include "Makefile.fbsd_begin"
11 FBSDMISRCS= $(GDTOA_UNIQUE_SRCS) _hdtoa.c glue.c \
12 gdtoa-dmisc.c gdtoa-dtoa.c gdtoa-gdtoa.c gdtoa-gethex.c gdtoa-gmisc.c \
13 gdtoa-hd_init.c gdtoa-hexnan.c gdtoa-misc.c gdtoa-smisc.c \
14 gdtoa-strtod.c gdtoa-strtodg.c gdtoa-strtof.c gdtoa-strtord.c \
15 gdtoa-sum.c gdtoa-ulp.c
16
17 .ifndef FEATURE_ONLY_LONG_DOUBLE_IS_DOUBLE
18 FBSDMISRCS+= _ldtoa.c
19 .endif
20
21 FBSDHDRS= gdtoa.h gdtoaimp.h gdtoa_fltrnds.h
22
23 .include "Makefile.fbsd_end"
24
25 LEGACYSRCS += gdtoa-strtof.c gdtoa-strtod.c gdtoa-strtodg.c