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