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