OSDN Git Service

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