source: trunk/libs/newlib/src/newlib/libc/ssp/Makefile.am @ 620

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

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

File size: 1.2 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
7GENERAL_SOURCES = \
8  chk_fail.c \
9  stack_protector.c
10
11STRING_SOURCES = \
12  memcpy_chk.c \
13  memmove_chk.c \
14  mempcpy_chk.c \
15  memset_chk.c \
16  stpcpy_chk.c \
17  stpncpy_chk.c \
18  strcat_chk.c \
19  strcpy_chk.c \
20  strncat_chk.c \
21  strncpy_chk.c
22
23STDIO_SOURCES = \
24  gets_chk.c \
25  snprintf_chk.c \
26  sprintf_chk.c \
27  vsnprintf_chk.c \
28  vsprintf_chk.c
29
30## None of these functions are specified by EL/IX
31if ELIX_LEVEL_1
32ELIX_SOURCES =
33else
34if ELIX_LEVEL_2
35ELIX_SOURCES =
36else
37if ELIX_LEVEL_3
38ELIX_SOURCES =
39else
40if ELIX_LEVEL_4
41ELIX_SOURCES =
42else
43if HAVE_STDIO_DIR
44ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES) $(STDIO_SOURCES)
45else
46ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES)
47endif
48endif
49endif
50endif
51endif
52
53libssp_la_LDFLAGS = -Xcompiler -nostdlib
54
55if USE_LIBTOOL
56noinst_LTLIBRARIES = libssp.la
57libssp_la_SOURCES = $(ELIX_SOURCES)
58noinst_DATA = objectlist.awk.in
59else
60noinst_LIBRARIES = lib.a
61lib_a_SOURCES = $(ELIX_SOURCES)
62lib_a_CFLAGS = $(AM_CFLAGS)
63noinst_DATA =
64endif # USE_LIBTOOL
65
66CHEWOUT_FILES =
67CHAPTERS = ssp.tex
68
69include $(srcdir)/../../Makefile.shared
Note: See TracBrowser for help on using the repository browser.