source: trunk/libs/newlib/src/newlib/libc/reent/Makefile.am @ 567

Last change on this file since 567 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.5 KB
Line 
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7if HAVE_STDIO64_DIR
8STDIO64_SOURCES = \
9        fstat64r.c \
10        lseek64r.c \
11        stat64r.c \
12        open64r.c
13
14STDIO64_DEFS = \
15        fstat64r.def \
16        lseek64r.def \
17        stat64r.def \
18        open64r.def
19endif
20
21ELIX_2_SOURCES = $(STDIO64_SOURCES)
22ELIX_3_SOURCES = execr.c
23
24if ELIX_LEVEL_1
25ELIX_SOURCES =
26else
27if ELIX_LEVEL_2
28ELIX_SOURCES = $(ELIX_2_SOURCES)
29else
30ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES)
31endif
32endif
33
34GENERAL_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
57libreent_la_LDFLAGS = -Xcompiler -nostdlib
58
59if USE_LIBTOOL
60noinst_LTLIBRARIES = libreent.la
61libreent_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
62noinst_DATA = objectlist.awk.in
63else
64noinst_LIBRARIES = lib.a
65lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
66lib_a_CFLAGS = $(AM_CFLAGS)
67noinst_DATA =
68endif # USE_LIBTOOL
69
70include $(srcdir)/../../Makefile.shared
71
72CHEWOUT_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
93CHAPTERS = reent.tex
94
95$(lpfx)impure.$(oext): $(srcdir)/impure.c $(srcdir)/../include/sys/reent.h
Note: See TracBrowser for help on using the repository browser.