1 |
207 |
jeremybenn |
## Process this file with automake to generate Makefile.in
|
2 |
|
|
|
3 |
|
|
AUTOMAKE_OPTIONS = cygnus
|
4 |
|
|
|
5 |
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
6 |
|
|
|
7 |
|
|
src = s_finite.c s_copysign.c s_modf.c s_scalbn.c \
|
8 |
|
|
s_cbrt.c s_exp10.c s_expm1.c s_ilogb.c s_infconst.c \
|
9 |
|
|
s_infinity.c s_isinf.c s_isinfd.c s_isnan.c s_isnand.c \
|
10 |
|
|
s_log1p.c s_nan.c s_nextafter.c s_pow10.c \
|
11 |
|
|
s_rint.c s_logb.c s_log2.c s_matherr.c s_lib_ver.c \
|
12 |
|
|
s_fdim.c s_fma.c s_fmax.c s_fmin.c s_fpclassify.c \
|
13 |
|
|
s_lrint.c s_llrint.c \
|
14 |
|
|
s_lround.c s_llround.c s_nearbyint.c s_remquo.c s_round.c s_scalbln.c \
|
15 |
|
|
s_signbit.c s_trunc.c
|
16 |
|
|
|
17 |
|
|
fsrc = sf_finite.c sf_copysign.c sf_modf.c sf_scalbn.c \
|
18 |
|
|
sf_cbrt.c sf_exp10.c sf_expm1.c sf_ilogb.c \
|
19 |
|
|
sf_infinity.c sf_isinf.c sf_isinff.c sf_isnan.c sf_isnanf.c \
|
20 |
|
|
sf_log1p.c sf_nan.c sf_nextafter.c sf_pow10.c \
|
21 |
|
|
sf_rint.c sf_logb.c sf_log2.c \
|
22 |
|
|
sf_fdim.c sf_fma.c sf_fmax.c sf_fmin.c sf_fpclassify.c \
|
23 |
|
|
sf_lrint.c sf_llrint.c \
|
24 |
|
|
sf_lround.c sf_llround.c sf_nearbyint.c sf_remquo.c sf_round.c \
|
25 |
|
|
sf_scalbln.c sf_trunc.c
|
26 |
|
|
|
27 |
|
|
lsrc = atanl.c cosl.c sinl.c tanl.c tanhl.c frexpl.c modfl.c ceill.c fabsl.c \
|
28 |
|
|
floorl.c log1pl.c expm1l.c acosl.c asinl.c atan2l.c coshl.c sinhl.c \
|
29 |
|
|
expl.c ldexpl.c logl.c log10l.c powl.c sqrtl.c fmodl.c hypotl.c \
|
30 |
|
|
copysignl.c nanl.c ilogbl.c asinhl.c cbrtl.c nextafterl.c rintl.c \
|
31 |
|
|
scalbnl.c exp2l.c scalblnl.c tgammal.c nearbyintl.c lrintl.c llrintl.c \
|
32 |
|
|
roundl.c lroundl.c llroundl.c truncl.c remquol.c fdiml.c fmaxl.c fminl.c \
|
33 |
|
|
fmal.c acoshl.c atanhl.c remainderl.c lgammal.c erfl.c erfcl.c
|
34 |
|
|
|
35 |
|
|
libcommon_la_LDFLAGS = -Xcompiler -nostdlib
|
36 |
|
|
|
37 |
|
|
if USE_LIBTOOL
|
38 |
|
|
noinst_LTLIBRARIES = libcommon.la
|
39 |
|
|
libcommon_la_SOURCES = $(src) $(fsrc)
|
40 |
|
|
if HAVE_LONG_DOUBLE
|
41 |
|
|
libcommon_la_SOURCES += $(lsrc)
|
42 |
|
|
endif # HAVE_LONG_DOUBLE
|
43 |
|
|
noinst_DATA = objectlist.awk.in
|
44 |
|
|
else
|
45 |
|
|
noinst_LIBRARIES = lib.a
|
46 |
|
|
lib_a_SOURCES = $(src) $(fsrc)
|
47 |
|
|
if HAVE_LONG_DOUBLE
|
48 |
|
|
lib_a_SOURCES += $(lsrc)
|
49 |
|
|
endif # HAVE_LONG_DOUBLE
|
50 |
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
51 |
|
|
noinst_DATA =
|
52 |
|
|
endif # USE_LIBTOOL
|
53 |
|
|
|
54 |
|
|
include $(srcdir)/../../Makefile.shared
|
55 |
|
|
|
56 |
|
|
chobj = s_cbrt.def s_copysign.def s_exp10.def s_expm1.def s_ilogb.def \
|
57 |
|
|
s_infinity.def s_isnan.def s_log1p.def s_matherr.def s_modf.def \
|
58 |
|
|
s_nan.def s_nextafter.def s_pow10.def s_scalbn.def \
|
59 |
|
|
s_fdim.def s_fma.def s_fmax.def s_fmin.def \
|
60 |
|
|
s_logb.def s_log2.def s_lrint.def s_lround.def s_nearbyint.def \
|
61 |
|
|
s_remquo.def s_rint.def s_round.def s_signbit.def s_trunc.def \
|
62 |
|
|
isgreater.def
|
63 |
|
|
|
64 |
|
|
SUFFIXES = .def
|
65 |
|
|
|
66 |
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
67 |
|
|
|
68 |
|
|
.c.def:
|
69 |
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
70 |
|
|
touch stmp-def
|
71 |
|
|
|
72 |
|
|
TARGETDOC = ../tmp.texi
|
73 |
|
|
|
74 |
|
|
doc: $(chobj)
|
75 |
|
|
|
76 |
|
|
CLEANFILES = $(chobj) *.ref
|
77 |
|
|
|
78 |
|
|
# A partial dependency list.
|
79 |
|
|
|
80 |
|
|
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h fdlibm.h
|