(linenum→info "unix/slp.c:2238")

binutils/2.18/libiberty/Makefile.in

    1: # Makefile for the libiberty library.
    2: # Originally written by K. Richard Pixley <rich@cygnus.com>.
    3: #
    4: # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
    5: # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
    6: # Foundation
    7: #
    8: # This file is part of the libiberty library.
    9: # Libiberty is free software; you can redistribute it and/or
   10: # modify it under the terms of the GNU Library General Public
   11: # License as published by the Free Software Foundation; either
   12: # version 2 of the License, or (at your option) any later version.
   13: #
   14: # Libiberty is distributed in the hope that it will be useful,
   15: # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   17: # Library General Public License for more details.
   18: #
   19: # You should have received a copy of the GNU Library General Public
   20: # License along with libiberty; see the file COPYING.LIB.  If not,
   21: # write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
   22: # Boston, MA 02110-1301, USA.
   23: 
   24: libiberty_topdir = @libiberty_topdir@
   25: srcdir = @srcdir@
   26: 
   27: prefix = @prefix@
   28: 
   29: exec_prefix = @exec_prefix@
   30: bindir = @bindir@
   31: libdir = @libdir@
   32: includedir = @includedir@
   33: target_header_dir = @target_header_dir@
   34: 
   35: SHELL = @SHELL@
   36: 
   37: # Multilib support variables.
   38: MULTISRCTOP =
   39: MULTIBUILDTOP =
   40: MULTIDIRS =
   41: MULTISUBDIR =
   42: MULTIDO = true
   43: MULTICLEAN = true
   44: 
   45: INSTALL = @INSTALL@
   46: INSTALL_PROGRAM = @INSTALL_PROGRAM@
   47: INSTALL_DATA = @INSTALL_DATA@
   48: mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
   49: 
   50: # Some compilers can't handle cc -c blah.c -o foo/blah.o.
   51: OUTPUT_OPTION = @OUTPUT_OPTION@
   52: 
   53: AR = @AR@
   54: AR_FLAGS = rc
   55: 
   56: CC = @CC@
   57: CFLAGS = @CFLAGS@
   58: LIBCFLAGS = $(CFLAGS)
   59: RANLIB = @RANLIB@
   60: MAKEINFO = @MAKEINFO@
   61: PERL = @PERL@
   62: 
   63: PICFLAG =
   64: 
   65: MAKEOVERRIDES =
   66: 
   67: TARGETLIB = ./libiberty.a
   68: TESTLIB = ./testlib.a
   69: 
   70: LIBOBJS = @LIBOBJS@
   71: 
   72: # A configuration can specify extra .o files that should be included,
   73: # even if they are in libc. (Perhaps the libc version is buggy.)
   74: EXTRA_OFILES = 
   75: 
   76: # Flags to pass to a recursive make.
   77: FLAGS_TO_PASS = \
   78:         "AR=$(AR)" \
   79:         "AR_FLAGS=$(AR_FLAGS)" \
   80:         "CC=$(CC)" \
   81:         "CFLAGS=$(CFLAGS)" \
   82:         "DESTDIR=$(DESTDIR)" \
   83:         "LIBCFLAGS=$(LIBCFLAGS)" \
   84:         "EXTRA_OFILES=$(EXTRA_OFILES)" \
   85:         "HDEFINES=$(HDEFINES)" \
   86:         "INSTALL=$(INSTALL)" \
   87:         "INSTALL_DATA=$(INSTALL_DATA)" \
   88:         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
   89:         "LDFLAGS=$(LDFLAGS)" \
   90:         "LOADLIBES=$(LOADLIBES)" \
   91:         "RANLIB=$(RANLIB)" \
   92:         "SHELL=$(SHELL)" \
   93:         "prefix=$(prefix)" \
   94:         "exec_prefix=$(exec_prefix)" \
   95:         "libdir=$(libdir)" \
   96:         "libsubdir=$(libsubdir)" \
   97:         "tooldir=$(tooldir)"
   98: 
   99: # Subdirectories to recurse into. We need to override this during cleaning
  100: SUBDIRS = testsuite
  101: 
  102: # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
  103: all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
  104:         @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
  105: 
  106: .PHONY: check installcheck
  107: check: check-subdir
  108: installcheck: installcheck-subdir
  109: 
  110: @host_makefile_frag@
  111: 
  112: INCDIR=$(srcdir)/$(MULTISRCTOP)../include
  113: 
  114: COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
  115: 
  116: # Just to make sure we don't use a built-in rule with VPATH
  117: .c.o:
  118:         false
  119: 
  120: # NOTE: If you add new files to the library, add them to this list
  121: # (alphabetical), and add them to REQUIRED_OFILES, or
  122: # CONFIGURED_OFILES and funcs in configure.ac.  Also run "make maint-deps"
  123: # to build the new rules.
  124: CFILES = alloca.c argv.c asprintf.c atexit.c                            \
  125:         basename.c bcmp.c bcopy.c bsearch.c bzero.c                    \
  126:         calloc.c choose-temp.c clock.c concat.c cp-demangle.c          \
  127:          cp-demint.c cplus-dem.c                                       \
  128:         dyn-string.c                                                   \
  129:         fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c         \
  130:         fnmatch.c fopen_unlocked.c                                     \
  131:         getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c        \
  132:          gettimeofday.c                                                 \
  133:         hashtab.c hex.c                                                        \
  134:         index.c insque.c                                               \
  135:         lbasename.c                                                    \
  136:         lrealpath.c                                                    \
  137:         make-relative-prefix.c                                         \
  138:         make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c    \
  139:          mempcpy.c memset.c mkstemps.c                                 \
  140:         objalloc.c obstack.c                                           \
  141:         partition.c pexecute.c                                         \
  142:          pex-common.c pex-djgpp.c pex-msdos.c pex-one.c                        \
  143:          pex-unix.c pex-win32.c                                                \
  144:          physmem.c putenv.c                                             \
  145:         random.c regex.c rename.c rindex.c                             \
  146:         safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c  \
  147:          splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c        \
  148:          strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c      \
  149:          strstr.c strtod.c strtol.c strtoul.c strndup.c        strverscmp.c   \
  150:         tmpnam.c                                                       \
  151:         unlink-if-ordinary.c                                           \
  152:         vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c        \
  153:         waitpid.c                                                      \
  154:         xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c    \
  155:          xstrndup.c
  156: 
  157: # These are always included in the library.  The first four are listed
  158: # first and by compile time to optimize parallel builds.
  159: REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o       \
  160:         ./alloca.o ./argv.o                                            \
  161:         ./choose-temp.o ./concat.o ./cp-demint.o                       \
  162:         ./dyn-string.o                                                 \
  163:         ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o       \
  164:         ./fnmatch.o ./fopen_unlocked.o                                 \
  165:         ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o               \
  166:         ./hashtab.o ./hex.o                                            \
  167:         ./lbasename.o ./lrealpath.o                                    \
  168:         ./make-relative-prefix.o ./make-temp-file.o                    \
  169:         ./objalloc.o ./obstack.o                                       \
  170:         ./partition.o ./pexecute.o ./physmem.o                         \
  171:         ./pex-common.o ./pex-one.o @pexecute@                          \
  172:         ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
  173:          ./strsignal.o                                                 \
  174:         ./unlink-if-ordinary.o                                         \
  175:         ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o      \
  176:          ./xstrerror.o ./xstrndup.o
  177: 
  178: # These are all the objects that configure may add to the library via
  179: # $funcs or EXTRA_OFILES.  This list exists here only for "make
  180: # maint-missing" and "make check".
  181: CONFIGURED_OFILES = ./asprintf.o ./atexit.o                             \
  182:         ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o          \
  183:         ./calloc.o ./clock.o ./copysign.o                              \
  184:         ./_doprnt.o                                                    \
  185:         ./ffs.o                                                                \
  186:         ./getcwd.o ./getpagesize.o ./gettimeofday.o                    \
  187:         ./index.o ./insque.o                                           \
  188:         ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o       \
  189:          ./memset.o ./mkstemps.o                                       \
  190:         ./pex-djgpp.o ./pex-msdos.o                                    \
  191:          ./pex-unix.o ./pex-win32.o                                    \
  192:          ./putenv.o                                                    \
  193:         ./random.o ./rename.o ./rindex.o                               \
  194:         ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o  \
  195:          ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o          \
  196:          ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o                        \
  197:          ./strtod.o ./strtol.o ./strtoul.o ./strverscmp.o              \
  198:         ./tmpnam.o                                                     \
  199:         ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
  200:          ./vsprintf.o                                                  \
  201:         ./waitpid.o
  202: 
  203: # These files are installed if the library has been configured to do so.
  204: INSTALLED_HEADERS =                                                     \
  205:         $(INCDIR)/ansidecl.h                                            \
  206:         $(INCDIR)/demangle.h                                            \
  207:         $(INCDIR)/dyn-string.h                                          \
  208:         $(INCDIR)/fibheap.h                                             \
  209:         $(INCDIR)/floatformat.h                                         \
  210:         $(INCDIR)/hashtab.h                                             \
  211:         $(INCDIR)/libiberty.h                                           \
  212:         $(INCDIR)/objalloc.h                                            \
  213:         $(INCDIR)/partition.h                                           \
  214:         $(INCDIR)/safe-ctype.h                                          \
  215:         $(INCDIR)/sort.h                                                \
  216:         $(INCDIR)/splay-tree.h
  217: 
  218: $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
  219:         -rm -f $(TARGETLIB) pic/$(TARGETLIB)
  220:         $(AR) $(AR_FLAGS) $(TARGETLIB) \
  221:           $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
  222:         $(RANLIB) $(TARGETLIB)
  223:         if [ x"$(PICFLAG)" != x ]; then \
  224:           cd pic; \
  225:           $(AR) $(AR_FLAGS) $(TARGETLIB) \
  226:             $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
  227:           $(RANLIB) $(TARGETLIB); \
  228:           cd ..; \
  229:         else true; fi
  230: 
  231: $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
  232:         -rm -f $(TESTLIB)
  233:         $(AR) $(AR_FLAGS) $(TESTLIB) \
  234:           $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
  235:         $(RANLIB) $(TESTLIB)
  236: 
  237: info: libiberty.info info-subdir
  238: install-info: install-info-subdir
  239: clean-info: clean-info-subdir
  240: dvi: libiberty.dvi dvi-subdir
  241: 
  242: LIBIBERTY_PDFFILES = libiberty.pdf
  243: 
  244: pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
  245: 
  246: .PHONY: install-pdf
  247: 
  248: pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  249: 
  250: install-pdf: $(LIBIBERTY_PDFFILES)
  251:         @$(NORMAL_INSTALL)
  252:         test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
  253:         @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
  254:           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  255:           f=$(pdf__strip_dir) \
  256:           echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
  257:           $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
  258:         done
  259: 
  260: # html, install-html targets
  261: HTMLS = libiberty.html
  262: 
  263: html: $(HTMLS)
  264: 
  265: .PHONY: install-html install-html-am install-html-recursive
  266: 
  267: NORMAL_INSTALL = :
  268: mkdir_p = mkdir -p --
  269:  
  270: html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  271: 
  272: install-html: install-html-recursive  install-html-am
  273: 
  274: install-html-am: $(HTMLS)
  275:         @$(NORMAL_INSTALL)
  276:         test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
  277:         @list='$(HTMLS)'; for p in $$list; do \
  278:           if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
  279:           f=$(html__strip_dir) \
  280:           if test -d "$$d$$p"; then \
  281:             echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
  282:             $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
  283:             echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
  284:             $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
  285:           else \
  286:             echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
  287:             $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
  288:           fi; \
  289:         done
  290: 
  291: install-html-recursive:
  292:         @failcom='exit 1'; \
  293:         for f in x $$MAKEFLAGS; do \
  294:           case $$f in \
  295:             *=* | --[!k]*);; \
  296:             *k*) failcom='fail=yes';; \
  297:           esac; \
  298:         done; \
  299:         dot_seen=no; \
  300:         target=`echo $@ | sed s/-recursive//`; \
  301:         list='$(SUBDIRS)'; for subdir in $$list; do \
  302:           echo "Making $$target in $$subdir"; \
  303:           if test "$$subdir" = "."; then \
  304:             dot_seen=yes; \
  305:             local_target="$$target-am"; \
  306:           else \
  307:             local_target="$$target"; \
  308:           fi; \
  309:           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  310:           || eval $$failcom; \
  311:         done; \
  312:         if test "$$dot_seen" = "no"; then \
  313:           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  314:         fi; test -z "$$fail"
  315: 
  316: TEXISRC = \
  317:         $(srcdir)/libiberty.texi \
  318:         $(srcdir)/copying-lib.texi \
  319:         $(srcdir)/obstacks.texi \
  320:         $(srcdir)/functions.texi
  321: 
  322: # Additional files that have texi snippets that need to be collected
  323: # and sorted.  Some are here because the sources are imported from
  324: # elsewhere.  Others represent headers in ../include.
  325: TEXIFILES = fnmatch.txh pexecute.txh
  326: 
  327: libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
  328:         $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
  329: 
  330: libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
  331:         texi2dvi $(srcdir)/libiberty.texi
  332: 
  333: libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
  334:         texi2pdf $(srcdir)/libiberty.texi
  335: 
  336: libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
  337:         $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
  338: 
  339: @MAINT@$(srcdir)/functions.texi : stamp-functions
  340: @MAINT@ @true
  341: 
  342: @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
  343: @MAINT@@HAVE_PERL@      $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
  344: @MAINT@ echo stamp > stamp-functions
  345: 
  346: INSTALL_DEST = @INSTALL_DEST@
  347: install: install_to_$(INSTALL_DEST) install-subdir
  348: 
  349: # This is tricky.  Even though CC in the Makefile contains
  350: # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
  351: # default multilib, so we have to take LIBCFLAGS into account as well,
  352: # since it will be passed the multilib flags.
  353: MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
  354: install_to_libdir: all
  355:         ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
  356:         $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
  357:         ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
  358:         mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
  359:         if test -n "${target_header_dir}"; then \
  360:           case "${target_header_dir}" in \
  361:             /*)    thd=${target_header_dir};; \
  362:             *)     thd=${includedir}/${target_header_dir};; \
  363:           esac; \
  364:           ${mkinstalldirs} $(DESTDIR)$${thd}; \
  365:           for h in ${INSTALLED_HEADERS}; do \
  366:             ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
  367:           done; \
  368:         fi
  369:         @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
  370: 
  371: install_to_tooldir: all
  372:         ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
  373:         $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
  374:         ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
  375:         mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
  376:         @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
  377: 
  378: # needed-list is used by libstdc++.  NEEDED is the list of functions
  379: # to include there.  Do not add anything LGPL to this list; libstdc++
  380: # can't use anything encumbering.
  381: NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
  382:          strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
  383:          vfork waitpid bcmp bcopy bzero
  384: needed-list: Makefile
  385:         rm -f needed-list; touch needed-list; \
  386:         for f in $(NEEDED); do \
  387:           for g in $(LIBOBJS) $(EXTRA_OFILES); do \
  388:             case "$$g" in \
  389:               *$$f*) echo $$g >> needed-list ;; \
  390:             esac; \
  391:           done; \
  392:         done
  393: 
  394: # required-list was used when building a shared bfd/opcodes/libiberty
  395: # library.  I don't know if it used by anything currently.
  396: required-list: Makefile
  397:         echo $(REQUIRED_OFILES) > required-list
  398: 
  399: stamp-picdir:
  400:         if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
  401:           mkdir pic; \
  402:         else true; fi
  403:         touch stamp-picdir
  404: 
  405: .PHONY: all etags tags ls clean stage1 stage2
  406: 
  407: etags tags: TAGS etags-subdir
  408: 
  409: TAGS: $(CFILES)
  410:         etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
  411: 
  412: # The standalone demangler (c++filt) has been moved to binutils.
  413: demangle:
  414:         @echo "The standalone demangler, now named c++filt, is now"
  415:         @echo "a part of binutils."
  416:         @false
  417: 
  418: ls:
  419:         @echo Makefile $(CFILES)
  420: 
  421: # Various targets for maintainers.
  422: 
  423: maint-missing :
  424:         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
  425: 
  426: maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
  427:         @true
  428: 
  429: maint-undoc : $(srcdir)/functions.texi
  430:         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
  431: 
  432: maint-deps :
  433:         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
  434: 
  435: # Need to deal with profiled libraries, too.
  436: 
  437: # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
  438: # multiple times, hence our explicit recursion with an empty SUBDIRS.
  439: mostlyclean: mostlyclean-subdir
  440:         -rm -rf *.o pic core errs \#* *.E a.out
  441:         -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
  442:         -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
  443:         -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
  444:         -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
  445:         -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
  446:         -rm -f libtexi.stamp
  447:         @$(MULTICLEAN) multi-clean DO=mostlyclean
  448: clean: clean-subdir
  449:         $(MAKE) SUBDIRS="" mostlyclean
  450:         -rm -f *.a required-list tmpmulti.out
  451:         -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
  452:         @$(MULTICLEAN) multi-clean DO=clean
  453: distclean: distclean-subdir
  454:         $(MAKE) SUBDIRS="" clean
  455:         @$(MULTICLEAN) multi-clean DO=distclean
  456:         -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
  457:         -rm -f config.log
  458:         -rmdir testsuite 2>/dev/null
  459: maintainer-clean realclean: maintainer-clean-subdir
  460:         $(MAKE) SUBDIRS="" distclean
  461: 
  462: force:
  463: 
  464: Makefile: $(srcdir)/Makefile.in config.status
  465:         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
  466: 
  467: # Depending on Makefile makes sure that config.status has been re-run
  468: # if needed.  This prevents problems with parallel builds.
  469: config.h: stamp-h ; @true
  470: stamp-h: $(srcdir)/config.in config.status Makefile
  471:         CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
  472: 
  473: config.status: $(srcdir)/configure
  474:         $(SHELL) ./config.status --recheck
  475: 
  476: # Depending on stamp-h makes sure that config.status has been re-run
  477: # if needed.  This prevents problems with parallel builds, in case
  478: # subdirectories need to run config.status also.
  479: all-subdir check-subdir installcheck-subdir info-subdir \
  480: install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir      \
  481: etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
  482: maintainer-clean-subdir: stamp-h
  483:         @subdirs='$(SUBDIRS)'; \
  484:         target=`echo $@ | sed -e 's/-subdir//'`; \
  485:         for dir in $$subdirs ; do \
  486:           cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
  487:         done
  488: 
  489: $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
  490: $(CONFIGURED_OFILES): stamp-picdir
  491: 
  492: # Don't export variables to the environment, in order to not confuse
  493: # configure.
  494: .NOEXPORT:
  495: 
  496: # The dependencies in the remainder of this file are automatically
  497: # generated by "make maint-deps".  Manual edits will be lost.
  498: 
  499: ./_doprnt.o: $(srcdir)/_doprnt.c stamp-h $(INCDIR)/ansidecl.h \
  500:         $(INCDIR)/safe-ctype.h
  501:         if [ x"$(PICFLAG)" != x ]; then \
  502:           $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
  503:         else true; fi
  504:         $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
  505: 
  506: ./alloca.o: $(srcdir)/alloca.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  507:         if [ x"$(PICFLAG)" != x ]; then \
  508:           $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
  509:         else true; fi
  510:         $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
  511: 
  512: ./argv.o: $(srcdir)/argv.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  513:         $(INCDIR)/safe-ctype.h
  514:         if [ x"$(PICFLAG)" != x ]; then \
  515:           $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
  516:         else true; fi
  517:         $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
  518: 
  519: ./asprintf.o: $(srcdir)/asprintf.c stamp-h $(INCDIR)/ansidecl.h \
  520:         $(INCDIR)/libiberty.h
  521:         if [ x"$(PICFLAG)" != x ]; then \
  522:           $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
  523:         else true; fi
  524:         $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
  525: 
  526: ./atexit.o: $(srcdir)/atexit.c stamp-h
  527:         if [ x"$(PICFLAG)" != x ]; then \
  528:           $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
  529:         else true; fi
  530:         $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
  531: 
  532: ./basename.o: $(srcdir)/basename.c stamp-h $(INCDIR)/ansidecl.h \
  533:         $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
  534:         if [ x"$(PICFLAG)" != x ]; then \
  535:           $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
  536:         else true; fi
  537:         $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
  538: 
  539: ./bcmp.o: $(srcdir)/bcmp.c
  540:         if [ x"$(PICFLAG)" != x ]; then \
  541:           $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
  542:         else true; fi
  543:         $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
  544: 
  545: ./bcopy.o: $(srcdir)/bcopy.c
  546:         if [ x"$(PICFLAG)" != x ]; then \
  547:           $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
  548:         else true; fi
  549:         $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
  550: 
  551: ./bsearch.o: $(srcdir)/bsearch.c stamp-h $(INCDIR)/ansidecl.h
  552:         if [ x"$(PICFLAG)" != x ]; then \
  553:           $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
  554:         else true; fi
  555:         $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
  556: 
  557: ./bzero.o: $(srcdir)/bzero.c
  558:         if [ x"$(PICFLAG)" != x ]; then \
  559:           $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
  560:         else true; fi
  561:         $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
  562: 
  563: ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
  564:         if [ x"$(PICFLAG)" != x ]; then \
  565:           $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
  566:         else true; fi
  567:         $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
  568: 
  569: ./choose-temp.o: $(srcdir)/choose-temp.c stamp-h $(INCDIR)/ansidecl.h \
  570:         $(INCDIR)/libiberty.h
  571:         if [ x"$(PICFLAG)" != x ]; then \
  572:           $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
  573:         else true; fi
  574:         $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
  575: 
  576: ./clock.o: $(srcdir)/clock.c stamp-h
  577:         if [ x"$(PICFLAG)" != x ]; then \
  578:           $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
  579:         else true; fi
  580:         $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
  581: 
  582: ./concat.o: $(srcdir)/concat.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  583:         if [ x"$(PICFLAG)" != x ]; then \
  584:           $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
  585:         else true; fi
  586:         $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
  587: 
  588: ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
  589:         if [ x"$(PICFLAG)" != x ]; then \
  590:           $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
  591:         else true; fi
  592:         $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
  593: 
  594: ./cp-demangle.o: $(srcdir)/cp-demangle.c stamp-h $(INCDIR)/ansidecl.h \
  595:         $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
  596:         $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
  597:         if [ x"$(PICFLAG)" != x ]; then \
  598:           $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
  599:         else true; fi
  600:         $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
  601: 
  602: ./cp-demint.o: $(srcdir)/cp-demint.c stamp-h $(INCDIR)/ansidecl.h \
  603:         $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
  604:         $(INCDIR)/libiberty.h
  605:         if [ x"$(PICFLAG)" != x ]; then \
  606:           $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
  607:         else true; fi
  608:         $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
  609: 
  610: ./cplus-dem.o: $(srcdir)/cplus-dem.c stamp-h $(INCDIR)/ansidecl.h \
  611:         $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
  612:         $(INCDIR)/safe-ctype.h
  613:         if [ x"$(PICFLAG)" != x ]; then \
  614:           $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
  615:         else true; fi
  616:         $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
  617: 
  618: ./dyn-string.o: $(srcdir)/dyn-string.c stamp-h $(INCDIR)/ansidecl.h \
  619:         $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
  620:         if [ x"$(PICFLAG)" != x ]; then \
  621:           $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
  622:         else true; fi
  623:         $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
  624: 
  625: ./fdmatch.o: $(srcdir)/fdmatch.c stamp-h $(INCDIR)/ansidecl.h \
  626:         $(INCDIR)/libiberty.h
  627:         if [ x"$(PICFLAG)" != x ]; then \
  628:           $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
  629:         else true; fi
  630:         $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
  631: 
  632: ./ffs.o: $(srcdir)/ffs.c
  633:         if [ x"$(PICFLAG)" != x ]; then \
  634:           $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
  635:         else true; fi
  636:         $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
  637: 
  638: ./fibheap.o: $(srcdir)/fibheap.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/fibheap.h \
  639:         $(INCDIR)/libiberty.h
  640:         if [ x"$(PICFLAG)" != x ]; then \
  641:           $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
  642:         else true; fi
  643:         $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
  644: 
  645: ./filename_cmp.o: $(srcdir)/filename_cmp.c stamp-h $(INCDIR)/filenames.h \
  646:         $(INCDIR)/safe-ctype.h
  647:         if [ x"$(PICFLAG)" != x ]; then \
  648:           $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
  649:         else true; fi
  650:         $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
  651: 
  652: ./floatformat.o: $(srcdir)/floatformat.c stamp-h $(INCDIR)/ansidecl.h \
  653:         $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
  654:         if [ x"$(PICFLAG)" != x ]; then \
  655:           $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
  656:         else true; fi
  657:         $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
  658: 
  659: ./fnmatch.o: $(srcdir)/fnmatch.c stamp-h $(INCDIR)/fnmatch.h \
  660:         $(INCDIR)/safe-ctype.h
  661:         if [ x"$(PICFLAG)" != x ]; then \
  662:           $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
  663:         else true; fi
  664:         $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
  665: 
  666: ./fopen_unlocked.o: $(srcdir)/fopen_unlocked.c stamp-h $(INCDIR)/ansidecl.h \
  667:         $(INCDIR)/libiberty.h
  668:         if [ x"$(PICFLAG)" != x ]; then \
  669:           $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
  670:         else true; fi
  671:         $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
  672: 
  673: ./getcwd.o: $(srcdir)/getcwd.c stamp-h
  674:         if [ x"$(PICFLAG)" != x ]; then \
  675:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
  676:         else true; fi
  677:         $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
  678: 
  679: ./getopt.o: $(srcdir)/getopt.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h
  680:         if [ x"$(PICFLAG)" != x ]; then \
  681:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
  682:         else true; fi
  683:         $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
  684: 
  685: ./getopt1.o: $(srcdir)/getopt1.c stamp-h $(INCDIR)/getopt.h
  686:         if [ x"$(PICFLAG)" != x ]; then \
  687:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
  688:         else true; fi
  689:         $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
  690: 
  691: ./getpagesize.o: $(srcdir)/getpagesize.c stamp-h
  692:         if [ x"$(PICFLAG)" != x ]; then \
  693:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
  694:         else true; fi
  695:         $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
  696: 
  697: ./getpwd.o: $(srcdir)/getpwd.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  698:         if [ x"$(PICFLAG)" != x ]; then \
  699:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
  700:         else true; fi
  701:         $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
  702: 
  703: ./getruntime.o: $(srcdir)/getruntime.c stamp-h $(INCDIR)/ansidecl.h \
  704:         $(INCDIR)/libiberty.h
  705:         if [ x"$(PICFLAG)" != x ]; then \
  706:           $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
  707:         else true; fi
  708:         $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
  709: 
  710: ./gettimeofday.o: $(srcdir)/gettimeofday.c stamp-h $(INCDIR)/ansidecl.h \
  711:         $(INCDIR)/libiberty.h
  712:         if [ x"$(PICFLAG)" != x ]; then \
  713:           $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
  714:         else true; fi