2002-06-13 12:20:48 +02:00
|
|
|
#
|
|
|
|
# mingw/mingwex/Makefile.in: This file is part of Mingw runtime.
|
|
|
|
#
|
|
|
|
# This makefile requires GNU make.
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
2003-10-21 11:43:22 +02:00
|
|
|
VPATH = $(srcdir):$(srcdir)/math:$(srcdir)/stdio:$(srcdir)/complex
|
2002-06-13 12:20:48 +02:00
|
|
|
objdir = .
|
|
|
|
|
|
|
|
target_alias = @target_alias@
|
|
|
|
prefix = @prefix@
|
|
|
|
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
|
|
|
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
|
|
|
|
DISTFILES = Makefile.in configure configure.in \
|
2002-07-29 05:00:10 +02: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 12:01:41 +02:00
|
|
|
feupdateenv.c ftruncate.c fwide.c getopt.c imaxabs.c imaxdiv.c \
|
|
|
|
ldtoa.c lltoa.c lltow.c mbsinit.c mingw-fseek.c sitest.c strtof.c \
|
2003-03-03 02:19:42 +01:00
|
|
|
strtoimax.c strtold.c strtoumax.c testwmem.c ulltoa.c ulltow.c \
|
|
|
|
wcstof.c wcstoimax.c wcstold.c wcstoumax.c wdirent.c wmemchr.c \
|
2002-11-26 01:11:06 +01:00
|
|
|
wmemcmp.c wmemcpy.c wmemmove.c wmemset.c wtoll.c
|
2003-03-02 08:00:48 +01:00
|
|
|
|
2002-07-29 05:00:10 +02:00
|
|
|
MATH_DISTFILES = \
|
|
|
|
acosf.c acosl.c asinf.c asinl.c atan2f.c atan2l.c \
|
2002-11-26 01:11:06 +01:00
|
|
|
atanf.c atanl.c cbrt.c cbrtf.c cbrtl.c ceilf.S ceill.S \
|
|
|
|
cephes_emath.h cephes_emath.c cephes_mconf.h \
|
2002-07-29 05:00:10 +02:00
|
|
|
copysign.S copysignf.S copysignl.S cosf.S coshf.c coshl.c cosl.S \
|
|
|
|
exp2.S exp2f.S exp2l.S expf.c expl.c fabs.c fabsf.c fabsl.c \
|
|
|
|
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 04:41:25 +01:00
|
|
|
ilogbl.S isnan.c isnanf.c isnanl.c ldexpf.c ldexpl.c \
|
|
|
|
lgamma.c lgammaf.c lgammal.c llrint.c \
|
2002-07-29 05:00:10 +02:00
|
|
|
llrintf.c llrintl.c llround.c llroundf.c llroundl.c \
|
|
|
|
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 \
|
|
|
|
lrintl.c lround.c lroundf.c lroundl.c modff.c modfl.c \
|
2002-10-07 01:26:43 +02:00
|
|
|
nearbyint.S nearbyintf.S nearbyintl.S nextafterf.c \
|
2004-07-02 12:01:51 +02:00
|
|
|
powf.c powi.c powif.c powil.c powl.c \
|
2002-10-07 01:26:43 +02:00
|
|
|
remainder.S remainderf.S remainderl.S remquo.S \
|
2002-07-29 05:00:10 +02:00
|
|
|
remquof.S remquol.S rint.c rintf.c rintl.c round.c roundf.c \
|
2002-12-08 02:46:42 +01:00
|
|
|
roundl.c scalbn.S scalbnf.S scalbnl.S s_erf.c sf_erf.c \
|
|
|
|
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 \
|
|
|
|
tgammaf.c tgammal.c trunc.c truncf.c truncl.c
|
2002-06-13 12:20:48 +02:00
|
|
|
|
2003-03-02 08:00:48 +01:00
|
|
|
STDIO_DISTFILES = \
|
2004-06-30 06:51:18 +02:00
|
|
|
fopen64.c fseeko64.c ftello64.c lseek64.c \
|
2003-03-02 08:00:48 +01:00
|
|
|
snprintf.c snwprintf.c vsnprintf.c vsnwprintf.c \
|
|
|
|
vfscanf.c vfwscanf.c vscanf.c vsscanf.c vswscanf.c vwscanf.c
|
|
|
|
|
2003-10-21 11:43:22 +02:00
|
|
|
COMPLEX_DISTFILES = \
|
2004-07-15 01:44:50 +02:00
|
|
|
cabs.c cacos.c cacosh.c casin.c casinh.c carg.c catan.c catanh.c \
|
2003-10-21 11:43:22 +02:00
|
|
|
ccos.c ccosh.c cexp.c cimag.c clog.c cpow.c cproj.c creal.c \
|
|
|
|
csin.c csinh.c csqrt.c ctan.c ctanh.c
|
|
|
|
|
2002-06-13 12:20:48 +02:00
|
|
|
CC = @CC@
|
|
|
|
# FIXME: Which is it, CC or CC_FOR_TARGET?
|
|
|
|
CC_FOR_TARGET = $(CC)
|
|
|
|
AS_FOR_TARGET = $(AS)
|
|
|
|
CFLAGS = @CFLAGS@ -Wall
|
2002-07-29 05:00:10 +02:00
|
|
|
CXXFLAGS = @CXXFLAGS@
|
2002-06-13 12:20:48 +02:00
|
|
|
OPTFLAGS= -fomit-frame-pointer
|
|
|
|
|
|
|
|
# compiling with Cygwin?
|
|
|
|
MNO_CYGWIN = @MNO_CYGWIN@
|
|
|
|
|
2003-05-06 15:26:44 +02:00
|
|
|
W32API_INCLUDE = @W32API_INCLUDE@
|
2004-07-15 01:44:50 +02:00
|
|
|
INCLUDES = -I$(srcdir) -isystem$(srcdir)/../include \
|
2004-07-13 15:01:28 +02:00
|
|
|
-nostdinc \
|
2002-06-13 12:20:48 +02:00
|
|
|
-iwithprefixbefore include
|
2003-05-06 15:26:44 +02:00
|
|
|
ALL_CFLAGS = $(CFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN)
|
2004-07-13 15:01:28 +02:00
|
|
|
ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN)
|
2002-06-13 12:20:48 +02: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 \
|
|
|
|
wmemchr.o wmemcmp.o wmemcpy.o wmemmove.o wmemset.o
|
2002-11-26 01:11:06 +01:00
|
|
|
STDLIB_OBJS = \
|
|
|
|
strtold.o wcstold.o
|
2002-06-13 12:20:48 +02:00
|
|
|
STDLIB_STUB_OBJS = \
|
|
|
|
lltoa.o ulltoa.o \
|
|
|
|
lltow.o ulltow.o \
|
|
|
|
atoll.o wtoll.o \
|
|
|
|
strtof.o wcstof.o \
|
|
|
|
_Exit.o
|
2003-03-02 08:00:48 +01:00
|
|
|
STDIO_OBJS = \
|
2004-06-30 06:51:18 +02:00
|
|
|
fopen64.o fseeko64.o ftello64.o lseek64.o \
|
2003-03-02 08:00:48 +01:00
|
|
|
snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o \
|
|
|
|
vfscanf.o vfwscanf.o vscanf.o vsscanf.o vswscanf.o vwscanf.o
|
2002-06-13 12:20:48 +02:00
|
|
|
MATH_OBJS = \
|
2002-07-29 05:00:10 +02: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 \
|
2002-11-26 01:11:06 +01:00
|
|
|
cephes_emath.o \
|
2002-07-29 05:00:10 +02:00
|
|
|
copysign.o copysignf.o copysignl.o cosf.o coshf.o coshl.o cosl.o \
|
|
|
|
exp2.o exp2f.o exp2l.o expf.o expl.o fabs.o fabsf.o fabsl.o \
|
|
|
|
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 12:20:48 +02:00
|
|
|
fpclassify.o fpclassifyf.o fpclassifyl.o \
|
2002-07-29 05:00:10 +02:00
|
|
|
frexpf.o frexpl.o fucom.o hypotf.o hypotl.o ilogb.o ilogbf.o \
|
2002-11-27 04:41:25 +01:00
|
|
|
ilogbl.o isnan.o isnanf.o isnanl.o ldexpf.o ldexpl.o \
|
|
|
|
lgamma.o lgammaf.o lgammal.o llrint.o \
|
2002-07-29 05:00:10 +02:00
|
|
|
llrintf.o llrintl.o llround.o llroundf.o llroundl.o \
|
|
|
|
log10f.o log10l.o log1p.o log1pf.o log1pl.o log2.o log2f.o \
|
|
|
|
log2l.o logb.o logbf.o logbl.o logf.o logl.o lrint.o lrintf.o \
|
|
|
|
lrintl.o lround.o lroundf.o lroundl.o modff.o modfl.o \
|
2002-10-07 01:26:43 +02:00
|
|
|
nearbyint.o nearbyintf.o nearbyintl.o nextafterf.o \
|
2004-07-02 12:01:51 +02:00
|
|
|
powf.o powi.o powif.o powil.o powl.o \
|
2002-10-07 01:26:43 +02:00
|
|
|
remainder.o remainderf.o remainderl.o remquo.o \
|
2002-07-29 05:00:10 +02:00
|
|
|
remquof.o remquol.o rint.o rintf.o rintl.o round.o roundf.o \
|
2002-12-08 02:46:42 +01:00
|
|
|
roundl.o scalbn.o scalbnf.o scalbnl.o s_erf.o sf_erf.o \
|
|
|
|
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 \
|
|
|
|
tgammaf.o tgammal.o trunc.o truncf.o truncl.o
|
2002-06-13 12:20:48 +02: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 = \
|
2004-07-11 12:01:41 +02:00
|
|
|
dirent.o wdirent.o getopt.o ftruncate.o
|
2002-06-13 12:20:48 +02:00
|
|
|
REPLACE_OBJS = \
|
|
|
|
mingw-fseek.o
|
2003-10-21 11:43:22 +02:00
|
|
|
COMPLEX_OBJS = \
|
2004-07-15 01:44:50 +02:00
|
|
|
cabs.o cacos.o cacosh.o casin.o casinh.o carg.o catan.o catanh.o \
|
2003-10-21 11:43:22 +02:00
|
|
|
ccos.o ccosh.o cexp.o cimag.o clog.o cpow.o cproj.o creal.o \
|
2004-07-15 01:44:50 +02:00
|
|
|
csin.o csinh.o csqrt.o ctan.o ctanh.o
|
2002-06-13 12:20:48 +02:00
|
|
|
|
2002-11-26 01:11:06 +01:00
|
|
|
LIB_OBJS = $(Q8_OBJS) $(STDLIB_OBJS) $(STDLIB_STUB_OBJS) \
|
2003-03-02 08:00:48 +01:00
|
|
|
$(STDIO_OBJS) $(MATH_OBJS) $(FENV_OBJS) \
|
2003-10-21 11:43:22 +02:00
|
|
|
$(POSIX_OBJS) $(REPLACE_OBJS) $(COMPLEX_OBJS)
|
2002-06-13 12:20:48 +02:00
|
|
|
|
|
|
|
LIBS = $(LIBMINGWEX_A)
|
|
|
|
DLLS =
|
|
|
|
|
|
|
|
all: $(LIBMINGWEX_A)
|
|
|
|
|
|
|
|
$(LIBMINGWEX_A): $(LIB_OBJS)
|
2002-07-29 05:00:10 +02:00
|
|
|
rm -f $(LIBMINGWEX_A)
|
2002-06-13 12:20:48 +02:00
|
|
|
$(AR) $(ARFLAGS) $@ $(LIB_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status configure
|
|
|
|
$(SHELL) config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
$(SHELL) config.status --recheck
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
|
|
|
info-html:
|
|
|
|
|
|
|
|
install-info: info
|
|
|
|
|
|
|
|
install: all
|
|
|
|
$(mkinstalldirs) $(inst_libdir)
|
|
|
|
for i in $(LIBS); do \
|
|
|
|
$(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
|
|
|
|
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 $@
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Dependancies
|
|
|
|
#
|
|
|
|
wdirent.o: $(srcdir)/dirent.c $(srcdir)/wdirent.c
|
2002-11-26 01:11:06 +01:00
|
|
|
strtold.o: $(srcdir)/strtold.c $(srcdir)/math/cephes_emath.h
|
|
|
|
wcstold.o: $(srcdir)/wcstold.c $(srcdir)/math/cephes_emath.h
|
2002-06-13 12:20:48 +02: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 05:00:10 +02:00
|
|
|
mkdir $(distdir)/mingwex/math
|
2003-03-02 08:00:48 +01:00
|
|
|
chmod 755 $(distdir)/mingwex/math
|
2002-07-29 05:00:10 +02:00
|
|
|
@for i in $(MATH_DISTFILES); do\
|
|
|
|
cp -p $(srcdir)/math/$$i $(distdir)/mingwex/math/$$i ; \
|
|
|
|
done
|
2003-03-02 08:00:48 +01: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 11:43:22 +02: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
|
|
|
|
|