merge from gcc
[binutils.git] / libiberty / Makefile.in
blob3a2b20bff3beff5ec505d8c7a259566cb34a6c5f
2 # Makefile
3 # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004
4 # Free Software Foundation
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.
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.
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.
23 # This file was written by K. Richard Pixley <rich@cygnus.com>.
26 # Makefile for libiberty directory
29 libiberty_topdir = @libiberty_topdir@
30 srcdir = @srcdir@
32 prefix = @prefix@
34 exec_prefix = @exec_prefix@
35 bindir = @bindir@
36 libdir = @libdir@
37 includedir = @includedir@
38 target_header_dir = @target_header_dir@
40 SHELL = @SHELL@
42 # Multilib support variables.
43 MULTISRCTOP =
44 MULTIBUILDTOP =
45 MULTIDIRS =
46 MULTISUBDIR =
47 MULTIDO = true
48 MULTICLEAN = true
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
55 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
56 OUTPUT_OPTION = @OUTPUT_OPTION@
58 AR = @AR@
59 AR_FLAGS = rc
61 CC = @CC@
62 CFLAGS = @CFLAGS@
63 LIBCFLAGS = $(CFLAGS)
64 RANLIB = @RANLIB@
65 MAKEINFO = @MAKEINFO@
66 PERL = @PERL@
68 PICFLAG =
70 MAKEOVERRIDES =
72 TARGETLIB = ./libiberty.a
73 TESTLIB = ./testlib.a
75 LIBOBJS = @LIBOBJS@
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.)
79 EXTRA_OFILES =
81 # Flags to pass to a recursive make.
82 FLAGS_TO_PASS = \
83 "AR=$(AR)" \
84 "AR_FLAGS=$(AR_FLAGS)" \
85 "CC=$(CC)" \
86 "CFLAGS=$(CFLAGS)" \
87 "DESTDIR=$(DESTDIR)" \
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)" \
97 "SHELL=$(SHELL)" \
98 "prefix=$(prefix)" \
99 "exec_prefix=$(exec_prefix)" \
100 "libdir=$(libdir)" \
101 "libsubdir=$(libsubdir)" \
102 "tooldir=$(tooldir)"
104 # Subdirectories to recurse into. We need to override this during cleaning
105 SUBDIRS = testsuite
107 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
108 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
109 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
111 .PHONY: check installcheck
112 check: check-subdir
113 installcheck: installcheck-subdir
115 @host_makefile_frag@
117 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
119 COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
121 # Just to make sure we don't use a built-in rule with VPATH
122 .c.o:
123 false
125 # NOTE: If you add new files to the library, add them to this list
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.
129 CFILES = 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 \
132 cp-demint.c cplus-dem.c \
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 \
139 lrealpath.c \
140 make-relative-prefix.c \
141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
142 mempcpy.c memset.c mkstemps.c \
143 objalloc.c obstack.c \
144 partition.c \
145 pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
146 pex-unix.c pex-win32.c \
147 physmem.c putenv.c \
148 random.c regex.c rename.c rindex.c \
149 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
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 \
153 ternary.c tmpnam.c \
154 unlink-if-ordinary.c \
155 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
156 waitpid.c \
157 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
159 # These are always included in the library. The first four are listed
160 # first and by compile time to optimize parallel builds.
161 REQUIRED_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 \
164 ./dyn-string.o \
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 \
173 ./strsignal.o \
174 ./ternary.o \
175 ./unlink-if-ordinary.o \
176 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
177 ./xstrerror.o
179 # These are all the objects that configure may add to the library via
180 # $funcs or EXTRA_OFILES. This list exists here only for "make
181 # maint-missing" and "make check".
182 CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
183 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
184 ./calloc.o ./clock.o ./copysign.o \
185 ./_doprnt.o \
186 ./ffs.o \
187 ./getcwd.o ./getpagesize.o \
188 ./index.o ./insque.o \
189 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
190 ./memset.o ./mkstemps.o \
191 ./pex-djgpp.o ./pex-mpw.o ./pex-msdos.o ./pex-os2.o \
192 ./pex-unix.o ./pex-win32.o \
193 ./putenv.o \
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 \
199 ./tmpnam.o \
200 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
201 ./vsprintf.o \
202 ./waitpid.o
204 # These files are installed if the library has been configured to do so.
205 INSTALLED_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
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; \
227 $(AR) $(AR_FLAGS) $(TARGETLIB) \
228 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
229 $(RANLIB) $(TARGETLIB); \
230 cd ..; \
231 else true; fi
233 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
234 -rm -f $(TESTLIB)
235 $(AR) $(AR_FLAGS) $(TESTLIB) \
236 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
237 $(RANLIB) $(TESTLIB)
239 info: libiberty.info info-subdir
240 install-info: install-info-subdir
241 clean-info: clean-info-subdir
242 dvi: libiberty.dvi dvi-subdir
243 html: libiberty.html
245 TEXISRC = \
246 $(srcdir)/libiberty.texi \
247 $(srcdir)/copying-lib.texi \
248 $(srcdir)/obstacks.texi \
249 $(srcdir)/functions.texi
251 # Additional files that have texi snippets that need to be collected
252 # and sorted. Some are here because the sources are imported from
253 # elsewhere. Others represent headers in ../include.
254 TEXIFILES = fnmatch.txh pexecute.txh
256 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
257 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
259 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
260 texi2dvi $(srcdir)/libiberty.texi
262 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
263 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
265 @MAINT@$(srcdir)/functions.texi : stamp-functions
266 @MAINT@ @true
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
272 INSTALL_DEST = @INSTALL_DEST@
273 install: install_to_$(INSTALL_DEST) install-subdir
275 install_to_libdir: all
276 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
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)
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; \
285 ${mkinstalldirs} $(DESTDIR)$${thd}; \
286 for h in ${INSTALLED_HEADERS}; do \
287 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
288 done; \
290 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
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.
296 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
297 install_to_tooldir: all
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)
302 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
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.
307 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
308 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
309 vfork waitpid bcmp bcopy bzero
310 needed-list: Makefile
311 rm -f needed-list; touch needed-list; \
312 for f in $(NEEDED); do \
313 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
314 case "$$g" in \
315 *$$f*) echo $$g >> needed-list ;; \
316 esac; \
317 done; \
318 done
320 # required-list was used when building a shared bfd/opcodes/libiberty
321 # library. I don't know if it used by anything currently.
322 required-list: Makefile
323 echo $(REQUIRED_OFILES) > required-list
325 stamp-picdir:
326 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
327 mkdir pic; \
328 else true; fi
329 touch stamp-picdir
331 .PHONY: all etags tags ls clean stage1 stage2
333 etags tags: TAGS etags-subdir
335 TAGS: $(CFILES)
336 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
338 # The standalone demangler (c++filt) has been moved to binutils.
339 demangle:
340 @echo "The standalone demangler, now named c++filt, is now"
341 @echo "a part of binutils."
342 @false
345 @echo Makefile $(CFILES)
347 # Various targets for maintainers.
349 maint-missing :
350 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
352 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
353 @true
355 maint-undoc : $(srcdir)/functions.texi
356 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
358 maint-deps :
359 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
361 # Need to deal with profiled libraries, too.
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.
365 mostlyclean: mostlyclean-subdir
366 -rm -rf *.o pic core errs \#* *.E a.out
367 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
368 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
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
373 @$(MULTICLEAN) multi-clean DO=mostlyclean
374 clean: clean-subdir
375 $(MAKE) SUBDIRS="" mostlyclean
376 -rm -f *.a required-list tmpmulti.out
377 -rm -f libiberty.dvi libiberty.info* libiberty.html
378 @$(MULTICLEAN) multi-clean DO=clean
379 distclean: distclean-subdir
380 $(MAKE) SUBDIRS="" clean
381 @$(MULTICLEAN) multi-clean DO=distclean
382 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
383 -rm -f config.log
384 -rmdir testsuite 2>/dev/null
385 maintainer-clean realclean: maintainer-clean-subdir
386 $(MAKE) SUBDIRS="" distclean
388 force:
390 Makefile: $(srcdir)/Makefile.in config.status
391 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
393 # Depending on Makefile makes sure that config.status has been re-run
394 # if needed. This prevents problems with parallel builds.
395 config.h: stamp-h ; @true
396 stamp-h: $(srcdir)/config.in config.status Makefile
397 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
399 config.status: $(srcdir)/configure $(srcdir)/config.table
400 $(SHELL) ./config.status --recheck
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.
405 all-subdir check-subdir installcheck-subdir info-subdir \
406 install-info-subdir clean-info-subdir dvi-subdir install-subdir \
407 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
408 maintainer-clean-subdir: config.h
409 @subdirs='$(SUBDIRS)'; \
410 target=`echo $@ | sed -e 's/-subdir//'`; \
411 for dir in $$subdirs ; do \
412 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
413 done
415 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
416 $(CONFIGURED_OFILES): stamp-picdir
418 # The dependencies in the remainder of this file are automatically
419 # generated by "make maint-deps". Manual edits will be lost.
421 ./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
422 $(INCDIR)/safe-ctype.h
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)
428 ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
429 $(INCDIR)/libiberty.h
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)
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)
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)
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)
453 ./basename.o: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
454 $(INCDIR)/safe-ctype.h
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)
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)
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)
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)
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)
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)
490 ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
491 $(INCDIR)/libiberty.h
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)
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)
503 ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
504 $(INCDIR)/libiberty.h
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)
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)
516 ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
517 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
518 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
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)
524 ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
525 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
526 $(INCDIR)/libiberty.h
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)
532 ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
533 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
534 $(INCDIR)/safe-ctype.h
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)
540 ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
541 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
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)
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)
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)
559 ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
560 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
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)
566 ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
567 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
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)
573 ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
574 $(INCDIR)/safe-ctype.h
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)
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)
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)
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)
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)
604 ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
605 $(INCDIR)/libiberty.h
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)
611 ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
612 $(INCDIR)/libiberty.h
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)
618 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
619 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
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)
625 ./hex.o: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
626 $(INCDIR)/safe-ctype.h
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)
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)
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)
644 ./lbasename.o: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
645 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
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)
651 ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
652 $(INCDIR)/libiberty.h
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)
658 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
659 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
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)
665 ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
666 $(INCDIR)/libiberty.h
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)
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)
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)
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)
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)
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)
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)
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)
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)
720 ./mpw.o: $(srcdir)/mpw.c
721 if [ x"$(PICFLAG)" != x ]; then \
722 $(COMPILE.c) $(PICFLAG) $(srcdir)/mpw.c -o pic/$@; \
723 else true; fi
724 $(COMPILE.c) $(srcdir)/mpw.c $(OUTPUT_OPTION)
726 ./msdos.o: $(srcdir)/msdos.c
727 if [ x"$(PICFLAG)" != x ]; then \
728 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
729 else true; fi
730 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
732 ./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
733 $(INCDIR)/objalloc.h
734 if [ x"$(PICFLAG)" != x ]; then \
735 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
736 else true; fi
737 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
739 ./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
740 if [ x"$(PICFLAG)" != x ]; then \
741 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
742 else true; fi
743 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
745 ./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
746 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
747 if [ x"$(PICFLAG)" != x ]; then \
748 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
749 else true; fi
750 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
752 ./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
753 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
754 if [ x"$(PICFLAG)" != x ]; then \
755 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
756 else true; fi
757 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
759 ./pex-mpw.o: $(srcdir)/pex-mpw.c config.h $(INCDIR)/ansidecl.h \
760 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
761 if [ x"$(PICFLAG)" != x ]; then \
762 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-mpw.c -o pic/$@; \
763 else true; fi
764 $(COMPILE.c) $(srcdir)/pex-mpw.c $(OUTPUT_OPTION)
766 ./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
767 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
768 $(INCDIR)/safe-ctype.h
769 if [ x"$(PICFLAG)" != x ]; then \
770 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
771 else true; fi
772 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
774 ./pex-os2.o: $(srcdir)/pex-os2.c config.h $(INCDIR)/ansidecl.h \
775 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
776 if [ x"$(PICFLAG)" != x ]; then \
777 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-os2.c -o pic/$@; \
778 else true; fi
779 $(COMPILE.c) $(srcdir)/pex-os2.c $(OUTPUT_OPTION)
781 ./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
782 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
785 else true; fi
786 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
788 ./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
789 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
790 if [ x"$(PICFLAG)" != x ]; then \
791 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
792 else true; fi
793 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
795 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
796 $(INCDIR)/libiberty.h
797 if [ x"$(PICFLAG)" != x ]; then \
798 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
799 else true; fi
800 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
802 ./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
803 if [ x"$(PICFLAG)" != x ]; then \
804 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
805 else true; fi
806 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
808 ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
809 if [ x"$(PICFLAG)" != x ]; then \
810 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
811 else true; fi
812 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
814 ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
815 $(INCDIR)/xregex2.h
816 if [ x"$(PICFLAG)" != x ]; then \
817 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
818 else true; fi
819 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
821 ./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
822 if [ x"$(PICFLAG)" != x ]; then \
823 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
824 else true; fi
825 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
827 ./rindex.o: $(srcdir)/rindex.c
828 if [ x"$(PICFLAG)" != x ]; then \
829 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
830 else true; fi
831 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
833 ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
834 $(INCDIR)/safe-ctype.h
835 if [ x"$(PICFLAG)" != x ]; then \
836 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
837 else true; fi
838 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
840 ./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
841 if [ x"$(PICFLAG)" != x ]; then \
842 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
843 else true; fi
844 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
846 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
847 if [ x"$(PICFLAG)" != x ]; then \
848 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
849 else true; fi
850 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
852 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
853 if [ x"$(PICFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
855 else true; fi
856 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
858 ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
859 $(INCDIR)/sort.h
860 if [ x"$(PICFLAG)" != x ]; then \
861 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
862 else true; fi
863 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
865 ./spaces.o: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
866 if [ x"$(PICFLAG)" != x ]; then \
867 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
868 else true; fi
869 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
871 ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
872 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
873 if [ x"$(PICFLAG)" != x ]; then \
874 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
875 else true; fi
876 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
878 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
879 if [ x"$(PICFLAG)" != x ]; then \
880 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
881 else true; fi
882 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
884 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
885 if [ x"$(PICFLAG)" != x ]; then \
886 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
887 else true; fi
888 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
890 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
891 if [ x"$(PICFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
893 else true; fi
894 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
896 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
897 if [ x"$(PICFLAG)" != x ]; then \
898 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
899 else true; fi
900 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
902 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
903 if [ x"$(PICFLAG)" != x ]; then \
904 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
905 else true; fi
906 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
908 ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
909 $(INCDIR)/libiberty.h
910 if [ x"$(PICFLAG)" != x ]; then \
911 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
912 else true; fi
913 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
915 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
916 if [ x"$(PICFLAG)" != x ]; then \
917 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
918 else true; fi
919 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
921 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
922 if [ x"$(PICFLAG)" != x ]; then \
923 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
924 else true; fi
925 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
927 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
928 if [ x"$(PICFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
930 else true; fi
931 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
933 ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
934 $(INCDIR)/libiberty.h
935 if [ x"$(PICFLAG)" != x ]; then \
936 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
937 else true; fi
938 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
940 ./strstr.o: $(srcdir)/strstr.c
941 if [ x"$(PICFLAG)" != x ]; then \
942 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
943 else true; fi
944 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
946 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
949 else true; fi
950 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
952 ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
953 if [ x"$(PICFLAG)" != x ]; then \
954 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
955 else true; fi
956 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
958 ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
959 $(INCDIR)/safe-ctype.h
960 if [ x"$(PICFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
962 else true; fi
963 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
965 ./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
966 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
967 if [ x"$(PICFLAG)" != x ]; then \
968 $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \
969 else true; fi
970 $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION)
972 ./tmpnam.o: $(srcdir)/tmpnam.c
973 if [ x"$(PICFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
975 else true; fi
976 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
978 ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h $(INCDIR)/ansidecl.h \
979 $(INCDIR)/libiberty.h
980 if [ x"$(PICFLAG)" != x ]; then \
981 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
982 else true; fi
983 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
985 ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
986 $(INCDIR)/libiberty.h
987 if [ x"$(PICFLAG)" != x ]; then \
988 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
989 else true; fi
990 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
992 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
993 if [ x"$(PICFLAG)" != x ]; then \
994 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
995 else true; fi
996 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
998 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
999 if [ x"$(PICFLAG)" != x ]; then \
1000 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1001 else true; fi
1002 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1004 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1005 if [ x"$(PICFLAG)" != x ]; then \
1006 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1007 else true; fi
1008 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1010 ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1011 $(INCDIR)/libiberty.h
1012 if [ x"$(PICFLAG)" != x ]; then \
1013 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1014 else true; fi
1015 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1017 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1018 if [ x"$(PICFLAG)" != x ]; then \
1019 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1020 else true; fi
1021 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1023 ./waitpid.o: $(srcdir)/waitpid.c config.h
1024 if [ x"$(PICFLAG)" != x ]; then \
1025 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1026 else true; fi
1027 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1029 ./xatexit.o: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1030 if [ x"$(PICFLAG)" != x ]; then \
1031 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1032 else true; fi
1033 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1035 ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1036 if [ x"$(PICFLAG)" != x ]; then \
1037 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1038 else true; fi
1039 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1041 ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1042 $(INCDIR)/libiberty.h
1043 if [ x"$(PICFLAG)" != x ]; then \
1044 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1045 else true; fi
1046 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1048 ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1049 $(INCDIR)/libiberty.h
1050 if [ x"$(PICFLAG)" != x ]; then \
1051 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1052 else true; fi
1053 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1055 ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1056 $(INCDIR)/libiberty.h
1057 if [ x"$(PICFLAG)" != x ]; then \
1058 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1059 else true; fi
1060 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1062 ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1063 $(INCDIR)/libiberty.h
1064 if [ x"$(PICFLAG)" != x ]; then \
1065 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1066 else true; fi
1067 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1069 # Don't export variables to the environment, in order to not confuse
1070 # configure.
1071 .NOEXPORT: