Retro68/gcc/newlib/libc/ssp/Makefile.am

70 lines
1.2 KiB
Makefile
Raw Normal View History

2017-04-11 21:13:36 +00:00
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
GENERAL_SOURCES = \
2018-12-28 15:30:48 +00:00
chk_fail.c \
stack_protector.c
2017-04-11 21:13:36 +00:00
2018-12-28 15:30:48 +00:00
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
2017-04-11 21:13:36 +00:00
2018-12-28 15:30:48 +00:00
STDIO_SOURCES = \
gets_chk.c \
snprintf_chk.c \
sprintf_chk.c \
vsnprintf_chk.c \
vsprintf_chk.c
2017-04-11 21:13:36 +00:00
## 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
2018-12-28 15:30:48 +00:00
ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES) $(STDIO_SOURCES)
2017-04-11 21:13:36 +00:00
else
2018-12-28 15:30:48 +00:00
ELIX_SOURCES = $(GENERAL_SOURCES) $(STRING_SOURCES)
2017-04-11 21:13:36 +00:00
endif
endif
endif
endif
endif
2018-12-28 15:30:48 +00:00
libssp_la_LDFLAGS = -Xcompiler -nostdlib
2017-04-11 21:13:36 +00:00
if USE_LIBTOOL
2018-12-28 15:30:48 +00:00
noinst_LTLIBRARIES = libssp.la
libssp_la_SOURCES = $(ELIX_SOURCES)
2017-04-11 21:13:36 +00:00
noinst_DATA = objectlist.awk.in
else
noinst_LIBRARIES = lib.a
2018-12-28 15:30:48 +00:00
lib_a_SOURCES = $(ELIX_SOURCES)
2017-04-11 21:13:36 +00:00
lib_a_CFLAGS = $(AM_CFLAGS)
noinst_DATA =
endif # USE_LIBTOOL
CHEWOUT_FILES =
2018-12-28 15:30:48 +00:00
CHAPTERS = ssp.tex
2017-04-11 21:13:36 +00:00
include $(srcdir)/../../Makefile.shared