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

Subversion Repositories or1k

[/] [or1k/] [branches/] [newlib/] [newlib/] [newlib/] [libc/] [time/] [Makefile.in] - Rev 39

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

# Makefile for newlib/libc/time.
# 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

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

OFILES= \
        asctime.o       \
        asctime_r.o     \
        clock.o         \
        ctime.o         \
        ctime_r.o       \
        difftime.o      \
        gmtime.o        \
        gmtime_r.o      \
        lcltime.o       \
        lcltime_r.o     \
        mktime.o        \
        strftime.o      \
        time.o

CHEWOUT_FILES= \
        asctime.def     \
        clock.def       \
        ctime.def       \
        difftime.def    \
        gmtime.def      \
        lcltime.def     \
        mktime.def      \
        strftime.def    \
        time.def


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

doc: $(CHEWOUT_FILES)
        cat $(srcdir)/time.tex >> $(TARGETDOC)

clean mostlyclean:
        rm -f $(OFILES) $(CHEWOUT_FILES) *.o.* *.ref *~ lib.a

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

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

# to support SunOS VPATH
asctime.o: asctime.c
asctime_r.o: asctime_r.c
clock.o: clock.c
ctime.o: ctime.c
ctime_r.o: ctime_r.c
difftime.o: difftime.c
gmtime.o: gmtime.c
gmtime_r.o: gmtime_r.c
lcltime.o: lcltime.c
lcltime_r.o: lcltime_r.c
mktime.o: mktime.c
strftime.o: strftime.c
time.o: time.c

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

powered by: WebSVN 2.1.0

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