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