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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libm/] [Makefile.am] - Diff between revs 1010 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1010 Rev 1765
## Process this file with automake to generate Makefile.in
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = cygnus
AUTOMAKE_OPTIONS = cygnus
if NEWLIB_HW_FP
if NEWLIB_HW_FP
MATHDIR = mathfp
MATHDIR = mathfp
else
else
MATHDIR = math
MATHDIR = math
endif
endif
SUBDIRS = $(MATHDIR) common machine
SUBDIRS = $(MATHDIR) common machine
libm_la_LDFLAGS = -Xcompiler -nostdlib
libm_la_LDFLAGS = -Xcompiler -nostdlib
if USE_LIBTOOL
if USE_LIBTOOL
SUBLIBS = $(MATHDIR)/lib$(MATHDIR).$(aext) common/libcommon.$(aext) $(LIBM_MACHINE_LIB)
SUBLIBS = $(MATHDIR)/lib$(MATHDIR).$(aext) common/libcommon.$(aext) $(LIBM_MACHINE_LIB)
noinst_LTLIBRARIES = libm.la
noinst_LTLIBRARIES = libm.la
libm_la_SOURCES =
libm_la_SOURCES =
libm_la_LIBADD = $(SUBLIBS)
libm_la_LIBADD = $(SUBLIBS)
else
else
SUBLIBS = $(MATHDIR)/lib.$(aext) common/lib.$(aext) $(LIBM_MACHINE_LIB)
SUBLIBS = $(MATHDIR)/lib.$(aext) common/lib.$(aext) $(LIBM_MACHINE_LIB)
noinst_LIBRARIES = libm.a
noinst_LIBRARIES = libm.a
libm.a: $(SUBLIBS)
libm.a: $(SUBLIBS)
        rm -f $@
        rm -f $@
        rm -rf tmp
        rm -rf tmp
        mkdir tmp
        mkdir tmp
        cd tmp; \
        cd tmp; \
          for i in $(SUBLIBS); do \
          for i in $(SUBLIBS); do \
            $(AR) x ../$$i; \
            $(AR) x ../$$i; \
        done; \
        done; \
        $(AR) $(AR_FLAGS) ../$@ *.o
        $(AR) $(AR_FLAGS) ../$@ *.o
        $(RANLIB) $@
        $(RANLIB) $@
        rm -rf tmp
        rm -rf tmp
endif
endif
$(SUBLIBS):
$(SUBLIBS):
info_TEXINFOS = libm.texinfo
info_TEXINFOS = libm.texinfo
libm.info: targetdep.tex math/stmp-def
libm.info: targetdep.tex math/stmp-def
stmp-targetdep: force
stmp-targetdep: force
        rm -f tmp.texi
        rm -f tmp.texi
        targetdoc=`pwd`/tmp.texi; \
        targetdoc=`pwd`/tmp.texi; \
        for d in $(SUBDIRS); do \
        for d in $(SUBDIRS); do \
          if test "$$d" != "."; then \
          if test "$$d" != "."; then \
            (cd $$d && $(MAKE) doc) || exit 1; \
            (cd $$d && $(MAKE) doc) || exit 1; \
          fi; \
          fi; \
        done
        done
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi targetdep.tex
        touch $@
        touch $@
targetdep.tex: stmp-targetdep ; @true
targetdep.tex: stmp-targetdep ; @true
math/stmp-def: stmp-targetdep ; @true
math/stmp-def: stmp-targetdep ; @true
.PHONY: force
.PHONY: force
force:
force:
CLEANFILES = tmp.texi targetdep.tex stmp-targetdep
CLEANFILES = tmp.texi targetdep.tex stmp-targetdep
ACLOCAL_AMFLAGS = -I ..
ACLOCAL_AMFLAGS = -I ..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
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.