2 # mingw/mingwex/Makefile.in: This file is part of Mingw runtime.
4 # This makefile requires GNU make.
7 VPATH = $(srcdir):$(srcdir)/math:$(srcdir)/stdio:$(srcdir)/complex
10 target_alias = @target_alias@
13 program_transform_name = @program_transform_name@
14 exec_prefix = @exec_prefix@
17 tooldir = $(exec_prefix)/$(target_alias)
20 includedir = @includedir@
25 INSTALL_DATA = @INSTALL_DATA@
26 INSTALL_PROGRAM = @INSTALL_PROGRAM@
27 mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
28 DISTFILES = Makefile.in configure configure.in \
29 _Exit.c atoll.c dirent.c feclearexcept.c fegetenv.c \
30 fegetexceptflag.c fegetround.c feholdexcept.c feraiseexcept.c \
31 fesetenv.c fesetexceptflag.c fesetround.c fetestexcept.c \
32 feupdateenv.c ftruncate.c fwide.c getopt.c imaxabs.c imaxdiv.c \
33 ldtoa.c lltoa.c lltow.c mbsinit.c mingw-aligned-malloc.c \
34 mingw-fseek.c sitest.c strtof.c strtoimax.c strtold.c strtoumax.c \
35 testwmem.c tst-aligned-malloc.c ulltoa.c ulltow.c wcstof.c \
36 wcstoimax.c wcstold.c wcstoumax.c wdirent.c wmemchr.c wmemcmp.c \
37 wmemcpy.c wmemmove.c wmemset.c wtoll.c
40 acosf.c acosl.c asinf.c asinl.c atan2f.c atan2l.c \
41 atanf.c atanl.c cbrt.c cbrtf.c cbrtl.c ceilf.S ceill.S \
42 cephes_emath.h cephes_emath.c cephes_mconf.h \
43 copysign.S copysignf.S copysignl.S cosf.S coshf.c coshl.c cosl.S \
44 exp2.S exp2f.S exp2l.S expf.c expl.c fabs.c fabsf.c fabsl.c \
45 fdim.c fdimf.c fdiml.c floorf.S floorl.S fma.S fmaf.S fmal.c \
46 fmax.c fmaxf.c fmaxl.c fmin.c fminf.c fminl.c fmodf.c \
47 fmodl.c fp_consts.c fp_consts.h fp_constsf.c fp_constsl.c \
48 fpclassify.c fpclassifyf.c fpclassifyl.c \
49 frexpf.c frexpl.S fucom.c hypotf.c hypotl.c ilogb.S ilogbf.S \
50 ilogbl.S isnan.c isnanf.c isnanl.c ldexpf.c ldexpl.c \
51 lgamma.c lgammaf.c lgammal.c llrint.c \
52 llrintf.c llrintl.c llround.c llroundf.c llroundl.c \
53 log10f.S log10l.S log1p.S log1pf.S log1pl.S log2.S log2f.S \
54 log2l.S logb.c logbf.c logbl.c logf.S logl.S lrint.c lrintf.c \
55 lrintl.c lround.c lroundf.c lroundl.c modff.c modfl.c \
56 nearbyint.S nearbyintf.S nearbyintl.S nextafterf.c \
57 powf.c powi.c powif.c powil.c powl.c \
58 remainder.S remainderf.S remainderl.S remquo.S \
59 remquof.S remquol.S rint.c rintf.c rintl.c round.c roundf.c \
60 roundl.c scalbn.S scalbnf.S scalbnl.S s_erf.c sf_erf.c \
61 signbit.c signbitf.c signbitl.c sinf.S sinhf.c sinhl.c sinl.S \
62 sqrtf.c sqrtl.c tanf.S tanhf.c tanhl.c tanl.S tgamma.c \
63 tgammaf.c tgammal.c trunc.c truncf.c truncl.c \
64 acosh.c acoshf.c acoshl.c asinh.c asinhf.c asinhl.c \
65 atanh.c atanhf.c atanhl.c fastmath.h
68 fopen64.c fseeko64.c ftello64.c lseek64.c \
69 snprintf.c snwprintf.c vsnprintf.c vsnwprintf.c \
70 vfscanf.c vfwscanf.c vscanf.c vsscanf.c vswscanf.c vwscanf.c
73 cabs.c cacos.c cacosh.c carg.c casin.c casinh.c catan.c catanh.c \
74 ccos.c ccosh.c cexp.c cimag.c clog.c cpow.c cproj.c creal.c \
75 csin.c csinh.c csqrt.c ctan.c ctanh.c
78 # FIXME: Which is it, CC or CC_FOR_TARGET?
81 CFLAGS = @CFLAGS@ -Wall
83 OPTFLAGS= -fomit-frame-pointer
85 # compiling with Cygwin?
86 MNO_CYGWIN = @MNO_CYGWIN@
88 W32API_INCLUDE = @W32API_INCLUDE@
89 INCLUDES = -I$(srcdir) -I$(srcdir)/../include \
91 -iwithprefixbefore include
92 ALL_CFLAGS = $(CFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN)
93 ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN)
102 DLLTOOL_FOR_TARGET = $(DLLTOOL)
103 DLLTOOL_FLAGS = --as $(AS_FOR_TARGET)
105 LIBMINGWEX_A = libmingwex.a
108 fwide.o imaxabs.o imaxdiv.o mbsinit.o \
109 strtoimax.o strtoumax.o wcstoimax.o wcstoumax.o \
110 wmemchr.o wmemcmp.o wmemcpy.o wmemmove.o wmemset.o
120 fopen64.o fseeko64.o ftello64.o lseek64.o \
121 snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o \
122 vfscanf.o vfwscanf.o vscanf.o vsscanf.o vswscanf.o vwscanf.o
124 acosf.o acosl.o asinf.o asinl.o atan2f.o atan2l.o \
125 atanf.o atanl.o cbrt.o cbrtf.o cbrtl.o ceilf.o ceill.o \
127 copysign.o copysignf.o copysignl.o cosf.o coshf.o coshl.o cosl.o \
128 exp2.o exp2f.o exp2l.o expf.o expl.o fabs.o fabsf.o fabsl.o \
129 fdim.o fdimf.o fdiml.o floorf.o floorl.o fma.o fmaf.o fmal.o \
130 fmax.o fmaxf.o fmaxl.o fmin.o fminf.o fminl.o fmodf.o \
131 fmodl.o fp_consts.o fp_constsf.o fp_constsl.o \
132 fpclassify.o fpclassifyf.o fpclassifyl.o \
133 frexpf.o frexpl.o fucom.o hypotf.o hypotl.o ilogb.o ilogbf.o \
134 ilogbl.o isnan.o isnanf.o isnanl.o ldexpf.o ldexpl.o \
135 lgamma.o lgammaf.o lgammal.o llrint.o \
136 llrintf.o llrintl.o llround.o llroundf.o llroundl.o \
137 log10f.o log10l.o log1p.o log1pf.o log1pl.o log2.o log2f.o \
138 log2l.o logb.o logbf.o logbl.o logf.o logl.o lrint.o lrintf.o \
139 lrintl.o lround.o lroundf.o lroundl.o modff.o modfl.o \
140 nearbyint.o nearbyintf.o nearbyintl.o nextafterf.o \
141 powf.o powi.o powif.o powil.o powl.o \
142 remainder.o remainderf.o remainderl.o remquo.o \
143 remquof.o remquol.o rint.o rintf.o rintl.o round.o roundf.o \
144 roundl.o scalbn.o scalbnf.o scalbnl.o s_erf.o sf_erf.o \
145 signbit.o signbitf.o signbitl.o sinf.o sinhf.o sinhl.o sinl.o \
146 sqrtf.o sqrtl.o tanf.o tanhf.o tanhl.o tanl.o tgamma.o \
147 tgammaf.o tgammal.o trunc.o truncf.o truncl.o \
148 acosh.o acoshf.o acoshl.o asinh.o asinhf.o asinhl.o \
149 atanh.o atanhf.o atanhl.o
150 FENV_OBJS = fesetround.o fegetround.o \
151 fegetenv.o fesetenv.o feupdateenv.o \
152 feclearexcept.o feholdexcept.o fegetexceptflag.o \
153 feraiseexcept.o fetestexcept.o fesetexceptflag.o
155 dirent.o wdirent.o getopt.o ftruncate.o
157 mingw-aligned-malloc.o mingw-fseek.o
159 cabs.o cacos.o cacosh.o carg.o casin.o casinh.o catan.o catanh.o \
160 ccos.o ccosh.o cexp.o cimag.o clog.o cpow.o cproj.o creal.o \
161 csin.o csinh.o csqrt.o ctan.o ctanh.o
163 LIB_OBJS = $(Q8_OBJS) $(STDLIB_OBJS) $(STDLIB_STUB_OBJS) \
164 $(STDIO_OBJS) $(MATH_OBJS) $(FENV_OBJS) \
165 $(POSIX_OBJS) $(REPLACE_OBJS) $(COMPLEX_OBJS)
167 LIBS = $(LIBMINGWEX_A)
172 $(LIBMINGWEX_A): $(LIB_OBJS)
173 rm -f $(LIBMINGWEX_A)
174 $(AR) $(ARFLAGS) $@ $(LIB_OBJS)
178 Makefile: Makefile.in config.status configure
179 $(SHELL) config.status
181 config.status: configure
182 $(SHELL) config.status --recheck
191 $(mkinstalldirs) $(inst_libdir)
192 for i in $(LIBS); do \
193 $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \
197 -rm -f $(LIB_OBJS) $(LIBMINGWEX_A)
200 -rm -f *.o *.a *~ core a.out
201 -rm -f config.cache config.status config.log
204 $(CC) -c $(ALL_CFLAGS) $< -o $@
214 wdirent.o: $(srcdir)/dirent.c $(srcdir)/wdirent.c
215 strtold.o: $(srcdir)/strtold.c $(srcdir)/math/cephes_emath.h
216 wcstold.o: $(srcdir)/wcstold.c $(srcdir)/math/cephes_emath.h
218 acosh.o acoshf.o acoshl.o \
219 asinh.o asinhf.o asinhl.o \
220 atanh.o atanhf.o atanhl.o: fastmath.h
224 mkdir $(distdir)/mingwex
225 chmod 755 $(distdir)/mingwex
226 @for i in $(DISTFILES); do\
227 cp -p $(srcdir)/$$i $(distdir)/mingwex/$$i ; \
229 mkdir $(distdir)/mingwex/math
230 chmod 755 $(distdir)/mingwex/math
231 @for i in $(MATH_DISTFILES); do\
232 cp -p $(srcdir)/math/$$i $(distdir)/mingwex/math/$$i ; \
234 mkdir $(distdir)/mingwex/stdio
235 chmod 755 $(distdir)/mingwex/stdio
236 @for i in $(STDIO_DISTFILES); do\
237 cp -p $(srcdir)/stdio/$$i $(distdir)/mingwex/stdio/$$i ; \
239 mkdir $(distdir)/mingwex/complex
240 chmod 755 $(distdir)/mingwex/complex
241 @for i in $(COMPLEX_DISTFILES); do\
242 cp -p $(srcdir)/complex/$$i $(distdir)/mingwex/complex/$$i ; \