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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [Makefile.am] - Diff between revs 57 and 1765

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

Rev 57 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 HAVE_POSIX_DIR
if HAVE_POSIX_DIR
POSIX_SUBDIR = posix
POSIX_SUBDIR = posix
endif
endif
if HAVE_SIGNAL_DIR
if HAVE_SIGNAL_DIR
SIGNAL_SUBDIR = signal
SIGNAL_SUBDIR = signal
endif
endif
if HAVE_SYSCALL_DIR
if HAVE_SYSCALL_DIR
SYSCALLS_SUBDIR = syscalls
SYSCALLS_SUBDIR = syscalls
endif
endif
if HAVE_UNIX_DIR
if HAVE_UNIX_DIR
UNIX_SUBDIR = unix
UNIX_SUBDIR = unix
endif
endif
# The order of SUBDIRS is important for the integrated documentation.
# The order of SUBDIRS is important for the integrated documentation.
# Do not change the order without considering the doc impact.
# Do not change the order without considering the doc impact.
SUBDIRS = stdlib ctype stdio string $(SIGNAL_SUBDIR) time locale sys reent \
SUBDIRS = stdlib ctype stdio string $(SIGNAL_SUBDIR) time locale sys reent \
        errno misc machine $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) .
        errno misc machine $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) .
noinst_LIBRARIES = libc.a
noinst_LIBRARIES = libc.a
noinst_DATA = $(CRT0)
noinst_DATA = $(CRT0)
SUBLIBS = \
SUBLIBS = \
        stdlib/lib.a \
        stdlib/lib.a \
        ctype/lib.a \
        ctype/lib.a \
        stdio/lib.a \
        stdio/lib.a \
        string/lib.a \
        string/lib.a \
        $(LIBC_SIGNAL_LIB) \
        $(LIBC_SIGNAL_LIB) \
        time/lib.a \
        time/lib.a \
        locale/lib.a \
        locale/lib.a \
        $(LIBC_SYS_LIB) \
        $(LIBC_SYS_LIB) \
        reent/lib.a \
        reent/lib.a \
        errno/lib.a \
        errno/lib.a \
        misc/lib.a \
        misc/lib.a \
        $(LIBC_MACHINE_LIB) \
        $(LIBC_MACHINE_LIB) \
        $(LIBC_UNIX_LIB) \
        $(LIBC_UNIX_LIB) \
        $(LIBC_POSIX_LIB) \
        $(LIBC_POSIX_LIB) \
        $(LIBC_SYSCALL_LIB)
        $(LIBC_SYSCALL_LIB)
libc.a: $(SUBLIBS)
libc.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
$(SUBLIBS): ; @true
$(SUBLIBS): ; @true
crt0.o: sys/crt0.o
crt0.o: sys/crt0.o
        rm -f $@
        rm -f $@
        ln sys/crt0.o $@ >/dev/null 2>/dev/null || cp sys/crt0.o $@
        ln sys/crt0.o $@ >/dev/null 2>/dev/null || cp sys/crt0.o $@
sys/crt0.o: ; @true
sys/crt0.o: ; @true
info_TEXINFOS = libc.texinfo
info_TEXINFOS = libc.texinfo
# This is a list of the stmp-def files in each subdirectory which
# This is a list of the stmp-def files in each subdirectory which
# builds .def files.  We don't list subdirectories which don't build
# builds .def files.  We don't list subdirectories which don't build
# .def files; if the list of subdirectories changes, we must change
# .def files; if the list of subdirectories changes, we must change
# this as well.
# this as well.
SUBDEFS = \
SUBDEFS = \
        stdlib/stmp-def \
        stdlib/stmp-def \
        ctype/stmp-def \
        ctype/stmp-def \
        stdio/stmp-def \
        stdio/stmp-def \
        string/stmp-def \
        string/stmp-def \
        $(LIBC_SIGNAL_DEF) \
        $(LIBC_SIGNAL_DEF) \
        time/stmp-def \
        time/stmp-def \
        locale/stmp-def \
        locale/stmp-def \
        reent/stmp-def \
        reent/stmp-def \
        misc/stmp-def
        misc/stmp-def
libc.info: sigset.texi targetdep.tex $(SUBDEFS)
libc.info: sigset.texi targetdep.tex $(SUBDEFS)
stmp-sigset: config.status
stmp-sigset: config.status
        if test -n "$(LIBC_SIGNAL_LIB)"; then \
        if test -n "$(LIBC_SIGNAL_LIB)"; then \
          echo "@set SIGNALS" >tmp.texi; \
          echo "@set SIGNALS" >tmp.texi; \
        else \
        else \
          echo "@clear SIGNALS" >tmp.texi; \
          echo "@clear SIGNALS" >tmp.texi; \
        fi
        fi
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi sigset.texi
        $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi sigset.texi
        touch $@
        touch $@
sigset.texi: stmp-sigset ; @true
sigset.texi: stmp-sigset ; @true
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) TARGETDOC=$${targetdoc} doc) || exit 1; \
            (cd $$d && $(MAKE) TARGETDOC=$${targetdoc} doc) || exit 1; \
          fi; \
          fi; \
        done
        done
        cat $(srcdir)/sys.tex >>tmp.texi
        cat $(srcdir)/sys.tex >>tmp.texi
        $(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
$(SUBDEFS): stmp-targetdep ; @true
$(SUBDEFS): stmp-targetdep ; @true
.PHONY: force
.PHONY: force
force:
force:
CLEANFILES = crt0.o \
CLEANFILES = crt0.o \
        sigset.texi stmp-sigset tmp.texi targetdep.tex stmp-targetdep
        sigset.texi stmp-sigset 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.