OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libm/] [common/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
## 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_expm1.c s_ilogb.c \
9
        s_infinity.c s_log1p.c s_nan.c s_nextafter.c \
10
        s_rint.c s_logb.c s_matherr.c s_lib_ver.c
11
 
12
fsrc =  sf_finite.c sf_copysign.c sf_modf.c sf_scalbn.c \
13
        sf_cbrt.c sf_expm1.c sf_ilogb.c \
14
        sf_infinity.c sf_log1p.c sf_nan.c sf_nextafter.c \
15
        sf_rint.c sf_logb.c
16
 
17
libcommon_la_LDFLAGS = -Xcompiler -nostdlib
18
 
19
if USE_LIBTOOL
20
noinst_LTLIBRARIES = libcommon.la
21
libcommon_la_SOURCES = $(src) $(fsrc)
22
noinst_DATA = objectlist.awk.in
23
else
24
noinst_LIBRARIES = lib.a
25
lib_a_SOURCES = $(src) $(fsrc)
26
noinst_DATA =
27
endif # USE_LIBTOOL
28
 
29
include $(srcdir)/../../Makefile.shared
30
 
31
chobj = scbrt.def scopysign.def sexpm1.def silogb.def \
32
        sinfinity.def slog1p.def smatherr.def smodf.def \
33
        snan.def snextafter.def sscalbn.def
34
 
35
SUFFIXES = .def
36
 
37
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
38
 
39
.c.def:
40
        $(CHEW) < $< > $*.def 2> $*.ref
41
        touch stmp-def
42
 
43
TARGETDOC = ../tmp.texi
44
 
45
doc: $(chobj)
46
        cat $(srcdir)/common.tex >> $(TARGETDOC)
47
 
48
CLEANFILES = $(chobj) *.ref
49
 
50
# Texinfo does not appear to support underscores in file names, so we
51
# name the .def files without underscores.
52
 
53
smodf.def: s_modf.c
54
        $(CHEW) < $(srcdir)/s_modf.c >$@ 2>/dev/null
55
        touch stmp-def
56
 
57
scopysign.def: s_copysign.c
58
        $(CHEW) < $(srcdir)/s_copysign.c >$@ 2>/dev/null
59
        touch stmp-def
60
 
61
sscalbn.def: s_scalbn.c
62
        $(CHEW) < $(srcdir)/s_scalbn.c >$@ 2>/dev/null
63
        touch stmp-def
64
 
65
scbrt.def: s_cbrt.c
66
        $(CHEW) < $(srcdir)/s_cbrt.c >$@ 2>/dev/null
67
        touch stmp-def
68
 
69
serf.def: s_erf.c
70
        $(CHEW) < $(srcdir)/s_serf.c >$@ 2>/dev/null
71
        touch stmp-def
72
 
73
sexpn.def: s_expm.c
74
        $(CHEW) < $(srcdir)/s_expn.c >$@ 2>/dev/null
75
        touch stmp-def
76
 
77
sexpm1.def: s_expm1.c
78
        $(CHEW) < $(srcdir)/s_expm1.c >$@ 2>/dev/null
79
        touch stmp-def
80
 
81
silogb.def: s_ilogb.c
82
        $(CHEW) < $(srcdir)/s_ilogb.c >$@ 2>/dev/null
83
        touch stmp-def
84
 
85
sinfinity.def: s_infinity.c
86
        $(CHEW) < $(srcdir)/s_infinity.c >$@ 2>/dev/null
87
        touch stmp-def
88
 
89
slog1p.def: s_log1p.c
90
        $(CHEW) < $(srcdir)/s_log1p.c >$@ 2>/dev/null
91
        touch stmp-def
92
 
93
smatherr.def: s_matherr.c
94
        $(CHEW) < $(srcdir)/s_matherr.c >$@ 2>/dev/null
95
        touch stmp-def
96
 
97
snan.def: s_nan.c
98
        $(CHEW) < $(srcdir)/s_nan.c >$@ 2>/dev/null
99
        touch stmp-def
100
 
101
snextafter.def: s_nextafter.c
102
        $(CHEW) < $(srcdir)/s_nextafter.c >$@ 2>/dev/null
103
        touch stmp-def
104
 
105
# A partial dependency list.
106
 
107
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/math.h fdlibm.h

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.