2002-06-13 18:20:48 +08:00
|
|
|
#
|
|
|
|
# mingw/mingwex/Makefile.in: This file is part of Mingw runtime.
|
|
|
|
#
|
|
|
|
# This makefile requires GNU make.
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
2009-07-28 04:27:09 +08:00
|
|
|
top_srcdir = @top_srcdir@
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
VPATH = $(srcdir):$(srcdir)/math:$(srcdir)/stdio:$(srcdir)/complex $(srcdir)/gdtoa
|
2009-07-28 04:27:09 +08:00
|
|
|
|
|
|
|
# FIXME: I see no reason to define `objdir';
|
|
|
|
# it appears to be unused, and could be removed.
|
2002-06-13 18:20:48 +08:00
|
|
|
objdir = .
|
|
|
|
|
|
|
|
target_alias = @target_alias@
|
|
|
|
prefix = @prefix@
|
|
|
|
|
2009-07-28 04:27:09 +08:00
|
|
|
datarootdir = @datarootdir@
|
2002-06-13 18:20:48 +08:00
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
2009-07-28 04:27:09 +08:00
|
|
|
|
|
|
|
# FIXME: Use of `target_alias' is extremely suspect here;
|
|
|
|
# (see relevant note in top level Makefile).
|
2002-06-13 18:20:48 +08:00
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
|
|
datadir = @datadir@
|
|
|
|
infodir = @infodir@
|
|
|
|
includedir = @includedir@
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
|
2008-07-29 07:24:20 +08:00
|
|
|
|
|
|
|
DISTFILES = \
|
|
|
|
Makefile.in configure configure.in aclocal.m4 \
|
2002-07-29 11:00:10 +08:00
|
|
|
_Exit.c atoll.c dirent.c feclearexcept.c fegetenv.c \
|
|
|
|
fegetexceptflag.c fegetround.c feholdexcept.c feraiseexcept.c \
|
|
|
|
fesetenv.c fesetexceptflag.c fesetround.c fetestexcept.c \
|
2004-07-11 18:01:41 +08:00
|
|
|
feupdateenv.c ftruncate.c fwide.c getopt.c imaxabs.c imaxdiv.c \
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
lltoa.c lltow.c mbsinit.c mingw-aligned-malloc.c \
|
|
|
|
mingw-fseek.c sitest.c strtoimax.c strtoumax.c \
|
2004-08-24 17:02:45 +08:00
|
|
|
testwmem.c tst-aligned-malloc.c ulltoa.c ulltow.c wcstof.c \
|
2005-02-25 09:43:43 +08:00
|
|
|
wcstoimax.c wcstold.c wcstoumax.c wctrans.c wctype.c \
|
2005-04-24 19:30:27 +08:00
|
|
|
wdirent.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c wtoll.c \
|
2006-06-18 16:16:55 +08:00
|
|
|
wcrtomb.c wctob.c mbrtowc.c btowc.c mb_wc_common.h \
|
2007-01-01 02:03:33 +08:00
|
|
|
gettimeofday.c isblank.c iswblank.c \
|
2008-07-29 07:24:20 +08:00
|
|
|
basename.c dirname.c usleep.c \
|
2007-06-29 18:11:57 +08:00
|
|
|
tsearch.c twalk.c tdelete.c tfind.c
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
|
2002-07-29 11:00:10 +08:00
|
|
|
MATH_DISTFILES = \
|
|
|
|
acosf.c acosl.c asinf.c asinl.c atan2f.c atan2l.c \
|
2002-11-26 08:11:06 +08:00
|
|
|
atanf.c atanl.c cbrt.c cbrtf.c cbrtl.c ceilf.S ceill.S \
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
cephes_mconf.h \
|
2002-07-29 11:00:10 +08:00
|
|
|
copysign.S copysignf.S copysignl.S cosf.S coshf.c coshl.c cosl.S \
|
2005-05-08 16:07:18 +08:00
|
|
|
erfl.c exp2.S exp2f.S exp2l.S expf.c expl.c expm1.c expm1l.c expm1f.c \
|
2005-02-11 12:15:17 +08:00
|
|
|
fabs.c fabsf.c fabsl.c \
|
2002-07-29 11:00:10 +08:00
|
|
|
fdim.c fdimf.c fdiml.c floorf.S floorl.S fma.S fmaf.S fmal.c \
|
|
|
|
fmax.c fmaxf.c fmaxl.c fmin.c fminf.c fminl.c fmodf.c \
|
|
|
|
fmodl.c fp_consts.c fp_consts.h fp_constsf.c fp_constsl.c \
|
|
|
|
fpclassify.c fpclassifyf.c fpclassifyl.c \
|
|
|
|
frexpf.c frexpl.S fucom.c hypotf.c hypotl.c ilogb.S ilogbf.S \
|
2002-11-27 11:41:25 +08:00
|
|
|
ilogbl.S isnan.c isnanf.c isnanl.c ldexpf.c ldexpl.c \
|
2008-06-04 02:42:21 +08:00
|
|
|
lgamma.c lgammaf.c lgammal.c llrint.c llrintf.c llrintl.c \
|
2002-07-29 11:00:10 +08:00
|
|
|
log10f.S log10l.S log1p.S log1pf.S log1pl.S log2.S log2f.S \
|
|
|
|
log2l.S logb.c logbf.c logbl.c logf.S logl.S lrint.c lrintf.c \
|
2008-06-04 02:42:21 +08:00
|
|
|
lrintl.c lround_generic.c modff.c modfl.c \
|
2005-05-10 16:39:07 +08:00
|
|
|
nearbyint.S nearbyintf.S nearbyintl.S \
|
|
|
|
nextafterf.c nextafterl.c nexttowardf.c nexttoward.c \
|
2004-07-02 18:01:51 +08:00
|
|
|
powf.c powi.c powif.c powil.c powl.c \
|
2002-10-07 07:26:43 +08:00
|
|
|
remainder.S remainderf.S remainderl.S remquo.S \
|
2008-06-04 02:42:21 +08:00
|
|
|
remquof.S remquol.S rint.c rintf.c rintl.c round_internal.h \
|
|
|
|
round_generic.c scalbn.S scalbnf.S scalbnl.S s_erf.c sf_erf.c \
|
2002-12-08 09:46:42 +08:00
|
|
|
signbit.c signbitf.c signbitl.c sinf.S sinhf.c sinhl.c sinl.S \
|
|
|
|
sqrtf.c sqrtl.c tanf.S tanhf.c tanhl.c tanl.S tgamma.c \
|
2004-10-07 04:31:32 +08:00
|
|
|
tgammaf.c tgammal.c trunc.c truncf.c truncl.c \
|
2008-07-29 07:24:20 +08:00
|
|
|
acosh.c acoshf.c acoshl.c asinh.c asinhf.c asinhl.c \
|
2004-10-07 04:31:32 +08:00
|
|
|
atanh.c atanhf.c atanhl.c fastmath.h
|
2002-06-13 18:20:48 +08:00
|
|
|
|
2003-03-02 15:00:48 +08:00
|
|
|
STDIO_DISTFILES = \
|
2004-06-30 12:51:18 +08:00
|
|
|
fopen64.c fseeko64.c ftello64.c lseek64.c \
|
2007-08-25 21:49:37 +08:00
|
|
|
vfscanf.c vfwscanf.c vscanf.c vsscanf.c vswscanf.c vwscanf.c \
|
2008-08-12 06:41:55 +08:00
|
|
|
pformat.c pformat.h printf.c fprintf.c sprintf.c snprintf.c \
|
|
|
|
vprintf.c vfprintf.c vsprintf.c vsnprintf.c \
|
2007-08-25 21:49:37 +08:00
|
|
|
snwprintf.c vsnwprintf.c
|
2003-03-02 15:00:48 +08:00
|
|
|
|
2003-10-21 17:43:22 +08:00
|
|
|
COMPLEX_DISTFILES = \
|
* mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
ctanl.c ctanhl.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
Declare.
2005-01-10 13:03:55 +08:00
|
|
|
cabs.c cabsf.c cabsl.c cacos.c cacosf.c cacosl.c cacosh.c \
|
|
|
|
cacoshf.c cacoshl.c carg.c cargf.c cargl.c casin.c casinf.c \
|
|
|
|
casinl.c casinh.c casinhf.c casinhl.c catan.c catanf.c catanl.c \
|
|
|
|
catanh.c catanhf.c catanhl.c ccos.c ccosf.c ccosl.c ccosh.c \
|
|
|
|
ccoshf.c ccoshl.c cexp.c cexpf.c cexpl.c cimag.c cimagf.c \
|
|
|
|
cimagl.c clog.c clogf.c clogl.c cpow.c cpowf.c cpowl.c cproj.c \
|
|
|
|
cprojf.c cprojl.c creal.c crealf.c creall.c csin.c csinf.c \
|
|
|
|
csinl.c csinh.c csinhf.c csinhl.c csqrt.c csqrtf.c csqrtl.c \
|
|
|
|
ctan.c ctanf.c ctanl.c ctanh.c ctanhf.c ctanhl.c
|
2003-10-21 17:43:22 +08:00
|
|
|
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
GDTOA_DISTFILES = \
|
|
|
|
arithchk.c dmisc.c dtoa.c g__fmt.c g_dfmt.c g_ffmt.c g_xfmt.c \
|
|
|
|
gd_arith.h gd_qnan.h gdtoa.c gdtoa.h gdtoaimp.h gethex.c gmisc.c \
|
|
|
|
hd_init.c hexnan.c misc.c qnan.c README smisc.c strtodg.c strtodnrp.c \
|
2008-07-29 07:24:20 +08:00
|
|
|
strtof.c strtopx.c sum.c ulp.c
|
|
|
|
|
2002-06-13 18:20:48 +08:00
|
|
|
CC = @CC@
|
|
|
|
# FIXME: Which is it, CC or CC_FOR_TARGET?
|
|
|
|
CC_FOR_TARGET = $(CC)
|
|
|
|
AS_FOR_TARGET = $(AS)
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
2002-07-29 11:00:10 +08:00
|
|
|
CXXFLAGS = @CXXFLAGS@
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
OPTFLAGS = -fomit-frame-pointer
|
|
|
|
WARNFLAGS = -Wall
|
|
|
|
|
2002-06-13 18:20:48 +08:00
|
|
|
|
|
|
|
# compiling with Cygwin?
|
2008-10-13 07:58:17 +08:00
|
|
|
NO_CYGWIN := @NO_CYGWIN@
|
|
|
|
ifdef NO_CYGWIN
|
2009-07-28 04:27:09 +08:00
|
|
|
#
|
|
|
|
# FIXME: What is the purpose of this hideous kludge?
|
|
|
|
#
|
|
|
|
# `CC' should have been appropriately set by the configure script;
|
|
|
|
# to mess with it, in this fashion, should neither be necessary,
|
|
|
|
# nor accepted.
|
|
|
|
#
|
2008-10-13 07:58:17 +08:00
|
|
|
override CC := ${NO_CYGWIN} $(firstword $(filter-out ${NO_CYGWIN},${CC}))
|
|
|
|
endif
|
2002-06-13 18:20:48 +08:00
|
|
|
|
2003-05-06 21:26:44 +08:00
|
|
|
W32API_INCLUDE = @W32API_INCLUDE@
|
2009-07-28 04:27:09 +08:00
|
|
|
INCLUDES = -I${srcdir} -I${top_srcdir} -I${top_srcdir}/include \
|
2004-07-13 21:01:28 +08:00
|
|
|
-nostdinc \
|
2002-06-13 18:20:48 +08:00
|
|
|
-iwithprefixbefore include
|
2008-10-13 07:58:17 +08:00
|
|
|
ALL_CFLAGS = $(CFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(INCLUDES) $(W32API_INCLUDE)
|
|
|
|
ALL_CXXFLAGS = $(CXXFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(INCLUDES) -nostdinc++ $(W32API_INCLUDE)
|
2002-06-13 18:20:48 +08:00
|
|
|
|
|
|
|
AS = @AS@
|
|
|
|
AR = @AR@
|
|
|
|
LD = @LD@
|
|
|
|
AR_FLAGS = rcv
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
DLLTOOLFLAGS =
|
|
|
|
DLLTOOL_FOR_TARGET = $(DLLTOOL)
|
|
|
|
DLLTOOL_FLAGS = --as $(AS_FOR_TARGET)
|
|
|
|
|
|
|
|
LIBMINGWEX_A = libmingwex.a
|
|
|
|
|
|
|
|
Q8_OBJS = \
|
|
|
|
fwide.o imaxabs.o imaxdiv.o mbsinit.o \
|
|
|
|
strtoimax.o strtoumax.o wcstoimax.o wcstoumax.o \
|
2005-02-25 09:43:43 +08:00
|
|
|
wmemchr.o wmemcmp.o wmemcpy.o wmemmove.o wmemset.o \
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
wctrans.o wctype.o wcrtomb.o wctob.o mbrtowc.o btowc.o \
|
|
|
|
wcstof.o wcstold.o
|
2006-08-03 15:44:30 +08:00
|
|
|
CTYPE_OBJS = \
|
|
|
|
isblank.o iswblank.o
|
2002-06-13 18:20:48 +08:00
|
|
|
STDLIB_STUB_OBJS = \
|
|
|
|
lltoa.o ulltoa.o \
|
|
|
|
lltow.o ulltow.o \
|
|
|
|
atoll.o wtoll.o \
|
|
|
|
_Exit.o
|
2003-03-02 15:00:48 +08:00
|
|
|
STDIO_OBJS = \
|
2004-06-30 12:51:18 +08:00
|
|
|
fopen64.o fseeko64.o ftello64.o lseek64.o \
|
2007-08-25 21:49:37 +08:00
|
|
|
vfscanf.o vfwscanf.o vscanf.o vsscanf.o vswscanf.o vwscanf.o \
|
2008-08-12 06:41:55 +08:00
|
|
|
pformat.o snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o \
|
|
|
|
printf.o fprintf.o sprintf.o vprintf.o vfprintf.o vsprintf.o
|
2002-06-13 18:20:48 +08:00
|
|
|
MATH_OBJS = \
|
2002-07-29 11:00:10 +08:00
|
|
|
acosf.o acosl.o asinf.o asinl.o atan2f.o atan2l.o \
|
|
|
|
atanf.o atanl.o cbrt.o cbrtf.o cbrtl.o ceilf.o ceill.o \
|
|
|
|
copysign.o copysignf.o copysignl.o cosf.o coshf.o coshl.o cosl.o \
|
2005-05-08 16:07:18 +08:00
|
|
|
erfl.o exp2.o exp2f.o exp2l.o expf.o expl.o expm1.o expm1l.o expm1f.o \
|
2005-02-11 12:15:17 +08:00
|
|
|
fabs.o fabsf.o fabsl.o \
|
2002-07-29 11:00:10 +08:00
|
|
|
fdim.o fdimf.o fdiml.o floorf.o floorl.o fma.o fmaf.o fmal.o \
|
|
|
|
fmax.o fmaxf.o fmaxl.o fmin.o fminf.o fminl.o fmodf.o \
|
|
|
|
fmodl.o fp_consts.o fp_constsf.o fp_constsl.o \
|
2002-06-13 18:20:48 +08:00
|
|
|
fpclassify.o fpclassifyf.o fpclassifyl.o \
|
2002-07-29 11:00:10 +08:00
|
|
|
frexpf.o frexpl.o fucom.o hypotf.o hypotl.o ilogb.o ilogbf.o \
|
2002-11-27 11:41:25 +08:00
|
|
|
ilogbl.o isnan.o isnanf.o isnanl.o ldexpf.o ldexpl.o \
|
2008-06-04 02:42:21 +08:00
|
|
|
lgamma.o lgammaf.o lgammal.o llrint.o llrintf.o llrintl.o \
|
2002-07-29 11:00:10 +08:00
|
|
|
log10f.o log10l.o log1p.o log1pf.o log1pl.o log2.o log2f.o \
|
2008-06-04 02:42:21 +08:00
|
|
|
log2l.o logb.o logbf.o logbl.o logf.o logl.o \
|
|
|
|
lrint.o lrintf.o lrintl.o modff.o modfl.o \
|
2005-05-10 16:39:07 +08:00
|
|
|
nearbyint.o nearbyintf.o nearbyintl.o \
|
|
|
|
nextafterf.o nextafterl.o nexttowardf.o nexttoward.o \
|
2004-07-02 18:01:51 +08:00
|
|
|
powf.o powi.o powif.o powil.o powl.o \
|
2002-10-07 07:26:43 +08:00
|
|
|
remainder.o remainderf.o remainderl.o remquo.o \
|
2008-06-04 02:42:21 +08:00
|
|
|
remquof.o remquol.o rint.o rintf.o rintl.o \
|
|
|
|
scalbn.o scalbnf.o scalbnl.o s_erf.o sf_erf.o \
|
2002-12-08 09:46:42 +08:00
|
|
|
signbit.o signbitf.o signbitl.o sinf.o sinhf.o sinhl.o sinl.o \
|
|
|
|
sqrtf.o sqrtl.o tanf.o tanhf.o tanhl.o tanl.o tgamma.o \
|
2004-10-07 04:31:32 +08:00
|
|
|
tgammaf.o tgammal.o trunc.o truncf.o truncl.o \
|
|
|
|
acosh.o acoshf.o acoshl.o asinh.o asinhf.o asinhl.o \
|
|
|
|
atanh.o atanhf.o atanhl.o
|
2008-06-04 02:42:21 +08:00
|
|
|
MATH_ROUND_OBJS = round.o roundf.o roundl.o
|
|
|
|
MATH_LROUND_OBJS = lround.o lroundf.o lroundl.o
|
|
|
|
MATH_LLROUND_OBJS = llround.o llroundf.o llroundl.o
|
2002-06-13 18:20:48 +08:00
|
|
|
FENV_OBJS = fesetround.o fegetround.o \
|
|
|
|
fegetenv.o fesetenv.o feupdateenv.o \
|
|
|
|
feclearexcept.o feholdexcept.o fegetexceptflag.o \
|
|
|
|
feraiseexcept.o fetestexcept.o fesetexceptflag.o
|
|
|
|
POSIX_OBJS = \
|
2008-07-29 07:24:20 +08:00
|
|
|
dirent.o wdirent.o getopt.o ftruncate.o gettimeofday.o usleep.o \
|
2007-06-22 18:09:20 +08:00
|
|
|
basename.o dirname.o tsearch.o twalk.o tdelete.o tfind.o
|
2002-06-13 18:20:48 +08:00
|
|
|
REPLACE_OBJS = \
|
2004-08-24 17:02:45 +08:00
|
|
|
mingw-aligned-malloc.o mingw-fseek.o
|
2003-10-21 17:43:22 +08:00
|
|
|
COMPLEX_OBJS = \
|
* mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
ctanl.c ctanhl.c): New files.
* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
(COMPLEX_OBJS): Adjust.
* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
Declare.
2005-01-10 13:03:55 +08:00
|
|
|
cabs.o cabsf.o cabsl.o cacos.o cacosf.o cacosl.o cacosh.o \
|
|
|
|
cacoshf.o cacoshl.o carg.o cargf.o cargl.o casin.o casinf.o \
|
|
|
|
casinl.o casinh.o casinhf.o casinhl.o catan.o catanf.o catanl.o \
|
|
|
|
catanh.o catanhf.o catanhl.o ccos.o ccosf.o ccosl.o ccosh.o \
|
|
|
|
ccoshf.o ccoshl.o cexp.o cexpf.o cexpl.o cimag.o cimagf.o \
|
|
|
|
cimagl.o clog.o clogf.o clogl.o cpow.o cpowf.o cpowl.o cproj.o \
|
|
|
|
cprojf.o cprojl.o creal.o crealf.o creall.o csin.o csinf.o \
|
|
|
|
csinl.o csinh.o csinhf.o csinhl.o csqrt.o csqrtf.o csqrtl.o \
|
|
|
|
ctan.o ctanf.o ctanl.o ctanh.o ctanhf.o ctanhl.o
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
GDTOA_OBJS = \
|
|
|
|
dmisc.o dtoa.o g__fmt.o g_dfmt.o g_ffmt.o g_xfmt.o gdtoa.o \
|
|
|
|
gethex.o gmisc.o hd_init.o hexnan.o misc.o smisc.o \
|
2008-07-29 07:24:20 +08:00
|
|
|
strtodg.o strtodnrp.o strtof.o strtopx.o sum.o ulp.o
|
2007-06-22 18:22:49 +08:00
|
|
|
|
|
|
|
LIB_OBJS = $(Q8_OBJS) $(CTYPE_OBJS) $(STDLIB_STUB_OBJS) \
|
2008-06-04 02:42:21 +08:00
|
|
|
$(STDIO_OBJS) $(MATH_OBJS) $(MATH_ROUND_OBJS) \
|
|
|
|
$(MATH_LROUND_OBJS) $(MATH_LLROUND_OBJS) $(FENV_OBJS) \
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
$(POSIX_OBJS) $(REPLACE_OBJS) $(COMPLEX_OBJS) \
|
|
|
|
$(GDTOA_OBJS)
|
2002-06-13 18:20:48 +08:00
|
|
|
|
|
|
|
LIBS = $(LIBMINGWEX_A)
|
|
|
|
DLLS =
|
|
|
|
|
|
|
|
all: $(LIBMINGWEX_A)
|
|
|
|
|
|
|
|
$(LIBMINGWEX_A): $(LIB_OBJS)
|
2002-07-29 11:00:10 +08:00
|
|
|
rm -f $(LIBMINGWEX_A)
|
2002-06-13 18:20:48 +08:00
|
|
|
$(AR) $(ARFLAGS) $@ $(LIB_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
2008-06-04 02:42:21 +08:00
|
|
|
$(MATH_ROUND_OBJS): round_generic.c
|
|
|
|
$(CC) $(ALL_CFLAGS) -I$(srcdir)/math -c -o $@ \
|
|
|
|
-D FUNCTION=$* $(srcdir)/math/round_generic.c
|
|
|
|
|
|
|
|
$(MATH_LROUND_OBJS) $(MATH_LLROUND_OBJS): lround_generic.c
|
|
|
|
$(CC) $(ALL_CFLAGS) -I$(srcdir)/math -c -o $@ \
|
|
|
|
-D FUNCTION=$* $(srcdir)/math/lround_generic.c
|
|
|
|
|
2009-07-28 04:27:09 +08:00
|
|
|
top_builddir = @top_builddir@
|
|
|
|
|
|
|
|
Makefile: Makefile.in ${top_builddir}/config.status ${top_srcdir}/configure
|
|
|
|
cd ${top_builddir}; $(SHELL) config.status
|
2002-06-13 18:20:48 +08:00
|
|
|
|
2009-07-28 04:27:09 +08:00
|
|
|
${top_builddir}/config.status: ${top_srcdir}/configure
|
|
|
|
cd ${top_builddir}; $(SHELL) config.status --recheck
|
2002-06-13 18:20:48 +08:00
|
|
|
|
|
|
|
info:
|
|
|
|
|
|
|
|
info-html:
|
|
|
|
|
|
|
|
install-info: info
|
|
|
|
|
2009-10-30 05:53:47 +08:00
|
|
|
need-DESTDIR-compatibility = prefix libdir
|
|
|
|
.PHONY: $(need-DESTDIR-compatibility) fail-DESTDIR-compatibility
|
|
|
|
|
|
|
|
$(need-DESTDIR-compatibility):
|
|
|
|
@test -z "$(DESTDIR)" || case "$($@)" in ?:*) \
|
|
|
|
$(MAKE) --no-print-directory reject="$@" fail-DESTDIR-compatibility ;; \
|
|
|
|
esac
|
|
|
|
|
|
|
|
fail-DESTDIR-compatibility:
|
|
|
|
$(error DESTDIR is not supported when $(reject) contains Win32 path `$($(reject))'; \
|
|
|
|
try `make install $(reject)=$(shell echo '$($(reject))' | sed s,:,:$(DESTDIR),) ...' instead)
|
|
|
|
|
|
|
|
install: all $(need-DESTDIR-compatibility)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(inst_libdir)
|
2002-06-13 18:20:48 +08:00
|
|
|
for i in $(LIBS); do \
|
2009-10-30 05:53:47 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(inst_libdir)/$$i ; \
|
2002-06-13 18:20:48 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $(LIB_OBJS) $(LIBMINGWEX_A)
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
-rm -f *.o *.a *~ core a.out
|
|
|
|
-rm -f config.cache config.status config.log
|
|
|
|
-rm -f Makefile
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $< -o $@
|
|
|
|
.S.o:
|
|
|
|
$(CC) -c $< -o $@
|
|
|
|
.s.o:
|
|
|
|
$(CC) -c $< -o $@
|
|
|
|
|
2008-07-29 07:24:20 +08:00
|
|
|
# pformat.o needs an explicit build rule; we always build it
|
|
|
|
# assuming __MSVCRT_VERSION__ >= 0x0800, relying on ofmt_stub.s
|
|
|
|
# (in the parent directory) to maintain forward compatibility
|
|
|
|
# for earlier versions of MSVCRT.DLL
|
|
|
|
#
|
|
|
|
PFORMAT_CFLAGS = $(ALL_CFLAGS) -I $(srcdir)/gdtoa -D__MSVCRT_VERSION__=0x0800
|
|
|
|
pformat.o: pformat.c pformat.h
|
|
|
|
$(CC) -c $(PFORMAT_CFLAGS) $(srcdir)/stdio/$*.c -o $@
|
2002-06-13 18:20:48 +08:00
|
|
|
|
|
|
|
#
|
2007-01-01 02:03:33 +08:00
|
|
|
# Dependencies
|
2002-06-13 18:20:48 +08:00
|
|
|
#
|
|
|
|
wdirent.o: $(srcdir)/dirent.c $(srcdir)/wdirent.c
|
|
|
|
|
2004-10-07 04:31:32 +08:00
|
|
|
acosh.o acoshf.o acoshl.o \
|
|
|
|
asinh.o asinhf.o asinhl.o \
|
|
|
|
atanh.o atanhf.o atanhl.o: fastmath.h
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
mbrtowc.o wcrtomb.o wcstof.o wcstold.o: mb_wc_common.h
|
|
|
|
|
|
|
|
$(GDTOA_OBJS): gd_arith.h gdtoa.h gdtoaimp.h gd_qnan.h
|
2002-06-13 18:20:48 +08:00
|
|
|
|
2008-06-04 02:42:21 +08:00
|
|
|
$(MATH_ROUND_OBJS) $(MATH_LROUND_OBJS) $(MATH_LLROUND_OBJS): round_internal.h
|
|
|
|
|
2008-08-14 23:13:18 +08:00
|
|
|
printf.o: printf.c pformat.h
|
|
|
|
fprintf.o: fprintf.c pformat.h
|
|
|
|
sprintf.o: sprintf.c pformat.h
|
|
|
|
snprintf.o: snprintf.c pformat.h
|
|
|
|
vprintf.o: vprintf.c pformat.h
|
|
|
|
vfprintf.o: vfprintf.c pformat.h
|
|
|
|
vsprintf.o: vsprintf.c pformat.h
|
|
|
|
vsnprintf.o: vsnprintf.c pformat.h
|
2008-07-29 07:24:20 +08:00
|
|
|
|
2002-06-13 18:20:48 +08:00
|
|
|
dist:
|
|
|
|
mkdir $(distdir)/mingwex
|
|
|
|
chmod 755 $(distdir)/mingwex
|
|
|
|
@for i in $(DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/$$i $(distdir)/mingwex/$$i ; \
|
|
|
|
done
|
2002-07-29 11:00:10 +08:00
|
|
|
mkdir $(distdir)/mingwex/math
|
2003-03-02 15:00:48 +08:00
|
|
|
chmod 755 $(distdir)/mingwex/math
|
2002-07-29 11:00:10 +08:00
|
|
|
@for i in $(MATH_DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/math/$$i $(distdir)/mingwex/math/$$i ; \
|
|
|
|
done
|
2003-03-02 15:00:48 +08:00
|
|
|
mkdir $(distdir)/mingwex/stdio
|
|
|
|
chmod 755 $(distdir)/mingwex/stdio
|
|
|
|
@for i in $(STDIO_DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/stdio/$$i $(distdir)/mingwex/stdio/$$i ; \
|
|
|
|
done
|
2003-10-21 17:43:22 +08:00
|
|
|
mkdir $(distdir)/mingwex/complex
|
|
|
|
chmod 755 $(distdir)/mingwex/complex
|
|
|
|
@for i in $(COMPLEX_DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/complex/$$i $(distdir)/mingwex/complex/$$i ; \
|
|
|
|
done
|
Import David Gay's gdtoa library.
* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
* mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.
2006-09-01 07:48:56 +08:00
|
|
|
mkdir $(distdir)/mingwex/gdtoa
|
|
|
|
chmod 755 $(distdir)/mingwex/gdtoa
|
|
|
|
@for i in $(GDTOA_DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/gdtoa/$$i $(distdir)/mingwex/gdtoa/$$i ; \
|
|
|
|
done
|
2009-07-28 04:27:09 +08:00
|
|
|
|
|
|
|
# $RCSfile$: end of file
|