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

Subversion Repositories openrisc

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

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
GENERAL_SOURCES = \
8
        closedir.c collate.c collcmp.c creat.c \
9
        fnmatch.c glob.c _isatty.c isatty.c \
10
        opendir.c readdir.c readdir_r.c \
11
        regcomp.c regerror.c regexec.c regfree.c \
12
        rewinddir.c sleep.c usleep.c \
13
        telldir.c
14
 
15
ELIX_2_SOURCES = \
16
        scandir.c seekdir.c
17
 
18
ELIX_3_SOURCES = \
19
        execl.c execle.c execlp.c execv.c \
20
        execve.c execvp.c wordexp.c wordfree.c
21
 
22
ELIX_4_SOURCES = \
23
        popen.c
24
 
25
if ELIX_LEVEL_1
26
ELIX_SOURCES =
27
else
28
if ELIX_LEVEL_2
29
ELIX_SOURCES = $(ELIX_2_SOURCES)
30
else
31
if ELIX_LEVEL_3
32
ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES)
33
else
34
ELIX_SOURCES = $(ELIX_2_SOURCES) $(ELIX_3_SOURCES) $(ELIX_4_SOURCES)
35
endif
36
endif
37
endif
38
 
39
libposix_la_LDFLAGS = -Xcompiler -nostdlib
40
 
41
if USE_LIBTOOL
42
noinst_LTLIBRARIES = libposix.la
43
libposix_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
44
noinst_DATA = objectlist.awk.in
45
else
46
noinst_LIBRARIES = lib.a
47
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
48
lib_a_CFLAGS = $(AM_CFLAGS)
49
noinst_DATA =
50
endif # USE_LIBTOOL
51
 
52
include $(srcdir)/../../Makefile.shared
53
 
54
CHEWOUT_FILES =
55
 
56
SUFFIXES = .def
57
 
58
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
59
 
60
.c.def:
61
        $(CHEW) < $< > $*.def 2> $*.ref
62
        touch stmp-def
63
 
64
TARGETDOC = ../tmp.texi
65
 
66
# No doc for posix.
67
doc:
68
 
69
AM_CFLAGS = -D_GNU_SOURCE
70
 
71
CLEANFILES = $(CHEWOUT_FILES) *.ref

powered by: WebSVN 2.1.0

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