]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/Makefile.in
Daily bump.
[thirdparty/gcc.git] / libiberty / Makefile.in
CommitLineData
6599da04
JM
1#
2# Makefile
5e777af5 3# Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004
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,
19# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20# Boston, MA 02111-1307, USA.
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 \
135 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
136 hashtab.c hex.c \
137 index.c insque.c \
138 lbasename.c \
4876b2b4 139 lrealpath.c \
42766f8d 140 make-relative-prefix.c \
9ce3f7e5 141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
029bcc09 142 mempcpy.c memset.c mkstemps.c \
9ce3f7e5 143 objalloc.c obstack.c \
55d0e5e0 144 partition.c \
6af8bd50 145 pex-djgpp.c pex-msdos.c \
55d0e5e0 146 pex-unix.c pex-win32.c \
a354191e 147 physmem.c putenv.c \
9ce3f7e5 148 random.c regex.c rename.c rindex.c \
bd3fbc6b 149 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
029bcc09
KG
150 splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \
151 strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c \
152 strstr.c strtod.c strtol.c strtoul.c \
9ce3f7e5 153 ternary.c tmpnam.c \
c363985d 154 unlink-if-ordinary.c \
bd3fbc6b 155 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
9ce3f7e5
DD
156 waitpid.c \
157 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
158
159# These are always included in the library. The first four are listed
160# first and by compile time to optimize parallel builds.
e8190aa2
ILT
161REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
162 ./alloca.o ./argv.o \
163 ./choose-temp.o ./concat.o ./cp-demint.o \
398b3deb 164 ./dyn-string.o \
e8190aa2
ILT
165 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \
166 ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \
167 ./hashtab.o ./hex.o \
168 ./lbasename.o ./lrealpath.o \
169 ./make-relative-prefix.o ./make-temp-file.o \
170 ./objalloc.o ./obstack.o \
171 ./partition.o ./physmem.o @pexecute@ \
172 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
398b3deb
DD
173 ./strsignal.o \
174 ./ternary.o \
c363985d 175 ./unlink-if-ordinary.o \
e8190aa2
ILT
176 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
177 ./xstrerror.o
b548dffb 178
aaa5f039 179# These are all the objects that configure may add to the library via
9ce3f7e5
DD
180# $funcs or EXTRA_OFILES. This list exists here only for "make
181# maint-missing" and "make check".
e8190aa2
ILT
182CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
183 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
184 ./calloc.o ./clock.o ./copysign.o \
398b3deb
DD
185 ./_doprnt.o \
186 ./ffs.o \
e8190aa2 187 ./getcwd.o ./getpagesize.o \
398b3deb 188 ./index.o ./insque.o \
e8190aa2
ILT
189 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
190 ./memset.o ./mkstemps.o \
6af8bd50 191 ./pex-djgpp.o ./pex-msdos.o \
e8190aa2 192 ./pex-unix.o ./pex-win32.o \
398b3deb 193 ./putenv.o \
e8190aa2
ILT
194 ./random.o ./rename.o ./rindex.o \
195 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
196 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
197 ./strncmp.o ./strrchr.o ./strstr.o \
198 ./strtod.o ./strtol.o ./strtoul.o \
398b3deb 199 ./tmpnam.o \
e8190aa2
ILT
200 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
201 ./vsprintf.o \
398b3deb 202 ./waitpid.o
aaa5f039 203
48d7db63
PE
204# These files are installed if the library has been configured to do so.
205INSTALLED_HEADERS = \
206 $(INCDIR)/ansidecl.h \
207 $(INCDIR)/demangle.h \
208 $(INCDIR)/dyn-string.h \
209 $(INCDIR)/fibheap.h \
210 $(INCDIR)/floatformat.h \
211 $(INCDIR)/hashtab.h \
212 $(INCDIR)/libiberty.h \
213 $(INCDIR)/objalloc.h \
214 $(INCDIR)/partition.h \
215 $(INCDIR)/safe-ctype.h \
216 $(INCDIR)/sort.h \
217 $(INCDIR)/splay-tree.h \
218 $(INCDIR)/ternary.h
219
24f2cabb
L
220$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
221 -rm -f $(TARGETLIB) pic/$(TARGETLIB)
222 $(AR) $(AR_FLAGS) $(TARGETLIB) \
223 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
224 $(RANLIB) $(TARGETLIB)
225 if [ x"$(PICFLAG)" != x ]; then \
226 cd pic; \
afb649d5
L
227 $(AR) $(AR_FLAGS) $(TARGETLIB) \
228 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
229 $(RANLIB) $(TARGETLIB); \
230 cd ..; \
231 else true; fi
6599da04 232
24f2cabb
L
233$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
234 -rm -f $(TESTLIB)
235 $(AR) $(AR_FLAGS) $(TESTLIB) \
236 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
237 $(RANLIB) $(TESTLIB)
9ce3f7e5 238
aaa5f039
DD
239info: libiberty.info info-subdir
240install-info: install-info-subdir
241clean-info: clean-info-subdir
242dvi: libiberty.dvi dvi-subdir
243html: libiberty.html
244
245TEXISRC = \
246 $(srcdir)/libiberty.texi \
247 $(srcdir)/copying-lib.texi \
248 $(srcdir)/obstacks.texi \
249 $(srcdir)/functions.texi
250
251# Additional files that have texi snippets that need to be collected
aac04c15
DD
252# and sorted. Some are here because the sources are imported from
253# elsewhere. Others represent headers in ../include.
55d0e5e0 254TEXIFILES = fnmatch.txh pexecute.txh
aaa5f039
DD
255
256libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
257 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
258
259libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
260 texi2dvi $(srcdir)/libiberty.texi
261
262libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
610784f0 263 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
aaa5f039
DD
264
265@MAINT@$(srcdir)/functions.texi : stamp-functions
266@MAINT@ @true
267
268@MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile
269@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
270@MAINT@ echo stamp > stamp-functions
271
3affd5f0 272INSTALL_DEST = @INSTALL_DEST@
7c72138a 273install: install_to_$(INSTALL_DEST) install-subdir
6599da04
JM
274
275install_to_libdir: all
d7082cd7 276 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
112bae77
PB
277 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
278 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
279 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
48d7db63
PE
280 if test -n "${target_header_dir}"; then \
281 case "${target_header_dir}" in \
282 /*) thd=${target_header_dir};; \
283 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
284 esac; \
112bae77 285 ${mkinstalldirs} $(DESTDIR)$${thd}; \
48d7db63 286 for h in ${INSTALLED_HEADERS}; do \
112bae77 287 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
48d7db63
PE
288 done; \
289 fi
6599da04
JM
290 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
291
9f2e0608
AO
292# This is tricky. Even though CC in the Makefile contains
293# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
294# default multilib, so we have to take LIBCFLAGS into account as well,
295# since it will be passed the multilib flags.
296MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
6599da04 297install_to_tooldir: all
9f2e0608
AO
298 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
299 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
300 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
301 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
6599da04
JM
302 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
303
a4494286
JM
304# needed-list is used by libstdc++. NEEDED is the list of functions
305# to include there. Do not add anything LGPL to this list; libstdc++
306# can't use anything encumbering.
307NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
209bbe34 308 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
8f1824d9 309 vfork waitpid bcmp bcopy bzero
3affd5f0 310needed-list: Makefile
a4494286 311 rm -f needed-list; touch needed-list; \
a4494286 312 for f in $(NEEDED); do \
a6541767
JM
313 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
314 case "$$g" in \
315 *$$f*) echo $$g >> needed-list ;; \
316 esac; \
317 done; \
a4494286 318 done
3affd5f0
JL
319
320# required-list was used when building a shared bfd/opcodes/libiberty
321# library. I don't know if it used by anything currently.
6599da04
JM
322required-list: Makefile
323 echo $(REQUIRED_OFILES) > required-list
324
24f2cabb
L
325stamp-picdir:
326 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
327 mkdir pic; \
328 else true; fi
329 touch stamp-picdir
330
3affd5f0 331.PHONY: all etags tags ls clean stage1 stage2
6599da04 332
7c72138a 333etags tags: TAGS etags-subdir
6599da04 334
b548dffb
ZW
335TAGS: $(CFILES)
336 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
6599da04
JM
337
338# The standalone demangler (c++filt) has been moved to binutils.
339demangle:
340 @echo "The standalone demangler, now named c++filt, is now"
341 @echo "a part of binutils."
342 @false
343
344ls:
b548dffb 345 @echo Makefile $(CFILES)
6599da04 346
aaa5f039
DD
347# Various targets for maintainers.
348
349maint-missing :
24f2cabb 350 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039 351
24f2cabb 352maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039
DD
353 @true
354
aac04c15
DD
355maint-undoc : $(srcdir)/functions.texi
356 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
357
9ce3f7e5
DD
358maint-deps :
359 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
360
6599da04
JM
361# Need to deal with profiled libraries, too.
362
2c375143
NS
363# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
364# multiple times, hence our explicit recursion with an empty SUBDIRS.
7c72138a 365mostlyclean: mostlyclean-subdir
24f2cabb 366 -rm -rf *.o pic core errs \#* *.E a.out
5a2eb52b 367 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
24f2cabb 368 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
aaa5f039
DD
369 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
370 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
371 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
372 -rm -f libtexi.stamp
6599da04 373 @$(MULTICLEAN) multi-clean DO=mostlyclean
2c375143
NS
374clean: clean-subdir
375 $(MAKE) SUBDIRS="" mostlyclean
5a2eb52b 376 -rm -f *.a required-list tmpmulti.out
aaa5f039 377 -rm -f libiberty.dvi libiberty.info* libiberty.html
6599da04 378 @$(MULTICLEAN) multi-clean DO=clean
2c375143
NS
379distclean: distclean-subdir
380 $(MAKE) SUBDIRS="" clean
6599da04 381 @$(MULTICLEAN) multi-clean DO=distclean
0046e342 382 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
5a2eb52b 383 -rm -f config.log
b25a8973 384 -rmdir testsuite 2>/dev/null
2c375143
NS
385maintainer-clean realclean: maintainer-clean-subdir
386 $(MAKE) SUBDIRS="" distclean
6599da04
JM
387
388force:
389
3affd5f0
JL
390Makefile: $(srcdir)/Makefile.in config.status
391 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
392
97e620cf
DD
393# Depending on Makefile makes sure that config.status has been re-run
394# if needed. This prevents problems with parallel builds.
3affd5f0 395config.h: stamp-h ; @true
398b3deb
DD
396stamp-h: $(srcdir)/config.in config.status Makefile
397 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
3affd5f0
JL
398
399config.status: $(srcdir)/configure $(srcdir)/config.table
400 $(SHELL) ./config.status --recheck
6599da04 401
97e620cf
DD
402# Depending on config.h makes sure that config.status has been re-run
403# if needed. This prevents problems with parallel builds, in case
404# subdirectories need to run config.status also.
7c72138a
TT
405all-subdir check-subdir installcheck-subdir info-subdir \
406install-info-subdir clean-info-subdir dvi-subdir install-subdir \
407etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
97e620cf 408maintainer-clean-subdir: config.h
3b94497c 409 @subdirs='$(SUBDIRS)'; \
7277f72d 410 target=`echo $@ | sed -e 's/-subdir//'`; \
3b94497c 411 for dir in $$subdirs ; do \
4ce1921a 412 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
2c375143 413 done
7c72138a 414
24f2cabb
L
415$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
416$(CONFIGURED_OFILES): stamp-picdir
417
9ce3f7e5
DD
418# The dependencies in the remainder of this file are automatically
419# generated by "make maint-deps". Manual edits will be lost.
7b195f77 420
24f2cabb 421./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 422 $(INCDIR)/safe-ctype.h
24f2cabb
L
423 if [ x"$(PICFLAG)" != x ]; then \
424 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
425 else true; fi
426 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
398b3deb 427
24f2cabb 428./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
5e777af5 429 $(INCDIR)/libiberty.h
24f2cabb
L
430 if [ x"$(PICFLAG)" != x ]; then \
431 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
432 else true; fi
433 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
398b3deb 434
24f2cabb
L
435./argv.o: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
436 if [ x"$(PICFLAG)" != x ]; then \
437 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
438 else true; fi
439 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
398b3deb 440
24f2cabb
L
441./asprintf.o: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
442 if [ x"$(PICFLAG)" != x ]; then \
443 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
444 else true; fi
445 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
398b3deb 446
24f2cabb
L
447./atexit.o: $(srcdir)/atexit.c config.h
448 if [ x"$(PICFLAG)" != x ]; then \
449 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
450 else true; fi
451 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
398b3deb 452
24f2cabb 453./basename.o: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
398b3deb 454 $(INCDIR)/safe-ctype.h
24f2cabb
L
455 if [ x"$(PICFLAG)" != x ]; then \
456 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
457 else true; fi
458 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
398b3deb 459
24f2cabb
L
460./bcmp.o: $(srcdir)/bcmp.c
461 if [ x"$(PICFLAG)" != x ]; then \
462 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
463 else true; fi
464 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
398b3deb 465
24f2cabb
L
466./bcopy.o: $(srcdir)/bcopy.c
467 if [ x"$(PICFLAG)" != x ]; then \
468 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
469 else true; fi
470 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
398b3deb 471
24f2cabb
L
472./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
473 if [ x"$(PICFLAG)" != x ]; then \
474 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
475 else true; fi
476 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
398b3deb 477
24f2cabb
L
478./bzero.o: $(srcdir)/bzero.c
479 if [ x"$(PICFLAG)" != x ]; then \
480 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
481 else true; fi
482 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
398b3deb 483
24f2cabb
L
484./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
485 if [ x"$(PICFLAG)" != x ]; then \
486 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
487 else true; fi
488 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
398b3deb 489
24f2cabb 490./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 491 $(INCDIR)/libiberty.h
24f2cabb
L
492 if [ x"$(PICFLAG)" != x ]; then \
493 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
494 else true; fi
495 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
398b3deb 496
24f2cabb
L
497./clock.o: $(srcdir)/clock.c config.h
498 if [ x"$(PICFLAG)" != x ]; then \
499 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
500 else true; fi
501 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
398b3deb 502
24f2cabb 503./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 504 $(INCDIR)/libiberty.h
24f2cabb
L
505 if [ x"$(PICFLAG)" != x ]; then \
506 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
507 else true; fi
508 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
398b3deb 509
24f2cabb
L
510./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
511 if [ x"$(PICFLAG)" != x ]; then \
512 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
513 else true; fi
514 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
398b3deb 515
24f2cabb 516./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
517 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
518 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
24f2cabb
L
519 if [ x"$(PICFLAG)" != x ]; then \
520 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
521 else true; fi
522 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
398b3deb 523
24f2cabb 524./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
398b3deb 525 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
9ce3f7e5 526 $(INCDIR)/libiberty.h
24f2cabb
L
527 if [ x"$(PICFLAG)" != x ]; then \
528 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
529 else true; fi
530 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
398b3deb 531
24f2cabb 532./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
533 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
534 $(INCDIR)/safe-ctype.h
24f2cabb
L
535 if [ x"$(PICFLAG)" != x ]; then \
536 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
537 else true; fi
538 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
398b3deb 539
24f2cabb 540./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
398b3deb 541 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
24f2cabb
L
542 if [ x"$(PICFLAG)" != x ]; then \
543 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
544 else true; fi
545 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
398b3deb 546
24f2cabb
L
547./fdmatch.o: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
548 if [ x"$(PICFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
550 else true; fi
551 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
398b3deb 552
24f2cabb
L
553./ffs.o: $(srcdir)/ffs.c
554 if [ x"$(PICFLAG)" != x ]; then \
555 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
556 else true; fi
557 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
398b3deb 558
24f2cabb 559./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
398b3deb 560 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
24f2cabb
L
561 if [ x"$(PICFLAG)" != x ]; then \
562 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
563 else true; fi
564 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
398b3deb 565
24f2cabb 566./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
398b3deb 567 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
24f2cabb
L
568 if [ x"$(PICFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
570 else true; fi
571 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
398b3deb 572
24f2cabb 573./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
398b3deb 574 $(INCDIR)/safe-ctype.h
24f2cabb
L
575 if [ x"$(PICFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
577 else true; fi
578 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
398b3deb 579
24f2cabb
L
580./getcwd.o: $(srcdir)/getcwd.c config.h
581 if [ x"$(PICFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
583 else true; fi
584 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
398b3deb 585
24f2cabb
L
586./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h
587 if [ x"$(PICFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
589 else true; fi
590 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
398b3deb 591
24f2cabb
L
592./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
593 if [ x"$(PICFLAG)" != x ]; then \
594 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
595 else true; fi
596 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
398b3deb 597
24f2cabb
L
598./getpagesize.o: $(srcdir)/getpagesize.c config.h
599 if [ x"$(PICFLAG)" != x ]; then \
600 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
601 else true; fi
602 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
398b3deb 603
24f2cabb 604./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
adf269c7 605 $(INCDIR)/libiberty.h
24f2cabb
L
606 if [ x"$(PICFLAG)" != x ]; then \
607 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
608 else true; fi
609 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
398b3deb 610
24f2cabb 611./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 612 $(INCDIR)/libiberty.h
24f2cabb
L
613 if [ x"$(PICFLAG)" != x ]; then \
614 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
615 else true; fi
616 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
398b3deb 617
24f2cabb 618./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
398b3deb 619 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
24f2cabb
L
620 if [ x"$(PICFLAG)" != x ]; then \
621 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
622 else true; fi
623 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
398b3deb 624
24f2cabb 625./hex.o: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
21299dbd 626 $(INCDIR)/safe-ctype.h
24f2cabb
L
627 if [ x"$(PICFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
629 else true; fi
630 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
398b3deb 631
24f2cabb
L
632./index.o: $(srcdir)/index.c
633 if [ x"$(PICFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
635 else true; fi
636 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
398b3deb 637
24f2cabb
L
638./insque.o: $(srcdir)/insque.c
639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
641 else true; fi
642 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
398b3deb 643
24f2cabb 644./lbasename.o: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
5e777af5 645 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
646 if [ x"$(PICFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
648 else true; fi
649 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
398b3deb 650
24f2cabb 651./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
398b3deb 652 $(INCDIR)/libiberty.h
24f2cabb
L
653 if [ x"$(PICFLAG)" != x ]; then \
654 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
655 else true; fi
656 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
398b3deb 657
24f2cabb 658./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
398b3deb 659 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
24f2cabb
L
660 if [ x"$(PICFLAG)" != x ]; then \
661 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
662 else true; fi
663 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
398b3deb 664
24f2cabb 665./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
c9ac9147 666 $(INCDIR)/libiberty.h
24f2cabb
L
667 if [ x"$(PICFLAG)" != x ]; then \
668 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
669 else true; fi
670 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
398b3deb 671
24f2cabb
L
672./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
673 if [ x"$(PICFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
675 else true; fi
676 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
398b3deb 677
24f2cabb
L
678./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
679 if [ x"$(PICFLAG)" != x ]; then \
680 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
681 else true; fi
682 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
398b3deb 683
24f2cabb
L
684./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
685 if [ x"$(PICFLAG)" != x ]; then \
686 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
687 else true; fi
688 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
398b3deb 689
24f2cabb
L
690./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
691 if [ x"$(PICFLAG)" != x ]; then \
692 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
693 else true; fi
694 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
398b3deb 695
24f2cabb
L
696./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
697 if [ x"$(PICFLAG)" != x ]; then \
698 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
699 else true; fi
700 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
398b3deb 701
24f2cabb
L
702./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
703 if [ x"$(PICFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
705 else true; fi
706 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
398b3deb 707
24f2cabb
L
708./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
709 if [ x"$(PICFLAG)" != x ]; then \
710 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
711 else true; fi
712 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
398b3deb 713
24f2cabb
L
714./mkstemps.o: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
715 if [ x"$(PICFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
717 else true; fi
718 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
398b3deb 719
24f2cabb
L
720./msdos.o: $(srcdir)/msdos.c
721 if [ x"$(PICFLAG)" != x ]; then \
722 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
723 else true; fi
724 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
398b3deb 725
24f2cabb 726./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 727 $(INCDIR)/objalloc.h
24f2cabb
L
728 if [ x"$(PICFLAG)" != x ]; then \
729 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
730 else true; fi
731 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
398b3deb 732
24f2cabb
L
733./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
734 if [ x"$(PICFLAG)" != x ]; then \
735 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
736 else true; fi
737 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
398b3deb 738
24f2cabb 739./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
398b3deb 740 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
24f2cabb
L
741 if [ x"$(PICFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
743 else true; fi
744 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
398b3deb 745
24f2cabb 746./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 747 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
748 if [ x"$(PICFLAG)" != x ]; then \
749 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
750 else true; fi
751 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
398b3deb 752
24f2cabb 753./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
754 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
755 $(INCDIR)/safe-ctype.h
24f2cabb
L
756 if [ x"$(PICFLAG)" != x ]; then \
757 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
758 else true; fi
759 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
398b3deb 760
24f2cabb 761./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
398b3deb 762 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
765 else true; fi
766 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
398b3deb 767
24f2cabb 768./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
398b3deb 769 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
770 if [ x"$(PICFLAG)" != x ]; then \
771 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
772 else true; fi
773 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
398b3deb 774
24f2cabb 775./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
398b3deb 776 $(INCDIR)/libiberty.h
24f2cabb
L
777 if [ x"$(PICFLAG)" != x ]; then \
778 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
779 else true; fi
780 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
398b3deb 781
24f2cabb
L
782./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
785 else true; fi
786 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
398b3deb 787
24f2cabb
L
788./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
789 if [ x"$(PICFLAG)" != x ]; then \
790 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
791 else true; fi
792 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
398b3deb 793
24f2cabb 794./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
e8190aa2 795 $(INCDIR)/xregex2.h
24f2cabb
L
796 if [ x"$(PICFLAG)" != x ]; then \
797 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
798 else true; fi
799 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
398b3deb 800
24f2cabb
L
801./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
804 else true; fi
805 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
398b3deb 806
24f2cabb
L
807./rindex.o: $(srcdir)/rindex.c
808 if [ x"$(PICFLAG)" != x ]; then \
809 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
810 else true; fi
811 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
398b3deb 812
24f2cabb 813./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
398b3deb 814 $(INCDIR)/safe-ctype.h
24f2cabb
L
815 if [ x"$(PICFLAG)" != x ]; then \
816 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
817 else true; fi
818 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
398b3deb 819
24f2cabb
L
820./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
821 if [ x"$(PICFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
823 else true; fi
824 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
398b3deb 825
24f2cabb
L
826./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
827 if [ x"$(PICFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
829 else true; fi
830 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
398b3deb 831
24f2cabb
L
832./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
833 if [ x"$(PICFLAG)" != x ]; then \
834 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
835 else true; fi
836 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
398b3deb 837
24f2cabb 838./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
9ce3f7e5 839 $(INCDIR)/sort.h
24f2cabb
L
840 if [ x"$(PICFLAG)" != x ]; then \
841 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
842 else true; fi
843 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
398b3deb 844
24f2cabb
L
845./spaces.o: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
846 if [ x"$(PICFLAG)" != x ]; then \
847 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
848 else true; fi
849 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
398b3deb 850
24f2cabb 851./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
398b3deb 852 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
24f2cabb
L
853 if [ x"$(PICFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
855 else true; fi
856 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
398b3deb 857
24f2cabb
L
858./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
859 if [ x"$(PICFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
861 else true; fi
862 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
398b3deb 863
24f2cabb
L
864./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
865 if [ x"$(PICFLAG)" != x ]; then \
866 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
867 else true; fi
868 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
398b3deb 869
24f2cabb
L
870./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
871 if [ x"$(PICFLAG)" != x ]; then \
872 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
873 else true; fi
874 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
398b3deb 875
24f2cabb
L
876./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
877 if [ x"$(PICFLAG)" != x ]; then \
878 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
879 else true; fi
880 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
398b3deb 881
24f2cabb
L
882./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
883 if [ x"$(PICFLAG)" != x ]; then \
884 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
885 else true; fi
886 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
398b3deb 887
24f2cabb 888./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 889 $(INCDIR)/libiberty.h
24f2cabb
L
890 if [ x"$(PICFLAG)" != x ]; then \
891 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
892 else true; fi
893 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
398b3deb 894
24f2cabb
L
895./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
896 if [ x"$(PICFLAG)" != x ]; then \
897 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
898 else true; fi
899 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
398b3deb 900
24f2cabb
L
901./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
902 if [ x"$(PICFLAG)" != x ]; then \
903 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
904 else true; fi
905 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
398b3deb 906
24f2cabb
L
907./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
908 if [ x"$(PICFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
910 else true; fi
911 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
398b3deb 912
24f2cabb 913./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
398b3deb 914 $(INCDIR)/libiberty.h
24f2cabb
L
915 if [ x"$(PICFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
917 else true; fi
918 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
398b3deb 919
24f2cabb
L
920./strstr.o: $(srcdir)/strstr.c
921 if [ x"$(PICFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
923 else true; fi
924 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
398b3deb 925
24f2cabb
L
926./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
927 if [ x"$(PICFLAG)" != x ]; then \
928 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
929 else true; fi
930 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
398b3deb 931
24f2cabb
L
932./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
933 if [ x"$(PICFLAG)" != x ]; then \
934 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
935 else true; fi
936 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
398b3deb 937
24f2cabb 938./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
398b3deb 939 $(INCDIR)/safe-ctype.h
24f2cabb
L
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
942 else true; fi
943 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
398b3deb 944
24f2cabb 945./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
398b3deb 946 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
24f2cabb
L
947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \
949 else true; fi
950 $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION)
398b3deb 951
24f2cabb
L
952./tmpnam.o: $(srcdir)/tmpnam.c
953 if [ x"$(PICFLAG)" != x ]; then \
954 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
955 else true; fi
956 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
398b3deb 957
c363985d
JB
958./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h $(INCDIR)/ansidecl.h \
959 $(INCDIR)/libiberty.h
960 if [ x"$(PICFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
962 else true; fi
963 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
964
24f2cabb 965./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
398b3deb 966 $(INCDIR)/libiberty.h
24f2cabb
L
967 if [ x"$(PICFLAG)" != x ]; then \
968 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
969 else true; fi
970 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
398b3deb 971
24f2cabb
L
972./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
973 if [ x"$(PICFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
975 else true; fi
976 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
398b3deb 977
24f2cabb
L
978./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
979 if [ x"$(PICFLAG)" != x ]; then \
980 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
981 else true; fi
982 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
398b3deb 983
24f2cabb
L
984./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
985 if [ x"$(PICFLAG)" != x ]; then \
986 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
987 else true; fi
988 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
398b3deb 989
24f2cabb 990./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
398b3deb 991 $(INCDIR)/libiberty.h
24f2cabb
L
992 if [ x"$(PICFLAG)" != x ]; then \
993 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
994 else true; fi
995 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
398b3deb 996
24f2cabb
L
997./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
998 if [ x"$(PICFLAG)" != x ]; then \
999 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1000 else true; fi
1001 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
398b3deb 1002
24f2cabb
L
1003./waitpid.o: $(srcdir)/waitpid.c config.h
1004 if [ x"$(PICFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1006 else true; fi
1007 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
398b3deb 1008
24f2cabb
L
1009./xatexit.o: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1012 else true; fi
1013 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
398b3deb 1014
24f2cabb
L
1015./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1016 if [ x"$(PICFLAG)" != x ]; then \
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1018 else true; fi
1019 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
398b3deb 1020
24f2cabb 1021./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1022 $(INCDIR)/libiberty.h
24f2cabb
L
1023 if [ x"$(PICFLAG)" != x ]; then \
1024 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1025 else true; fi
1026 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
398b3deb 1027
24f2cabb 1028./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1029 $(INCDIR)/libiberty.h
24f2cabb
L
1030 if [ x"$(PICFLAG)" != x ]; then \
1031 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1032 else true; fi
1033 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
398b3deb 1034
24f2cabb 1035./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1036 $(INCDIR)/libiberty.h
24f2cabb
L
1037 if [ x"$(PICFLAG)" != x ]; then \
1038 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1039 else true; fi
1040 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
398b3deb 1041
24f2cabb 1042./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1043 $(INCDIR)/libiberty.h
24f2cabb
L
1044 if [ x"$(PICFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1046 else true; fi
1047 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
398b3deb 1048
24f2cabb
L
1049# Don't export variables to the environment, in order to not confuse
1050# configure.
1051.NOEXPORT: