aboutsummaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-03-27 22:38:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-03-27 22:38:23 +0000
commit5fbd944721c275a13c19ebf83ee76eb51732d9ae (patch)
treeb0984c49d6350c94d36f4040e271ef98474901a4 /libiberty/Makefile.in
parent2ac26e152e6ee91698ddd752d3ec788ead9c90df (diff)
downloadgcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.zip
gcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.tar.gz
gcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.tar.bz2
memmem.c: New file, from gnulib.
* memmem.c: New file, from gnulib. * configure.ac: Add memmem to list of functions provided if they are not available on the host. * Makefile.in: Rebuild dependencies. (CFILES): Add memmem.c. (CONFIGURED_OFILES): Add memmem.o. * configure, config.in, functions.texi: Rebuild. From-SVN: r145139
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r--libiberty/Makefile.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 41a71f5..29068ea 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -135,8 +135,8 @@ CFILES = alloca.c argv.c asprintf.c atexit.c \
lbasename.c \
lrealpath.c \
make-relative-prefix.c \
- make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
- mempcpy.c memset.c mkstemps.c \
+ make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
+ memmove.c mempcpy.c memset.c mkstemps.c \
objalloc.c obstack.c \
partition.c pexecute.c \
pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
@@ -187,8 +187,8 @@ CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
./ffs.o \
./getcwd.o ./getpagesize.o ./gettimeofday.o \
./index.o ./insque.o \
- ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
- ./memset.o ./mkstemps.o \
+ ./memchr.o ./memcmp.o ./memcpy.o ./memmem.o ./memmove.o \
+ ./mempcpy.o ./memset.o ./mkstemps.o \
./pex-djgpp.o ./pex-msdos.o \
./pex-unix.o ./pex-win32.o \
./putenv.o \
@@ -798,6 +798,12 @@ $(CONFIGURED_OFILES): stamp-picdir
else true; fi
$(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
+./memmem.o: $(srcdir)/memmem.c config.h
+ if [ x"$(PICFLAG)" != x ]; then \
+ $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
+ else true; fi
+ $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
+
./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \