diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2000-02-17 19:39:46 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2000-02-17 19:39:46 +0000 |
commit | 43b55bace5fad27af5da7a99784667363b92c45d (patch) | |
tree | 17fe82f6ba0d93b76d10dd73d4945ab81b69db40 /newlib/libm/Makefile.am | |
parent | 8dabd7496a9eeaca2a7180c0a176059ba9229bb2 (diff) | |
download | gdb-43b55bace5fad27af5da7a99784667363b92c45d.tar.gz |
import newlib-2000-02-17 snapshotnewlib-2000-02-17SNAPSHOT
Diffstat (limited to 'newlib/libm/Makefile.am')
-rw-r--r-- | newlib/libm/Makefile.am | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/newlib/libm/Makefile.am b/newlib/libm/Makefile.am new file mode 100644 index 00000000000..fc0c10b76cd --- /dev/null +++ b/newlib/libm/Makefile.am @@ -0,0 +1,54 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = cygnus + +if NEWLIB_HW_FP +SUBDIRS = mathfp common . +SUBLIBS = mathfp/lib.a common/lib.a +else +SUBDIRS = math common . +SUBLIBS = math/lib.a common/lib.a +endif + +noinst_LIBRARIES = libm.a + +libm.a: $(SUBLIBS) + rm -f $@ + rm -rf tmp + mkdir tmp + cd tmp; \ + for i in $(SUBLIBS); do \ + $(AR) x ../$$i; \ + done; \ + $(AR) $(AR_FLAGS) ../$@ *.o + $(RANLIB) $@ + rm -rf tmp + +$(SUBLIBS): + +info_TEXINFOS = libm.texinfo + +libm.info: targetdep.tex math/stmp-def + +stmp-targetdep: force + rm -f tmp.texi + targetdoc=`pwd`/tmp.texi; \ + for d in $(SUBDIRS); do \ + if test "$$d" != "."; then \ + (cd $$d && $(MAKE) doc) || exit 1; \ + fi; \ + done + $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex + touch $@ + +targetdep.tex: stmp-targetdep ; @true + +math/stmp-def: stmp-targetdep ; @true + +.PHONY: force +force: + +CLEANFILES = tmp.texi targetdep.tex stmp-targetdep + +ACLOCAL_AMFLAGS = -I .. +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host |