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

Subversion Repositories openrisc_me

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

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
        bcopy.c \
9
        bzero.c \
10
        index.c \
11
        memchr.c \
12
        memcmp.c \
13
        memcpy.c \
14
        memmove.c \
15
        memset.c \
16
        rindex.c \
17
        strcasecmp.c \
18
        strcat.c \
19
        strchr.c \
20
        strcmp.c \
21
        strcoll.c \
22
        strcpy.c \
23
        strcspn.c \
24
        strdup.c \
25
        strdup_r.c \
26
        strerror.c \
27
        strerror_r.c \
28
        strlcat.c \
29
        strlcpy.c \
30
        strlen.c  \
31
        strlwr.c \
32
        strncasecmp.c \
33
        strncat.c \
34
        strncmp.c \
35
        strncpy.c \
36
        strnlen.c \
37
        strpbrk.c \
38
        strrchr.c \
39
        strsep.c \
40
        strspn.c \
41
        strtok.c \
42
        strtok_r.c \
43
        strupr.c \
44
        strxfrm.c  \
45
        strstr.c \
46
        swab.c \
47
        u_strerr.c \
48
        wcscat.c \
49
        wcschr.c \
50
        wcscmp.c \
51
        wcscoll.c \
52
        wcscpy.c \
53
        wcscspn.c \
54
        wcslcat.c \
55
        wcslcpy.c \
56
        wcslen.c \
57
        wcsncat.c \
58
        wcsncmp.c \
59
        wcsncpy.c \
60
        wcsnlen.c \
61
        wcspbrk.c \
62
        wcsrchr.c \
63
        wcsspn.c \
64
        wcsstr.c \
65
        wcstok.c \
66
        wcswidth.c \
67
        wcsxfrm.c \
68
        wcwidth.c \
69
        wmemchr.c \
70
        wmemcmp.c \
71
        wmemcpy.c \
72
        wmemmove.c \
73
        wmemset.c
74
 
75
if ELIX_LEVEL_1
76
ELIX_2_SOURCES =
77
else
78
ELIX_2_SOURCES = \
79
        bcmp.c \
80
        memccpy.c \
81
        mempcpy.c \
82
        stpcpy.c \
83
        stpncpy.c \
84
        strndup.c \
85
        strcasestr.c \
86
        strndup_r.c \
87
        wcpcpy.c \
88
        wcpncpy.c
89
endif !ELIX_LEVEL_1
90
 
91
if ELIX_LEVEL_1
92
ELIX_4_SOURCES =
93
else
94
if ELIX_LEVEL_2
95
ELIX_4_SOURCES =
96
else
97
if ELIX_LEVEL_3
98
ELIX_4_SOURCES =
99
else
100
ELIX_4_SOURCES = \
101
        memmem.c
102
endif !ELIX_LEVEL_3
103
endif !ELIX_LEVEL_2
104
endif !ELIX_LEVEL_1
105
 
106
libstring_la_LDFLAGS = -Xcompiler -nostdlib
107
 
108
if USE_LIBTOOL
109
noinst_LTLIBRARIES = libstring.la
110
libstring_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
111
noinst_DATA = objectlist.awk.in
112
else
113
noinst_LIBRARIES = lib.a
114
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
115
lib_a_CFLAGS = $(AM_CFLAGS)
116
noinst_DATA =
117
endif # USE_LIBTOOL
118
 
119
include $(srcdir)/../../Makefile.shared
120
 
121
CHEWOUT_FILES=\
122
bcmp.def        memcpy.def      strcmp.def      strncat.def strstr.def \
123
bcopy.def       memmove.def     strcoll.def     strncmp.def strtok.def \
124
bzero.def       memset.def      strcpy.def      strncpy.def strxfrm.def \
125
index.def       rindex.def      strcspn.def     strpbrk.def swab.def \
126
memchr.def      strcat.def      strerror.def    strerror_r.def strrchr.def \
127
memcmp.def      strchr.def      strlen.def      strnlen.def strspn.def \
128
strcasecmp.def  strncasecmp.def strcasestr.def  strlwr.def  strupr.def \
129
memccpy.def     mempcpy.def     stpcpy.def      stpncpy.def \
130
wcscat.def      wcschr.def      wcscmp.def      wcscoll.def \
131
wcscpy.def      wcscspn.def     wcpcpy.def      wcpncpy.def \
132
wcslcat.def     wcslcpy.def     wcslen.def      wcsncat.def \
133
wcsncmp.def     wcsncpy.def     wcsnlen.def     wcspbrk.def \
134
wcsrchr.def     wcsspn.def      wcsstr.def      wcstok.def  \
135
wcswidth.def    wcsxfrm.def     wcwidth.def     wmemchr.def \
136
wmemcmp.def     wmemcpy.def     wmemmove.def    wmemset.def \
137
memmem.def
138
 
139
SUFFIXES = .def
140
 
141
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
142
 
143
.c.def:
144
        $(CHEW) < $< > $*.def 2> $*.ref
145
        touch stmp-def
146
 
147
TARGETDOC = ../tmp.texi
148
 
149
doc: $(CHEWOUT_FILES)
150
        cat $(srcdir)/strings.tex >> $(TARGETDOC)
151
        cat $(srcdir)/wcstrings.tex >> $(TARGETDOC)
152
 
153
CLEANFILES = $(CHEWOUT_FILES) *.ref

powered by: WebSVN 2.1.0

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