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