2000-02-17 19:39:52 +00:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
2002-08-26 18:56:09 +00:00
|
|
|
GENERAL_SOURCES = \
|
2000-02-17 19:39:52 +00:00
|
|
|
bcopy.c \
|
|
|
|
bzero.c \
|
2016-03-18 11:49:25 +01:00
|
|
|
explicit_bzero.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
index.c \
|
|
|
|
memchr.c \
|
|
|
|
memcmp.c \
|
|
|
|
memcpy.c \
|
|
|
|
memmove.c \
|
|
|
|
memset.c \
|
|
|
|
rindex.c \
|
2002-08-26 18:56:09 +00:00
|
|
|
strcasecmp.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strcat.c \
|
|
|
|
strchr.c \
|
|
|
|
strcmp.c \
|
|
|
|
strcoll.c \
|
|
|
|
strcpy.c \
|
|
|
|
strcspn.c \
|
2002-07-23 21:38:00 +00:00
|
|
|
strdup.c \
|
|
|
|
strdup_r.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strerror.c \
|
2002-05-24 23:44:39 +00:00
|
|
|
strerror_r.c \
|
2002-05-13 19:33:01 +00:00
|
|
|
strlcat.c \
|
|
|
|
strlcpy.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strlen.c \
|
|
|
|
strlwr.c \
|
2002-08-26 18:56:09 +00:00
|
|
|
strncasecmp.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strncat.c \
|
|
|
|
strncmp.c \
|
|
|
|
strncpy.c \
|
2002-05-24 23:44:39 +00:00
|
|
|
strnlen.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strpbrk.c \
|
|
|
|
strrchr.c \
|
2002-05-24 00:13:57 +00:00
|
|
|
strsep.c \
|
2010-05-11 20:27:20 +00:00
|
|
|
strsignal.c \
|
2000-02-17 19:39:52 +00:00
|
|
|
strspn.c \
|
|
|
|
strtok.c \
|
|
|
|
strtok_r.c \
|
|
|
|
strupr.c \
|
|
|
|
strxfrm.c \
|
|
|
|
strstr.c \
|
2000-03-08 03:46:01 +00:00
|
|
|
swab.c \
|
2016-03-18 11:49:26 +01:00
|
|
|
timingsafe_bcmp.c \
|
2016-03-18 11:49:27 +01:00
|
|
|
timingsafe_memcmp.c \
|
2002-08-29 19:38:25 +00:00
|
|
|
u_strerr.c \
|
|
|
|
wcscat.c \
|
|
|
|
wcschr.c \
|
|
|
|
wcscmp.c \
|
2003-04-03 08:26:07 +00:00
|
|
|
wcscoll.c \
|
2002-08-29 19:38:25 +00:00
|
|
|
wcscpy.c \
|
|
|
|
wcscspn.c \
|
|
|
|
wcslcat.c \
|
|
|
|
wcslcpy.c \
|
|
|
|
wcslen.c \
|
|
|
|
wcsncat.c \
|
|
|
|
wcsncmp.c \
|
|
|
|
wcsncpy.c \
|
2003-10-23 18:07:13 +00:00
|
|
|
wcsnlen.c \
|
2002-08-29 19:38:25 +00:00
|
|
|
wcspbrk.c \
|
|
|
|
wcsrchr.c \
|
|
|
|
wcsspn.c \
|
|
|
|
wcsstr.c \
|
2008-12-12 19:47:05 +00:00
|
|
|
wcstok.c \
|
2003-04-09 10:42:12 +00:00
|
|
|
wcswidth.c \
|
2007-07-04 16:18:34 +00:00
|
|
|
wcsxfrm.c \
|
2003-04-09 10:42:12 +00:00
|
|
|
wcwidth.c \
|
2002-08-29 19:38:25 +00:00
|
|
|
wmemchr.c \
|
|
|
|
wmemcmp.c \
|
|
|
|
wmemcpy.c \
|
|
|
|
wmemmove.c \
|
2011-02-10 16:48:18 +00:00
|
|
|
wmemset.c \
|
|
|
|
xpg_strerror_r.c
|
2000-02-17 19:39:52 +00:00
|
|
|
|
2002-08-26 18:56:09 +00:00
|
|
|
if ELIX_LEVEL_1
|
2008-01-12 04:25:55 +00:00
|
|
|
ELIX_2_SOURCES =
|
2002-08-26 18:56:09 +00:00
|
|
|
else
|
2008-01-12 04:25:55 +00:00
|
|
|
ELIX_2_SOURCES = \
|
2006-05-01 22:01:07 +00:00
|
|
|
bcmp.c \
|
|
|
|
memccpy.c \
|
|
|
|
mempcpy.c \
|
2007-06-28 17:07:23 +00:00
|
|
|
stpcpy.c \
|
|
|
|
stpncpy.c \
|
2006-05-01 22:01:07 +00:00
|
|
|
strndup.c \
|
2007-06-08 18:38:51 +00:00
|
|
|
strcasestr.c \
|
2011-03-28 14:51:28 +00:00
|
|
|
strchrnul.c \
|
2007-12-19 17:33:12 +00:00
|
|
|
strndup_r.c \
|
|
|
|
wcpcpy.c \
|
2009-03-15 13:39:07 +00:00
|
|
|
wcpncpy.c \
|
|
|
|
wcsdup.c
|
2008-01-15 13:35:33 +00:00
|
|
|
endif !ELIX_LEVEL_1
|
2002-08-26 18:56:09 +00:00
|
|
|
|
2008-01-12 04:25:55 +00:00
|
|
|
if ELIX_LEVEL_1
|
|
|
|
ELIX_4_SOURCES =
|
|
|
|
else
|
|
|
|
if ELIX_LEVEL_2
|
|
|
|
ELIX_4_SOURCES =
|
|
|
|
else
|
|
|
|
if ELIX_LEVEL_3
|
|
|
|
ELIX_4_SOURCES =
|
|
|
|
else
|
|
|
|
ELIX_4_SOURCES = \
|
2015-03-25 18:19:38 -05:00
|
|
|
gnu_basename.c \
|
2009-03-11 12:57:53 +00:00
|
|
|
memmem.c \
|
2012-05-10 08:34:08 +00:00
|
|
|
memrchr.c \
|
2013-06-24 15:11:24 +00:00
|
|
|
rawmemchr.c \
|
2016-07-24 20:00:34 +02:00
|
|
|
strcasecmp_l.c \
|
|
|
|
strcoll_l.c \
|
|
|
|
strncasecmp_l.c \
|
|
|
|
strxfrm_l.c \
|
2009-03-11 12:57:53 +00:00
|
|
|
wcscasecmp.c \
|
2016-07-24 20:00:34 +02:00
|
|
|
wcscasecmp_l.c \
|
|
|
|
wcscoll_l.c \
|
|
|
|
wcsncasecmp.c \
|
|
|
|
wcsncasecmp_l.c \
|
|
|
|
wcsxfrm_l.c
|
2008-01-12 04:25:55 +00:00
|
|
|
endif !ELIX_LEVEL_3
|
|
|
|
endif !ELIX_LEVEL_2
|
|
|
|
endif !ELIX_LEVEL_1
|
|
|
|
|
2001-12-13 23:50:11 +00:00
|
|
|
libstring_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libstring.la
|
2008-01-12 04:25:55 +00:00
|
|
|
libstring_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
|
2001-12-13 23:50:11 +00:00
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
2008-01-12 04:25:55 +00:00
|
|
|
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_2_SOURCES) $(ELIX_4_SOURCES)
|
2006-04-11 19:02:16 +00:00
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
2001-12-13 23:50:11 +00:00
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
|
2000-02-17 19:39:52 +00:00
|
|
|
CHEWOUT_FILES=\
|
|
|
|
bcmp.def memcpy.def strcmp.def strncat.def strstr.def \
|
|
|
|
bcopy.def memmove.def strcoll.def strncmp.def strtok.def \
|
|
|
|
bzero.def memset.def strcpy.def strncpy.def strxfrm.def \
|
2000-03-08 03:46:01 +00:00
|
|
|
index.def rindex.def strcspn.def strpbrk.def swab.def \
|
2002-05-24 23:44:39 +00:00
|
|
|
memchr.def strcat.def strerror.def strerror_r.def strrchr.def \
|
|
|
|
memcmp.def strchr.def strlen.def strnlen.def strspn.def \
|
2007-06-08 18:38:51 +00:00
|
|
|
strcasecmp.def strncasecmp.def strcasestr.def strlwr.def strupr.def \
|
2010-05-11 20:27:20 +00:00
|
|
|
memccpy.def mempcpy.def stpcpy.def stpncpy.def strsignal.def \
|
2009-03-11 12:57:53 +00:00
|
|
|
wcscasecmp.def wcscat.def wcschr.def wcscmp.def wcscoll.def \
|
2009-03-25 17:57:11 +00:00
|
|
|
wcscpy.def wcscspn.def wcpcpy.def wcpncpy.def wcsdup.def \
|
2009-03-11 12:57:53 +00:00
|
|
|
wcslcat.def wcslcpy.def wcslen.def wcsncasecmp.def wcsncat.def \
|
2003-10-23 18:07:13 +00:00
|
|
|
wcsncmp.def wcsncpy.def wcsnlen.def wcspbrk.def \
|
2008-12-12 19:47:05 +00:00
|
|
|
wcsrchr.def wcsspn.def wcsstr.def wcstok.def \
|
2007-07-04 16:18:34 +00:00
|
|
|
wcswidth.def wcsxfrm.def wcwidth.def wmemchr.def \
|
2008-01-12 04:25:55 +00:00
|
|
|
wmemcmp.def wmemcpy.def wmemmove.def wmemset.def \
|
2016-07-24 20:00:34 +02:00
|
|
|
memmem.def memrchr.def rawmemchr.def strchrnul.def \
|
|
|
|
strcasecmp_l.def strcoll_l.def strncasecmp_l.def strxfrm_l.def \
|
|
|
|
wcscasecmp_l.def wcscoll_l.def wcsncasecmp_l.def wcsxfrm_l.def
|
2000-02-17 19:39:52 +00:00
|
|
|
|
2015-11-02 18:00:28 -05:00
|
|
|
CHAPTERS = strings.tex wcstrings.tex
|