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

Subversion Repositories or1k

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 56 joel
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
 
5
if NEWLIB_HW_FP
6
SUBDIRS = mathfp common .
7
SUBLIBS = mathfp/lib.a common/lib.a
8
else
9
SUBDIRS = math common .
10
SUBLIBS = math/lib.a common/lib.a
11
endif
12
 
13
noinst_LIBRARIES = libm.a
14
 
15
libm.a: $(SUBLIBS)
16
        rm -f $@
17
        rm -rf tmp
18
        mkdir tmp
19
        cd tmp; \
20
          for i in $(SUBLIBS); do \
21
            $(AR) x ../$$i; \
22
        done; \
23
        $(AR) $(AR_FLAGS) ../$@ *.o
24
        $(RANLIB) $@
25
        rm -rf tmp
26
 
27
$(SUBLIBS):
28
 
29
info_TEXINFOS = libm.texinfo
30
 
31
libm.info: targetdep.tex math/stmp-def
32
 
33
stmp-targetdep: force
34
        rm -f tmp.texi
35
        targetdoc=`pwd`/tmp.texi; \
36
        for d in $(SUBDIRS); do \
37
          if test "$$d" != "."; then \
38
            (cd $$d && $(MAKE) doc) || exit 1; \
39
          fi; \
40
        done
41
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex
42
        touch $@
43
 
44
targetdep.tex: stmp-targetdep ; @true
45
 
46
math/stmp-def: stmp-targetdep ; @true
47
 
48
.PHONY: force
49
force:
50
 
51
CLEANFILES = tmp.texi targetdep.tex stmp-targetdep
52
 
53
ACLOCAL_AMFLAGS = -I ..
54
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.