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

Subversion Repositories or1k

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

Go to most recent revision | 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
if NEWLIB_HW_FP
6
MATHDIR = mathfp
7
else
8
MATHDIR = math
9
endif
10
 
11
SUBDIRS = $(MATHDIR) common machine
12
 
13
libm_la_LDFLAGS = -Xcompiler -nostdlib
14
 
15
if USE_LIBTOOL
16
SUBLIBS = $(MATHDIR)/lib$(MATHDIR).$(aext) common/libcommon.$(aext) $(LIBM_MACHINE_LIB)
17
noinst_LTLIBRARIES = libm.la
18
libm_la_SOURCES =
19
libm_la_LIBADD = $(SUBLIBS)
20
else
21
SUBLIBS = $(MATHDIR)/lib.$(aext) common/lib.$(aext) $(LIBM_MACHINE_LIB)
22
noinst_LIBRARIES = libm.a
23
libm.a: $(SUBLIBS)
24
        rm -f $@
25
        rm -rf tmp
26
        mkdir tmp
27
        cd tmp; \
28
          for i in $(SUBLIBS); do \
29
            $(AR) x ../$$i; \
30
        done; \
31
        $(AR) $(AR_FLAGS) ../$@ *.o
32
        $(RANLIB) $@
33
        rm -rf tmp
34
endif
35
 
36
$(SUBLIBS):
37
 
38
info_TEXINFOS = libm.texinfo
39
 
40
libm.info: targetdep.tex math/stmp-def
41
 
42
stmp-targetdep: force
43
        rm -f tmp.texi
44
        targetdoc=`pwd`/tmp.texi; \
45
        for d in $(SUBDIRS); do \
46
          if test "$$d" != "."; then \
47
            (cd $$d && $(MAKE) doc) || exit 1; \
48
          fi; \
49
        done
50
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex
51
        touch $@
52
 
53
targetdep.tex: stmp-targetdep ; @true
54
 
55
math/stmp-def: stmp-targetdep ; @true
56
 
57
.PHONY: force
58
force:
59
 
60
CLEANFILES = tmp.texi targetdep.tex stmp-targetdep
61
 
62
ACLOCAL_AMFLAGS = -I ..
63
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host

powered by: WebSVN 2.1.0

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