1 | ## 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 \ |
---|
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 \ |
---|
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 | sf_exp.c sf_exp2.c sf_exp2_data.c sf_log.c sf_log_data.c \ |
---|
27 | sf_log2.c sf_log2_data.c sf_pow_log2_data.c sf_pow.c \ |
---|
28 | math_errf.c |
---|
29 | |
---|
30 | lsrc = atanl.c cosl.c sinl.c tanl.c tanhl.c frexpl.c modfl.c ceill.c fabsl.c \ |
---|
31 | floorl.c log1pl.c expm1l.c acosl.c asinl.c atan2l.c coshl.c sinhl.c \ |
---|
32 | expl.c ldexpl.c logl.c log10l.c powl.c sqrtl.c fmodl.c hypotl.c \ |
---|
33 | copysignl.c nanl.c ilogbl.c asinhl.c cbrtl.c nextafterl.c rintl.c \ |
---|
34 | scalbnl.c exp2l.c scalblnl.c tgammal.c nearbyintl.c lrintl.c llrintl.c \ |
---|
35 | roundl.c lroundl.c llroundl.c truncl.c remquol.c fdiml.c fmaxl.c fminl.c \ |
---|
36 | fmal.c acoshl.c atanhl.c remainderl.c lgammal.c erfl.c erfcl.c \ |
---|
37 | logbl.c nexttowardf.c nexttoward.c nexttowardl.c log2l.c \ |
---|
38 | sl_finite.c |
---|
39 | |
---|
40 | libcommon_la_LDFLAGS = -Xcompiler -nostdlib |
---|
41 | |
---|
42 | if USE_LIBTOOL |
---|
43 | noinst_LTLIBRARIES = libcommon.la |
---|
44 | libcommon_la_SOURCES = $(src) $(fsrc) |
---|
45 | if HAVE_LONG_DOUBLE |
---|
46 | libcommon_la_SOURCES += $(lsrc) |
---|
47 | endif # HAVE_LONG_DOUBLE |
---|
48 | noinst_DATA = objectlist.awk.in |
---|
49 | else |
---|
50 | noinst_LIBRARIES = lib.a |
---|
51 | lib_a_SOURCES = $(src) $(fsrc) |
---|
52 | if HAVE_LONG_DOUBLE |
---|
53 | lib_a_SOURCES += $(lsrc) |
---|
54 | endif # HAVE_LONG_DOUBLE |
---|
55 | lib_a_CFLAGS = $(AM_CFLAGS) |
---|
56 | noinst_DATA = |
---|
57 | endif # USE_LIBTOOL |
---|
58 | |
---|
59 | include $(srcdir)/../../Makefile.shared |
---|
60 | |
---|
61 | CHEWOUT_FILES = s_cbrt.def s_copysign.def s_exp10.def s_expm1.def s_ilogb.def \ |
---|
62 | s_infinity.def s_isnan.def s_log1p.def s_matherr.def s_modf.def \ |
---|
63 | s_nan.def s_nextafter.def s_pow10.def s_scalbn.def \ |
---|
64 | s_fdim.def s_fma.def s_fmax.def s_fmin.def \ |
---|
65 | s_logb.def s_log2.def s_lrint.def s_lround.def s_nearbyint.def \ |
---|
66 | s_remquo.def s_rint.def s_round.def s_signbit.def s_trunc.def \ |
---|
67 | isgreater.def |
---|
68 | |
---|
69 | CHAPTERS = |
---|
70 | |
---|
71 | # A partial dependency list. |
---|
72 | |
---|
73 | $(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h fdlibm.h |
---|