OSDN Git Service

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