From be347f2e6655bfcb050fa8188435799369efab38 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 24 Jul 2009 23:22:41 +0000 Subject: libiberty/: * crc32.c: New file. * Makefile.in: Rebuild dependencies. (CFILES): Add crc32.c. (REQUIRED_OFILES): Add ./crc32.o. * functions.texi: Rebuild. include/: * libiberty.h (crc32): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150067 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libiberty/Makefile.in') diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 8a1009230cd..20a7210a1a1 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -124,7 +124,7 @@ COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @a CFILES = alloca.c argv.c asprintf.c atexit.c \ basename.c bcmp.c bcopy.c bsearch.c bzero.c \ calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ - cp-demint.c cplus-dem.c \ + cp-demint.c cplus-dem.c crc32.c \ dyn-string.c \ fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ fnmatch.c fopen_unlocked.c \ @@ -160,7 +160,7 @@ CFILES = alloca.c argv.c asprintf.c atexit.c \ REQUIRED_OFILES = \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o \ ./alloca.o ./argv.o \ - ./choose-temp.o ./concat.o ./cp-demint.o \ + ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o \ ./dyn-string.o \ ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o \ ./fnmatch.o ./fopen_unlocked.o \ @@ -603,6 +603,12 @@ $(CONFIGURED_OFILES): stamp-picdir else true; fi $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) +./crc32.o: $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h + if [ x"$(PICFLAG)" != x ]; then \ + $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ + else true; fi + $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) + ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h if [ x"$(PICFLAG)" != x ]; then \ -- cgit v1.2.3