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