summaryrefslogtreecommitdiff
path: root/libiberty/Makefile.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-27 22:38:23 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-27 22:38:23 +0000
commit7687342e72312141389a2ebd4ce8e278de91c6fd (patch)
treeb0984c49d6350c94d36f4040e271ef98474901a4 /libiberty/Makefile.in
parent16fe30897f6c8e3da68d00a0c97bbcd9bd157ba0 (diff)
downloadgcc-7687342e72312141389a2ebd4ce8e278de91c6fd.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145139 138bc75d-0d04-0410-961f-82ee72b054a4
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 41a71f5ea32..29068ea8763 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/$@; \