1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
11 SUBDIRS = $(MATHDIR) common machine
13 libm_la_LDFLAGS = -Xcompiler -nostdlib
16 SUBLIBS = $(MATHDIR)/lib$(MATHDIR).$(aext) common/libcommon.$(aext) $(LIBM_MACHINE_LIB)
17 noinst_LTLIBRARIES = libm.la
19 libm_la_LIBADD = $(SUBLIBS)
21 SUBLIBS = $(MATHDIR)/lib.$(aext) common/lib.$(aext) $(LIBM_MACHINE_LIB)
22 noinst_LIBRARIES = libm.a
28 for i in $(SUBLIBS); do \
31 $(AR) $(AR_FLAGS) ../$@ *.o
38 info_TEXINFOS = libm.texinfo
40 libm.info: targetdep.tex math/stmp-def
44 targetdoc=`pwd`/tmp.texi; \
45 for d in $(SUBDIRS); do \
46 if test "$$d" != "."; then \
47 (cd $$d && $(MAKE) doc) || exit 1; \
50 $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex
53 targetdep.tex: stmp-targetdep ; @true
55 math/stmp-def: stmp-targetdep ; @true
60 CLEANFILES = tmp.texi targetdep.tex stmp-targetdep
62 ACLOCAL_AMFLAGS = -I ..
63 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host