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