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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [sparc/] [libsys/] [Makefile.in] - Diff between revs 40 and 1765

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

Rev 40 Rev 1765
# Makefile for libgloss/sparc/libsys
# Makefile for libgloss/sparc/libsys
# Copyright (c) 1996 Cygnus Support.
# Copyright (c) 1996 Cygnus Support.
# All rights reserved.
# All rights reserved.
#
#
# Redistribution and use in source and binary forms are permitted
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# distribution and use acknowledge that the software was developed
# at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
# at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
# endorse or promote products derived from this software without
# endorse or promote products derived from this software without
# specific prior written permission.
# specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
VPATH = @srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
srcdir = @srcdir@
objdir = .
objdir = .
srcroot = $(srcdir)/../..
srcroot = $(srcdir)/../..
objroot = $(objdir)/../..
objroot = $(objdir)/../..
prefix = @prefix@
prefix = @prefix@
exec_prefix = @exec_prefix@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
host_alias = @host_alias@
target_alias = @target_alias@
target_alias = @target_alias@
bindir = @bindir@
bindir = @bindir@
libdir = @libdir@
libdir = @libdir@
tooldir = $(exec_prefix)/$(target_alias)
tooldir = $(exec_prefix)/$(target_alias)
INSTALL = @INSTALL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
SHELL = /bin/sh
CC = @CC@
CC = @CC@
AS = @AS@
AS = @AS@
AR = @AR@
AR = @AR@
LD = @LD@
LD = @LD@
RANLIB = @RANLIB@
RANLIB = @RANLIB@
# _r.o is for the reentrant syscall stubs.
# _r.o is for the reentrant syscall stubs.
# The .S_r.o/.c_r.o rules are from host/any.
# The .S_r.o/.c_r.o rules are from host/any.
.SUFFIXES: .c .S .o _r.o
.SUFFIXES: .c .S .o _r.o
.S_r.o:
.S_r.o:
        $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
        $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
.c_r.o:
.c_r.o:
        $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
        $(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) -DREENT $(INCLUDES) -c $< -o $@
# CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
# CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
# needed by the ANSI C part of newlib when REENTRANT_SYSCALLS_PROVIDED is
# needed by the ANSI C part of newlib when REENTRANT_SYSCALLS_PROVIDED is
# defined.
# defined.
CFILES = isatty.c
CFILES = isatty.c
CFILES_R =
CFILES_R =
SFILES = cerror.S _exit.S
SFILES = cerror.S _exit.S
SFILES_R = sbrk.S
SFILES_R = sbrk.S
# List of files built from template.S (with an '_' suffix).
# List of files built from template.S (with an '_' suffix).
TEMPLATE_SFILES = chdir_ lstat_
TEMPLATE_SFILES = chdir_ lstat_
TEMPLATE_SFILES_R = close_ fstat_ getpid_ kill_ \
TEMPLATE_SFILES_R = close_ fstat_ getpid_ kill_ \
        lseek_ open_ read_ stat_ unlink_ write_
        lseek_ open_ read_ stat_ unlink_ write_
# If newlib defines REENTRANT_SYSCALLS_PROVIDED, then these are used as well.
# If newlib defines REENTRANT_SYSCALLS_PROVIDED, then these are used as well.
REENTRANT_OFILES = $(SFILES_R:.S=_r.o) $(TEMPLATE_SFILES_R:_=_r.o) \
REENTRANT_OFILES = $(SFILES_R:.S=_r.o) $(TEMPLATE_SFILES_R:_=_r.o) \
        $(CFILES_R:.c=_r.o)
        $(CFILES_R:.c=_r.o)
