mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
2e1a71756e
* libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
196 lines
4.7 KiB
Makefile
196 lines
4.7 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = -I$(srcdir)/../common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
src = s_acos.c s_frexp.c s_mathcnst.c \
|
|
s_cos.c s_sinh.c \
|
|
s_asin.c\
|
|
s_asine.c s_cosh.c s_ispos.c s_numtest.c s_sqrt.c \
|
|
s_exp.c s_ldexp.c s_pow.c s_tan.c \
|
|
s_atan.c \
|
|
s_atan2.c s_fabs.c s_log.c s_tanh.c \
|
|
s_log10.c s_sin.c \
|
|
s_floor.c s_sine.c \
|
|
s_atangent.c s_logarithm.c \
|
|
s_sineh.c \
|
|
s_ceil.c s_isnan.c s_isinf.c \
|
|
e_acosh.c e_atanh.c e_remainder.c \
|
|
er_gamma.c er_lgamma.c \
|
|
s_erf.c e_j0.c e_j1.c w_jn.c e_hypot.c \
|
|
w_cabs.c w_drem.c s_asinh.c s_fmod.c \
|
|
e_scalb.c s_infconst.c s_signif.c
|
|
|
|
fsrc = sf_ceil.c \
|
|
sf_acos.c sf_frexp.c \
|
|
sf_cos.c sf_sinh.c \
|
|
sf_asine.c sf_cosh.c sf_ispos.c sf_numtest.c sf_sqrt.c \
|
|
sf_asin.c \
|
|
sf_exp.c sf_ldexp.c sf_pow.c sf_tan.c \
|
|
sf_atan2.c sf_fabs.c sf_tanh.c \
|
|
sf_atan.c sf_log10.c sf_sin.c\
|
|
sf_floor.c sf_sine.c \
|
|
sf_atangent.c sf_logarithm.c sf_sineh.c \
|
|
sf_log.c sf_sineh.c \
|
|
sf_isnan.c sf_isinf.c \
|
|
ef_acosh.c ef_atanh.c ef_remainder.c \
|
|
erf_gamma.c erf_lgamma.c \
|
|
sf_erf.c ef_j0.c ef_j1.c wf_jn.c ef_hypot.c \
|
|
wf_cabs.c wf_drem.c sf_asinh.c sf_fmod.c \
|
|
ef_scalb.c sf_signif.c
|
|
|
|
libmathfp_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
if USE_LIBTOOL
|
|
noinst_LTLIBRARIES = libmathfp.la
|
|
libmathfp_la_SOURCES = $(src) $(fsrc)
|
|
noinst_DATA = objectlist.awk.in
|
|
else
|
|
noinst_LIBRARIES = lib.a
|
|
lib_a_SOURCES = $(src) $(fsrc)
|
|
noinst_DATA =
|
|
endif # USE_LIBTOOL
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
chobj = eacosh.def \
|
|
eatanh.def \
|
|
ehypot.def \
|
|
eremainder.def \
|
|
erlgamma.def \
|
|
sacos.def \
|
|
sasine.def \
|
|
sasinh.def \
|
|
satan.def \
|
|
satan2.def \
|
|
satangent.def \
|
|
scosh.def \
|
|
serf.def \
|
|
sexp.def \
|
|
sfabs.def \
|
|
sfloor.def \
|
|
sfmod.def \
|
|
sfrexp.def \
|
|
sisnan.def \
|
|
sldexp.def \
|
|
slog10.def \
|
|
slogarithm.def \
|
|
spow.def \
|
|
ssine.def \
|
|
ssineh.def \
|
|
ssqrt.def \
|
|
stan.def \
|
|
stanh.def \
|
|
wjn.def
|
|
|
|
SUFFIXES = .def
|
|
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
|
|
|
.c.def:
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
touch stmp-def
|
|
|
|
TARGETDOC = ../tmp.texi
|
|
|
|
doc: $(chobj)
|
|
cat $(srcdir)/mathfp.tex >> $(TARGETDOC)
|
|
|
|
CLEANFILES = $(chobj) *.ref
|
|
|
|
# Texinfo does not appear to support underscores in file names, so we
|
|
# name the .def files without underscores.
|
|
|
|
eacosh.def: e_acosh.c
|
|
$(CHEW) < $(srcdir)/e_acosh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
eatanh.def: e_atanh.c
|
|
$(CHEW) < $(srcdir)/e_atanh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
ehypot.def: e_hypot.c
|
|
$(CHEW) < $(srcdir)/e_hypot.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
eremainder.def: e_remainder.c
|
|
$(CHEW) < $(srcdir)/e_remainder.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
erlgamma.def: er_lgamma.c
|
|
$(CHEW) < $(srcdir)/er_lgamma.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sacos.def: s_acos.c
|
|
$(CHEW) < $(srcdir)/s_acos.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sasine.def: s_asine.c
|
|
$(CHEW) < $(srcdir)/s_asine.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sasinh.def: s_asinh.c
|
|
$(CHEW) < $(srcdir)/s_asinh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
satan.def: s_atan.c
|
|
$(CHEW) < $(srcdir)/s_atan.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
satan2.def: s_atan2.c
|
|
$(CHEW) < $(srcdir)/s_atan2.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
satangent.def: s_atangent.c
|
|
$(CHEW) < $(srcdir)/s_atangent.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
scosh.def: s_cosh.c
|
|
$(CHEW) < $(srcdir)/s_cosh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
serf.def: s_erf.c
|
|
$(CHEW) < $(srcdir)/s_erf.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sexp.def: s_exp.c
|
|
$(CHEW) < $(srcdir)/s_exp.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sfabs.def: s_fabs.c
|
|
$(CHEW) < $(srcdir)/s_fabs.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sfloor.def: s_floor.c
|
|
$(CHEW) < $(srcdir)/s_floor.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sfmod.def: s_fmod.c
|
|
$(CHEW) < $(srcdir)/s_fmod.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sfrexp.def: s_frexp.c
|
|
$(CHEW) < $(srcdir)/s_frexp.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sisnan.def: s_isnan.c
|
|
$(CHEW) < $(srcdir)/s_isnan.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
sldexp.def: s_ldexp.c
|
|
$(CHEW) < $(srcdir)/s_ldexp.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
slog10.def: s_log10.c
|
|
$(CHEW) < $(srcdir)/s_log10.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
slogarithm.def: s_logarithm.c
|
|
$(CHEW) < $(srcdir)/s_logarithm.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
spow.def: s_pow.c
|
|
$(CHEW) < $(srcdir)/s_pow.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
ssine.def: s_sine.c
|
|
$(CHEW) < $(srcdir)/s_sine.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
ssineh.def: s_sineh.c
|
|
$(CHEW) < $(srcdir)/s_sineh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
ssqrt.def: s_sqrt.c
|
|
$(CHEW) < $(srcdir)/s_sqrt.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
stan.def: s_tan.c
|
|
$(CHEW) < $(srcdir)/s_tan.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
stanh.def: s_tanh.c
|
|
$(CHEW) < $(srcdir)/s_tanh.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
wjn.def: w_jn.c
|
|
$(CHEW) < $(srcdir)/w_jn.c >$@ 2>/dev/null
|
|
touch stmp-def
|
|
|
|
# A partial dependency list.
|
|
|
|
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h $(srcdir)/../common/fdlibm.h
|