* elflink.c (bfd_elf_final_link): Move code reading relocs to..
[binutils.git] / libiberty / Makefile.in
blobaa8626d5c006f268ba1db1019015e560cf8e361a
1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
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
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.
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.
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.
24 libiberty_topdir = @libiberty_topdir@
25 srcdir = @srcdir@
27 prefix = @prefix@
29 exec_prefix = @exec_prefix@
30 bindir = @bindir@
31 libdir = @libdir@
32 includedir = @includedir@
33 target_header_dir = @target_header_dir@
35 SHELL = @SHELL@
37 # Multilib support variables.
38 MULTISRCTOP =
39 MULTIBUILDTOP =
40 MULTIDIRS =
41 MULTISUBDIR =
42 MULTIDO = true
43 MULTICLEAN = true
45 INSTALL = @INSTALL@
46 INSTALL_PROGRAM = @INSTALL_PROGRAM@
47 INSTALL_DATA = @INSTALL_DATA@
48 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
50 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
51 OUTPUT_OPTION = @OUTPUT_OPTION@
53 AR = @AR@
54 AR_FLAGS = rc
56 CC = @CC@
57 CFLAGS = @CFLAGS@
58 RANLIB = @RANLIB@
59 MAKEINFO = @MAKEINFO@
60 PERL = @PERL@
62 PICFLAG = @PICFLAG@
64 MAKEOVERRIDES =
66 TARGETLIB = ./libiberty.a
67 TESTLIB = ./testlib.a
69 LIBOBJS = @LIBOBJS@
71 # A configuration can specify extra .o files that should be included,
72 # even if they are in libc. (Perhaps the libc version is buggy.)
73 EXTRA_OFILES =
75 # Flags to pass to a recursive make.
76 FLAGS_TO_PASS = \
77 "AR=$(AR)" \
78 "AR_FLAGS=$(AR_FLAGS)" \
79 "CC=$(CC)" \
80 "CFLAGS=$(CFLAGS)" \
81 "DESTDIR=$(DESTDIR)" \
82 "EXTRA_OFILES=$(EXTRA_OFILES)" \
83 "HDEFINES=$(HDEFINES)" \
84 "INSTALL=$(INSTALL)" \
85 "INSTALL_DATA=$(INSTALL_DATA)" \
86 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
87 "LDFLAGS=$(LDFLAGS)" \
88 "LOADLIBES=$(LOADLIBES)" \
89 "RANLIB=$(RANLIB)" \
90 "SHELL=$(SHELL)" \
91 "prefix=$(prefix)" \
92 "exec_prefix=$(exec_prefix)" \
93 "libdir=$(libdir)" \
94 "libsubdir=$(libsubdir)" \
95 "tooldir=$(tooldir)"
97 # Subdirectories to recurse into. We need to override this during cleaning
98 SUBDIRS = testsuite
100 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
101 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
102 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
104 .PHONY: check installcheck
105 check: check-subdir
106 installcheck: installcheck-subdir
108 @host_makefile_frag@
110 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
112 COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
114 # Just to make sure we don't use a built-in rule with VPATH
115 .c.o:
116 false
118 # NOTE: If you add new files to the library, add them to this list
119 # (alphabetical), and add them to REQUIRED_OFILES, or
120 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps"
121 # to build the new rules.
122 CFILES = alloca.c argv.c asprintf.c atexit.c \
123 basename.c bcmp.c bcopy.c bsearch.c bzero.c \
124 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
125 cp-demint.c cplus-dem.c \
126 dyn-string.c \
127 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \
128 fnmatch.c fopen_unlocked.c \
129 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
130 gettimeofday.c \
131 hashtab.c hex.c \
132 index.c insque.c \
133 lbasename.c \
134 lrealpath.c \
135 make-relative-prefix.c \
136 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
137 mempcpy.c memset.c mkstemps.c \
138 objalloc.c obstack.c \
139 partition.c pexecute.c \
140 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
141 pex-unix.c pex-win32.c \
142 physmem.c putenv.c \
143 random.c regex.c rename.c rindex.c \
144 safe-ctype.c setenv.c sha1.c sigsetmask.c snprintf.c sort.c \
145 spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c \
146 strchr.c strdup.c strerror.c strncasecmp.c strncmp.c \
147 strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
148 strndup.c strverscmp.c \
149 tmpnam.c \
150 unlink-if-ordinary.c \
151 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
152 waitpid.c \
153 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
154 xstrndup.c
156 # These are always included in the library. The first four are listed
157 # first and by compile time to optimize parallel builds.
158 REQUIRED_OFILES = \
159 ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.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
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
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
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
231 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
232 -rm -f $(TESTLIB)
233 $(AR) $(AR_FLAGS) $(TESTLIB) \
234 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
235 $(RANLIB) $(TESTLIB)
237 info: libiberty.info info-subdir
238 install-info: install-info-subdir
239 clean-info: clean-info-subdir
240 dvi: libiberty.dvi dvi-subdir
242 LIBIBERTY_PDFFILES = libiberty.pdf
244 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
246 .PHONY: install-pdf
248 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
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
260 # html, install-html targets
261 HTMLS = libiberty.html
263 html: $(HTMLS)
265 .PHONY: install-html install-html-am install-html-recursive
267 NORMAL_INSTALL = :
268 mkdir_p = mkdir -p --
270 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
272 install-html: install-html-recursive install-html-am
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
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"
316 TEXISRC = \
317 $(srcdir)/libiberty.texi \
318 $(srcdir)/copying-lib.texi \
319 $(srcdir)/obstacks.texi \
320 $(srcdir)/functions.texi
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
327 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
328 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
330 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
331 texi2dvi $(srcdir)/libiberty.texi
333 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
334 texi2pdf $(srcdir)/libiberty.texi
336 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
337 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
339 @MAINT@$(srcdir)/functions.texi : stamp-functions
340 @MAINT@ @true
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
346 INSTALL_DEST = @INSTALL_DEST@
347 install: install_to_$(INSTALL_DEST) install-subdir
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 CFLAGS into account as well,
352 # since it will be passed the multilib flags.
353 MULTIOSDIR = `$(CC) $(CFLAGS) -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; \
369 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
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
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
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
399 stamp-picdir:
400 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
401 mkdir pic; \
402 else true; fi
403 touch stamp-picdir
405 .PHONY: all etags tags ls clean stage1 stage2
407 etags tags: TAGS etags-subdir
409 TAGS: $(CFILES)
410 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
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
419 @echo Makefile $(CFILES)
421 # Various targets for maintainers.
423 maint-missing :
424 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
426 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
427 @true
429 maint-undoc : $(srcdir)/functions.texi
430 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
432 maint-deps :
433 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
435 # Need to deal with profiled libraries, too.
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
462 force:
464 Makefile: $(srcdir)/Makefile.in config.status
465 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
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
473 config.status: $(srcdir)/configure
474 $(SHELL) ./config.status --recheck
476 # Depending on config.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: config.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
489 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
490 $(CONFIGURED_OFILES): stamp-picdir
492 # Don't export variables to the environment, in order to not confuse
493 # configure.
494 .NOEXPORT:
496 # The dependencies in the remainder of this file are automatically
497 # generated by "make maint-deps". Manual edits will be lost.
499 ./_doprnt.o: $(srcdir)/_doprnt.c config.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)
506 ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
507 $(INCDIR)/libiberty.h
508 if [ x"$(PICFLAG)" != x ]; then \
509 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
510 else true; fi
511 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
513 ./argv.o: $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
514 $(INCDIR)/safe-ctype.h
515 if [ x"$(PICFLAG)" != x ]; then \
516 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
517 else true; fi
518 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
520 ./asprintf.o: $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
521 $(INCDIR)/libiberty.h
522 if [ x"$(PICFLAG)" != x ]; then \
523 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
524 else true; fi
525 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
527 ./atexit.o: $(srcdir)/atexit.c config.h
528 if [ x"$(PICFLAG)" != x ]; then \
529 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
530 else true; fi
531 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
533 ./basename.o: $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
534 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
535 if [ x"$(PICFLAG)" != x ]; then \
536 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
537 else true; fi
538 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
540 ./bcmp.o: $(srcdir)/bcmp.c
541 if [ x"$(PICFLAG)" != x ]; then \
542 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
543 else true; fi
544 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
546 ./bcopy.o: $(srcdir)/bcopy.c
547 if [ x"$(PICFLAG)" != x ]; then \
548 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
549 else true; fi
550 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
552 ./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
553 if [ x"$(PICFLAG)" != x ]; then \
554 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
555 else true; fi
556 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
558 ./bzero.o: $(srcdir)/bzero.c
559 if [ x"$(PICFLAG)" != x ]; then \
560 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
561 else true; fi
562 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
564 ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
565 if [ x"$(PICFLAG)" != x ]; then \
566 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
567 else true; fi
568 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
570 ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
571 $(INCDIR)/libiberty.h
572 if [ x"$(PICFLAG)" != x ]; then \
573 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
574 else true; fi
575 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
577 ./clock.o: $(srcdir)/clock.c config.h
578 if [ x"$(PICFLAG)" != x ]; then \
579 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
580 else true; fi
581 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
583 ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
584 $(INCDIR)/libiberty.h
585 if [ x"$(PICFLAG)" != x ]; then \
586 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
587 else true; fi
588 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
590 ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
591 if [ x"$(PICFLAG)" != x ]; then \
592 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
593 else true; fi
594 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
596 ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
597 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
598 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
599 if [ x"$(PICFLAG)" != x ]; then \
600 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
601 else true; fi
602 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
604 ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
605 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
606 $(INCDIR)/libiberty.h
607 if [ x"$(PICFLAG)" != x ]; then \
608 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
609 else true; fi
610 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
612 ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
613 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
614 $(INCDIR)/safe-ctype.h
615 if [ x"$(PICFLAG)" != x ]; then \
616 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
617 else true; fi
618 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
620 ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
621 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
622 if [ x"$(PICFLAG)" != x ]; then \
623 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
624 else true; fi
625 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
627 ./fdmatch.o: $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
628 $(INCDIR)/libiberty.h
629 if [ x"$(PICFLAG)" != x ]; then \
630 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
631 else true; fi
632 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
634 ./ffs.o: $(srcdir)/ffs.c
635 if [ x"$(PICFLAG)" != x ]; then \
636 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
637 else true; fi
638 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
640 ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
641 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
642 if [ x"$(PICFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
644 else true; fi
645 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
647 ./filename_cmp.o: $(srcdir)/filename_cmp.c config.h $(INCDIR)/filenames.h \
648 $(INCDIR)/safe-ctype.h
649 if [ x"$(PICFLAG)" != x ]; then \
650 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
651 else true; fi
652 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
654 ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
655 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
656 if [ x"$(PICFLAG)" != x ]; then \
657 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
658 else true; fi
659 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
661 ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
662 $(INCDIR)/safe-ctype.h
663 if [ x"$(PICFLAG)" != x ]; then \
664 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
665 else true; fi
666 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
668 ./fopen_unlocked.o: $(srcdir)/fopen_unlocked.c config.h $(INCDIR)/ansidecl.h \
669 $(INCDIR)/libiberty.h
670 if [ x"$(PICFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
672 else true; fi
673 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
675 ./getcwd.o: $(srcdir)/getcwd.c config.h
676 if [ x"$(PICFLAG)" != x ]; then \
677 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
678 else true; fi
679 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
681 ./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h
682 if [ x"$(PICFLAG)" != x ]; then \
683 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
684 else true; fi
685 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
687 ./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
688 if [ x"$(PICFLAG)" != x ]; then \
689 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
690 else true; fi
691 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
693 ./getpagesize.o: $(srcdir)/getpagesize.c config.h
694 if [ x"$(PICFLAG)" != x ]; then \
695 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
696 else true; fi
697 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
699 ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
700 $(INCDIR)/libiberty.h
701 if [ x"$(PICFLAG)" != x ]; then \
702 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
703 else true; fi
704 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
706 ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
707 $(INCDIR)/libiberty.h
708 if [ x"$(PICFLAG)" != x ]; then \
709 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
710 else true; fi
711 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
713 ./gettimeofday.o: $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
714 $(INCDIR)/libiberty.h
715 if [ x"$(PICFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
717 else true; fi
718 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
720 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
721 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
722 if [ x"$(PICFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
724 else true; fi
725 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
727 ./hex.o: $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
728 $(INCDIR)/safe-ctype.h
729 if [ x"$(PICFLAG)" != x ]; then \
730 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
731 else true; fi
732 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
734 ./index.o: $(srcdir)/index.c
735 if [ x"$(PICFLAG)" != x ]; then \
736 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
737 else true; fi
738 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
740 ./insque.o: $(srcdir)/insque.c
741 if [ x"$(PICFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
743 else true; fi
744 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
746 ./lbasename.o: $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
747 $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
748 $(INCDIR)/safe-ctype.h
749 if [ x"$(PICFLAG)" != x ]; then \
750 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
751 else true; fi
752 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
754 ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
755 $(INCDIR)/libiberty.h
756 if [ x"$(PICFLAG)" != x ]; then \
757 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
758 else true; fi
759 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
761 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
762 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
765 else true; fi
766 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
768 ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
769 $(INCDIR)/libiberty.h
770 if [ x"$(PICFLAG)" != x ]; then \
771 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
772 else true; fi
773 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
775 ./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
776 if [ x"$(PICFLAG)" != x ]; then \
777 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
778 else true; fi
779 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
781 ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
784 else true; fi
785 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
787 ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
788 if [ x"$(PICFLAG)" != x ]; then \
789 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
790 else true; fi
791 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
793 ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
794 if [ x"$(PICFLAG)" != x ]; then \
795 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
796 else true; fi
797 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
799 ./memmove.o: $(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)
805 ./mempcpy.o: $(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)
811 ./memset.o: $(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)
817 ./mkstemps.o: $(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)
823 ./msdos.o: $(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)
829 ./objalloc.o: $(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)
836 ./obstack.o: $(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)
842 ./partition.o: $(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)
849 ./pex-common.o: $(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)
856 ./pex-djgpp.o: $(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)
863 ./pex-msdos.o: $(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)
871 ./pex-one.o: $(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)
878 ./pex-unix.o: $(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)
885 ./pex-win32.o: $(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)
892 ./pexecute.o: $(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)
899 ./physmem.o: $(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)
906 ./putenv.o: $(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)
912 ./random.o: $(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)
918 ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
919 $(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)
925 ./rename.o: $(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)
931 ./rindex.o: $(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)
937 ./safe-ctype.o: $(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)
944 ./setenv.o: $(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)
950 ./sha1.o: $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
951 if [ x"$(PICFLAG)" != x ]; then \
952 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
953 else true; fi
954 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
956 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
957 if [ x"$(PICFLAG)" != x ]; then \
958 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
959 else true; fi
960 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
962 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
963 if [ x"$(PICFLAG)" != x ]; then \
964 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
965 else true; fi
966 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
968 ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
969 $(INCDIR)/sort.h
970 if [ x"$(PICFLAG)" != x ]; then \
971 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
972 else true; fi
973 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
975 ./spaces.o: $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
976 $(INCDIR)/libiberty.h
977 if [ x"$(PICFLAG)" != x ]; then \
978 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
979 else true; fi
980 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
982 ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
983 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
984 if [ x"$(PICFLAG)" != x ]; then \
985 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
986 else true; fi
987 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
989 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
990 if [ x"$(PICFLAG)" != x ]; then \
991 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
992 else true; fi
993 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
995 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
996 if [ x"$(PICFLAG)" != x ]; then \
997 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
998 else true; fi
999 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1001 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1002 if [ x"$(PICFLAG)" != x ]; then \
1003 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1004 else true; fi
1005 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1007 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1008 if [ x"$(PICFLAG)" != x ]; then \
1009 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1010 else true; fi
1011 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1013 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1014 if [ x"$(PICFLAG)" != x ]; then \
1015 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1016 else true; fi
1017 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1019 ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1020 $(INCDIR)/libiberty.h
1021 if [ x"$(PICFLAG)" != x ]; then \
1022 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1023 else true; fi
1024 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1026 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1027 if [ x"$(PICFLAG)" != x ]; then \
1028 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1029 else true; fi
1030 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1032 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1033 if [ x"$(PICFLAG)" != x ]; then \
1034 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1035 else true; fi
1036 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1038 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1039 if [ x"$(PICFLAG)" != x ]; then \
1040 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1041 else true; fi
1042 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1044 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1045 if [ x"$(PICFLAG)" != x ]; then \
1046 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1047 else true; fi
1048 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1050 ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1051 $(INCDIR)/libiberty.h
1052 if [ x"$(PICFLAG)" != x ]; then \
1053 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1054 else true; fi
1055 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1057 ./strstr.o: $(srcdir)/strstr.c
1058 if [ x"$(PICFLAG)" != x ]; then \
1059 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1060 else true; fi
1061 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1063 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
1064 if [ x"$(PICFLAG)" != x ]; then \
1065 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1066 else true; fi
1067 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1069 ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1070 if [ x"$(PICFLAG)" != x ]; then \
1071 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1072 else true; fi
1073 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1075 ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1076 $(INCDIR)/safe-ctype.h
1077 if [ x"$(PICFLAG)" != x ]; then \
1078 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1079 else true; fi
1080 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1082 ./strverscmp.o: $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1083 $(INCDIR)/safe-ctype.h
1084 if [ x"$(PICFLAG)" != x ]; then \
1085 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1086 else true; fi
1087 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1089 ./tmpnam.o: $(srcdir)/tmpnam.c
1090 if [ x"$(PICFLAG)" != x ]; then \
1091 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1092 else true; fi
1093 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1095 ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h \
1096 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1097 if [ x"$(PICFLAG)" != x ]; then \
1098 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1099 else true; fi
1100 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1102 ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1103 $(INCDIR)/libiberty.h
1104 if [ x"$(PICFLAG)" != x ]; then \
1105 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1106 else true; fi
1107 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1109 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1110 if [ x"$(PICFLAG)" != x ]; then \
1111 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1112 else true; fi
1113 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1115 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1116 if [ x"$(PICFLAG)" != x ]; then \
1117 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1118 else true; fi
1119 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1121 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1122 if [ x"$(PICFLAG)" != x ]; then \
1123 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1124 else true; fi
1125 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1127 ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1128 $(INCDIR)/libiberty.h
1129 if [ x"$(PICFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1131 else true; fi
1132 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1134 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1135 if [ x"$(PICFLAG)" != x ]; then \
1136 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1137 else true; fi
1138 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1140 ./waitpid.o: $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1141 if [ x"$(PICFLAG)" != x ]; then \
1142 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1143 else true; fi
1144 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1146 ./xatexit.o: $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1147 $(INCDIR)/libiberty.h
1148 if [ x"$(PICFLAG)" != x ]; then \
1149 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1150 else true; fi
1151 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1153 ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1154 if [ x"$(PICFLAG)" != x ]; then \
1155 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1156 else true; fi
1157 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1159 ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1160 $(INCDIR)/libiberty.h
1161 if [ x"$(PICFLAG)" != x ]; then \
1162 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1163 else true; fi
1164 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1166 ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1167 $(INCDIR)/libiberty.h
1168 if [ x"$(PICFLAG)" != x ]; then \
1169 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1170 else true; fi
1171 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1173 ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1174 $(INCDIR)/libiberty.h
1175 if [ x"$(PICFLAG)" != x ]; then \
1176 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1177 else true; fi
1178 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1180 ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1181 $(INCDIR)/libiberty.h
1182 if [ x"$(PICFLAG)" != x ]; then \
1183 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1184 else true; fi
1185 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1187 ./xstrndup.o: $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1188 $(INCDIR)/libiberty.h
1189 if [ x"$(PICFLAG)" != x ]; then \
1190 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1191 else true; fi
1192 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)