OSDN Git Service

2010-09-08 Tristan Gingold <gingold@adacore.com>
[pf3gnuchains/gcc-fork.git] / 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 objext = @OBJEXT@
35
36 SHELL = @SHELL@
37
38 # Multilib support variables.
39 MULTISRCTOP =
40 MULTIBUILDTOP =
41 MULTIDIRS =
42 MULTISUBDIR =
43 MULTIDO = true
44 MULTICLEAN = true
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
50
51 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
52 OUTPUT_OPTION = @OUTPUT_OPTION@
53
54 AR = @AR@
55 AR_FLAGS = rc
56
57 CC = @CC@
58 CFLAGS = @CFLAGS@
59 CPPFLAGS = @CPPFLAGS@
60 RANLIB = @RANLIB@
61 MAKEINFO = @MAKEINFO@
62 PERL = @PERL@
63
64 PICFLAG = @PICFLAG@
65
66 MAKEOVERRIDES =
67
68 TARGETLIB = ./libiberty.a
69 TESTLIB = ./testlib.a
70
71 LIBOBJS = @LIBOBJS@
72
73 # A configuration can specify extra .o files that should be included,
74 # even if they are in libc. (Perhaps the libc version is buggy.)
75 EXTRA_OFILES = 
76
77 # Flags to pass to a recursive make.
78 FLAGS_TO_PASS = \
79         "AR=$(AR)" \
80         "AR_FLAGS=$(AR_FLAGS)" \
81         "CC=$(CC)" \
82         "CFLAGS=$(CFLAGS)" \
83         "CPPFLAGS=$(CPPFLAGS)" \
84         "DESTDIR=$(DESTDIR)" \
85         "EXTRA_OFILES=$(EXTRA_OFILES)" \
86         "HDEFINES=$(HDEFINES)" \
87         "INSTALL=$(INSTALL)" \
88         "INSTALL_DATA=$(INSTALL_DATA)" \
89         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
90         "LDFLAGS=$(LDFLAGS)" \
91         "LOADLIBES=$(LOADLIBES)" \
92         "RANLIB=$(RANLIB)" \
93         "SHELL=$(SHELL)" \
94         "prefix=$(prefix)" \
95         "exec_prefix=$(exec_prefix)" \
96         "libdir=$(libdir)" \
97         "libsubdir=$(libsubdir)" \
98         "tooldir=$(tooldir)"
99
100 # Subdirectories to recurse into. We need to override this during cleaning
101 SUBDIRS = testsuite
102
103 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
104 all: stamp-picdir $(TARGETLIB) required-list all-subdir
105         @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
106
107 .PHONY: check installcheck
108 check: check-subdir
109 installcheck: installcheck-subdir
110
111 @host_makefile_frag@
112
113 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
114
115 COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
116
117 # Just to make sure we don't use a built-in rule with VPATH
118 .c.$(objext):
119         false
120
121 # NOTE: If you add new files to the library, add them to this list
122 # (alphabetical), and add them to REQUIRED_OFILES, or
123 # CONFIGURED_OFILES and funcs in configure.ac.  Also run "make maint-deps"
124 # to build the new rules.
125 CFILES = alloca.c argv.c asprintf.c atexit.c                            \
126         basename.c bcmp.c bcopy.c bsearch.c bzero.c                     \
127         calloc.c choose-temp.c clock.c concat.c cp-demangle.c           \
128          cp-demint.c cplus-dem.c crc32.c                                \
129         dyn-string.c                                                    \
130         fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c          \
131         fnmatch.c fopen_unlocked.c                                      \
132         getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
133          gettimeofday.c                                                 \
134         hashtab.c hex.c                                                 \
135         index.c insque.c                                                \
136         lbasename.c                                                     \
137         lrealpath.c                                                     \
138         make-relative-prefix.c                                          \
139         make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c      \
140          memmove.c mempcpy.c memset.c mkstemps.c                        \
141         objalloc.c obstack.c                                            \
142         partition.c pexecute.c                                          \
143          pex-common.c pex-djgpp.c pex-msdos.c pex-one.c                 \
144          pex-unix.c pex-win32.c                                         \
145          physmem.c putenv.c                                             \
146         random.c regex.c rename.c rindex.c                              \
147         safe-ctype.c setenv.c sha1.c sigsetmask.c snprintf.c sort.c     \
148          spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c          \
149          strchr.c strdup.c strerror.c strncasecmp.c strncmp.c           \
150          strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c     \
151          strndup.c strverscmp.c                                         \
152         tmpnam.c                                                        \
153         unlink-if-ordinary.c                                            \
154         vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
155         waitpid.c                                                       \
156         xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c     \
157          xstrndup.c
158
159 # These are always included in the library.  The first four are listed
160 # first and by compile time to optimize parallel builds.
161 REQUIRED_OFILES =                                                       \
162         ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
163         ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext)             \
164         ./argv.$(objext)                                                \
165         ./choose-temp.$(objext) ./concat.$(objext)                      \
166         ./cp-demint.$(objext) ./crc32.$(objext) ./dyn-string.$(objext)  \
167         ./fdmatch.$(objext) ./fibheap.$(objext)                         \
168         ./filename_cmp.$(objext) ./floatformat.$(objext)                \
169         ./fnmatch.$(objext) ./fopen_unlocked.$(objext)                  \
170         ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext)       \
171         ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext)      \
172         ./lbasename.$(objext) ./lrealpath.$(objext)                     \
173         ./make-relative-prefix.$(objext) ./make-temp-file.$(objext)     \
174         ./objalloc.$(objext) ./obstack.$(objext)                        \
175         ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext)  \
176         ./pex-common.$(objext) ./pex-one.$(objext)                      \
177         ./@pexecute@.$(objext)                                          \
178         ./safe-ctype.$(objext) ./sort.$(objext) ./spaces.$(objext)      \
179         ./splay-tree.$(objext) ./strerror.$(objext)                     \
180         ./strsignal.$(objext) ./unlink-if-ordinary.$(objext)            \
181         ./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext)       \
182         ./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext)   \
183         ./xstrndup.$(objext)
184
185 # These are all the objects that configure may add to the library via
186 # $funcs or EXTRA_OFILES.  This list exists here only for "make
187 # maint-missing" and "make check".
188 CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext)             \
189         ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext)         \
190         ./bsearch.$(objext) ./bzero.$(objext)                           \
191         ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext)       \
192         ./_doprnt.$(objext)                                             \
193          ./ffs.$(objext)                                                \
194         ./getcwd.$(objext) ./getpagesize.$(objext)                      \
195          ./gettimeofday.$(objext)                                       \
196         ./index.$(objext) ./insque.$(objext)                            \
197         ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext)        \
198         ./memmem.$(objext) ./memmove.$(objext)                          \
199          ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext)    \
200         ./pex-djgpp.$(objext) ./pex-msdos.$(objext)                     \
201          ./pex-unix.$(objext) ./pex-win32.$(objext)                     \
202          ./putenv.$(objext)                                             \
203         ./random.$(objext) ./rename.$(objext) ./rindex.$(objext)        \
204         ./setenv.$(objext) ./sigsetmask.$(objext) ./snprintf.$(objext)  \
205          ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext)  \
206          ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext)  \
207          ./strncmp.$(objext) ./strndup.$(objext) ./strrchr.$(objext)    \
208          ./strstr.$(objext) ./strtod.$(objext) ./strtol.$(objext)       \
209          ./strtoul.$(objext) ./strverscmp.$(objext)                     \
210         ./tmpnam.$(objext)                                              \
211         ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext)    \
212          ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
213         ./waitpid.$(objext)
214
215 # These files are installed if the library has been configured to do so.
216 INSTALLED_HEADERS =                                                     \
217         $(INCDIR)/ansidecl.h                                            \
218         $(INCDIR)/demangle.h                                            \
219         $(INCDIR)/dyn-string.h                                          \
220         $(INCDIR)/fibheap.h                                             \
221         $(INCDIR)/floatformat.h                                         \
222         $(INCDIR)/hashtab.h                                             \
223         $(INCDIR)/libiberty.h                                           \
224         $(INCDIR)/objalloc.h                                            \
225         $(INCDIR)/partition.h                                           \
226         $(INCDIR)/safe-ctype.h                                          \
227         $(INCDIR)/sort.h                                                \
228         $(INCDIR)/splay-tree.h
229
230 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
231         -rm -f $(TARGETLIB) pic/$(TARGETLIB)
232         $(AR) $(AR_FLAGS) $(TARGETLIB) \
233           $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
234         $(RANLIB) $(TARGETLIB)
235         if [ x"$(PICFLAG)" != x ]; then \
236           cd pic; \
237           $(AR) $(AR_FLAGS) $(TARGETLIB) \
238             $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
239           $(RANLIB) $(TARGETLIB); \
240           cd ..; \
241         else true; fi
242
243 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
244         -rm -f $(TESTLIB)
245         $(AR) $(AR_FLAGS) $(TESTLIB) \
246           $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
247         $(RANLIB) $(TESTLIB)
248
249 info: libiberty.info info-subdir
250 install-info: install-info-subdir
251 clean-info: clean-info-subdir
252 dvi: libiberty.dvi dvi-subdir
253
254 LIBIBERTY_PDFFILES = libiberty.pdf
255
256 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
257
258 .PHONY: install-pdf
259
260 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
261
262 install-pdf: $(LIBIBERTY_PDFFILES)
263         @$(NORMAL_INSTALL)
264         test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
265         @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
266           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
267           f=$(pdf__strip_dir) \
268           echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
269           $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
270         done
271
272 # html, install-html targets
273 HTMLS = libiberty.html
274
275 html: $(HTMLS)
276
277 .PHONY: install-html install-html-am
278
279 NORMAL_INSTALL = :
280 mkdir_p = mkdir -p --
281
282 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
283
284 install-html: install-html-am
285
286 install-html-am: $(HTMLS)
287         @$(NORMAL_INSTALL)
288         test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
289         @list='$(HTMLS)'; for p in $$list; do \
290           if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
291           f=$(html__strip_dir) \
292           if test -d "$$d$$p"; then \
293             echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
294             $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
295             echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
296             $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
297           else \
298             echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
299             $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
300           fi; \
301         done
302
303 TEXISRC = \
304         $(srcdir)/libiberty.texi \
305         $(srcdir)/copying-lib.texi \
306         $(srcdir)/obstacks.texi \
307         $(srcdir)/functions.texi
308
309 # Additional files that have texi snippets that need to be collected
310 # and sorted.  Some are here because the sources are imported from
311 # elsewhere.  Others represent headers in ../include.
312 TEXIFILES = fnmatch.txh pexecute.txh
313
314 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
315         $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
316
317 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
318         texi2dvi $(srcdir)/libiberty.texi
319
320 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
321         texi2pdf $(srcdir)/libiberty.texi
322
323 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
324         $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
325
326 @MAINT@$(srcdir)/functions.texi : stamp-functions
327 @MAINT@ @true
328
329 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
330 @MAINT@@HAVE_PERL@      $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
331 @MAINT@ echo stamp > stamp-functions
332
333 INSTALL_DEST = @INSTALL_DEST@
334 install: install_to_$(INSTALL_DEST) install-subdir
335
336 # This is tricky.  Even though CC in the Makefile contains
337 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
338 # default multilib, so we have to take CFLAGS into account as well,
339 # since it will be passed the multilib flags.
340 MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
341 install_to_libdir: all
342         ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
343         $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
344         ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
345         mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
346         if test -n "${target_header_dir}"; then \
347           case "${target_header_dir}" in \
348             /*)    thd=${target_header_dir};; \
349             *)     thd=${includedir}/${target_header_dir};; \
350           esac; \
351           ${mkinstalldirs} $(DESTDIR)$${thd}; \
352           for h in ${INSTALLED_HEADERS}; do \
353             ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
354           done; \
355         fi
356         @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
357
358 install_to_tooldir: all
359         ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
360         $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
361         ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
362         mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
363         @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
364
365 # required-list was used when building a shared bfd/opcodes/libiberty
366 # library.  I don't know if it used by anything currently.
367 required-list: Makefile
368         echo $(REQUIRED_OFILES) > required-list
369
370 stamp-picdir:
371         if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
372           mkdir pic; \
373         else true; fi
374         touch stamp-picdir
375
376 .PHONY: all etags tags ls clean stage1 stage2
377
378 etags tags: TAGS etags-subdir
379
380 TAGS: $(CFILES)
381         etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
382
383 # The standalone demangler (c++filt) has been moved to binutils.
384 # But make this target work anyway for demangler hacking.
385 demangle: $(ALL) $(srcdir)/cp-demangle.c
386         @echo "The standalone demangler, now named c++filt, is now"
387         @echo "a part of binutils."
388         $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
389           $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
390
391 ls:
392         @echo Makefile $(CFILES)
393
394 # Various targets for maintainers.
395
396 maint-missing :
397         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
398
399 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
400         @true
401
402 maint-undoc : $(srcdir)/functions.texi
403         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
404
405 maint-deps :
406         @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
407
408 # Need to deal with profiled libraries, too.
409
410 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
411 # multiple times, hence our explicit recursion with an empty SUBDIRS.
412 mostlyclean: mostlyclean-subdir
413         -rm -rf *.$(objext) pic core errs \#* *.E a.out
414         -rm -f errors dummy config.h stamp-*
415         -rm -f $(CONFIG_H) stamp-picdir
416         -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
417         -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
418         -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
419         -rm -f libtexi.stamp
420         @$(MULTICLEAN) multi-clean DO=mostlyclean
421 clean: clean-subdir
422         $(MAKE) SUBDIRS="" mostlyclean
423         -rm -f *.a required-list tmpmulti.out
424         -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
425         @$(MULTICLEAN) multi-clean DO=clean
426 distclean: distclean-subdir
427         $(MAKE) SUBDIRS="" clean
428         @$(MULTICLEAN) multi-clean DO=distclean
429         -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
430         -rm -f config.log
431         -rmdir testsuite 2>/dev/null
432 maintainer-clean realclean: maintainer-clean-subdir
433         $(MAKE) SUBDIRS="" distclean
434
435 force:
436
437 Makefile: $(srcdir)/Makefile.in config.status
438         CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
439
440 # Depending on Makefile makes sure that config.status has been re-run
441 # if needed.  This prevents problems with parallel builds.
442 config.h: stamp-h ; @true
443 stamp-h: $(srcdir)/config.in config.status Makefile
444         CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
445
446 config.status: $(srcdir)/configure
447         $(SHELL) ./config.status --recheck
448
449 AUTOCONF = autoconf
450 configure_deps = $(srcdir)/aclocal.m4 \
451         $(srcdir)/../config/acx.m4 \
452         $(srcdir)/../config/no-executables.m4 \
453         $(srcdir)/../config/override.m4 \
454         $(srcdir)/../config/warnings.m4 \
455
456 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
457         cd $(srcdir) && $(AUTOCONF)
458
459 # Depending on config.h makes sure that config.status has been re-run
460 # if needed.  This prevents problems with parallel builds, in case
461 # subdirectories need to run config.status also.
462 all-subdir check-subdir installcheck-subdir info-subdir \
463 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir      \
464 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
465 maintainer-clean-subdir: config.h
466         @subdirs='$(SUBDIRS)'; \
467         target=`echo $@ | sed -e 's/-subdir//'`; \
468         for dir in $$subdirs ; do \
469           cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
470         done
471
472 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
473 $(CONFIGURED_OFILES): stamp-picdir
474
475 # Don't export variables to the environment, in order to not confuse
476 # configure.
477 .NOEXPORT:
478
479 # The dependencies in the remainder of this file are automatically
480 # generated by "make maint-deps".  Manual edits will be lost.
481
482 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
483         $(INCDIR)/safe-ctype.h
484         if [ x"$(PICFLAG)" != x ]; then \
485           $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
486         else true; fi
487         $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
488
489 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
490         $(INCDIR)/libiberty.h
491         if [ x"$(PICFLAG)" != x ]; then \
492           $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
493         else true; fi
494         $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
495
496 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
497         $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
498         if [ x"$(PICFLAG)" != x ]; then \
499           $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
500         else true; fi
501         $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
502
503 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
504         $(INCDIR)/libiberty.h
505         if [ x"$(PICFLAG)" != x ]; then \
506           $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
507         else true; fi
508         $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
509
510 ./atexit.$(objext): $(srcdir)/atexit.c config.h
511         if [ x"$(PICFLAG)" != x ]; then \
512           $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
513         else true; fi
514         $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
515
516 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
517         $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
518         if [ x"$(PICFLAG)" != x ]; then \
519           $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
520         else true; fi
521         $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
522
523 ./bcmp.$(objext): $(srcdir)/bcmp.c
524         if [ x"$(PICFLAG)" != x ]; then \
525           $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
526         else true; fi
527         $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
528
529 ./bcopy.$(objext): $(srcdir)/bcopy.c
530         if [ x"$(PICFLAG)" != x ]; then \
531           $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
532         else true; fi
533         $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
534
535 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
536         if [ x"$(PICFLAG)" != x ]; then \
537           $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
538         else true; fi
539         $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
540
541 ./bzero.$(objext): $(srcdir)/bzero.c
542         if [ x"$(PICFLAG)" != x ]; then \
543           $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
544         else true; fi
545         $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
546
547 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
548         if [ x"$(PICFLAG)" != x ]; then \
549           $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
550         else true; fi
551         $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
552
553 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
554         $(INCDIR)/libiberty.h
555         if [ x"$(PICFLAG)" != x ]; then \
556           $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
557         else true; fi
558         $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
559
560 ./clock.$(objext): $(srcdir)/clock.c config.h
561         if [ x"$(PICFLAG)" != x ]; then \
562           $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
563         else true; fi
564         $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
565
566 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
567         $(INCDIR)/libiberty.h
568         if [ x"$(PICFLAG)" != x ]; then \
569           $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
570         else true; fi
571         $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
572
573 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
574         if [ x"$(PICFLAG)" != x ]; then \
575           $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
576         else true; fi
577         $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
578
579 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
580         $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
581         $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
582         if [ x"$(PICFLAG)" != x ]; then \
583           $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
584         else true; fi
585         $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
586
587 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
588         $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
589         $(INCDIR)/libiberty.h
590         if [ x"$(PICFLAG)" != x ]; then \
591           $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
592         else true; fi
593         $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
594
595 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
596         $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
597         $(INCDIR)/safe-ctype.h
598         if [ x"$(PICFLAG)" != x ]; then \
599           $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
600         else true; fi
601         $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
602
603 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
604         $(INCDIR)/libiberty.h
605         if [ x"$(PICFLAG)" != x ]; then \
606           $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
607         else true; fi
608         $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
609
610 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
611         $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
612         if [ x"$(PICFLAG)" != x ]; then \
613           $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
614         else true; fi
615         $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
616
617 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
618         $(INCDIR)/libiberty.h
619         if [ x"$(PICFLAG)" != x ]; then \
620           $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
621         else true; fi
622         $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
623
624 ./ffs.$(objext): $(srcdir)/ffs.c
625         if [ x"$(PICFLAG)" != x ]; then \
626           $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
627         else true; fi
628         $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
629
630 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
631         $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
632         if [ x"$(PICFLAG)" != x ]; then \
633           $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
634         else true; fi
635         $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
636
637 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/filenames.h \
638         $(INCDIR)/safe-ctype.h
639         if [ x"$(PICFLAG)" != x ]; then \
640           $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
641         else true; fi
642         $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
643
644 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
645         $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
646         if [ x"$(PICFLAG)" != x ]; then \
647           $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
648         else true; fi
649         $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
650
651 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
652         $(INCDIR)/safe-ctype.h
653         if [ x"$(PICFLAG)" != x ]; then \
654           $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
655         else true; fi
656         $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
657
658 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
659         $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
660         if [ x"$(PICFLAG)" != x ]; then \
661           $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
662         else true; fi
663         $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
664
665 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
666         if [ x"$(PICFLAG)" != x ]; then \
667           $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
668         else true; fi
669         $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
670
671 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
672         $(INCDIR)/getopt.h
673         if [ x"$(PICFLAG)" != x ]; then \
674           $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
675         else true; fi
676         $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
677
678 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
679         if [ x"$(PICFLAG)" != x ]; then \
680           $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
681         else true; fi
682         $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
683
684 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
685         if [ x"$(PICFLAG)" != x ]; then \
686           $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
687         else true; fi
688         $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
689
690 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
691         $(INCDIR)/libiberty.h
692         if [ x"$(PICFLAG)" != x ]; then \
693           $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
694         else true; fi
695         $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
696
697 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
698         $(INCDIR)/libiberty.h
699         if [ x"$(PICFLAG)" != x ]; then \
700           $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
701         else true; fi
702         $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
703
704 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
705         $(INCDIR)/libiberty.h
706         if [ x"$(PICFLAG)" != x ]; then \
707           $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
708         else true; fi
709         $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
710
711 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
712         $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
713         if [ x"$(PICFLAG)" != x ]; then \
714           $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
715         else true; fi
716         $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
717
718 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
719         $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
720         if [ x"$(PICFLAG)" != x ]; then \
721           $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
722         else true; fi
723         $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
724
725 ./index.$(objext): $(srcdir)/index.c
726         if [ x"$(PICFLAG)" != x ]; then \
727           $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
728         else true; fi
729         $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
730
731 ./insque.$(objext): $(srcdir)/insque.c
732         if [ x"$(PICFLAG)" != x ]; then \
733           $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
734         else true; fi
735         $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
736
737 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
738         $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
739         $(INCDIR)/safe-ctype.h
740         if [ x"$(PICFLAG)" != x ]; then \
741           $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
742         else true; fi
743         $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
744
745 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
746         $(INCDIR)/libiberty.h
747         if [ x"$(PICFLAG)" != x ]; then \
748           $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
749         else true; fi
750         $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
751
752 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
753         $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
754         if [ x"$(PICFLAG)" != x ]; then \
755           $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
756         else true; fi
757         $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
758
759 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
760         $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
761         if [ x"$(PICFLAG)" != x ]; then \
762           $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
763         else true; fi
764         $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
765
766 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
767         if [ x"$(PICFLAG)" != x ]; then \
768           $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
769         else true; fi
770         $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
771
772 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
773         if [ x"$(PICFLAG)" != x ]; then \
774           $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
775         else true; fi
776         $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
777
778 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
779         if [ x"$(PICFLAG)" != x ]; then \
780           $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
781         else true; fi
782         $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
783
784 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
785         if [ x"$(PICFLAG)" != x ]; then \
786           $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
787         else true; fi
788         $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
789
790 ./memmem.$(objext): $(srcdir)/memmem.c config.h
791         if [ x"$(PICFLAG)" != x ]; then \
792           $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
793         else true; fi
794         $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
795
796 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
797         if [ x"$(PICFLAG)" != x ]; then \
798           $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
799         else true; fi
800         $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
801
802 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
803         if [ x"$(PICFLAG)" != x ]; then \
804           $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
805         else true; fi
806         $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
807
808 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
809         if [ x"$(PICFLAG)" != x ]; then \
810           $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
811         else true; fi
812         $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
813
814 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
815         if [ x"$(PICFLAG)" != x ]; then \
816           $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
817         else true; fi
818         $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
819
820 ./msdos.$(objext): $(srcdir)/msdos.c
821         if [ x"$(PICFLAG)" != x ]; then \
822           $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
823         else true; fi
824         $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
825
826 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
827         $(INCDIR)/objalloc.h
828         if [ x"$(PICFLAG)" != x ]; then \
829           $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
830         else true; fi
831         $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
832
833 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
834         if [ x"$(PICFLAG)" != x ]; then \
835           $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
836         else true; fi
837         $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
838
839 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
840         $(INCDIR)/libiberty.h $(INCDIR)/partition.h
841         if [ x"$(PICFLAG)" != x ]; then \
842           $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
843         else true; fi
844         $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
845
846 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
847         $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
848         if [ x"$(PICFLAG)" != x ]; then \
849           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
850         else true; fi
851         $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
852
853 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
854         $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
855         if [ x"$(PICFLAG)" != x ]; then \
856           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
857         else true; fi
858         $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
859
860 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
861         $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
862         $(INCDIR)/safe-ctype.h
863         if [ x"$(PICFLAG)" != x ]; then \
864           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
865         else true; fi
866         $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
867
868 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
869         $(INCDIR)/libiberty.h
870         if [ x"$(PICFLAG)" != x ]; then \
871           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
872         else true; fi
873         $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
874
875 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
876         $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
877         if [ x"$(PICFLAG)" != x ]; then \
878           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
879         else true; fi
880         $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
881
882 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
883         $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
884         if [ x"$(PICFLAG)" != x ]; then \
885           $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
886         else true; fi
887         $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
888
889 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
890         $(INCDIR)/libiberty.h
891         if [ x"$(PICFLAG)" != x ]; then \
892           $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
893         else true; fi
894         $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
895
896 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
897         $(INCDIR)/libiberty.h
898         if [ x"$(PICFLAG)" != x ]; then \
899           $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
900         else true; fi
901         $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
902
903 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
904         if [ x"$(PICFLAG)" != x ]; then \
905           $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
906         else true; fi
907         $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
908
909 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
910         if [ x"$(PICFLAG)" != x ]; then \
911           $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
912         else true; fi
913         $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
914
915 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
916         $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
917         if [ x"$(PICFLAG)" != x ]; then \
918           $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
919         else true; fi
920         $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
921
922 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
923         if [ x"$(PICFLAG)" != x ]; then \
924           $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
925         else true; fi
926         $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
927
928 ./rindex.$(objext): $(srcdir)/rindex.c
929         if [ x"$(PICFLAG)" != x ]; then \
930           $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
931         else true; fi
932         $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
933
934 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
935         $(INCDIR)/safe-ctype.h
936         if [ x"$(PICFLAG)" != x ]; then \
937           $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
938         else true; fi
939         $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
940
941 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
942         if [ x"$(PICFLAG)" != x ]; then \
943           $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
944         else true; fi
945         $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
946
947 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
948         if [ x"$(PICFLAG)" != x ]; then \
949           $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
950         else true; fi
951         $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
952
953 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
954         if [ x"$(PICFLAG)" != x ]; then \
955           $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
956         else true; fi
957         $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
958
959 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
960         if [ x"$(PICFLAG)" != x ]; then \
961           $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
962         else true; fi
963         $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
964
965 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
966         $(INCDIR)/libiberty.h $(INCDIR)/sort.h
967         if [ x"$(PICFLAG)" != x ]; then \
968           $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
969         else true; fi
970         $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
971
972 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
973         $(INCDIR)/libiberty.h
974         if [ x"$(PICFLAG)" != x ]; then \
975           $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
976         else true; fi
977         $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
978
979 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
980         $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
981         if [ x"$(PICFLAG)" != x ]; then \
982           $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
983         else true; fi
984         $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
985
986 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
987         if [ x"$(PICFLAG)" != x ]; then \
988           $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
989         else true; fi
990         $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
991
992 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
993         if [ x"$(PICFLAG)" != x ]; then \
994           $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
995         else true; fi
996         $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
997
998 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
999         if [ x"$(PICFLAG)" != x ]; then \
1000           $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1001         else true; fi
1002         $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1003
1004 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1005         if [ x"$(PICFLAG)" != x ]; then \
1006           $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1007         else true; fi
1008         $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1009
1010 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1011         if [ x"$(PICFLAG)" != x ]; then \
1012           $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1013         else true; fi
1014         $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1015
1016 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1017         $(INCDIR)/libiberty.h
1018         if [ x"$(PICFLAG)" != x ]; then \
1019           $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1020         else true; fi
1021         $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1022
1023 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1024         if [ x"$(PICFLAG)" != x ]; then \
1025           $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1026         else true; fi
1027         $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1028
1029 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1030         if [ x"$(PICFLAG)" != x ]; then \
1031           $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1032         else true; fi
1033         $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1034
1035 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1036         if [ x"$(PICFLAG)" != x ]; then \
1037           $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1038         else true; fi
1039         $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1040
1041 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1042         if [ x"$(PICFLAG)" != x ]; then \
1043           $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1044         else true; fi
1045         $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1046
1047 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1048         $(INCDIR)/libiberty.h
1049         if [ x"$(PICFLAG)" != x ]; then \
1050           $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1051         else true; fi
1052         $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1053
1054 ./strstr.$(objext): $(srcdir)/strstr.c
1055         if [ x"$(PICFLAG)" != x ]; then \
1056           $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1057         else true; fi
1058         $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1059
1060 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1061         $(INCDIR)/safe-ctype.h
1062         if [ x"$(PICFLAG)" != x ]; then \
1063           $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1064         else true; fi
1065         $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1066
1067 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1068         if [ x"$(PICFLAG)" != x ]; then \
1069           $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1070         else true; fi
1071         $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1072
1073 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1074         $(INCDIR)/safe-ctype.h
1075         if [ x"$(PICFLAG)" != x ]; then \
1076           $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1077         else true; fi
1078         $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1079
1080 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1081         $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1082         if [ x"$(PICFLAG)" != x ]; then \
1083           $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1084         else true; fi
1085         $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1086
1087 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1088         if [ x"$(PICFLAG)" != x ]; then \
1089           $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1090         else true; fi
1091         $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1092
1093 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1094         $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1095         if [ x"$(PICFLAG)" != x ]; then \
1096           $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1097         else true; fi
1098         $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1099
1100 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1101         $(INCDIR)/libiberty.h
1102         if [ x"$(PICFLAG)" != x ]; then \
1103           $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1104         else true; fi
1105         $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1106
1107 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1108         if [ x"$(PICFLAG)" != x ]; then \
1109           $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1110         else true; fi
1111         $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1112
1113 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1114         if [ x"$(PICFLAG)" != x ]; then \
1115           $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1116         else true; fi
1117         $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1118
1119 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1120         if [ x"$(PICFLAG)" != x ]; then \
1121           $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1122         else true; fi
1123         $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1124
1125 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1126         $(INCDIR)/libiberty.h
1127         if [ x"$(PICFLAG)" != x ]; then \
1128           $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1129         else true; fi
1130         $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1131
1132 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1133         if [ x"$(PICFLAG)" != x ]; then \
1134           $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1135         else true; fi
1136         $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1137
1138 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1139         if [ x"$(PICFLAG)" != x ]; then \
1140           $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1141         else true; fi
1142         $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1143
1144 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1145         $(INCDIR)/libiberty.h
1146         if [ x"$(PICFLAG)" != x ]; then \
1147           $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1148         else true; fi
1149         $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1150
1151 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1152         $(INCDIR)/libiberty.h
1153         if [ x"$(PICFLAG)" != x ]; then \
1154           $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1155         else true; fi
1156         $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1157
1158 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1159         $(INCDIR)/libiberty.h
1160         if [ x"$(PICFLAG)" != x ]; then \
1161           $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1162         else true; fi
1163         $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1164
1165 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1166         $(INCDIR)/libiberty.h
1167         if [ x"$(PICFLAG)" != x ]; then \
1168           $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1169         else true; fi
1170         $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1171
1172 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1173         $(INCDIR)/libiberty.h
1174         if [ x"$(PICFLAG)" != x ]; then \
1175           $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1176         else true; fi
1177         $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1178
1179 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1180         $(INCDIR)/libiberty.h
1181         if [ x"$(PICFLAG)" != x ]; then \
1182           $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1183         else true; fi
1184         $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1185
1186 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1187         $(INCDIR)/libiberty.h
1188         if [ x"$(PICFLAG)" != x ]; then \
1189           $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1190         else true; fi
1191         $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1192