OFILES = $(SFILES:.S=.o) $(SFILES_R:.S=.o) \
OFILES = $(SFILES:.S=.o) $(SFILES_R:.S=.o) \
        $(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
        $(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
        $(CFILES:.c=.o) $(CFILES_R:.c=.o) \
        $(CFILES:.c=.o) $(CFILES_R:.c=.o) \
        $(REENTRANT_OFILES)
        $(REENTRANT_OFILES)
#### Host specific Makefile fragment comes in here.
#### Host specific Makefile fragment comes in here.
@host_makefile_frag@
@host_makefile_frag@
all: libsys.a libsys-crt0.o
all: libsys.a libsys-crt0.o
libsys.a: $(OFILES)
libsys.a: $(OFILES)
        rm -f $@
        rm -f $@
        $(AR) $(AR_FLAGS) $@ $(OFILES)
        $(AR) $(AR_FLAGS) $@ $(OFILES)
install:
install:
        $(INSTALL_DATA) libsys-crt0.o $(tooldir)/lib/libsys-crt0.o
        $(INSTALL_DATA) libsys-crt0.o $(tooldir)/lib/libsys-crt0.o
        $(INSTALL_DATA) libsys.a $(tooldir)/lib/libsys.a
        $(INSTALL_DATA) libsys.a $(tooldir)/lib/libsys.a
doc:
doc:
.PHONY: info install-info clean-info
.PHONY: info install-info clean-info
info:
info:
install-info:
install-info:
clean-info:
clean-info:
clean mostlyclean:
clean mostlyclean:
        rm -f *.o *.a *.s stamp-srcs
        rm -f *.o *.a *.s stamp-srcs
distclean maintainer-clean realclean: clean
distclean maintainer-clean realclean: clean
        rm -f Makefile config.status
        rm -f Makefile config.status
Makefile: Makefile.in config.status @host_makefile_frag_path@
Makefile: Makefile.in config.status @host_makefile_frag_path@
        $(SHELL) config.status
        $(SHELL) config.status
config.status: configure
config.status: configure
        $(SHELL) config.status --recheck
        $(SHELL) config.status --recheck
stamp-srcs: Makefile template.S template_r.S
stamp-srcs: Makefile template.S template_r.S
        for f in $(TEMPLATE_SFILES:_=) ; \
        for f in $(TEMPLATE_SFILES:_=) ; \
        do \
        do \
                $(CC) -E -Dfunc=$$f \
                $(CC) -E -Dfunc=$$f \
                $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
                $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
                $(srcdir)/template.S >$$f.S ; \
                $(srcdir)/template.S >$$f.S ; \
        done
        done
        for f in $(TEMPLATE_SFILES_R:_=) ; \
        for f in $(TEMPLATE_SFILES_R:_=) ; \
        do \
        do \
                $(CC) -E -Dfunc=$$f \
                $(CC) -E -Dfunc=$$f \
                $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
                $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) \
                $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S ; \
                $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S ; \
        done
        done
        touch stamp-srcs
        touch stamp-srcs
# Make a dependency for each file built from a template.
# Make a dependency for each file built from a template.
$(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
$(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
# To support SunOS broken VPATH (sigh).
# To support SunOS broken VPATH (sigh).
_exit.o: _exit.S
_exit.o: _exit.S
cerror.o: cerror.S
cerror.o: cerror.S
chdir.o: chdir.S
chdir.o: chdir.S
close.o: close.S
close.o: close.S
fstat.o: fstat.S
fstat.o: fstat.S
getpid.o: getpid.S
getpid.o: getpid.S
isatty.o: isatty.c
isatty.o: isatty.c
kill.o: kill.S
kill.o: kill.S
libsys-crt0.o: libsys-crt0.S
libsys-crt0.o: libsys-crt0.S
lseek.o: lseek.S
lseek.o: lseek.S
lstat.o: lstat.S
lstat.o: lstat.S
open.o: open.S
open.o: open.S
read.o: read.S
read.o: read.S
sbrk.o: sbrk.S
sbrk.o: sbrk.S
stat.o: stat.S
stat.o: stat.S
write.o: write.S
write.o: write.S
# Reentrant versions ...
# Reentrant versions ...
# These are all needed to support the ANSI C library routines.
# These are all needed to support the ANSI C library routines.
close_r.o: close.S
close_r.o: close.S
fstat_r.o: fstat.S
fstat_r.o: fstat.S
getpid_r.o: getpid.S
getpid_r.o: getpid.S
kill_r.o: kill.S
kill_r.o: kill.S
lseek_r.o: lseek.S
lseek_r.o: lseek.S
open_r.o: open.S
open_r.o: open.S
read_r.o: read.S
read_r.o: read.S
sbrk_r.o: sbrk.S
sbrk_r.o: sbrk.S
stat_r.o: stat.S
stat_r.o: stat.S
unlink_r.o: unlink.S
unlink_r.o: unlink.S
write_r.o: write.S
write_r.o: write.S
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.