~ubuntu-branches/ubuntu/wily/avr-libc/wily-proposed

« back to all changes in this revision

Viewing changes to libm/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2002-04-15 14:53:38 UTC
  • Revision ID: james.westby@ubuntu.com-20020415145338-c8hi0tn5bx74w7o3
Tags: upstream-20020203
ImportĀ upstreamĀ versionĀ 20020203

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to generate Makefile.in
 
2
 
 
3
SUBDIRS = fplib .
 
4
 
 
5
noinst_LIBRARIES = libm.a
 
6
 
 
7
# must be defined as empty, so that make dist will work
 
8
libm_a_SOURCES =
 
9
 
 
10
SUBLIBS = \
 
11
        fplib/lib.a
 
12
 
 
13
libm.a: $(SUBLIBS)
 
14
        rm -f $@
 
15
        rm -rf tmp
 
16
        mkdir tmp
 
17
        cd tmp; \
 
18
         for i in $(SUBLIBS); do \
 
19
           $(AR) x ../$$i; \
 
20
         done; \
 
21
        $(AR) $(AR_FLAGS) ../$@ *.o
 
22
        $(RANLIB) $@
 
23
        rm -rf tmp
 
24
 
 
25
$(SUBLIBS): ; @true