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