Index: libiberty/Makefile.in |
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in |
index 0a5da3178b17ea7a8ebccc59e17913ffbc314d1a..75ff82d984a930b4747feb6bfabf743731468656 100644 |
--- a/libiberty/Makefile.in |
+++ b/libiberty/Makefile.in |
@@ -146,12 +146,12 @@ CFILES = alloca.c argv.c asprintf.c atexit.c \ |
random.c regex.c rename.c rindex.c \ |
safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \ |
simple-object.c simple-object-coff.c simple-object-elf.c \ |
- simple-object-mach-o.c \ |
+ simple-object-mach-o.c simple-object-xcoff.c \ |
snprintf.c sort.c \ |
spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \ |
strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \ |
strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \ |
- strtoul.c strndup.c strverscmp.c \ |
+ strtoul.c strndup.c strnlen.c strverscmp.c \ |
timeval-utils.c tmpnam.c \ |
unlink-if-ordinary.c \ |
vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \ |
@@ -183,6 +183,7 @@ REQUIRED_OFILES = \ |
./safe-ctype.$(objext) \ |
./simple-object.$(objext) ./simple-object-coff.$(objext) \ |
./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \ |
+ ./simple-object-xcoff.$(objext) \ |
./sort.$(objext) ./spaces.$(objext) \ |
./splay-tree.$(objext) ./stack-limit.$(objext) \ |
./strerror.$(objext) ./strsignal.$(objext) \ |
@@ -215,9 +216,9 @@ CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \ |
./sigsetmask.$(objext) ./snprintf.$(objext) \ |
./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ |
./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \ |
- ./strncmp.$(objext) ./strndup.$(objext) ./strrchr.$(objext) \ |
- ./strstr.$(objext) ./strtod.$(objext) ./strtol.$(objext) \ |
- ./strtoul.$(objext) ./strverscmp.$(objext) \ |
+ ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ |
+ ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \ |
+ ./strtol.$(objext) ./strtoul.$(objext) ./strverscmp.$(objext) \ |
./tmpnam.$(objext) \ |
./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \ |
./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \ |
@@ -354,19 +355,19 @@ install-strip: install |
# since it will be passed the multilib flags. |
MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` |
install_to_libdir: all |
- ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR) |
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n |
- ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ) |
- mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB) |
if test -n "${target_header_dir}"; then \ |
- case "${target_header_dir}" in \ |
- /*) thd=${target_header_dir};; \ |
- *) thd=${includedir}/${target_header_dir};; \ |
- esac; \ |
- ${mkinstalldirs} $(DESTDIR)$${thd}; \ |
- for h in ${INSTALLED_HEADERS}; do \ |
- ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ |
- done; \ |
+ ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ |
+ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ |
+ ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \ |
+ mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \ |
+ case "${target_header_dir}" in \ |
+ /*) thd=${target_header_dir};; \ |
+ *) thd=${includedir}/${target_header_dir};; \ |
+ esac; \ |
+ ${mkinstalldirs} $(DESTDIR)$${thd}; \ |
+ for h in ${INSTALLED_HEADERS}; do \ |
+ ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ |
+ done; \ |
fi |
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
@@ -622,8 +623,8 @@ $(CONFIGURED_OFILES): stamp-picdir |
else true; fi |
$(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) |
-./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.h \ |
- $(INCDIR)/dwarf2.def |
+./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \ |
+ $(INCDIR)/dwarf2.h |
if [ x"$(PICFLAG)" != x ]; then \ |
$(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \ |
else true; fi |
@@ -656,7 +657,8 @@ $(CONFIGURED_OFILES): stamp-picdir |
else true; fi |
$(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) |
-./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/filenames.h \ |
+./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \ |
+ $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ |
$(INCDIR)/safe-ctype.h |
if [ x"$(PICFLAG)" != x ]; then \ |
$(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \ |
@@ -757,7 +759,7 @@ $(CONFIGURED_OFILES): stamp-picdir |
$(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) |
./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \ |
- $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \ |
+ $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \ |
$(INCDIR)/safe-ctype.h |
if [ x"$(PICFLAG)" != x ]; then \ |
$(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ |
@@ -1008,6 +1010,14 @@ $(CONFIGURED_OFILES): stamp-picdir |
else true; fi |
$(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) |
+./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \ |
+ $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
+ $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
+ if [ x"$(PICFLAG)" != x ]; then \ |
+ $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \ |
+ else true; fi |
+ $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION) |
+ |
./simple-object.$(objext): $(srcdir)/simple-object.c config.h \ |
$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
@@ -1043,7 +1053,7 @@ $(CONFIGURED_OFILES): stamp-picdir |
else true; fi |
$(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) |
-./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h |
+./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h |
if [ x"$(PICFLAG)" != x ]; then \ |
$(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \ |
else true; fi |
@@ -1104,6 +1114,12 @@ $(CONFIGURED_OFILES): stamp-picdir |
else true; fi |
$(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) |
+./strnlen.$(objext): $(srcdir)/strnlen.c config.h |
+ if [ x"$(PICFLAG)" != x ]; then \ |
+ $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ |
+ else true; fi |
+ $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION) |
+ |
./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
if [ x"$(PICFLAG)" != x ]; then \ |
$(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ |