blob: c56224ab1e7981a3d71ebf74846db1ed7643d59c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
## Process this file with automake to generate Makefile.in
AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(TARGET_CFLAGS)
GENERAL_SOURCES = \
chk_fail.c \
stack_protector.c
STRING_SOURCES = \
memcpy_chk.c \
memmove_chk.c \
mempcpy_chk.c \
memset_chk.c \
stpcpy_chk.c \
stpncpy_chk.c \
strcat_chk.c \
strcpy_chk.c \
strncat_chk.c \
strncpy_chk.c
STDIO_SOURCES = \
gets_chk.c \
snprintf_chk.c \
sprintf_chk.c \
vsnprintf_chk.c \
vsprintf_chk.c
## None of these functions are specified by EL/IX
if ELIX_LEVEL_1
ELIX_SOURCES =
else
if ELIX_LEVEL_2
ELIX_SOURCES =
else
if ELIX_LEVEL_3
ELIX_SOURCES =
else
if ELIX_LEVEL_4
ELIX_SOURCES =
else
if HAVE_STDIO_DIR
ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES) $(STDIO_SOURCES)
else
ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES)
endif
endif
endif
endif
endif
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(ELIX_SOURCES)
lib_a_CFLAGS = $(AM_CFLAGS)
|