3 # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004
4 # Free Software Foundation
6 # This file is part of the libiberty library.
7 # Libiberty is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Library General Public
9 # License as published by the Free Software Foundation; either
10 # version 2 of the License, or (at your option) any later version.
12 # Libiberty is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Library General Public License for more details.
17 # You should have received a copy of the GNU Library General Public
18 # License along with libiberty; see the file COPYING.LIB. If not,
19 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 # Boston, MA 02111-1307, USA.
23 # This file was written by K. Richard Pixley <rich@cygnus.com>.
26 # Makefile for libiberty directory
29 libiberty_topdir = @libiberty_topdir@
34 exec_prefix = @exec_prefix@
37 includedir = @includedir@
38 target_header_dir = @target_header_dir@
42 # Multilib support variables.
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
55 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
56 OUTPUT_OPTION = @OUTPUT_OPTION@
72 TARGETLIB = ./libiberty.a
77 # A configuration can specify extra .o files that should be included,
78 # even if they are in libc. (Perhaps the libc version is buggy.)
81 # Flags to pass to a recursive make.
84 "AR_FLAGS=$(AR_FLAGS)" \
87 "DESTDIR=$(DESTDIR)" \
88 "LIBCFLAGS=$(LIBCFLAGS)" \
89 "EXTRA_OFILES=$(EXTRA_OFILES)" \
90 "HDEFINES=$(HDEFINES)" \
91 "INSTALL=$(INSTALL)" \
92 "INSTALL_DATA=$(INSTALL_DATA)" \
93 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
94 "LDFLAGS=$(LDFLAGS)" \
95 "LOADLIBES=$(LOADLIBES)" \
99 "exec_prefix=$(exec_prefix)" \
101 "libsubdir=$(libsubdir)" \
104 # Subdirectories to recurse into. We need to override this during cleaning
107 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
108 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
109 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
111 .PHONY: check installcheck
113 installcheck: installcheck-subdir
117 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
119 COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
121 # Just to make sure we don't use a built-in rule with VPATH
125 # NOTE: If you add new files to the library, add them to this list
126 # (alphabetical), and add them to REQUIRED_OFILES, or
127 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps"
128 # to build the new rules.
129 CFILES = alloca.c argv.c asprintf.c atexit.c \
130 basename.c bcmp.c bcopy.c bsearch.c bzero.c \
131 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
132 cp-demint.c cplus-dem.c \
134 fdmatch.c ffs.c fibheap.c floatformat.c fnmatch.c \
135 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
140 make-relative-prefix.c \
141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
142 mempcpy.c memset.c mkstemps.c \
143 objalloc.c obstack.c \
145 pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
146 pex-unix.c pex-win32.c \
148 random.c regex.c rename.c rindex.c \
149 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
150 splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \
151 strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c \
152 strstr.c strtod.c strtol.c strtoul.c \
154 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
156 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.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 = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
161 ./alloca.o ./argv.o \
162 ./choose-temp.o ./concat.o ./cp-demint.o \
164 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.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 ./physmem.o @pexecute@ \
171 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
174 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
177 # These are all the objects that configure may add to the library via
178 # $funcs or EXTRA_OFILES. This list exists here only for "make
179 # maint-missing" and "make check".
180 CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
181 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
182 ./calloc.o ./clock.o ./copysign.o \
185 ./getcwd.o ./getpagesize.o \
186 ./index.o ./insque.o \
187 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
188 ./memset.o ./mkstemps.o \
189 ./pex-djgpp.o ./pex-mpw.o ./pex-msdos.o ./pex-os2.o \
190 ./pex-unix.o ./pex-win32.o \
192 ./random.o ./rename.o ./rindex.o \
193 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
194 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
195 ./strncmp.o ./strrchr.o ./strstr.o \
196 ./strtod.o ./strtol.o ./strtoul.o \
198 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
202 # These files are installed if the library has been configured to do so.
203 INSTALLED_HEADERS = \
204 $(INCDIR)/ansidecl.h \
205 $(INCDIR)/demangle.h \
206 $(INCDIR)/dyn-string.h \
207 $(INCDIR)/fibheap.h \
208 $(INCDIR)/floatformat.h \
209 $(INCDIR)/hashtab.h \
210 $(INCDIR)/libiberty.h \
211 $(INCDIR)/objalloc.h \
212 $(INCDIR)/partition.h \
213 $(INCDIR)/safe-ctype.h \
215 $(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 \
225 $(AR) $(AR_FLAGS) $(TARGETLIB) \
226 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
227 $(RANLIB) $(TARGETLIB); \
231 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
233 $(AR) $(AR_FLAGS) $(TESTLIB) \
234 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
237 info: libiberty.info info-subdir
238 install-info: install-info-subdir
239 clean-info: clean-info-subdir
240 dvi: libiberty.dvi dvi-subdir
244 $(srcdir)/libiberty.texi \
245 $(srcdir)/copying-lib.texi \
246 $(srcdir)/obstacks.texi \
247 $(srcdir)/functions.texi
249 # Additional files that have texi snippets that need to be collected
250 # and sorted. Some are here because the sources are imported from
251 # elsewhere. Others represent headers in ../include.
252 TEXIFILES = fnmatch.txh pexecute.txh
254 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
255 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
257 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
258 texi2dvi $(srcdir)/libiberty.texi
260 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
261 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
263 @MAINT@$(srcdir)/functions.texi : stamp-functions
266 @MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile
267 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
268 @MAINT@ echo stamp > stamp-functions
270 INSTALL_DEST = @INSTALL_DEST@
271 install: install_to_$(INSTALL_DEST) install-subdir
273 install_to_libdir: all
274 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
275 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
276 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
277 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
278 if test -n "${target_header_dir}"; then \
279 case "${target_header_dir}" in \
280 /*) thd=${target_header_dir};; \
281 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
283 ${mkinstalldirs} $(DESTDIR)$${thd}; \
284 for h in ${INSTALLED_HEADERS}; do \
285 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
288 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
290 # This is tricky. Even though CC in the Makefile contains
291 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
292 # default multilib, so we have to take LIBCFLAGS into account as well,
293 # since it will be passed the multilib flags.
294 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
295 install_to_tooldir: all
296 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
297 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
298 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
299 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
300 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
302 # needed-list is used by libstdc++. NEEDED is the list of functions
303 # to include there. Do not add anything LGPL to this list; libstdc++
304 # can't use anything encumbering.
305 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
306 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
307 vfork waitpid bcmp bcopy bzero
308 needed-list: Makefile
309 rm -f needed-list; touch needed-list; \
310 for f in $(NEEDED); do \
311 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
313 *$$f*) echo $$g >> needed-list ;; \
318 # required-list was used when building a shared bfd/opcodes/libiberty
319 # library. I don't know if it used by anything currently.
320 required-list: Makefile
321 echo $(REQUIRED_OFILES) > required-list
324 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
329 .PHONY: all etags tags ls clean stage1 stage2
331 etags tags: TAGS etags-subdir
334 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
336 # The standalone demangler (c++filt) has been moved to binutils.
338 @echo "The standalone demangler, now named c++filt, is now"
339 @echo "a part of binutils."
343 @echo Makefile $(CFILES)
345 # Various targets for maintainers.
348 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
350 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
353 maint-undoc : $(srcdir)/functions.texi
354 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
357 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
359 # Need to deal with profiled libraries, too.
361 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
362 # multiple times, hence our explicit recursion with an empty SUBDIRS.
363 mostlyclean: mostlyclean-subdir
364 -rm -rf *.o pic core errs \#* *.E a.out
365 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
366 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
367 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
368 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
369 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
371 @$(MULTICLEAN) multi-clean DO=mostlyclean
373 $(MAKE) SUBDIRS="" mostlyclean
374 -rm -f *.a required-list tmpmulti.out
375 -rm -f libiberty.dvi libiberty.info* libiberty.html
376 @$(MULTICLEAN) multi-clean DO=clean
377 distclean: distclean-subdir
378 $(MAKE) SUBDIRS="" clean
379 @$(MULTICLEAN) multi-clean DO=distclean
380 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
382 -rmdir testsuite 2>/dev/null
383 maintainer-clean realclean: maintainer-clean-subdir
384 $(MAKE) SUBDIRS="" distclean
388 Makefile: $(srcdir)/Makefile.in config.status
389 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
391 # Depending on Makefile makes sure that config.status has been re-run
392 # if needed. This prevents problems with parallel builds.
393 config.h: stamp-h ; @true
394 stamp-h: $(srcdir)/config.in config.status Makefile
395 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
397 config.status: $(srcdir)/configure $(srcdir)/config.table
398 $(SHELL) ./config.status --recheck
400 # Depending on config.h makes sure that config.status has been re-run
401 # if needed. This prevents problems with parallel builds, in case
402 # subdirectories need to run config.status also.
403 all-subdir check-subdir installcheck-subdir info-subdir \
404 install-info-subdir clean-info-subdir dvi-subdir install-subdir \
405 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
406 maintainer-clean-subdir: config.h
407 @subdirs='$(SUBDIRS)'; \
408 target=`echo $@ | sed -e 's/-subdir//'`; \
409 for dir in $$subdirs ; do \
410 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
413 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
414 $(CONFIGURED_OFILES): stamp-picdir
416 # The dependencies in the remainder of this file are automatically
417 # generated by "make maint-deps". Manual edits will be lost.
419 ./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
420 $(INCDIR)/safe-ctype.h
421 if [ x"$(PICFLAG)" != x ]; then \
422 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
424 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
426 ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
427 $(INCDIR)/libiberty.h
428 if [ x"$(PICFLAG)" != x ]; then \
429 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
431 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
433 ./argv.o: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
434 if [ x"$(PICFLAG)" != x ]; then \
435 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
437 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
439 ./asprintf.o: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
440 if [ x"$(PICFLAG)" != x ]; then \
441 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
443 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
445 ./atexit.o: $(srcdir)/atexit.c config.h
446 if [ x"$(PICFLAG)" != x ]; then \
447 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
449 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
451 ./basename.o: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
452 $(INCDIR)/safe-ctype.h
453 if [ x"$(PICFLAG)" != x ]; then \
454 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
456 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
458 ./bcmp.o: $(srcdir)/bcmp.c
459 if [ x"$(PICFLAG)" != x ]; then \
460 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
462 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
464 ./bcopy.o: $(srcdir)/bcopy.c
465 if [ x"$(PICFLAG)" != x ]; then \
466 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
468 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
470 ./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
471 if [ x"$(PICFLAG)" != x ]; then \
472 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
474 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
476 ./bzero.o: $(srcdir)/bzero.c
477 if [ x"$(PICFLAG)" != x ]; then \
478 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
480 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
482 ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
483 if [ x"$(PICFLAG)" != x ]; then \
484 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
486 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
488 ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
489 $(INCDIR)/libiberty.h
490 if [ x"$(PICFLAG)" != x ]; then \
491 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
493 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
495 ./clock.o: $(srcdir)/clock.c config.h
496 if [ x"$(PICFLAG)" != x ]; then \
497 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
499 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
501 ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
502 $(INCDIR)/libiberty.h
503 if [ x"$(PICFLAG)" != x ]; then \
504 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
506 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
508 ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
509 if [ x"$(PICFLAG)" != x ]; then \
510 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
512 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
514 ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
515 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
516 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
517 if [ x"$(PICFLAG)" != x ]; then \
518 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
520 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
522 ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
523 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
524 $(INCDIR)/libiberty.h
525 if [ x"$(PICFLAG)" != x ]; then \
526 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
528 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
530 ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
531 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
532 $(INCDIR)/safe-ctype.h
533 if [ x"$(PICFLAG)" != x ]; then \
534 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
536 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
538 ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
539 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
540 if [ x"$(PICFLAG)" != x ]; then \
541 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
543 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
545 ./fdmatch.o: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
546 if [ x"$(PICFLAG)" != x ]; then \
547 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
549 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
551 ./ffs.o: $(srcdir)/ffs.c
552 if [ x"$(PICFLAG)" != x ]; then \
553 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
555 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
557 ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
558 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
559 if [ x"$(PICFLAG)" != x ]; then \
560 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
562 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
564 ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
565 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
566 if [ x"$(PICFLAG)" != x ]; then \
567 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
569 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
571 ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
572 $(INCDIR)/safe-ctype.h
573 if [ x"$(PICFLAG)" != x ]; then \
574 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
576 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
578 ./getcwd.o: $(srcdir)/getcwd.c config.h
579 if [ x"$(PICFLAG)" != x ]; then \
580 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
582 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
584 ./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h \
586 if [ x"$(PICFLAG)" != x ]; then \
587 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
589 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
591 ./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
592 if [ x"$(PICFLAG)" != x ]; then \
593 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
595 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
597 ./getpagesize.o: $(srcdir)/getpagesize.c config.h
598 if [ x"$(PICFLAG)" != x ]; then \
599 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
601 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
603 ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
604 $(INCDIR)/libiberty.h
605 if [ x"$(PICFLAG)" != x ]; then \
606 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
608 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
610 ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
611 $(INCDIR)/libiberty.h
612 if [ x"$(PICFLAG)" != x ]; then \
613 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
615 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
617 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
618 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
619 if [ x"$(PICFLAG)" != x ]; then \
620 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
622 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
624 ./hex.o: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
625 $(INCDIR)/safe-ctype.h
626 if [ x"$(PICFLAG)" != x ]; then \
627 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
629 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
631 ./index.o: $(srcdir)/index.c
632 if [ x"$(PICFLAG)" != x ]; then \
633 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
635 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
637 ./insque.o: $(srcdir)/insque.c
638 if [ x"$(PICFLAG)" != x ]; then \
639 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
641 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
643 ./lbasename.o: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
644 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
645 if [ x"$(PICFLAG)" != x ]; then \
646 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
648 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
650 ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
651 $(INCDIR)/libiberty.h
652 if [ x"$(PICFLAG)" != x ]; then \
653 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
655 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
657 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
658 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
659 if [ x"$(PICFLAG)" != x ]; then \
660 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
662 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
664 ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
665 $(INCDIR)/libiberty.h
666 if [ x"$(PICFLAG)" != x ]; then \
667 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
669 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
671 ./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
672 if [ x"$(PICFLAG)" != x ]; then \
673 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
675 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
677 ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
678 if [ x"$(PICFLAG)" != x ]; then \
679 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
681 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
683 ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
684 if [ x"$(PICFLAG)" != x ]; then \
685 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
687 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
689 ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
690 if [ x"$(PICFLAG)" != x ]; then \
691 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
693 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
695 ./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
696 if [ x"$(PICFLAG)" != x ]; then \
697 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
699 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
701 ./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
702 if [ x"$(PICFLAG)" != x ]; then \
703 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
705 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
707 ./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
708 if [ x"$(PICFLAG)" != x ]; then \
709 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
711 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
713 ./mkstemps.o: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
714 if [ x"$(PICFLAG)" != x ]; then \
715 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
717 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
719 ./mpw.o: $(srcdir)/mpw.c
720 if [ x"$(PICFLAG)" != x ]; then \
721 $(COMPILE.c) $(PICFLAG) $(srcdir)/mpw.c -o pic/$@; \
723 $(COMPILE.c) $(srcdir)/mpw.c $(OUTPUT_OPTION)
725 ./msdos.o: $(srcdir)/msdos.c
726 if [ x"$(PICFLAG)" != x ]; then \
727 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
729 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
731 ./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
733 if [ x"$(PICFLAG)" != x ]; then \
734 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
736 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
738 ./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
739 if [ x"$(PICFLAG)" != x ]; then \
740 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
742 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
744 ./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
745 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
746 if [ x"$(PICFLAG)" != x ]; then \
747 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
749 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
751 ./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
752 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
753 if [ x"$(PICFLAG)" != x ]; then \
754 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
756 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
758 ./pex-mpw.o: $(srcdir)/pex-mpw.c config.h $(INCDIR)/ansidecl.h \
759 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
760 if [ x"$(PICFLAG)" != x ]; then \
761 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-mpw.c -o pic/$@; \
763 $(COMPILE.c) $(srcdir)/pex-mpw.c $(OUTPUT_OPTION)
765 ./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
766 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
767 $(INCDIR)/safe-ctype.h
768 if [ x"$(PICFLAG)" != x ]; then \
769 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
771 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
773 ./pex-os2.o: $(srcdir)/pex-os2.c config.h $(INCDIR)/ansidecl.h \
774 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
775 if [ x"$(PICFLAG)" != x ]; then \
776 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-os2.c -o pic/$@; \
778 $(COMPILE.c) $(srcdir)/pex-os2.c $(OUTPUT_OPTION)
780 ./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
781 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
785 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
787 ./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
788 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
789 if [ x"$(PICFLAG)" != x ]; then \
790 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
792 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
794 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
795 $(INCDIR)/libiberty.h
796 if [ x"$(PICFLAG)" != x ]; then \
797 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
799 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
801 ./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
805 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
807 ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
808 if [ x"$(PICFLAG)" != x ]; then \
809 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
811 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
813 ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
815 if [ x"$(PICFLAG)" != x ]; then \
816 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
818 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
820 ./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
821 if [ x"$(PICFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
824 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
826 ./rindex.o: $(srcdir)/rindex.c
827 if [ x"$(PICFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
830 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
832 ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
833 $(INCDIR)/safe-ctype.h
834 if [ x"$(PICFLAG)" != x ]; then \
835 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
837 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
839 ./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
840 if [ x"$(PICFLAG)" != x ]; then \
841 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
843 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
845 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
846 if [ x"$(PICFLAG)" != x ]; then \
847 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
849 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
851 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
852 if [ x"$(PICFLAG)" != x ]; then \
853 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
855 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
857 ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
859 if [ x"$(PICFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
862 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
864 ./spaces.o: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
865 if [ x"$(PICFLAG)" != x ]; then \
866 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
868 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
870 ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
871 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
872 if [ x"$(PICFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
875 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
877 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
878 if [ x"$(PICFLAG)" != x ]; then \
879 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
881 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
883 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
884 if [ x"$(PICFLAG)" != x ]; then \
885 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
887 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
889 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
890 if [ x"$(PICFLAG)" != x ]; then \
891 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
893 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
895 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
896 if [ x"$(PICFLAG)" != x ]; then \
897 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
899 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
901 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
902 if [ x"$(PICFLAG)" != x ]; then \
903 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
905 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
907 ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
908 $(INCDIR)/libiberty.h
909 if [ x"$(PICFLAG)" != x ]; then \
910 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
912 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
914 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
915 if [ x"$(PICFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
918 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
920 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
921 if [ x"$(PICFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
924 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
926 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
927 if [ x"$(PICFLAG)" != x ]; then \
928 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
930 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
932 ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
933 $(INCDIR)/libiberty.h
934 if [ x"$(PICFLAG)" != x ]; then \
935 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
937 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
939 ./strstr.o: $(srcdir)/strstr.c
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
943 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
945 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
946 if [ x"$(PICFLAG)" != x ]; then \
947 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
949 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
951 ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
952 if [ x"$(PICFLAG)" != x ]; then \
953 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
955 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
957 ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
958 $(INCDIR)/safe-ctype.h
959 if [ x"$(PICFLAG)" != x ]; then \
960 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
962 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
964 ./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
965 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
966 if [ x"$(PICFLAG)" != x ]; then \
967 $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \
969 $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION)
971 ./tmpnam.o: $(srcdir)/tmpnam.c
972 if [ x"$(PICFLAG)" != x ]; then \
973 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
975 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
977 ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
978 $(INCDIR)/libiberty.h
979 if [ x"$(PICFLAG)" != x ]; then \
980 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
982 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
984 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
985 if [ x"$(PICFLAG)" != x ]; then \
986 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
988 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
990 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
991 if [ x"$(PICFLAG)" != x ]; then \
992 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
994 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
996 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
997 if [ x"$(PICFLAG)" != x ]; then \
998 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1000 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1002 ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1003 $(INCDIR)/libiberty.h
1004 if [ x"$(PICFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1007 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1009 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1013 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1015 ./waitpid.o: $(srcdir)/waitpid.c config.h
1016 if [ x"$(PICFLAG)" != x ]; then \
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1019 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1021 ./xatexit.o: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1022 if [ x"$(PICFLAG)" != x ]; then \
1023 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1025 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1027 ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1028 if [ x"$(PICFLAG)" != x ]; then \
1029 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1031 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1033 ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1034 $(INCDIR)/libiberty.h
1035 if [ x"$(PICFLAG)" != x ]; then \
1036 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1038 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1040 ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1041 $(INCDIR)/libiberty.h
1042 if [ x"$(PICFLAG)" != x ]; then \
1043 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1045 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1047 ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1048 $(INCDIR)/libiberty.h
1049 if [ x"$(PICFLAG)" != x ]; then \
1050 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1052 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1054 ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1055 $(INCDIR)/libiberty.h
1056 if [ x"$(PICFLAG)" != x ]; then \
1057 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1059 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1061 # Don't export variables to the environment, in order to not confuse