merge from gcc
[binutils.git] / libiberty / Makefile.in
blobbb3bd814a40ea82e98d2a5c568027d219a75ef0e
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 LIBCFLAGS = $(CFLAGS)
59 RANLIB = @RANLIB@
60 MAKEINFO = @MAKEINFO@
61 PERL = @PERL@
63 PICFLAG =
65 MAKEOVERRIDES =
67 TARGETLIB = ./libiberty.a
68 TESTLIB = ./testlib.a
70 LIBOBJS = @LIBOBJS@
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 =
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)"
99 # Subdirectories to recurse into. We need to override this during cleaning
100 SUBDIRS = testsuite
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
106 .PHONY: check installcheck
107 check: check-subdir
108 installcheck: installcheck-subdir
110 @host_makefile_frag@
112 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
114 COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
116 # Just to make sure we don't use a built-in rule with VPATH
117 .c.o:
118 false
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 sha1.c sigsetmask.c snprintf.c sort.c \
147 spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c \
148 strchr.c strdup.c strerror.c strncasecmp.c strncmp.c \
149 strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
150 strndup.c strverscmp.c \
151 tmpnam.c \
152 unlink-if-ordinary.c \
153 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
154 waitpid.c \
155 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
156 xstrndup.c
158 # These are always included in the library. The first four are listed
159 # first and by compile time to optimize parallel builds.
160 REQUIRED_OFILES = \
161 ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o \
162 ./alloca.o ./argv.o \
163 ./choose-temp.o ./concat.o ./cp-demint.o \
164 ./dyn-string.o \
165 ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o \
166 ./fnmatch.o ./fopen_unlocked.o \
167 ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \
168 ./hashtab.o ./hex.o \
169 ./lbasename.o ./lrealpath.o \
170 ./make-relative-prefix.o ./make-temp-file.o \
171 ./objalloc.o ./obstack.o \
172 ./partition.o ./pexecute.o ./physmem.o \
173 ./pex-common.o ./pex-one.o @pexecute@ \
174 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
175 ./strsignal.o \
176 ./unlink-if-ordinary.o \
177 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
178 ./xstrerror.o ./xstrndup.o
180 # These are all the objects that configure may add to the library via
181 # $funcs or EXTRA_OFILES. This list exists here only for "make
182 # maint-missing" and "make check".
183 CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
184 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
185 ./calloc.o ./clock.o ./copysign.o \
186 ./_doprnt.o \
187 ./ffs.o \
188 ./getcwd.o ./getpagesize.o ./gettimeofday.o \
189 ./index.o ./insque.o \
190 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
191 ./memset.o ./mkstemps.o \
192 ./pex-djgpp.o ./pex-msdos.o \
193 ./pex-unix.o ./pex-win32.o \
194 ./putenv.o \
195 ./random.o ./rename.o ./rindex.o \
196 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
197 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
198 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
199 ./strtod.o ./strtol.o ./strtoul.o ./strverscmp.o \
200 ./tmpnam.o \
201 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
202 ./vsprintf.o \
203 ./waitpid.o
205 # These files are installed if the library has been configured to do so.
206 INSTALLED_HEADERS = \
207 $(INCDIR)/ansidecl.h \
208 $(INCDIR)/demangle.h \
209 $(INCDIR)/dyn-string.h \
210 $(INCDIR)/fibheap.h \
211 $(INCDIR)/floatformat.h \
212 $(INCDIR)/hashtab.h \
213 $(INCDIR)/libiberty.h \
214 $(INCDIR)/objalloc.h \
215 $(INCDIR)/partition.h \
216 $(INCDIR)/safe-ctype.h \
217 $(INCDIR)/sort.h \
218 $(INCDIR)/splay-tree.h
220 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
221 -rm -f $(TARGETLIB) pic/$(TARGETLIB)
222 $(AR) $(AR_FLAGS) $(TARGETLIB) \
223 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
224 $(RANLIB) $(TARGETLIB)
225 if [ x"$(PICFLAG)" != x ]; then \
226 cd pic; \
227 $(AR) $(AR_FLAGS) $(TARGETLIB) \
228 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
229 $(RANLIB) $(TARGETLIB); \
230 cd ..; \
231 else true; fi
233 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
234 -rm -f $(TESTLIB)
235 $(AR) $(AR_FLAGS) $(TESTLIB) \
236 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
237 $(RANLIB) $(TESTLIB)
239 info: libiberty.info info-subdir
240 install-info: install-info-subdir
241 clean-info: clean-info-subdir
242 dvi: libiberty.dvi dvi-subdir
244 LIBIBERTY_PDFFILES = libiberty.pdf
246 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
248 .PHONY: install-pdf
250 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
252 install-pdf: $(LIBIBERTY_PDFFILES)
253 @$(NORMAL_INSTALL)
254 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
255 @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
256 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
257 f=$(pdf__strip_dir) \
258 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
259 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
260 done
262 # html, install-html targets
263 HTMLS = libiberty.html
265 html: $(HTMLS)
267 .PHONY: install-html install-html-am install-html-recursive
269 NORMAL_INSTALL = :
270 mkdir_p = mkdir -p --
272 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
274 install-html: install-html-recursive install-html-am
276 install-html-am: $(HTMLS)
277 @$(NORMAL_INSTALL)
278 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
279 @list='$(HTMLS)'; for p in $$list; do \
280 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
281 f=$(html__strip_dir) \
282 if test -d "$$d$$p"; then \
283 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
284 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
285 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
286 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
287 else \
288 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
289 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
290 fi; \
291 done
293 install-html-recursive:
294 @failcom='exit 1'; \
295 for f in x $$MAKEFLAGS; do \
296 case $$f in \
297 *=* | --[!k]*);; \
298 *k*) failcom='fail=yes';; \
299 esac; \
300 done; \
301 dot_seen=no; \
302 target=`echo $@ | sed s/-recursive//`; \
303 list='$(SUBDIRS)'; for subdir in $$list; do \
304 echo "Making $$target in $$subdir"; \
305 if test "$$subdir" = "."; then \
306 dot_seen=yes; \
307 local_target="$$target-am"; \
308 else \
309 local_target="$$target"; \
310 fi; \
311 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
312 || eval $$failcom; \
313 done; \
314 if test "$$dot_seen" = "no"; then \
315 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
316 fi; test -z "$$fail"
318 TEXISRC = \
319 $(srcdir)/libiberty.texi \
320 $(srcdir)/copying-lib.texi \
321 $(srcdir)/obstacks.texi \
322 $(srcdir)/functions.texi
324 # Additional files that have texi snippets that need to be collected
325 # and sorted. Some are here because the sources are imported from
326 # elsewhere. Others represent headers in ../include.
327 TEXIFILES = fnmatch.txh pexecute.txh
329 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
330 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
332 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
333 texi2dvi $(srcdir)/libiberty.texi
335 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
336 texi2pdf $(srcdir)/libiberty.texi
338 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
339 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
341 @MAINT@$(srcdir)/functions.texi : stamp-functions
342 @MAINT@ @true
344 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
345 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
346 @MAINT@ echo stamp > stamp-functions
348 INSTALL_DEST = @INSTALL_DEST@
349 install: install_to_$(INSTALL_DEST) install-subdir
351 # This is tricky. Even though CC in the Makefile contains
352 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
353 # default multilib, so we have to take LIBCFLAGS into account as well,
354 # since it will be passed the multilib flags.
355 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
356 install_to_libdir: all
357 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
358 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
359 ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
360 mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
361 if test -n "${target_header_dir}"; then \
362 case "${target_header_dir}" in \
363 /*) thd=${target_header_dir};; \
364 *) thd=${includedir}/${target_header_dir};; \
365 esac; \
366 ${mkinstalldirs} $(DESTDIR)$${thd}; \
367 for h in ${INSTALLED_HEADERS}; do \
368 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
369 done; \
371 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
373 install_to_tooldir: all
374 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
375 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
376 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
377 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
378 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
380 # needed-list is used by libstdc++. NEEDED is the list of functions
381 # to include there. Do not add anything LGPL to this list; libstdc++
382 # can't use anything encumbering.
383 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
384 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
385 vfork waitpid bcmp bcopy bzero
386 needed-list: Makefile
387 rm -f needed-list; touch needed-list; \
388 for f in $(NEEDED); do \
389 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
390 case "$$g" in \
391 *$$f*) echo $$g >> needed-list ;; \
392 esac; \
393 done; \
394 done
396 # required-list was used when building a shared bfd/opcodes/libiberty
397 # library. I don't know if it used by anything currently.
398 required-list: Makefile
399 echo $(REQUIRED_OFILES) > required-list
401 stamp-picdir:
402 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
403 mkdir pic; \
404 else true; fi
405 touch stamp-picdir
407 .PHONY: all etags tags ls clean stage1 stage2
409 etags tags: TAGS etags-subdir
411 TAGS: $(CFILES)
412 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
414 # The standalone demangler (c++filt) has been moved to binutils.
415 demangle:
416 @echo "The standalone demangler, now named c++filt, is now"
417 @echo "a part of binutils."
418 @false
421 @echo Makefile $(CFILES)
423 # Various targets for maintainers.
425 maint-missing :
426 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
428 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
429 @true
431 maint-undoc : $(srcdir)/functions.texi
432 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
434 maint-deps :
435 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
437 # Need to deal with profiled libraries, too.
439 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
440 # multiple times, hence our explicit recursion with an empty SUBDIRS.
441 mostlyclean: mostlyclean-subdir
442 -rm -rf *.o pic core errs \#* *.E a.out
443 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
444 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
445 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
446 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
447 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
448 -rm -f libtexi.stamp
449 @$(MULTICLEAN) multi-clean DO=mostlyclean
450 clean: clean-subdir
451 $(MAKE) SUBDIRS="" mostlyclean
452 -rm -f *.a required-list tmpmulti.out
453 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
454 @$(MULTICLEAN) multi-clean DO=clean
455 distclean: distclean-subdir
456 $(MAKE) SUBDIRS="" clean
457 @$(MULTICLEAN) multi-clean DO=distclean
458 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
459 -rm -f config.log
460 -rmdir testsuite 2>/dev/null
461 maintainer-clean realclean: maintainer-clean-subdir
462 $(MAKE) SUBDIRS="" distclean
464 force:
466 Makefile: $(srcdir)/Makefile.in config.status
467 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
469 # Depending on Makefile makes sure that config.status has been re-run
470 # if needed. This prevents problems with parallel builds.
471 config.h: stamp-h ; @true
472 stamp-h: $(srcdir)/config.in config.status Makefile
473 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
475 config.status: $(srcdir)/configure
476 $(SHELL) ./config.status --recheck
478 # Depending on stamp-h makes sure that config.status has been re-run
479 # if needed. This prevents problems with parallel builds, in case
480 # subdirectories need to run config.status also.
481 all-subdir check-subdir installcheck-subdir info-subdir \
482 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
483 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
484 maintainer-clean-subdir: stamp-h
485 @subdirs='$(SUBDIRS)'; \
486 target=`echo $@ | sed -e 's/-subdir//'`; \
487 for dir in $$subdirs ; do \
488 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
489 done
491 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
492 $(CONFIGURED_OFILES): stamp-picdir
494 # Don't export variables to the environment, in order to not confuse
495 # configure.
496 .NOEXPORT:
498 # The dependencies in the remainder of this file are automatically
499 # generated by "make maint-deps". Manual edits will be lost.
501 ./_doprnt.o: $(srcdir)/_doprnt.c stamp-h $(INCDIR)/ansidecl.h \
502 $(INCDIR)/safe-ctype.h
503 if [ x"$(PICFLAG)" != x ]; then \
504 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
505 else true; fi
506 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
508 ./alloca.o: $(srcdir)/alloca.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
509 if [ x"$(PICFLAG)" != x ]; then \
510 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
511 else true; fi
512 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
514 ./argv.o: $(srcdir)/argv.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
515 $(INCDIR)/safe-ctype.h
516 if [ x"$(PICFLAG)" != x ]; then \
517 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
518 else true; fi
519 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
521 ./asprintf.o: $(srcdir)/asprintf.c stamp-h $(INCDIR)/ansidecl.h \
522 $(INCDIR)/libiberty.h
523 if [ x"$(PICFLAG)" != x ]; then \
524 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
525 else true; fi
526 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
528 ./atexit.o: $(srcdir)/atexit.c stamp-h
529 if [ x"$(PICFLAG)" != x ]; then \
530 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
531 else true; fi
532 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
534 ./basename.o: $(srcdir)/basename.c stamp-h $(INCDIR)/ansidecl.h \
535 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
536 if [ x"$(PICFLAG)" != x ]; then \
537 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
538 else true; fi
539 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
541 ./bcmp.o: $(srcdir)/bcmp.c
542 if [ x"$(PICFLAG)" != x ]; then \
543 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
544 else true; fi
545 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
547 ./bcopy.o: $(srcdir)/bcopy.c
548 if [ x"$(PICFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
550 else true; fi
551 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
553 ./bsearch.o: $(srcdir)/bsearch.c stamp-h $(INCDIR)/ansidecl.h
554 if [ x"$(PICFLAG)" != x ]; then \
555 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
556 else true; fi
557 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
559 ./bzero.o: $(srcdir)/bzero.c
560 if [ x"$(PICFLAG)" != x ]; then \
561 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
562 else true; fi
563 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
565 ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
566 if [ x"$(PICFLAG)" != x ]; then \
567 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
568 else true; fi
569 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
571 ./choose-temp.o: $(srcdir)/choose-temp.c stamp-h $(INCDIR)/ansidecl.h \
572 $(INCDIR)/libiberty.h
573 if [ x"$(PICFLAG)" != x ]; then \
574 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
575 else true; fi
576 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
578 ./clock.o: $(srcdir)/clock.c stamp-h
579 if [ x"$(PICFLAG)" != x ]; then \
580 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
581 else true; fi
582 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
584 ./concat.o: $(srcdir)/concat.c stamp-h $(INCDIR)/ansidecl.h $(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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/fibheap.h \
641 $(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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-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 stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
700 if [ x"$(PICFLAG)" != x ]; then \
701 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
702 else true; fi
703 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
705 ./getruntime.o: $(srcdir)/getruntime.c stamp-h $(INCDIR)/ansidecl.h \
706 $(INCDIR)/libiberty.h
707 if [ x"$(PICFLAG)" != x ]; then \
708 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
709 else true; fi
710 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
712 ./gettimeofday.o: $(srcdir)/gettimeofday.c stamp-h $(INCDIR)/ansidecl.h \
713 $(INCDIR)/libiberty.h
714 if [ x"$(PICFLAG)" != x ]; then \
715 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
716 else true; fi
717 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
719 ./hashtab.o: $(srcdir)/hashtab.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/hashtab.h \
720 $(INCDIR)/libiberty.h
721 if [ x"$(PICFLAG)" != x ]; then \
722 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
723 else true; fi
724 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
726 ./hex.o: $(srcdir)/hex.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
727 $(INCDIR)/safe-ctype.h
728 if [ x"$(PICFLAG)" != x ]; then \
729 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
730 else true; fi
731 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
733 ./index.o: $(srcdir)/index.c
734 if [ x"$(PICFLAG)" != x ]; then \
735 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
736 else true; fi
737 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
739 ./insque.o: $(srcdir)/insque.c
740 if [ x"$(PICFLAG)" != x ]; then \
741 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
742 else true; fi
743 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
745 ./lbasename.o: $(srcdir)/lbasename.c stamp-h $(INCDIR)/ansidecl.h \
746 $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
747 $(INCDIR)/safe-ctype.h
748 if [ x"$(PICFLAG)" != x ]; then \
749 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
750 else true; fi
751 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
753 ./lrealpath.o: $(srcdir)/lrealpath.c stamp-h $(INCDIR)/ansidecl.h \
754 $(INCDIR)/libiberty.h
755 if [ x"$(PICFLAG)" != x ]; then \
756 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
757 else true; fi
758 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
760 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c stamp-h \
761 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
762 if [ x"$(PICFLAG)" != x ]; then \
763 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
764 else true; fi
765 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
767 ./make-temp-file.o: $(srcdir)/make-temp-file.c stamp-h $(INCDIR)/ansidecl.h \
768 $(INCDIR)/libiberty.h
769 if [ x"$(PICFLAG)" != x ]; then \
770 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
771 else true; fi
772 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
774 ./md5.o: $(srcdir)/md5.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
775 if [ x"$(PICFLAG)" != x ]; then \
776 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
777 else true; fi
778 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
780 ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
781 if [ x"$(PICFLAG)" != x ]; then \
782 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
783 else true; fi
784 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
786 ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
787 if [ x"$(PICFLAG)" != x ]; then \
788 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
789 else true; fi
790 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
792 ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
793 if [ x"$(PICFLAG)" != x ]; then \
794 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
795 else true; fi
796 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
798 ./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
799 if [ x"$(PICFLAG)" != x ]; then \
800 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
801 else true; fi
802 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
804 ./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
805 if [ x"$(PICFLAG)" != x ]; then \
806 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
807 else true; fi
808 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
810 ./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
811 if [ x"$(PICFLAG)" != x ]; then \
812 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
813 else true; fi
814 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
816 ./mkstemps.o: $(srcdir)/mkstemps.c stamp-h $(INCDIR)/ansidecl.h
817 if [ x"$(PICFLAG)" != x ]; then \
818 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
819 else true; fi
820 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
822 ./msdos.o: $(srcdir)/msdos.c
823 if [ x"$(PICFLAG)" != x ]; then \
824 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
825 else true; fi
826 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
828 ./objalloc.o: $(srcdir)/objalloc.c stamp-h $(INCDIR)/ansidecl.h \
829 $(INCDIR)/objalloc.h
830 if [ x"$(PICFLAG)" != x ]; then \
831 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
832 else true; fi
833 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
835 ./obstack.o: $(srcdir)/obstack.c stamp-h $(INCDIR)/obstack.h
836 if [ x"$(PICFLAG)" != x ]; then \
837 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
838 else true; fi
839 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
841 ./partition.o: $(srcdir)/partition.c stamp-h $(INCDIR)/ansidecl.h \
842 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
843 if [ x"$(PICFLAG)" != x ]; then \
844 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
845 else true; fi
846 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
848 ./pex-common.o: $(srcdir)/pex-common.c stamp-h $(INCDIR)/ansidecl.h \
849 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
850 if [ x"$(PICFLAG)" != x ]; then \
851 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
852 else true; fi
853 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
855 ./pex-djgpp.o: $(srcdir)/pex-djgpp.c stamp-h $(INCDIR)/ansidecl.h \
856 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
857 if [ x"$(PICFLAG)" != x ]; then \
858 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
859 else true; fi
860 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
862 ./pex-msdos.o: $(srcdir)/pex-msdos.c stamp-h $(INCDIR)/ansidecl.h \
863 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
864 $(INCDIR)/safe-ctype.h
865 if [ x"$(PICFLAG)" != x ]; then \
866 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
867 else true; fi
868 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
870 ./pex-one.o: $(srcdir)/pex-one.c stamp-h $(INCDIR)/ansidecl.h \
871 $(INCDIR)/libiberty.h
872 if [ x"$(PICFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
874 else true; fi
875 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
877 ./pex-unix.o: $(srcdir)/pex-unix.c stamp-h $(INCDIR)/ansidecl.h \
878 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
879 if [ x"$(PICFLAG)" != x ]; then \
880 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
881 else true; fi
882 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
884 ./pex-win32.o: $(srcdir)/pex-win32.c stamp-h $(INCDIR)/ansidecl.h \
885 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
886 if [ x"$(PICFLAG)" != x ]; then \
887 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
888 else true; fi
889 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
891 ./pexecute.o: $(srcdir)/pexecute.c stamp-h $(INCDIR)/ansidecl.h \
892 $(INCDIR)/libiberty.h
893 if [ x"$(PICFLAG)" != x ]; then \
894 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
895 else true; fi
896 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
898 ./physmem.o: $(srcdir)/physmem.c stamp-h $(INCDIR)/ansidecl.h \
899 $(INCDIR)/libiberty.h
900 if [ x"$(PICFLAG)" != x ]; then \
901 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
902 else true; fi
903 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
905 ./putenv.o: $(srcdir)/putenv.c stamp-h $(INCDIR)/ansidecl.h
906 if [ x"$(PICFLAG)" != x ]; then \
907 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
908 else true; fi
909 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
911 ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
912 if [ x"$(PICFLAG)" != x ]; then \
913 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
914 else true; fi
915 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
917 ./regex.o: $(srcdir)/regex.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
918 $(INCDIR)/xregex2.h
919 if [ x"$(PICFLAG)" != x ]; then \
920 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
921 else true; fi
922 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
924 ./rename.o: $(srcdir)/rename.c stamp-h $(INCDIR)/ansidecl.h
925 if [ x"$(PICFLAG)" != x ]; then \
926 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
927 else true; fi
928 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
930 ./rindex.o: $(srcdir)/rindex.c
931 if [ x"$(PICFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
933 else true; fi
934 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
936 ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
937 $(INCDIR)/safe-ctype.h
938 if [ x"$(PICFLAG)" != x ]; then \
939 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
940 else true; fi
941 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
943 ./setenv.o: $(srcdir)/setenv.c stamp-h $(INCDIR)/ansidecl.h
944 if [ x"$(PICFLAG)" != x ]; then \
945 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
946 else true; fi
947 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
949 ./sha1.o: $(srcdir)/sha1.c stamp-h $(INCDIR)/sha1.h
950 if [ x"$(PICFLAG)" != x ]; then \
951 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
952 else true; fi
953 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
955 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
956 if [ x"$(PICFLAG)" != x ]; then \
957 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
958 else true; fi
959 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
961 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
962 if [ x"$(PICFLAG)" != x ]; then \
963 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
964 else true; fi
965 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
967 ./sort.o: $(srcdir)/sort.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
968 $(INCDIR)/sort.h
969 if [ x"$(PICFLAG)" != x ]; then \
970 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
971 else true; fi
972 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
974 ./spaces.o: $(srcdir)/spaces.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
975 if [ x"$(PICFLAG)" != x ]; then \
976 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
977 else true; fi
978 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
980 ./splay-tree.o: $(srcdir)/splay-tree.c stamp-h $(INCDIR)/ansidecl.h \
981 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
982 if [ x"$(PICFLAG)" != x ]; then \
983 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
984 else true; fi
985 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
987 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
988 if [ x"$(PICFLAG)" != x ]; then \
989 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
990 else true; fi
991 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
993 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
994 if [ x"$(PICFLAG)" != x ]; then \
995 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
996 else true; fi
997 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
999 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1000 if [ x"$(PICFLAG)" != x ]; then \
1001 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1002 else true; fi
1003 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1005 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1006 if [ x"$(PICFLAG)" != x ]; then \
1007 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1008 else true; fi
1009 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1011 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1012 if [ x"$(PICFLAG)" != x ]; then \
1013 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1014 else true; fi
1015 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1017 ./strerror.o: $(srcdir)/strerror.c stamp-h $(INCDIR)/ansidecl.h \
1018 $(INCDIR)/libiberty.h
1019 if [ x"$(PICFLAG)" != x ]; then \
1020 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1021 else true; fi
1022 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1024 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1025 if [ x"$(PICFLAG)" != x ]; then \
1026 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1027 else true; fi
1028 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1030 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1031 if [ x"$(PICFLAG)" != x ]; then \
1032 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1033 else true; fi
1034 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1036 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1037 if [ x"$(PICFLAG)" != x ]; then \
1038 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1039 else true; fi
1040 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1042 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1043 if [ x"$(PICFLAG)" != x ]; then \
1044 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1045 else true; fi
1046 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1048 ./strsignal.o: $(srcdir)/strsignal.c stamp-h $(INCDIR)/ansidecl.h \
1049 $(INCDIR)/libiberty.h
1050 if [ x"$(PICFLAG)" != x ]; then \
1051 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1052 else true; fi
1053 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1055 ./strstr.o: $(srcdir)/strstr.c
1056 if [ x"$(PICFLAG)" != x ]; then \
1057 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1058 else true; fi
1059 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1061 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
1062 if [ x"$(PICFLAG)" != x ]; then \
1063 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1064 else true; fi
1065 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1067 ./strtol.o: $(srcdir)/strtol.c stamp-h $(INCDIR)/safe-ctype.h
1068 if [ x"$(PICFLAG)" != x ]; then \
1069 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1070 else true; fi
1071 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1073 ./strtoul.o: $(srcdir)/strtoul.c stamp-h $(INCDIR)/ansidecl.h \
1074 $(INCDIR)/safe-ctype.h
1075 if [ x"$(PICFLAG)" != x ]; then \
1076 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1077 else true; fi
1078 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1080 ./strverscmp.o: $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1081 $(INCDIR)/safe-ctype.h
1082 if [ x"$(PICFLAG)" != x ]; then \
1083 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1084 else true; fi
1085 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1087 ./tmpnam.o: $(srcdir)/tmpnam.c
1088 if [ x"$(PICFLAG)" != x ]; then \
1089 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1090 else true; fi
1091 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1093 ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c stamp-h \
1094 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1095 if [ x"$(PICFLAG)" != x ]; then \
1096 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1097 else true; fi
1098 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1100 ./vasprintf.o: $(srcdir)/vasprintf.c stamp-h $(INCDIR)/ansidecl.h \
1101 $(INCDIR)/libiberty.h
1102 if [ x"$(PICFLAG)" != x ]; then \
1103 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1104 else true; fi
1105 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1107 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1108 if [ x"$(PICFLAG)" != x ]; then \
1109 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1110 else true; fi
1111 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1113 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1114 if [ x"$(PICFLAG)" != x ]; then \
1115 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1116 else true; fi
1117 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1119 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1120 if [ x"$(PICFLAG)" != x ]; then \
1121 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1122 else true; fi
1123 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1125 ./vsnprintf.o: $(srcdir)/vsnprintf.c stamp-h $(INCDIR)/ansidecl.h \
1126 $(INCDIR)/libiberty.h
1127 if [ x"$(PICFLAG)" != x ]; then \
1128 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1129 else true; fi
1130 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1132 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1133 if [ x"$(PICFLAG)" != x ]; then \
1134 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1135 else true; fi
1136 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1138 ./waitpid.o: $(srcdir)/waitpid.c stamp-h $(INCDIR)/ansidecl.h
1139 if [ x"$(PICFLAG)" != x ]; then \
1140 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1141 else true; fi
1142 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1144 ./xatexit.o: $(srcdir)/xatexit.c stamp-h $(INCDIR)/ansidecl.h \
1145 $(INCDIR)/libiberty.h
1146 if [ x"$(PICFLAG)" != x ]; then \
1147 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1148 else true; fi
1149 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1151 ./xexit.o: $(srcdir)/xexit.c stamp-h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1152 if [ x"$(PICFLAG)" != x ]; then \
1153 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1154 else true; fi
1155 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1157 ./xmalloc.o: $(srcdir)/xmalloc.c stamp-h $(INCDIR)/ansidecl.h \
1158 $(INCDIR)/libiberty.h
1159 if [ x"$(PICFLAG)" != x ]; then \
1160 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1161 else true; fi
1162 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1164 ./xmemdup.o: $(srcdir)/xmemdup.c stamp-h $(INCDIR)/ansidecl.h \
1165 $(INCDIR)/libiberty.h
1166 if [ x"$(PICFLAG)" != x ]; then \
1167 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1168 else true; fi
1169 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1171 ./xstrdup.o: $(srcdir)/xstrdup.c stamp-h $(INCDIR)/ansidecl.h \
1172 $(INCDIR)/libiberty.h
1173 if [ x"$(PICFLAG)" != x ]; then \
1174 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1175 else true; fi
1176 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1178 ./xstrerror.o: $(srcdir)/xstrerror.c stamp-h $(INCDIR)/ansidecl.h \
1179 $(INCDIR)/libiberty.h
1180 if [ x"$(PICFLAG)" != x ]; then \
1181 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1182 else true; fi
1183 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1185 ./xstrndup.o: $(srcdir)/xstrndup.c stamp-h $(INCDIR)/ansidecl.h \
1186 $(INCDIR)/libiberty.h
1187 if [ x"$(PICFLAG)" != x ]; then \
1188 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1189 else true; fi
1190 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)