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/] [reent/] [Makefile.am] - Blame information for rev 451

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
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
        mkdirr.c \
46
        openr.c \
47
        readr.c \
48
        renamer.c \
49
        signalr.c \
50
        signgam.c \
51
        sbrkr.c \
52
        statr.c \
53
        timesr.c \
54
        unlinkr.c \
55
        writer.c
56
 
57
libreent_la_LDFLAGS = -Xcompiler -nostdlib
58
 
59
if USE_LIBTOOL
60
noinst_LTLIBRARIES = libreent.la
61
libreent_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
62
noinst_DATA = objectlist.awk.in
63
else
64
noinst_LIBRARIES = lib.a
65
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
66
lib_a_CFLAGS = $(AM_CFLAGS)
67
noinst_DATA =
68
endif # USE_LIBTOOL
69
 
70
include $(srcdir)/../../Makefile.shared
71
 
72
CHEWOUT_FILES = \
73
        closer.def \
74
        reent.def \
75
        execr.def \
76
        fcntlr.def \
77
        fstatr.def \
78
        gettimeofdayr.def \
79
        linkr.def \
80
        lseekr.def \
81
        mkdirr.def \
82
        openr.def \
83
        readr.def \
84
        renamer.def \
85
        signalr.def \
86
        sbrkr.def \
87
        statr.def \
88
        timesr.def \
89
        unlinkr.def \
90
        $(STDIO64_DEFS) \
91
        writer.def
92
 
93
SUFFIXES = .def .h
94
 
95
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
96
 
97
.c.def:
98
        $(CHEW) < $< > $*.def 2> $*.ref
99
        touch stmp-def
100
 
101
TARGETDOC = ../tmp.texi
102
 
103
doc: $(CHEWOUT_FILES)
104
        cat $(srcdir)/reent.tex >> $(TARGETDOC)
105
 
106
$(lpfx)impure.$(oext): $(srcdir)/impure.c $(srcdir)/../include/sys/reent.h
107
 
108
CLEANFILES = $(CHEWOUT_FILES) *.ref

powered by: WebSVN 2.1.0

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