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