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)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
LIB_SOURCES = \
|
2000-02-18 03:39:52 +08:00
|
|
|
bcmp.c \
|
|
|
|
bcopy.c \
|
|
|
|
bzero.c \
|
|
|
|
index.c \
|
|
|
|
memchr.c \
|
|
|
|
memcmp.c \
|
|
|
|
memcpy.c \
|
|
|
|
memmove.c \
|
|
|
|
memset.c \
|
|
|
|
rindex.c \
|
|
|
|
strcat.c \
|
|
|
|
strchr.c \
|
|
|
|
strcmp.c \
|
|
|
|
strcasecmp.c \
|
|
|
|
strcoll.c \
|
|
|
|
strcpy.c \
|
|
|
|
strcspn.c \
|
|
|
|
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 \
|
|
|
|
strncat.c \
|
|
|
|
strncmp.c \
|
|
|
|
strncasecmp.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 \
|
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 \
|
2000-02-18 03:39:52 +08:00
|
|
|
u_strerr.c
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
libstring_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libstring.la
|
|
|
|
libstring_la_SOURCES = $(LIB_SOURCES)
|
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
|
|
|
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 \
|
2000-02-18 03:39:52 +08:00
|
|
|
strcasecmp.def strncasecmp.def strlwr.def strupr.def
|
|
|
|
|
|
|
|
SUFFIXES = .def
|
|
|
|
|
|
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
|
|
|
|
|
|
|
.c.def:
|
|
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
|
|
touch stmp-def
|
|
|
|
|
|
|
|
TARGETDOC = ../tmp.texi
|
|
|
|
|
|
|
|
doc: $(CHEWOUT_FILES)
|
|
|
|
cat $(srcdir)/strings.tex >> $(TARGETDOC)
|
|
|
|
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|