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