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