aclocal.m4: Assume strncmp works in cross case.
[gcc.git] / libiberty / Makefile.in
index c5e992945f1f409fb83a0262d2440e50ba5b9224..5280bc1585c749450ac87ae10bb07c07a81c610a 100644 (file)
@@ -2,8 +2,8 @@
 # Originally written by K. Richard Pixley <rich@cygnus.com>.
 #
 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
-# Foundation
+# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+# Free Software Foundation
 #
 # This file is part of the libiberty library.
 # Libiberty is free software; you can redistribute it and/or
@@ -144,12 +144,15 @@ CFILES = alloca.c argv.c asprintf.c atexit.c                              \
         pex-unix.c pex-win32.c                                         \
          physmem.c putenv.c                                            \
        random.c regex.c rename.c rindex.c                              \
-       safe-ctype.c setenv.c sha1.c sigsetmask.c snprintf.c sort.c     \
-        spaces.c splay-tree.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                                         \
-       tmpnam.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                                         \
+         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                               \
+       timeval-utils.c tmpnam.c                                        \
        unlink-if-ordinary.c                                            \
        vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
        waitpid.c                                                       \
@@ -171,13 +174,18 @@ REQUIRED_OFILES =                                                 \
        ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext)      \
        ./lbasename.$(objext) ./lrealpath.$(objext)                     \
        ./make-relative-prefix.$(objext) ./make-temp-file.$(objext)     \
-       ./objalloc.$(objext) ./obstack.$(objext)                        \
+       ./objalloc.$(objext)                                            \
+       ./obstack.$(objext)                                             \
        ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext)  \
        ./pex-common.$(objext) ./pex-one.$(objext)                      \
        ./@pexecute@.$(objext)                                          \
-       ./safe-ctype.$(objext) ./sort.$(objext) ./spaces.$(objext)      \
-       ./splay-tree.$(objext) ./strerror.$(objext)                     \
-       ./strsignal.$(objext) ./unlink-if-ordinary.$(objext)            \
+       ./safe-ctype.$(objext)                                          \
+       ./simple-object.$(objext) ./simple-object-coff.$(objext)        \
+       ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext)  \
+       ./sort.$(objext) ./spaces.$(objext)                             \
+       ./splay-tree.$(objext) ./stack-limit.$(objext)                  \
+       ./strerror.$(objext) ./strsignal.$(objext)                      \
+       ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext)        \
        ./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext)       \
        ./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext)   \
        ./xstrndup.$(objext)
@@ -201,7 +209,9 @@ CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext)         \
         ./pex-unix.$(objext) ./pex-win32.$(objext)                     \
         ./putenv.$(objext)                                             \
        ./random.$(objext) ./rename.$(objext) ./rindex.$(objext)        \
-       ./setenv.$(objext) ./sigsetmask.$(objext) ./snprintf.$(objext)  \
+       ./setenv.$(objext)                                              \
+        ./setproctitle.$(objext)                                       \
+        ./sigsetmask.$(objext) ./snprintf.$(objext)                    \
         ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext)  \
         ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext)  \
         ./strncmp.$(objext) ./strndup.$(objext) ./strrchr.$(objext)    \
@@ -225,7 +235,8 @@ INSTALLED_HEADERS =                                                     \
        $(INCDIR)/partition.h                                           \
        $(INCDIR)/safe-ctype.h                                          \
        $(INCDIR)/sort.h                                                \
-       $(INCDIR)/splay-tree.h
+       $(INCDIR)/splay-tree.h \
+       $(INCDIR)/timeval-utils.h
 
 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
        -rm -f $(TARGETLIB) pic/$(TARGETLIB)
@@ -309,7 +320,7 @@ TEXISRC = \
 # Additional files that have texi snippets that need to be collected
 # and sorted.  Some are here because the sources are imported from
 # elsewhere.  Others represent headers in ../include.
-TEXIFILES = fnmatch.txh pexecute.txh
+TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
 
 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
        $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
@@ -332,6 +343,9 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
 
 INSTALL_DEST = @INSTALL_DEST@
 install: install_to_$(INSTALL_DEST) install-subdir
+install-strip: install
+
+.PHONY: install install-strip
 
 # This is tricky.  Even though CC in the Makefile contains
 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
@@ -944,6 +958,12 @@ $(CONFIGURED_OFILES): stamp-picdir
        else true; fi
        $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
 
+./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
+       if [ x"$(PICFLAG)" != x ]; then \
+         $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
+
 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
        if [ x"$(PICFLAG)" != x ]; then \
          $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
@@ -956,6 +976,38 @@ $(CONFIGURED_OFILES): stamp-picdir
        else true; fi
        $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
 
+./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.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-coff.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
+
+./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.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-elf.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
+
+./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.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-mach-o.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/simple-object-mach-o.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
+       if [ x"$(PICFLAG)" != x ]; then \
+         $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
+
 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
        if [ x"$(PICFLAG)" != x ]; then \
          $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
@@ -983,6 +1035,12 @@ $(CONFIGURED_OFILES): stamp-picdir
        else true; fi
        $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
 
+./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h
+       if [ x"$(PICFLAG)" != x ]; then \
+         $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
+
 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
        if [ x"$(PICFLAG)" != x ]; then \
          $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
@@ -1084,6 +1142,13 @@ $(CONFIGURED_OFILES): stamp-picdir
        else true; fi
        $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
 
+./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
+       $(INCDIR)/timeval-utils.h
+       if [ x"$(PICFLAG)" != x ]; then \
+         $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
+       else true; fi
+       $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
+
 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
        if [ x"$(PICFLAG)" != x ]; then \
          $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \