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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [decstation/] [Makefile.in] - Rev 39

Go to most recent revision | Compare with Previous | Blame | View Log

# Makefile for newlib/libc/sys/decstation.
# Copyright (c) 1994 Cygnus Support.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
# endorse or promote products derived from this software without
# specific prior written permission.
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

srcdir = .

SHELL = /bin/sh

TOP = ../../..
SRCTOP = ../../..
TARGETDOC = ../../targetdep.tex

COPYOFILES=\
        read.o \
        open.o \
        _exit.o \
        write.o \
        lseek.o \
        close.o \
        sbrk.o \
        cerror.o \
        fork.o \
        isatty.o \
        ioctl.o \
        getpid.o \
        time.o \
        kill.o \
        wait.o \
        execve.o \
        gettimeofday.o \
        link.o \
        unlink.o \
        fstat.o \
        times.o  \
        getrusage.o  

OFILES=_main.o
CFILES=_main.c

#### Host, target, and site specific Makefile fragments come in here.
###

all: lib.a crt0.o
lib.a: $(OFILES) $(COPYOFILES)
        rm -f $@
        $(AR) $(AR_FLAGS) $@ $(OFILES) $(COPYOFILES)

# to support SunOS VPATH
_main.o: _main.c

$(COPYOFILES):
        ar x /lib/libc.a $(COPYOFILES) 

crt0.o:
        cp /lib/crt0.o crt0.o

clean mostlyclean:
        $(RM) $(OFILES) $(COPYOFILES) crt0.o lib.a

distclean maintainer-clean realclean: clean
        rm -f Makefile config.status

doc:

Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
        $(SHELL) config.status

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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