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-msdos.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 unlink-if-ordinary.c \
155 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
157 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
159 # These are always included in the library. The first four are listed
160 # first and by compile time to optimize parallel builds.
161 REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
162 ./alloca.o ./argv.o \
163 ./choose-temp.o ./concat.o ./cp-demint.o \
165 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \
166 ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \
167 ./hashtab.o ./hex.o \
168 ./lbasename.o ./lrealpath.o \
169 ./make-relative-prefix.o ./make-temp-file.o \
170 ./objalloc.o ./obstack.o \
171 ./partition.o ./physmem.o @pexecute@ \
172 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
175 ./unlink-if-ordinary.o \
176 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
179 # These are all the objects that configure may add to the library via
180 # $funcs or EXTRA_OFILES. This list exists here only for "make
181 # maint-missing" and "make check".
182 CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
183 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
184 ./calloc.o ./clock.o ./copysign.o \
187 ./getcwd.o ./getpagesize.o \
188 ./index.o ./insque.o \
189 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
190 ./memset.o ./mkstemps.o \
191 ./pex-djgpp.o ./pex-msdos.o \
192 ./pex-unix.o ./pex-win32.o \
194 ./random.o ./rename.o ./rindex.o \
195 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
196 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
197 ./strncmp.o ./strrchr.o ./strstr.o \
198 ./strtod.o ./strtol.o ./strtoul.o \
200 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
204 # These files are installed if the library has been configured to do so.
205 INSTALLED_HEADERS = \
206 $(INCDIR)/ansidecl.h \
207 $(INCDIR)/demangle.h \
208 $(INCDIR)/dyn-string.h \
209 $(INCDIR)/fibheap.h \
210 $(INCDIR)/floatformat.h \
211 $(INCDIR)/hashtab.h \
212 $(INCDIR)/libiberty.h \
213 $(INCDIR)/objalloc.h \
214 $(INCDIR)/partition.h \
215 $(INCDIR)/safe-ctype.h \
217 $(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 \
227 $(AR) $(AR_FLAGS) $(TARGETLIB) \
228 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
229 $(RANLIB) $(TARGETLIB); \
233 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
235 $(AR) $(AR_FLAGS) $(TESTLIB) \
236 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
239 info: libiberty.info info-subdir
240 install-info: install-info-subdir
241 clean-info: clean-info-subdir
242 dvi: libiberty.dvi dvi-subdir
246 $(srcdir)/libiberty.texi \
247 $(srcdir)/copying-lib.texi \
248 $(srcdir)/obstacks.texi \
249 $(srcdir)/functions.texi
251 # Additional files that have texi snippets that need to be collected
252 # and sorted. Some are here because the sources are imported from
253 # elsewhere. Others represent headers in ../include.
254 TEXIFILES = fnmatch.txh pexecute.txh
256 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
257 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
259 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
260 texi2dvi $(srcdir)/libiberty.texi
262 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
263 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
265 @MAINT@$(srcdir)/functions.texi : stamp-functions
268 @MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile
269 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
270 @MAINT@ echo stamp > stamp-functions
272 INSTALL_DEST = @INSTALL_DEST@
273 install: install_to_$(INSTALL_DEST) install-subdir
275 install_to_libdir: all
276 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
277 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
278 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
279 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
280 if test -n "${target_header_dir}"; then \
281 case "${target_header_dir}" in \
282 /*) thd=${target_header_dir};; \
283 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
285 ${mkinstalldirs} $(DESTDIR)$${thd}; \
286 for h in ${INSTALLED_HEADERS}; do \
287 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
290 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
292 # This is tricky. Even though CC in the Makefile contains
293 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
294 # default multilib, so we have to take LIBCFLAGS into account as well,
295 # since it will be passed the multilib flags.
296 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
297 install_to_tooldir: all
298 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
299 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
300 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
301 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
302 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
304 # needed-list is used by libstdc++. NEEDED is the list of functions
305 # to include there. Do not add anything LGPL to this list; libstdc++
306 # can't use anything encumbering.
307 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
308 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
309 vfork waitpid bcmp bcopy bzero
310 needed-list: Makefile
311 rm -f needed-list; touch needed-list; \
312 for f in $(NEEDED); do \
313 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
315 *$$f*) echo $$g >> needed-list ;; \
320 # required-list was used when building a shared bfd/opcodes/libiberty
321 # library. I don't know if it used by anything currently.
322 required-list: Makefile
323 echo $(REQUIRED_OFILES) > required-list
326 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
331 .PHONY: all etags tags ls clean stage1 stage2
333 etags tags: TAGS etags-subdir
336 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
338 # The standalone demangler (c++filt) has been moved to binutils.
340 @echo "The standalone demangler, now named c++filt, is now"
341 @echo "a part of binutils."
345 @echo Makefile $(CFILES)
347 # Various targets for maintainers.
350 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
352 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
355 maint-undoc : $(srcdir)/functions.texi
356 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
359 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
361 # Need to deal with profiled libraries, too.
363 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
364 # multiple times, hence our explicit recursion with an empty SUBDIRS.
365 mostlyclean: mostlyclean-subdir
366 -rm -rf *.o pic core errs \#* *.E a.out
367 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
368 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
369 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
370 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
371 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
373 @$(MULTICLEAN) multi-clean DO=mostlyclean
375 $(MAKE) SUBDIRS="" mostlyclean
376 -rm -f *.a required-list tmpmulti.out
377 -rm -f libiberty.dvi libiberty.info* libiberty.html
378 @$(MULTICLEAN) multi-clean DO=clean
379 distclean: distclean-subdir
380 $(MAKE) SUBDIRS="" clean
381 @$(MULTICLEAN) multi-clean DO=distclean
382 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
384 -rmdir testsuite 2>/dev/null
385 maintainer-clean realclean: maintainer-clean-subdir
386 $(MAKE) SUBDIRS="" distclean
390 Makefile: $(srcdir)/Makefile.in config.status
391 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
393 # Depending on Makefile makes sure that config.status has been re-run
394 # if needed. This prevents problems with parallel builds.
395 config.h: stamp-h ; @true
396 stamp-h: $(srcdir)/config.in config.status Makefile
397 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
399 config.status: $(srcdir)/configure $(srcdir)/config.table
400 $(SHELL) ./config.status --recheck
402 # Depending on config.h makes sure that config.status has been re-run
403 # if needed. This prevents problems with parallel builds, in case
404 # subdirectories need to run config.status also.
405 all-subdir check-subdir installcheck-subdir info-subdir \
406 install-info-subdir clean-info-subdir dvi-subdir install-subdir \
407 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
408 maintainer-clean-subdir: config.h
409 @subdirs='$(SUBDIRS)'; \
410 target=`echo $@ | sed -e 's/-subdir//'`; \
411 for dir in $$subdirs ; do \
412 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
415 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
416 $(CONFIGURED_OFILES): stamp-picdir
418 # The dependencies in the remainder of this file are automatically
419 # generated by "make maint-deps". Manual edits will be lost.
421 ./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
422 $(INCDIR)/safe-ctype.h
423 if [ x"$(PICFLAG)" != x ]; then \
424 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
426 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
428 ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
429 $(INCDIR)/libiberty.h
430 if [ x"$(PICFLAG)" != x ]; then \
431 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
433 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
435 ./argv.o: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
436 if [ x"$(PICFLAG)" != x ]; then \
437 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
439 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
441 ./asprintf.o: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
442 if [ x"$(PICFLAG)" != x ]; then \
443 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
445 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
447 ./atexit.o: $(srcdir)/atexit.c config.h
448 if [ x"$(PICFLAG)" != x ]; then \
449 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
451 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
453 ./basename.o: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
454 $(INCDIR)/safe-ctype.h
455 if [ x"$(PICFLAG)" != x ]; then \
456 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
458 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
460 ./bcmp.o: $(srcdir)/bcmp.c
461 if [ x"$(PICFLAG)" != x ]; then \
462 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
464 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
466 ./bcopy.o: $(srcdir)/bcopy.c
467 if [ x"$(PICFLAG)" != x ]; then \
468 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
470 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
472 ./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
473 if [ x"$(PICFLAG)" != x ]; then \
474 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
476 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
478 ./bzero.o: $(srcdir)/bzero.c
479 if [ x"$(PICFLAG)" != x ]; then \
480 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
482 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
484 ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
485 if [ x"$(PICFLAG)" != x ]; then \
486 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
488 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
490 ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
491 $(INCDIR)/libiberty.h
492 if [ x"$(PICFLAG)" != x ]; then \
493 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
495 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
497 ./clock.o: $(srcdir)/clock.c config.h
498 if [ x"$(PICFLAG)" != x ]; then \
499 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
501 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
503 ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
504 $(INCDIR)/libiberty.h
505 if [ x"$(PICFLAG)" != x ]; then \
506 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
508 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
510 ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
511 if [ x"$(PICFLAG)" != x ]; then \
512 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
514 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
516 ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
517 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
518 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
519 if [ x"$(PICFLAG)" != x ]; then \
520 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
522 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
524 ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
525 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
526 $(INCDIR)/libiberty.h
527 if [ x"$(PICFLAG)" != x ]; then \
528 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
530 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
532 ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
533 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
534 $(INCDIR)/safe-ctype.h
535 if [ x"$(PICFLAG)" != x ]; then \
536 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
538 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
540 ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
541 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
542 if [ x"$(PICFLAG)" != x ]; then \
543 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
545 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
547 ./fdmatch.o: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
548 if [ x"$(PICFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
551 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
553 ./ffs.o: $(srcdir)/ffs.c
554 if [ x"$(PICFLAG)" != x ]; then \
555 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
557 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
559 ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
560 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
561 if [ x"$(PICFLAG)" != x ]; then \
562 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
564 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
566 ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
567 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
568 if [ x"$(PICFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
571 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
573 ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
574 $(INCDIR)/safe-ctype.h
575 if [ x"$(PICFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
578 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
580 ./getcwd.o: $(srcdir)/getcwd.c config.h
581 if [ x"$(PICFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
584 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
586 ./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h
587 if [ x"$(PICFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
590 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
592 ./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
593 if [ x"$(PICFLAG)" != x ]; then \
594 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
596 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
598 ./getpagesize.o: $(srcdir)/getpagesize.c config.h
599 if [ x"$(PICFLAG)" != x ]; then \
600 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
602 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
604 ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
605 $(INCDIR)/libiberty.h
606 if [ x"$(PICFLAG)" != x ]; then \
607 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
609 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
611 ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
612 $(INCDIR)/libiberty.h
613 if [ x"$(PICFLAG)" != x ]; then \
614 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
616 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
618 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
619 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
620 if [ x"$(PICFLAG)" != x ]; then \
621 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
623 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
625 ./hex.o: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
626 $(INCDIR)/safe-ctype.h
627 if [ x"$(PICFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
630 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
632 ./index.o: $(srcdir)/index.c
633 if [ x"$(PICFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
636 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
638 ./insque.o: $(srcdir)/insque.c
639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
642 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
644 ./lbasename.o: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
645 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
646 if [ x"$(PICFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
649 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
651 ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
652 $(INCDIR)/libiberty.h
653 if [ x"$(PICFLAG)" != x ]; then \
654 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
656 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
658 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
659 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
660 if [ x"$(PICFLAG)" != x ]; then \
661 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
663 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
665 ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
666 $(INCDIR)/libiberty.h
667 if [ x"$(PICFLAG)" != x ]; then \
668 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
670 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
672 ./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
673 if [ x"$(PICFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
676 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
678 ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
679 if [ x"$(PICFLAG)" != x ]; then \
680 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
682 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
684 ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
685 if [ x"$(PICFLAG)" != x ]; then \
686 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
688 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
690 ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
691 if [ x"$(PICFLAG)" != x ]; then \
692 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
694 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
696 ./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
697 if [ x"$(PICFLAG)" != x ]; then \
698 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
700 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
702 ./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
703 if [ x"$(PICFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
706 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
708 ./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
709 if [ x"$(PICFLAG)" != x ]; then \
710 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
712 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
714 ./mkstemps.o: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
715 if [ x"$(PICFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
718 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
720 ./msdos.o: $(srcdir)/msdos.c
721 if [ x"$(PICFLAG)" != x ]; then \
722 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
724 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
726 ./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
728 if [ x"$(PICFLAG)" != x ]; then \
729 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
731 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
733 ./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
734 if [ x"$(PICFLAG)" != x ]; then \
735 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
737 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
739 ./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
740 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
741 if [ x"$(PICFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
744 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
746 ./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
747 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
748 if [ x"$(PICFLAG)" != x ]; then \
749 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
751 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
753 ./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
754 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
755 $(INCDIR)/safe-ctype.h
756 if [ x"$(PICFLAG)" != x ]; then \
757 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
759 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
761 ./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
762 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
766 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
768 ./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
769 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
770 if [ x"$(PICFLAG)" != x ]; then \
771 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
773 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
775 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
776 $(INCDIR)/libiberty.h
777 if [ x"$(PICFLAG)" != x ]; then \
778 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
780 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
782 ./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
786 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
788 ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
789 if [ x"$(PICFLAG)" != x ]; then \
790 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
792 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
794 ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
796 if [ x"$(PICFLAG)" != x ]; then \
797 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
799 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
801 ./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
805 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
807 ./rindex.o: $(srcdir)/rindex.c
808 if [ x"$(PICFLAG)" != x ]; then \
809 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
811 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
813 ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
814 $(INCDIR)/safe-ctype.h
815 if [ x"$(PICFLAG)" != x ]; then \
816 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
818 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
820 ./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
821 if [ x"$(PICFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
824 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
826 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
827 if [ x"$(PICFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
830 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
832 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
833 if [ x"$(PICFLAG)" != x ]; then \
834 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
836 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
838 ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
840 if [ x"$(PICFLAG)" != x ]; then \
841 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
843 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
845 ./spaces.o: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
846 if [ x"$(PICFLAG)" != x ]; then \
847 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
849 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
851 ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
852 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
853 if [ x"$(PICFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
856 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
858 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
859 if [ x"$(PICFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
862 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
864 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
865 if [ x"$(PICFLAG)" != x ]; then \
866 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
868 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
870 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
871 if [ x"$(PICFLAG)" != x ]; then \
872 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
874 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
876 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
877 if [ x"$(PICFLAG)" != x ]; then \
878 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
880 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
882 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
883 if [ x"$(PICFLAG)" != x ]; then \
884 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
886 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
888 ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
889 $(INCDIR)/libiberty.h
890 if [ x"$(PICFLAG)" != x ]; then \
891 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
893 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
895 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
896 if [ x"$(PICFLAG)" != x ]; then \
897 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
899 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
901 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
902 if [ x"$(PICFLAG)" != x ]; then \
903 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
905 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
907 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
908 if [ x"$(PICFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
911 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
913 ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
914 $(INCDIR)/libiberty.h
915 if [ x"$(PICFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
918 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
920 ./strstr.o: $(srcdir)/strstr.c
921 if [ x"$(PICFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
924 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
926 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
927 if [ x"$(PICFLAG)" != x ]; then \
928 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
930 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
932 ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
933 if [ x"$(PICFLAG)" != x ]; then \
934 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
936 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
938 ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
939 $(INCDIR)/safe-ctype.h
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
943 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
945 ./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
946 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \
950 $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION)
952 ./tmpnam.o: $(srcdir)/tmpnam.c
953 if [ x"$(PICFLAG)" != x ]; then \
954 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
956 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
958 ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h $(INCDIR)/ansidecl.h \
959 $(INCDIR)/libiberty.h
960 if [ x"$(PICFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
963 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
965 ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
966 $(INCDIR)/libiberty.h
967 if [ x"$(PICFLAG)" != x ]; then \
968 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
970 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
972 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
973 if [ x"$(PICFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
976 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
978 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
979 if [ x"$(PICFLAG)" != x ]; then \
980 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
982 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
984 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
985 if [ x"$(PICFLAG)" != x ]; then \
986 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
988 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
990 ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
991 $(INCDIR)/libiberty.h
992 if [ x"$(PICFLAG)" != x ]; then \
993 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
995 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
997 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
998 if [ x"$(PICFLAG)" != x ]; then \
999 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1001 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1003 ./waitpid.o: $(srcdir)/waitpid.c config.h
1004 if [ x"$(PICFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1007 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1009 ./xatexit.o: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1013 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1015 ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1016 if [ x"$(PICFLAG)" != x ]; then \
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1019 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1021 ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1022 $(INCDIR)/libiberty.h
1023 if [ x"$(PICFLAG)" != x ]; then \
1024 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1026 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1028 ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1029 $(INCDIR)/libiberty.h
1030 if [ x"$(PICFLAG)" != x ]; then \
1031 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1033 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1035 ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1036 $(INCDIR)/libiberty.h
1037 if [ x"$(PICFLAG)" != x ]; then \
1038 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1040 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1042 ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1043 $(INCDIR)/libiberty.h
1044 if [ x"$(PICFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1047 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1049 # Don't export variables to the environment, in order to not confuse