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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [reent/] [Makefile.am] - Blame information for rev 823

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

Line No. Rev Author Line
1 148 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
if HAVE_STDIO64_DIR
8
STDIO64_SOURCES = \
9
        fstat64r.c \
10
        lseek64r.c \
11
        stat64r.c \
12
        open64r.c
13
 
14
STDIO64_DEFS = \
15
        fstat64r.def \
16
        lseek64r.def \
17
        stat64r.def \
18
        open64r.def
19
endif
20
 
21
ELIX_2_SOURCES = $(STDIO64_SOURCES)
22
ELIX_3_SOURCES = execr.c
23
 
24
if ELIX_LEVEL_1
25
ELIX_SOURCES =
26
else
27
if ELIX_LEVEL_2
28
ELIX_SOURCES = $(ELIX_2_SOURCES)
29
else
30
ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES)
31
endif
32
endif
33
 
34
GENERAL_SOURCES = \
35
        closer.c \
36
        reent.c \
37
        impure.c \
38
        fcntlr.c \
39
        fstatr.c \
40
        getreent.c \
41
        gettimeofdayr.c \
42
        isattyr.c \
43
        linkr.c \
44
        lseekr.c \
45
        openr.c \
46
        readr.c \
47
        renamer.c \
48
        signalr.c \
49
        signgam.c \
50
        sbrkr.c \
51
        statr.c \
52
        timesr.c \
53
        unlinkr.c \
54
        writer.c
55
 
56
libreent_la_LDFLAGS = -Xcompiler -nostdlib
57
 
58
if USE_LIBTOOL
59
noinst_LTLIBRARIES = libreent.la
60
libreent_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
61
noinst_DATA = objectlist.awk.in
62
else
63
noinst_LIBRARIES = lib.a
64
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
65
lib_a_CFLAGS = $(AM_CFLAGS)
66
noinst_DATA =
67
endif # USE_LIBTOOL
68
 
69
include $(srcdir)/../../Makefile.shared
70
 
71
CHEWOUT_FILES = \
72
        closer.def \
73
        reent.def \
74
        execr.def \
75
        fcntlr.def \
76
        fstatr.def \
77
        gettimeofdayr.def \
78
        linkr.def \
79
        lseekr.def \
80
        openr.def \
81
        readr.def \
82
        renamer.def \
83
        signalr.def \
84
        sbrkr.def \
85
        statr.def \
86
        timesr.def \
87
        unlinkr.def \
88
        $(STDIO64_DEFS) \
89
        writer.def
90
 
91
SUFFIXES = .def .h
92
 
93
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
94
 
95
.c.def:
96
        $(CHEW) < $< > $*.def 2> $*.ref
97
        touch stmp-def
98
 
99
TARGETDOC = ../tmp.texi
100
 
101
doc: $(CHEWOUT_FILES)
102
        cat $(srcdir)/reent.tex >> $(TARGETDOC)
103
 
104
$(lpfx)impure.$(oext): $(srcdir)/impure.c $(srcdir)/../include/sys/reent.h
105
 
106
CLEANFILES = $(CHEWOUT_FILES) *.ref

powered by: WebSVN 2.1.0

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