1# Makefile for the libiberty library.
2# Originally written by K. Richard Pixley <rich@cygnus.com>.
3#
4# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
5# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
6# Free Software Foundation
7#
8# This file is part of the libiberty library.
9# Libiberty is free software; you can redistribute it and/or
10# modify it under the terms of the GNU Library General Public
11# License as published by the Free Software Foundation; either
12# version 2 of the License, or (at your option) any later version.
13#
14# Libiberty is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# Library General Public License for more details.
18#
19# You should have received a copy of the GNU Library General Public
20# License along with libiberty; see the file COPYING.LIB.  If not,
21# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
22# Boston, MA 02110-1301, USA.
23
24libiberty_topdir = @libiberty_topdir@
25srcdir = @srcdir@
26
27prefix = @prefix@
28
29exec_prefix = @exec_prefix@
30bindir = @bindir@
31libdir = @libdir@
32includedir = @includedir@
33target_header_dir = @target_header_dir@
34objext = @OBJEXT@
35
36SHELL = @SHELL@
37
38# Multilib support variables.
39MULTISRCTOP =
40MULTIBUILDTOP =
41MULTIDIRS =
42MULTISUBDIR =
43MULTIDO = true
44MULTICLEAN = true
45
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
49mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
50
51# Some compilers can't handle cc -c blah.c -o foo/blah.o.
52OUTPUT_OPTION = @OUTPUT_OPTION@
53
54AR = @AR@
55AR_FLAGS = rc
56
57CC = @CC@
58CFLAGS = @CFLAGS@
59CPPFLAGS = @CPPFLAGS@
60RANLIB = @RANLIB@
61MAKEINFO = @MAKEINFO@
62PERL = @PERL@
63
64PICFLAG = @PICFLAG@
65
66MAKEOVERRIDES =
67
68TARGETLIB = ./libiberty.a
69TESTLIB = ./testlib.a
70
71LIBOBJS = @LIBOBJS@
72
73# A configuration can specify extra .o files that should be included,
74# even if they are in libc. (Perhaps the libc version is buggy.)
75EXTRA_OFILES =
76
77# Flags to pass to a recursive make.
78FLAGS_TO_PASS = \
79	"AR=$(AR)" \
80	"AR_FLAGS=$(AR_FLAGS)" \
81	"CC=$(CC)" \
82	"CFLAGS=$(CFLAGS)" \
83	"CPPFLAGS=$(CPPFLAGS)" \
84	"DESTDIR=$(DESTDIR)" \
85	"EXTRA_OFILES=$(EXTRA_OFILES)" \
86	"HDEFINES=$(HDEFINES)" \
87	"INSTALL=$(INSTALL)" \
88	"INSTALL_DATA=$(INSTALL_DATA)" \
89	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
90	"LDFLAGS=$(LDFLAGS)" \
91	"LOADLIBES=$(LOADLIBES)" \
92	"RANLIB=$(RANLIB)" \
93	"SHELL=$(SHELL)" \
94	"prefix=$(prefix)" \
95	"exec_prefix=$(exec_prefix)" \
96	"libdir=$(libdir)" \
97	"libsubdir=$(libsubdir)" \
98	"tooldir=$(tooldir)"
99
100# Subdirectories to recurse into. We need to override this during cleaning
101SUBDIRS = testsuite
102
103# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
104all: stamp-picdir $(TARGETLIB) required-list all-subdir
105	@: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
106
107.PHONY: check installcheck
108check: check-subdir
109installcheck: installcheck-subdir
110
111@host_makefile_frag@
112
113INCDIR=$(srcdir)/$(MULTISRCTOP)../include
114
115COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
116
117# Just to make sure we don't use a built-in rule with VPATH
118.c.$(objext):
119	false
120
121# NOTE: If you add new files to the library, add them to this list
122# (alphabetical), and add them to REQUIRED_OFILES, or
123# CONFIGURED_OFILES and funcs in configure.ac.  Also run "make maint-deps"
124# to build the new rules.
125CFILES = alloca.c argv.c asprintf.c atexit.c				\
126	basename.c bcmp.c bcopy.c bsearch.c bzero.c			\
127	calloc.c choose-temp.c clock.c concat.c cp-demangle.c		\
128	 cp-demint.c cplus-dem.c crc32.c				\
129	dwarfnames.c dyn-string.c					\
130	fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c		\
131	fnmatch.c fopen_unlocked.c					\
132	getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c	\
133         gettimeofday.c                                                 \
134	hashtab.c hex.c							\
135	index.c insque.c						\
136	lbasename.c							\
137	lrealpath.c							\
138	make-relative-prefix.c						\
139	make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c	\
140	 memmove.c mempcpy.c memset.c mkstemps.c			\
141	objalloc.c obstack.c						\
142	partition.c pexecute.c						\
143	 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c			\
144	 pex-unix.c pex-win32.c						\
145         physmem.c putenv.c						\
146	random.c regex.c rename.c rindex.c				\
147	safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c        \
148	 simple-object.c simple-object-coff.c simple-object-elf.c	\
149	 simple-object-mach-o.c simple-object-xcoff.c			\
150         snprintf.c sort.c						\
151	 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c		\
152	 strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c	\
153	 strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c	\
154	 strtoul.c strndup.c strnlen.c strverscmp.c			\
155	timeval-utils.c tmpnam.c					\
156	unlink-if-ordinary.c						\
157	vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c	\
158	waitpid.c							\
159	xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c	\
160	 xstrndup.c
161
162# These are always included in the library.  The first four are listed
163# first and by compile time to optimize parallel builds.
164REQUIRED_OFILES =							\
165	./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
166	./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext)		\
167	./argv.$(objext)						\
168	./choose-temp.$(objext) ./concat.$(objext)			\
169	./cp-demint.$(objext) ./crc32.$(objext)				\
170	./dwarfnames.$(objext) ./dyn-string.$(objext)			\
171	./fdmatch.$(objext) ./fibheap.$(objext)				\
172	./filename_cmp.$(objext) ./floatformat.$(objext)		\
173	./fnmatch.$(objext) ./fopen_unlocked.$(objext)			\
174	./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext)	\
175	./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext)	\
176	./lbasename.$(objext) ./lrealpath.$(objext)			\
177	./make-relative-prefix.$(objext) ./make-temp-file.$(objext)	\
178	./objalloc.$(objext)						\
179	./obstack.$(objext)						\
180	./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext)	\
181	./pex-common.$(objext) ./pex-one.$(objext)			\
182	./@pexecute@.$(objext)						\
183	./safe-ctype.$(objext)						\
184	./simple-object.$(objext) ./simple-object-coff.$(objext)	\
185	./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext)	\
186	./simple-object-xcoff.$(objext)					\
187	./sort.$(objext) ./spaces.$(objext)				\
188	./splay-tree.$(objext) ./stack-limit.$(objext)			\
189	./strerror.$(objext) ./strsignal.$(objext)			\
190	./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext)	\
191	./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext)	\
192	./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext)	\
193	./xstrndup.$(objext)
194
195# These are all the objects that configure may add to the library via
196# $funcs or EXTRA_OFILES.  This list exists here only for "make
197# maint-missing" and "make check".
198CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext)		\
199	./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext)		\
200	./bsearch.$(objext) ./bzero.$(objext)				\
201	./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext)	\
202	./_doprnt.$(objext)						\
203	 ./ffs.$(objext)						\
204	./getcwd.$(objext) ./getpagesize.$(objext)			\
205	 ./gettimeofday.$(objext)					\
206	./index.$(objext) ./insque.$(objext)				\
207	./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) 	\
208	./memmem.$(objext) ./memmove.$(objext)				\
209	 ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext)	\
210	./pex-djgpp.$(objext) ./pex-msdos.$(objext)			\
211	 ./pex-unix.$(objext) ./pex-win32.$(objext)			\
212	 ./putenv.$(objext)						\
213	./random.$(objext) ./rename.$(objext) ./rindex.$(objext)	\
214	./setenv.$(objext) 						\
215	 ./setproctitle.$(objext)					\
216	 ./sigsetmask.$(objext) ./snprintf.$(objext)			\
217	 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext)	\
218	 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext)	\
219	 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext)	\
220	 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext)	\
221	 ./strtol.$(objext) ./strtoul.$(objext) ./strverscmp.$(objext)	\
222	./tmpnam.$(objext)						\
223	./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext)	\
224	 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext)	\
225	./waitpid.$(objext)
226
227# These files are installed if the library has been configured to do so.
228INSTALLED_HEADERS =                                                     \
229	$(INCDIR)/ansidecl.h                                            \
230	$(INCDIR)/demangle.h                                            \
231	$(INCDIR)/dyn-string.h                                          \
232	$(INCDIR)/fibheap.h                                             \
233	$(INCDIR)/floatformat.h                                         \
234	$(INCDIR)/hashtab.h                                             \
235	$(INCDIR)/libiberty.h                                           \
236	$(INCDIR)/objalloc.h                                            \
237	$(INCDIR)/partition.h                                           \
238	$(INCDIR)/safe-ctype.h                                          \
239	$(INCDIR)/sort.h                                                \
240	$(INCDIR)/splay-tree.h \
241	$(INCDIR)/timeval-utils.h
242
243$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
244	-rm -f $(TARGETLIB) pic/$(TARGETLIB)
245	$(AR) $(AR_FLAGS) $(TARGETLIB) \
246	  $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
247	$(RANLIB) $(TARGETLIB)
248	if [ x"$(PICFLAG)" != x ]; then \
249	  cd pic; \
250	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
251	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
252	  $(RANLIB) $(TARGETLIB); \
253	  cd ..; \
254	else true; fi
255
256$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
257	-rm -f $(TESTLIB)
258	$(AR) $(AR_FLAGS) $(TESTLIB) \
259	  $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
260	$(RANLIB) $(TESTLIB)
261
262info: libiberty.info info-subdir
263install-info: install-info-subdir
264clean-info: clean-info-subdir
265dvi: libiberty.dvi dvi-subdir
266
267LIBIBERTY_PDFFILES = libiberty.pdf
268
269pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
270
271.PHONY: install-pdf
272
273pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
274
275install-pdf: $(LIBIBERTY_PDFFILES)
276	@$(NORMAL_INSTALL)
277	test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
278	@list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
279	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
280	  f=$(pdf__strip_dir) \
281	  echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
282	  $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
283	done
284
285# html, install-html targets
286HTMLS = libiberty.html
287
288html: $(HTMLS)
289
290.PHONY: install-html install-html-am
291
292NORMAL_INSTALL = :
293mkdir_p = mkdir -p --
294
295html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
296
297install-html: install-html-am
298
299install-html-am: $(HTMLS)
300	@$(NORMAL_INSTALL)
301	test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
302	@list='$(HTMLS)'; for p in $$list; do \
303	  if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
304	  f=$(html__strip_dir) \
305	  if test -d "$$d$$p"; then \
306	    echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
307	    $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
308	    echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
309	    $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
310	  else \
311	    echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
312	    $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
313	  fi; \
314	done
315
316TEXISRC = \
317	$(srcdir)/libiberty.texi \
318	$(srcdir)/copying-lib.texi \
319	$(srcdir)/obstacks.texi \
320	$(srcdir)/functions.texi
321
322# Additional files that have texi snippets that need to be collected
323# and sorted.  Some are here because the sources are imported from
324# elsewhere.  Others represent headers in ../include.
325TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
326
327libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
328	$(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
329
330libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
331	texi2dvi $(srcdir)/libiberty.texi
332
333libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
334	texi2pdf $(srcdir)/libiberty.texi
335
336libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
337	$(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
338
339@MAINT@$(srcdir)/functions.texi : stamp-functions
340@MAINT@	@true
341
342@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
343@MAINT@@HAVE_PERL@	$(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
344@MAINT@	echo stamp > stamp-functions
345
346INSTALL_DEST = @INSTALL_DEST@
347install: install_to_$(INSTALL_DEST) install-subdir
348install-strip: install
349
350.PHONY: install install-strip
351
352# This is tricky.  Even though CC in the Makefile contains
353# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
354# default multilib, so we have to take CFLAGS into account as well,
355# since it will be passed the multilib flags.
356MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
357install_to_libdir: all
358	${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
359	$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n
360	( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
361	mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)
362	if test -n "${target_header_dir}"; then \
363	  case "${target_header_dir}" in \
364	    /*)    thd=${target_header_dir};; \
365	    *)     thd=${includedir}/${target_header_dir};; \
366	  esac; \
367	  ${mkinstalldirs} $(DESTDIR)$${thd}; \
368	  for h in ${INSTALLED_HEADERS}; do \
369	    ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
370	  done; \
371	fi
372	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
373
374install_to_tooldir: all
375	${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
376	$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
377	( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
378	mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
379	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
380
381# required-list was used when building a shared bfd/opcodes/libiberty
382# library.  I don't know if it used by anything currently.
383required-list: Makefile
384	echo $(REQUIRED_OFILES) > required-list
385
386stamp-picdir:
387	if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
388	  mkdir pic; \
389	else true; fi
390	touch stamp-picdir
391
392.PHONY: all etags tags ls clean stage1 stage2
393
394etags tags: TAGS etags-subdir
395
396TAGS: $(CFILES)
397	etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
398
399# The standalone demangler (c++filt) has been moved to binutils.
400# But make this target work anyway for demangler hacking.
401demangle: $(ALL) $(srcdir)/cp-demangle.c
402	@echo "The standalone demangler, now named c++filt, is now"
403	@echo "a part of binutils."
404	$(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
405	  $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
406
407ls:
408	@echo Makefile $(CFILES)
409
410# Various targets for maintainers.
411
412maint-missing :
413	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
414
415maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
416	@true
417
418maint-undoc : $(srcdir)/functions.texi
419	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
420
421maint-deps :
422	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
423
424# Need to deal with profiled libraries, too.
425
426# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
427# multiple times, hence our explicit recursion with an empty SUBDIRS.
428mostlyclean: mostlyclean-subdir
429	-rm -rf *.$(objext) pic core errs \#* *.E a.out
430	-rm -f errors dummy config.h stamp-*
431	-rm -f $(CONFIG_H) stamp-picdir
432	-rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
433	-rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
434	-rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
435	-rm -f libtexi.stamp
436	@$(MULTICLEAN) multi-clean DO=mostlyclean
437clean: clean-subdir
438	$(MAKE) SUBDIRS="" mostlyclean
439	-rm -f *.a required-list tmpmulti.out
440	-rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
441	@$(MULTICLEAN) multi-clean DO=clean
442distclean: distclean-subdir
443	$(MAKE) SUBDIRS="" clean
444	@$(MULTICLEAN) multi-clean DO=distclean
445	-rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
446	-rm -f config.log
447	-rmdir testsuite 2>/dev/null
448maintainer-clean realclean: maintainer-clean-subdir
449	$(MAKE) SUBDIRS="" distclean
450
451force:
452
453Makefile: $(srcdir)/Makefile.in config.status
454	CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
455
456# Depending on Makefile makes sure that config.status has been re-run
457# if needed.  This prevents problems with parallel builds.
458config.h: stamp-h ; @true
459stamp-h: $(srcdir)/config.in config.status Makefile
460	CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
461
462config.status: $(srcdir)/configure
463	$(SHELL) ./config.status --recheck
464
465AUTOCONF = autoconf
466configure_deps = $(srcdir)/aclocal.m4 \
467	$(srcdir)/../config/acx.m4 \
468	$(srcdir)/../config/no-executables.m4 \
469	$(srcdir)/../config/override.m4 \
470	$(srcdir)/../config/warnings.m4 \
471
472$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
473	cd $(srcdir) && $(AUTOCONF)
474
475# Depending on config.h makes sure that config.status has been re-run
476# if needed.  This prevents problems with parallel builds, in case
477# subdirectories need to run config.status also.
478all-subdir check-subdir installcheck-subdir info-subdir	\
479install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir	\
480etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
481maintainer-clean-subdir: config.h
482	@subdirs='$(SUBDIRS)'; \
483	target=`echo $@ | sed -e 's/-subdir//'`; \
484	for dir in $$subdirs ; do \
485	  cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
486	done
487
488$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
489$(CONFIGURED_OFILES): stamp-picdir
490
491# Don't export variables to the environment, in order to not confuse
492# configure.
493.NOEXPORT:
494
495# The dependencies in the remainder of this file are automatically
496# generated by "make maint-deps".  Manual edits will be lost.
497
498./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
499	$(INCDIR)/safe-ctype.h
500	if [ x"$(PICFLAG)" != x ]; then \
501	  $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
502	else true; fi
503	$(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
504
505./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
506	$(INCDIR)/libiberty.h
507	if [ x"$(PICFLAG)" != x ]; then \
508	  $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
509	else true; fi
510	$(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
511
512./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
513	$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
514	if [ x"$(PICFLAG)" != x ]; then \
515	  $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
516	else true; fi
517	$(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
518
519./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
520	$(INCDIR)/libiberty.h
521	if [ x"$(PICFLAG)" != x ]; then \
522	  $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
523	else true; fi
524	$(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
525
526./atexit.$(objext): $(srcdir)/atexit.c config.h
527	if [ x"$(PICFLAG)" != x ]; then \
528	  $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
529	else true; fi
530	$(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
531
532./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
533	$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
534	if [ x"$(PICFLAG)" != x ]; then \
535	  $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
536	else true; fi
537	$(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
538
539./bcmp.$(objext): $(srcdir)/bcmp.c
540	if [ x"$(PICFLAG)" != x ]; then \
541	  $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
542	else true; fi
543	$(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
544
545./bcopy.$(objext): $(srcdir)/bcopy.c
546	if [ x"$(PICFLAG)" != x ]; then \
547	  $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
548	else true; fi
549	$(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
550
551./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
552	if [ x"$(PICFLAG)" != x ]; then \
553	  $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
554	else true; fi
555	$(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
556
557./bzero.$(objext): $(srcdir)/bzero.c
558	if [ x"$(PICFLAG)" != x ]; then \
559	  $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
560	else true; fi
561	$(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
562
563./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
564	if [ x"$(PICFLAG)" != x ]; then \
565	  $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
566	else true; fi
567	$(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
568
569./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
570	$(INCDIR)/libiberty.h
571	if [ x"$(PICFLAG)" != x ]; then \
572	  $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
573	else true; fi
574	$(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
575
576./clock.$(objext): $(srcdir)/clock.c config.h
577	if [ x"$(PICFLAG)" != x ]; then \
578	  $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
579	else true; fi
580	$(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
581
582./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
583	$(INCDIR)/libiberty.h
584	if [ x"$(PICFLAG)" != x ]; then \
585	  $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
586	else true; fi
587	$(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
588
589./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
590	if [ x"$(PICFLAG)" != x ]; then \
591	  $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
592	else true; fi
593	$(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
594
595./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
596	$(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
597	$(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
598	if [ x"$(PICFLAG)" != x ]; then \
599	  $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
600	else true; fi
601	$(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
602
603./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
604	$(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
605	$(INCDIR)/libiberty.h
606	if [ x"$(PICFLAG)" != x ]; then \
607	  $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
608	else true; fi
609	$(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
610
611./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
612	$(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
613	$(INCDIR)/safe-ctype.h
614	if [ x"$(PICFLAG)" != x ]; then \
615	  $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
616	else true; fi
617	$(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
618
619./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
620	$(INCDIR)/libiberty.h
621	if [ x"$(PICFLAG)" != x ]; then \
622	  $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
623	else true; fi
624	$(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
625
626./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
627	$(INCDIR)/dwarf2.h
628	if [ x"$(PICFLAG)" != x ]; then \
629	  $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
630	else true; fi
631	$(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
632
633./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
634	$(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
635	if [ x"$(PICFLAG)" != x ]; then \
636	  $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
637	else true; fi
638	$(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
639
640./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
641	$(INCDIR)/libiberty.h
642	if [ x"$(PICFLAG)" != x ]; then \
643	  $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
644	else true; fi
645	$(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
646
647./ffs.$(objext): $(srcdir)/ffs.c
648	if [ x"$(PICFLAG)" != x ]; then \
649	  $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
650	else true; fi
651	$(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
652
653./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
654	$(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
655	if [ x"$(PICFLAG)" != x ]; then \
656	  $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
657	else true; fi
658	$(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
659
660./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
661	$(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
662	$(INCDIR)/safe-ctype.h
663	if [ x"$(PICFLAG)" != x ]; then \
664	  $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
665	else true; fi
666	$(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
667
668./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
669	$(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
670	if [ x"$(PICFLAG)" != x ]; then \
671	  $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
672	else true; fi
673	$(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
674
675./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
676	$(INCDIR)/safe-ctype.h
677	if [ x"$(PICFLAG)" != x ]; then \
678	  $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
679	else true; fi
680	$(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
681
682./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
683	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
684	if [ x"$(PICFLAG)" != x ]; then \
685	  $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
686	else true; fi
687	$(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
688
689./getcwd.$(objext): $(srcdir)/getcwd.c config.h
690	if [ x"$(PICFLAG)" != x ]; then \
691	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
692	else true; fi
693	$(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
694
695./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
696	$(INCDIR)/getopt.h
697	if [ x"$(PICFLAG)" != x ]; then \
698	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
699	else true; fi
700	$(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
701
702./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
703	if [ x"$(PICFLAG)" != x ]; then \
704	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
705	else true; fi
706	$(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
707
708./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
709	if [ x"$(PICFLAG)" != x ]; then \
710	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
711	else true; fi
712	$(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
713
714./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
715	$(INCDIR)/libiberty.h
716	if [ x"$(PICFLAG)" != x ]; then \
717	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
718	else true; fi
719	$(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
720
721./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
722	$(INCDIR)/libiberty.h
723	if [ x"$(PICFLAG)" != x ]; then \
724	  $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
725	else true; fi
726	$(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
727
728./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
729	$(INCDIR)/libiberty.h
730	if [ x"$(PICFLAG)" != x ]; then \
731	  $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
732	else true; fi
733	$(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
734
735./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
736	$(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
737	if [ x"$(PICFLAG)" != x ]; then \
738	  $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
739	else true; fi
740	$(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
741
742./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
743	$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
744	if [ x"$(PICFLAG)" != x ]; then \
745	  $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
746	else true; fi
747	$(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
748
749./index.$(objext): $(srcdir)/index.c
750	if [ x"$(PICFLAG)" != x ]; then \
751	  $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
752	else true; fi
753	$(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
754
755./insque.$(objext): $(srcdir)/insque.c
756	if [ x"$(PICFLAG)" != x ]; then \
757	  $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
758	else true; fi
759	$(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
760
761./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
762	$(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
763	$(INCDIR)/safe-ctype.h
764	if [ x"$(PICFLAG)" != x ]; then \
765	  $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
766	else true; fi
767	$(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
768
769./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
770	$(INCDIR)/libiberty.h
771	if [ x"$(PICFLAG)" != x ]; then \
772	  $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
773	else true; fi
774	$(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
775
776./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
777	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
778	if [ x"$(PICFLAG)" != x ]; then \
779	  $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
780	else true; fi
781	$(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
782
783./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
784	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
785	if [ x"$(PICFLAG)" != x ]; then \
786	  $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
787	else true; fi
788	$(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
789
790./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
791	if [ x"$(PICFLAG)" != x ]; then \
792	  $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
793	else true; fi
794	$(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
795
796./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
797	if [ x"$(PICFLAG)" != x ]; then \
798	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
799	else true; fi
800	$(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
801
802./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
803	if [ x"$(PICFLAG)" != x ]; then \
804	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
805	else true; fi
806	$(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
807
808./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
809	if [ x"$(PICFLAG)" != x ]; then \
810	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
811	else true; fi
812	$(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
813
814./memmem.$(objext): $(srcdir)/memmem.c config.h
815	if [ x"$(PICFLAG)" != x ]; then \
816	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
817	else true; fi
818	$(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
819
820./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
821	if [ x"$(PICFLAG)" != x ]; then \
822	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
823	else true; fi
824	$(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
825
826./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
827	if [ x"$(PICFLAG)" != x ]; then \
828	  $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
829	else true; fi
830	$(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
831
832./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
833	if [ x"$(PICFLAG)" != x ]; then \
834	  $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
835	else true; fi
836	$(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
837
838./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
839	if [ x"$(PICFLAG)" != x ]; then \
840	  $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
841	else true; fi
842	$(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
843
844./msdos.$(objext): $(srcdir)/msdos.c
845	if [ x"$(PICFLAG)" != x ]; then \
846	  $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
847	else true; fi
848	$(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
849
850./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
851	$(INCDIR)/objalloc.h
852	if [ x"$(PICFLAG)" != x ]; then \
853	  $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
854	else true; fi
855	$(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
856
857./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
858	if [ x"$(PICFLAG)" != x ]; then \
859	  $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
860	else true; fi
861	$(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
862
863./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
864	$(INCDIR)/libiberty.h $(INCDIR)/partition.h
865	if [ x"$(PICFLAG)" != x ]; then \
866	  $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
867	else true; fi
868	$(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
869
870./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
871	$(INCDIR)/libiberty.h $(srcdir)/pex-common.h
872	if [ x"$(PICFLAG)" != x ]; then \
873	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
874	else true; fi
875	$(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
876
877./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
878	$(INCDIR)/libiberty.h $(srcdir)/pex-common.h
879	if [ x"$(PICFLAG)" != x ]; then \
880	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
881	else true; fi
882	$(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
883
884./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
885	$(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
886	$(INCDIR)/safe-ctype.h
887	if [ x"$(PICFLAG)" != x ]; then \
888	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
889	else true; fi
890	$(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
891
892./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
893	$(INCDIR)/libiberty.h
894	if [ x"$(PICFLAG)" != x ]; then \
895	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
896	else true; fi
897	$(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
898
899./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
900	$(INCDIR)/libiberty.h $(srcdir)/pex-common.h
901	if [ x"$(PICFLAG)" != x ]; then \
902	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
903	else true; fi
904	$(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
905
906./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
907	$(INCDIR)/libiberty.h $(srcdir)/pex-common.h
908	if [ x"$(PICFLAG)" != x ]; then \
909	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
910	else true; fi
911	$(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
912
913./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
914	$(INCDIR)/libiberty.h
915	if [ x"$(PICFLAG)" != x ]; then \
916	  $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
917	else true; fi
918	$(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
919
920./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
921	$(INCDIR)/libiberty.h
922	if [ x"$(PICFLAG)" != x ]; then \
923	  $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
924	else true; fi
925	$(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
926
927./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
928	if [ x"$(PICFLAG)" != x ]; then \
929	  $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
930	else true; fi
931	$(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
932
933./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
934	if [ x"$(PICFLAG)" != x ]; then \
935	  $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
936	else true; fi
937	$(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
938
939./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
940	$(INCDIR)/xregex.h $(INCDIR)/xregex2.h
941	if [ x"$(PICFLAG)" != x ]; then \
942	  $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
943	else true; fi
944	$(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
945
946./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
947	if [ x"$(PICFLAG)" != x ]; then \
948	  $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
949	else true; fi
950	$(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
951
952./rindex.$(objext): $(srcdir)/rindex.c
953	if [ x"$(PICFLAG)" != x ]; then \
954	  $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
955	else true; fi
956	$(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
957
958./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
959	$(INCDIR)/safe-ctype.h
960	if [ x"$(PICFLAG)" != x ]; then \
961	  $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
962	else true; fi
963	$(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
964
965./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
966	if [ x"$(PICFLAG)" != x ]; then \
967	  $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
968	else true; fi
969	$(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
970
971./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
972	if [ x"$(PICFLAG)" != x ]; then \
973	  $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
974	else true; fi
975	$(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
976
977./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
978	if [ x"$(PICFLAG)" != x ]; then \
979	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
980	else true; fi
981	$(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
982
983./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
984	if [ x"$(PICFLAG)" != x ]; then \
985	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
986	else true; fi
987	$(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
988
989./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
990	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
991	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
992	if [ x"$(PICFLAG)" != x ]; then \
993	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
994	else true; fi
995	$(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
996
997./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
998	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
999	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1000	if [ x"$(PICFLAG)" != x ]; then \
1001	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1002	else true; fi
1003	$(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1004
1005./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1006	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1007	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1008	if [ x"$(PICFLAG)" != x ]; then \
1009	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1010	else true; fi
1011	$(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1012
1013./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1014	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1015	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1016	if [ x"$(PICFLAG)" != x ]; then \
1017	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1018	else true; fi
1019	$(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1020
1021./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1022	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1023	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1024	if [ x"$(PICFLAG)" != x ]; then \
1025	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1026	else true; fi
1027	$(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1028
1029./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1030	if [ x"$(PICFLAG)" != x ]; then \
1031	  $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1032	else true; fi
1033	$(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1034
1035./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1036	$(INCDIR)/libiberty.h $(INCDIR)/sort.h
1037	if [ x"$(PICFLAG)" != x ]; then \
1038	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1039	else true; fi
1040	$(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1041
1042./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1043	$(INCDIR)/libiberty.h
1044	if [ x"$(PICFLAG)" != x ]; then \
1045	  $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1046	else true; fi
1047	$(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1048
1049./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1050	$(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1051	if [ x"$(PICFLAG)" != x ]; then \
1052	  $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1053	else true; fi
1054	$(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1055
1056./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1057	if [ x"$(PICFLAG)" != x ]; then \
1058	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1059	else true; fi
1060	$(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1061
1062./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1063	if [ x"$(PICFLAG)" != x ]; then \
1064	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1065	else true; fi
1066	$(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1067
1068./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1069	if [ x"$(PICFLAG)" != x ]; then \
1070	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1071	else true; fi
1072	$(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1073
1074./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1075	if [ x"$(PICFLAG)" != x ]; then \
1076	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1077	else true; fi
1078	$(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1079
1080./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1081	if [ x"$(PICFLAG)" != x ]; then \
1082	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1083	else true; fi
1084	$(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1085
1086./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1087	if [ x"$(PICFLAG)" != x ]; then \
1088	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1089	else true; fi
1090	$(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1091
1092./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1093	$(INCDIR)/libiberty.h
1094	if [ x"$(PICFLAG)" != x ]; then \
1095	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1096	else true; fi
1097	$(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1098
1099./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1100	if [ x"$(PICFLAG)" != x ]; then \
1101	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1102	else true; fi
1103	$(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1104
1105./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1106	if [ x"$(PICFLAG)" != x ]; then \
1107	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1108	else true; fi
1109	$(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1110
1111./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1112	if [ x"$(PICFLAG)" != x ]; then \
1113	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1114	else true; fi
1115	$(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1116
1117./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1118	if [ x"$(PICFLAG)" != x ]; then \
1119	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1120	else true; fi
1121	$(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1122
1123./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1124	if [ x"$(PICFLAG)" != x ]; then \
1125	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1126	else true; fi
1127	$(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1128
1129./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1130	$(INCDIR)/libiberty.h
1131	if [ x"$(PICFLAG)" != x ]; then \
1132	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1133	else true; fi
1134	$(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1135
1136./strstr.$(objext): $(srcdir)/strstr.c
1137	if [ x"$(PICFLAG)" != x ]; then \
1138	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1139	else true; fi
1140	$(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1141
1142./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1143	$(INCDIR)/safe-ctype.h
1144	if [ x"$(PICFLAG)" != x ]; then \
1145	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1146	else true; fi
1147	$(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1148
1149./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1150	if [ x"$(PICFLAG)" != x ]; then \
1151	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1152	else true; fi
1153	$(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1154
1155./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1156	$(INCDIR)/safe-ctype.h
1157	if [ x"$(PICFLAG)" != x ]; then \
1158	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1159	else true; fi
1160	$(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1161
1162./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1163	$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1164	if [ x"$(PICFLAG)" != x ]; then \
1165	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1166	else true; fi
1167	$(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1168
1169./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1170	$(INCDIR)/timeval-utils.h
1171	if [ x"$(PICFLAG)" != x ]; then \
1172	  $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1173	else true; fi
1174	$(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1175
1176./tmpnam.$(objext): $(srcdir)/tmpnam.c
1177	if [ x"$(PICFLAG)" != x ]; then \
1178	  $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1179	else true; fi
1180	$(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1181
1182./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1183	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1184	if [ x"$(PICFLAG)" != x ]; then \
1185	  $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1186	else true; fi
1187	$(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1188
1189./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1190	$(INCDIR)/libiberty.h
1191	if [ x"$(PICFLAG)" != x ]; then \
1192	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1193	else true; fi
1194	$(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1195
1196./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1197	if [ x"$(PICFLAG)" != x ]; then \
1198	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1199	else true; fi
1200	$(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1201
1202./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1203	if [ x"$(PICFLAG)" != x ]; then \
1204	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1205	else true; fi
1206	$(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1207
1208./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1209	if [ x"$(PICFLAG)" != x ]; then \
1210	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1211	else true; fi
1212	$(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1213
1214./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1215	$(INCDIR)/libiberty.h
1216	if [ x"$(PICFLAG)" != x ]; then \
1217	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1218	else true; fi
1219	$(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1220
1221./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1222	if [ x"$(PICFLAG)" != x ]; then \
1223	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1224	else true; fi
1225	$(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1226
1227./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1228	if [ x"$(PICFLAG)" != x ]; then \
1229	  $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1230	else true; fi
1231	$(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1232
1233./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1234	$(INCDIR)/libiberty.h
1235	if [ x"$(PICFLAG)" != x ]; then \
1236	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1237	else true; fi
1238	$(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1239
1240./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1241	$(INCDIR)/libiberty.h
1242	if [ x"$(PICFLAG)" != x ]; then \
1243	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1244	else true; fi
1245	$(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1246
1247./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1248	$(INCDIR)/libiberty.h
1249	if [ x"$(PICFLAG)" != x ]; then \
1250	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1251	else true; fi
1252	$(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1253
1254./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1255	$(INCDIR)/libiberty.h
1256	if [ x"$(PICFLAG)" != x ]; then \
1257	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1258	else true; fi
1259	$(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1260
1261./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1262	$(INCDIR)/libiberty.h
1263	if [ x"$(PICFLAG)" != x ]; then \
1264	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1265	else true; fi
1266	$(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1267
1268./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1269	$(INCDIR)/libiberty.h
1270	if [ x"$(PICFLAG)" != x ]; then \
1271	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1272	else true; fi
1273	$(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1274
1275./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1276	$(INCDIR)/libiberty.h
1277	if [ x"$(PICFLAG)" != x ]; then \
1278	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1279	else true; fi
1280	$(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1281
1282