Line 1... |
Line 1... |
# Makefile for newlib/libc/string.
|
# Makefile.in generated automatically by automake 1.3b from Makefile.am
|
# Copyright (c) 1994 Cygnus Support.
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms are permitted
|
|
# provided that the above copyright notice and this paragraph are
|
|
# duplicated in all such forms and that any documentation,
|
|
# advertising materials, and other materials related to such
|
|
# distribution and use acknowledge that the software was developed
|
|
# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
|
|
# endorse or promote products derived from this software without
|
|
# specific prior written permission.
|
|
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
srcdir = .
|
|
|
|
SHELL = /bin/sh
|
|
|
|
TOP = ../..
|
|
SRCTOP = ../..
|
|
TARGETDOC = ../targetdep.tex
|
|
|
|
#### Host, target, and site specific Makefile fragments come in here.
|
|
###
|
|
|
|
OFILES=\
|
|
bcmp.o \
|
|
bcopy.o \
|
|
bzero.o \
|
|
index.o \
|
|
memchr.o \
|
|
memcmp.o \
|
|
memcpy.o \
|
|
memmove.o \
|
|
memset.o \
|
|
rindex.o \
|
|
strcat.o \
|
|
strchr.o \
|
|
strcmp.o \
|
|
strcasecmp.o \
|
|
strcoll.o \
|
|
strcpy.o \
|
|
strcspn.o \
|
|
strerror.o \
|
|
strlen.o \
|
|
strlwr.o \
|
|
strncat.o \
|
|
strncmp.o \
|
|
strncasecmp.o \
|
|
strncpy.o \
|
|
strpbrk.o \
|
|
strrchr.o \
|
|
strspn.o \
|
|
strtok.o \
|
|
strtok_r.o \
|
|
strupr.o \
|
|
strxfrm.o \
|
|
strstr.o \
|
|
u_strerr.o
|
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
CRT0 = @CRT0@
|
|
EXEEXT = @EXEEXT@
|
|
LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
|
|
LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
|
|
LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
|
|
LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
|
|
LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
|
|
LIBC_SYS_LIB = @LIBC_SYS_LIB@
|
|
LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
mach_add_objs = @mach_add_objs@
|
|
machine_dir = @machine_dir@
|
|
newlib_basedir = @newlib_basedir@
|
|
sys_dir = @sys_dir@
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = \
|
|
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 \
|
|
strlen.c \
|
|
strlwr.c \
|
|
strncat.c \
|
|
strncmp.c \
|
|
strncasecmp.c \
|
|
strncpy.c \
|
|
strpbrk.c \
|
|
strrchr.c \
|
|
strspn.c \
|
|
strtok.c \
|
|
strtok_r.c \
|
|
strupr.c \
|
|
strxfrm.c \
|
|
strstr.c \
|
|
u_strerr.c
|
|
|
CHEWOUT_FILES=\
|
CHEWOUT_FILES=\
|
bcmp.def memcpy.def strcmp.def strncat.def strstr.def \
|
bcmp.def memcpy.def strcmp.def strncat.def strstr.def \
|
bcopy.def memmove.def strcoll.def strncmp.def strtok.def \
|
bcopy.def memmove.def strcoll.def strncmp.def strtok.def \
|
bzero.def memset.def strcpy.def strncpy.def strxfrm.def \
|
bzero.def memset.def strcpy.def strncpy.def strxfrm.def \
|
index.def rindex.def strcspn.def strpbrk.def \
|
index.def rindex.def strcspn.def strpbrk.def \
|
memchr.def strcat.def strerror.def strrchr.def \
|
memchr.def strcat.def strerror.def strrchr.def \
|
memcmp.def strchr.def strlen.def strspn.def \
|
memcmp.def strchr.def strlen.def strspn.def \
|
strcasecmp.def strncasecmp.def strlwr.def strupr.def
|
strcasecmp.def strncasecmp.def strlwr.def strupr.def
|
|
|
all: lib.a
|
SUFFIXES = .def
|
lib.a: $(OFILES)
|
|
rm -f $@
|
|
$(AR) $(AR_FLAGS) $@ $(OFILES)
|
|
|
|
doc: $(CHEWOUT_FILES)
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
cat *.ref > quickref.tex
|
|
cat $(srcdir)/strings.tex >> $(TARGETDOC)
|
TARGETDOC = ../tmp.texi
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
lib_a_LIBADD =
|
|
lib_a_OBJECTS = bcmp.o bcopy.o bzero.o index.o memchr.o memcmp.o \
|
|
memcpy.o memmove.o memset.o rindex.o strcat.o strchr.o strcmp.o \
|
|
strcasecmp.o strcoll.o strcpy.o strcspn.o strerror.o strlen.o strlwr.o \
|
|
strncat.o strncmp.o strncasecmp.o strncpy.o strpbrk.o strrchr.o \
|
|
strspn.o strtok.o strtok_r.o strupr.o strxfrm.o strstr.o u_strerr.o
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
SOURCES = $(lib_a_SOURCES)
|
|
OBJECTS = $(lib_a_OBJECTS)
|
|
|
|
all: Makefile $(LIBRARIES)
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .def .o .s
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus string/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
mostlyclean-noinstLIBRARIES:
|
|
|
|
clean-noinstLIBRARIES:
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
|
|
distclean-noinstLIBRARIES:
|
|
|
|
maintainer-clean-noinstLIBRARIES:
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
|
|
-rm -f lib.a
|
|
$(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
|
|
$(RANLIB) lib.a
|
|
|
clean mostlyclean:
|
tags: TAGS
|
rm -f $(OFILES) $(CHEWOUT_FILES) *.ref *~ quickref.tex core *.o.* lib.a
|
|
|
|
distclean maintainer-clean realclean: clean
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
rm -f Makefile config.status
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
|
|
Makefile: Makefile.in $(target_makefile_frag) $(host_makefile_frag)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
$(SHELL) config.status
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = string
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
done
|
|
info:
|
|
dvi:
|
|
check:
|
|
installcheck:
|
|
install-info:
|
|
install-exec:
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data:
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall:
|
|
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs:
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
clean: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
|
mostlyclean
|
|
|
|
distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \
|
|
distclean-generic clean
|
|
-rm -f config.status
|
|
|
|
maintainer-clean: maintainer-clean-noinstLIBRARIES \
|
|
maintainer-clean-compile maintainer-clean-tags \
|
|
maintainer-clean-generic distclean
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
|
clean-tags maintainer-clean-tags distdir info dvi installcheck \
|
|
install-info install-exec install-data install uninstall all \
|
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
|
.c.def:
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
touch stmp-def
|
|
|
|
doc: $(CHEWOUT_FILES)
|
|
cat $(srcdir)/strings.tex >> $(TARGETDOC)
|
|
|
# to support SunOS VPATH
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
bcmp.o: bcmp.c
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
bcopy.o: bcopy.c
|
.NOEXPORT:
|
bzero.o: bzero.c
|
|
index.o: index.c
|
|
memchr.o: memchr.c
|
|
memcmp.o: memcmp.c
|
|
memcpy.o: memcpy.c
|
|
memmove.o: memmove.c
|
|
memset.o: memset.c
|
|
rindex.o: rindex.c
|
|
strcat.o: strcat.c
|
|
strchr.o: strchr.c
|
|
strcmp.o: strcmp.c
|
|
strcasecmp.o: strcasecmp.c
|
|
strcoll.o: strcoll.c
|
|
strcpy.o: strcpy.c
|
|
strcspn.o: strcspn.c
|
|
strerror.o: strerror.c
|
|
strlen.o: strlen.c
|
|
strlwr.o: strlwr.c
|
|
strncat.o: strncat.c
|
|
strncmp.o: strncmp.c
|
|
strncasecmp.o: strncasecmp.c
|
|
strncpy.o: strncpy.c
|
|
strpbrk.o: strpbrk.c
|
|
strrchr.o: strrchr.c
|
|
strspn.o: strspn.c
|
|
strtok.o: strtok.c
|
|
strtok_r.o: strtok_r.c
|
|
strupr.o: strupr.c
|
|
strxfrm.o: strxfrm.c
|
|
strstr.o: strstr.c
|
|
u_strerr.o: u_strerr.c
|
|
.NOEXPORT:
|
|