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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [time/] [Makefile.am] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 jeremybenn
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
 
5
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
 
7
LIB_SOURCES = \
8
        asctime.c       \
9
        asctime_r.c     \
10
        clock.c         \
11
        ctime.c         \
12
        ctime_r.c       \
13
        difftime.c      \
14
        gettzinfo.c     \
15
        gmtime.c        \
16
        gmtime_r.c      \
17
        lcltime.c       \
18
        lcltime_r.c     \
19
        mktime.c        \
20
        mktm_r.c        \
21
        strftime.c      \
22
        strptime.c      \
23
        time.c          \
24
        tzlock.c        \
25
        tzset.c         \
26
        tzset_r.c       \
27
        tzvars.c        \
28
        wcsftime.c
29
 
30
libtime_la_LDFLAGS = -Xcompiler -nostdlib
31
 
32
if USE_LIBTOOL
33
noinst_LTLIBRARIES = libtime.la
34
libtime_la_SOURCES = $(LIB_SOURCES)
35
noinst_DATA = objectlist.awk.in
36
else
37
noinst_LIBRARIES = lib.a
38
lib_a_SOURCES = $(LIB_SOURCES)
39
lib_a_CFLAGS = $(AM_CFLAGS)
40
noinst_DATA =
41
endif # USE_LIBTOOL
42
 
43
# This rule is needed so that wcsftime.o is rebuilt when strftime.c changes.
44
include $(srcdir)/../../Makefile.shared
45
 
46
$(lpfx)wcsftime.$(oext): strftime.c
47
 
48
CHEWOUT_FILES = \
49
        asctime.def     \
50
        clock.def       \
51
        ctime.def       \
52
        difftime.def    \
53
        gmtime.def      \
54
        lcltime.def     \
55
        mktime.def      \
56
        strftime.def    \
57
        time.def        \
58
        tzlock.def      \
59
        tzset.def       \
60
        wcsftime.def
61
 
62
SUFFIXES = .def
63
 
64
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
65
 
66
.c.def:
67
        $(CHEW) < $< > $*.def 2> $*.ref
68
        touch stmp-def
69
 
70
TARGETDOC = ../tmp.texi
71
 
72
doc: $(CHEWOUT_FILES)
73
        cat $(srcdir)/time.tex >> $(TARGETDOC)
74
 
75
CLEANFILES = $(CHEWOUT_FILES) *.ref

powered by: WebSVN 2.1.0

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