* Makefile.tpl (build_alias, host_alias, target_alias): Use
[binutils.git] / libiberty / Makefile.in
blob6e02403f46f9d3fbf8ddb57b8fc2124697b40698
2 # Makefile
3 # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004, 2005, 2006
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., 51 Franklin Street - Fifth Floor,
20 # Boston, MA 02110-1301, 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 fopen_unlocked.c \
136 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
137 gettimeofday.c \
138 hashtab.c hex.c \
139 index.c insque.c \
140 lbasename.c \
141 lrealpath.c \
142 make-relative-prefix.c \
143 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
144 mempcpy.c memset.c mkstemps.c \
145 objalloc.c obstack.c \
146 partition.c pexecute.c \
147 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
148 pex-unix.c pex-win32.c \
149 physmem.c putenv.c \
150 random.c regex.c rename.c rindex.c \
151 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
152 splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \
153 strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c \
154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
155 ternary.c tmpnam.c \
156 unlink-if-ordinary.c \
157 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
158 waitpid.c \
159 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
160 xstrndup.c
162 # These are always included in the library. The first four are listed
163 # first and by compile time to optimize parallel builds.
164 REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
165 ./alloca.o ./argv.o \
166 ./choose-temp.o ./concat.o ./cp-demint.o \
167 ./dyn-string.o \
168 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \
169 ./fopen_unlocked.o \
170 ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \
171 ./hashtab.o ./hex.o \
172 ./lbasename.o ./lrealpath.o \
173 ./make-relative-prefix.o ./make-temp-file.o \
174 ./objalloc.o ./obstack.o \
175 ./partition.o ./pexecute.o ./physmem.o \
176 ./pex-common.o ./pex-one.o @pexecute@ \
177 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
178 ./strsignal.o \
179 ./ternary.o \
180 ./unlink-if-ordinary.o \
181 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
182 ./xstrerror.o ./xstrndup.o
184 # These are all the objects that configure may add to the library via
185 # $funcs or EXTRA_OFILES. This list exists here only for "make
186 # maint-missing" and "make check".
187 CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
188 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
189 ./calloc.o ./clock.o ./copysign.o \
190 ./_doprnt.o \
191 ./ffs.o \
192 ./getcwd.o ./getpagesize.o ./gettimeofday.o \
193 ./index.o ./insque.o \
194 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
195 ./memset.o ./mkstemps.o \
196 ./pex-djgpp.o ./pex-msdos.o \
197 ./pex-unix.o ./pex-win32.o \
198 ./putenv.o \
199 ./random.o ./rename.o ./rindex.o \
200 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
201 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
203 ./strtod.o ./strtol.o ./strtoul.o ./strverscmp.o \
204 ./tmpnam.o \
205 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
206 ./vsprintf.o \
207 ./waitpid.o
209 # These files are installed if the library has been configured to do so.
210 INSTALLED_HEADERS = \
211 $(INCDIR)/ansidecl.h \
212 $(INCDIR)/demangle.h \
213 $(INCDIR)/dyn-string.h \
214 $(INCDIR)/fibheap.h \
215 $(INCDIR)/floatformat.h \
216 $(INCDIR)/hashtab.h \
217 $(INCDIR)/libiberty.h \
218 $(INCDIR)/objalloc.h \
219 $(INCDIR)/partition.h \
220 $(INCDIR)/safe-ctype.h \
221 $(INCDIR)/sort.h \
222 $(INCDIR)/splay-tree.h \
223 $(INCDIR)/ternary.h
225 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
226 -rm -f $(TARGETLIB) pic/$(TARGETLIB)
227 $(AR) $(AR_FLAGS) $(TARGETLIB) \
228 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
229 $(RANLIB) $(TARGETLIB)
230 if [ x"$(PICFLAG)" != x ]; then \
231 cd pic; \
232 $(AR) $(AR_FLAGS) $(TARGETLIB) \
233 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
234 $(RANLIB) $(TARGETLIB); \
235 cd ..; \
236 else true; fi
238 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
239 -rm -f $(TESTLIB)
240 $(AR) $(AR_FLAGS) $(TESTLIB) \
241 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
242 $(RANLIB) $(TESTLIB)
244 info: libiberty.info info-subdir
245 install-info: install-info-subdir
246 clean-info: clean-info-subdir
247 dvi: libiberty.dvi dvi-subdir
248 pdf: libiberty.pdf pdf-subdir
250 # html, install-html targets
251 HTMLS = libiberty.html
253 html: $(HTMLS)
255 .PHONY: install-html install-html-am install-html-recursive
257 NORMAL_INSTALL = :
258 mkdir_p = mkdir -p --
260 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
262 install-html: install-html-recursive install-html-am
264 install-html-am: $(HTMLS)
265 @$(NORMAL_INSTALL)
266 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
267 @list='$(HTMLS)'; for p in $$list; do \
268 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
269 f=$(html__strip_dir) \
270 if test -d "$$d$$p"; then \
271 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
272 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
273 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
274 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
275 else \
276 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
277 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
278 fi; \
279 done
281 install-html-recursive:
282 @failcom='exit 1'; \
283 for f in x $$MAKEFLAGS; do \
284 case $$f in \
285 *=* | --[!k]*);; \
286 *k*) failcom='fail=yes';; \
287 esac; \
288 done; \
289 dot_seen=no; \
290 target=`echo $@ | sed s/-recursive//`; \
291 list='$(SUBDIRS)'; for subdir in $$list; do \
292 echo "Making $$target in $$subdir"; \
293 if test "$$subdir" = "."; then \
294 dot_seen=yes; \
295 local_target="$$target-am"; \
296 else \
297 local_target="$$target"; \
298 fi; \
299 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
300 || eval $$failcom; \
301 done; \
302 if test "$$dot_seen" = "no"; then \
303 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
304 fi; test -z "$$fail"
306 TEXISRC = \
307 $(srcdir)/libiberty.texi \
308 $(srcdir)/copying-lib.texi \
309 $(srcdir)/obstacks.texi \
310 $(srcdir)/functions.texi
312 # Additional files that have texi snippets that need to be collected
313 # and sorted. Some are here because the sources are imported from
314 # elsewhere. Others represent headers in ../include.
315 TEXIFILES = fnmatch.txh pexecute.txh
317 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
318 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
320 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
321 texi2dvi $(srcdir)/libiberty.texi
323 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
324 texi2pdf $(srcdir)/libiberty.texi
326 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
327 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
329 @MAINT@$(srcdir)/functions.texi : stamp-functions
330 @MAINT@ @true
332 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
333 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
334 @MAINT@ echo stamp > stamp-functions
336 INSTALL_DEST = @INSTALL_DEST@
337 install: install_to_$(INSTALL_DEST) install-subdir
339 install_to_libdir: all
340 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
341 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
342 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
343 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
344 if test -n "${target_header_dir}"; then \
345 case "${target_header_dir}" in \
346 /*) thd=${target_header_dir};; \
347 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
348 esac; \
349 ${mkinstalldirs} $(DESTDIR)$${thd}; \
350 for h in ${INSTALLED_HEADERS}; do \
351 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
352 done; \
354 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
356 # This is tricky. Even though CC in the Makefile contains
357 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
358 # default multilib, so we have to take LIBCFLAGS into account as well,
359 # since it will be passed the multilib flags.
360 MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
361 install_to_tooldir: all
362 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
363 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
364 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
365 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
366 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
368 # needed-list is used by libstdc++. NEEDED is the list of functions
369 # to include there. Do not add anything LGPL to this list; libstdc++
370 # can't use anything encumbering.
371 NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
372 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
373 vfork waitpid bcmp bcopy bzero
374 needed-list: Makefile
375 rm -f needed-list; touch needed-list; \
376 for f in $(NEEDED); do \
377 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
378 case "$$g" in \
379 *$$f*) echo $$g >> needed-list ;; \
380 esac; \
381 done; \
382 done
384 # required-list was used when building a shared bfd/opcodes/libiberty
385 # library. I don't know if it used by anything currently.
386 required-list: Makefile
387 echo $(REQUIRED_OFILES) > required-list
389 stamp-picdir:
390 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
391 mkdir pic; \
392 else true; fi
393 touch stamp-picdir
395 .PHONY: all etags tags ls clean stage1 stage2
397 etags tags: TAGS etags-subdir
399 TAGS: $(CFILES)
400 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
402 # The standalone demangler (c++filt) has been moved to binutils.
403 demangle:
404 @echo "The standalone demangler, now named c++filt, is now"
405 @echo "a part of binutils."
406 @false
409 @echo Makefile $(CFILES)
411 # Various targets for maintainers.
413 maint-missing :
414 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
416 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
417 @true
419 maint-undoc : $(srcdir)/functions.texi
420 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
422 maint-deps :
423 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
425 # Need to deal with profiled libraries, too.
427 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
428 # multiple times, hence our explicit recursion with an empty SUBDIRS.
429 mostlyclean: mostlyclean-subdir
430 -rm -rf *.o pic core errs \#* *.E a.out
431 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
432 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
433 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
434 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
435 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
436 -rm -f libtexi.stamp
437 @$(MULTICLEAN) multi-clean DO=mostlyclean
438 clean: clean-subdir
439 $(MAKE) SUBDIRS="" mostlyclean
440 -rm -f *.a required-list tmpmulti.out
441 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
442 @$(MULTICLEAN) multi-clean DO=clean
443 distclean: distclean-subdir
444 $(MAKE) SUBDIRS="" clean
445 @$(MULTICLEAN) multi-clean DO=distclean
446 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
447 -rm -f config.log
448 -rmdir testsuite 2>/dev/null
449 maintainer-clean realclean: maintainer-clean-subdir
450 $(MAKE) SUBDIRS="" distclean
452 force:
454 Makefile: $(srcdir)/Makefile.in config.status
455 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
457 # Depending on Makefile makes sure that config.status has been re-run
458 # if needed. This prevents problems with parallel builds.
459 config.h: stamp-h ; @true
460 stamp-h: $(srcdir)/config.in config.status Makefile
461 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
463 config.status: $(srcdir)/configure
464 $(SHELL) ./config.status --recheck
466 # Depending on config.h makes sure that config.status has been re-run
467 # if needed. This prevents problems with parallel builds, in case
468 # subdirectories need to run config.status also.
469 all-subdir check-subdir installcheck-subdir info-subdir \
470 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
471 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
472 maintainer-clean-subdir: config.h
473 @subdirs='$(SUBDIRS)'; \
474 target=`echo $@ | sed -e 's/-subdir//'`; \
475 for dir in $$subdirs ; do \
476 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
477 done
479 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
480 $(CONFIGURED_OFILES): stamp-picdir
482 # Don't export variables to the environment, in order to not confuse
483 # configure.
484 .NOEXPORT:
486 # The dependencies in the remainder of this file are automatically
487 # generated by "make maint-deps". Manual edits will be lost.
489 ./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
490 $(INCDIR)/safe-ctype.h
491 if [ x"$(PICFLAG)" != x ]; then \
492 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
493 else true; fi
494 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
496 ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
497 $(INCDIR)/libiberty.h
498 if [ x"$(PICFLAG)" != x ]; then \
499 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
500 else true; fi
501 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
503 ./argv.o: $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
504 $(INCDIR)/safe-ctype.h
505 if [ x"$(PICFLAG)" != x ]; then \
506 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
507 else true; fi
508 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
510 ./asprintf.o: $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
511 $(INCDIR)/libiberty.h
512 if [ x"$(PICFLAG)" != x ]; then \
513 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
514 else true; fi
515 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
517 ./atexit.o: $(srcdir)/atexit.c config.h
518 if [ x"$(PICFLAG)" != x ]; then \
519 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
520 else true; fi
521 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
523 ./basename.o: $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
524 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
525 if [ x"$(PICFLAG)" != x ]; then \
526 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
527 else true; fi
528 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
530 ./bcmp.o: $(srcdir)/bcmp.c
531 if [ x"$(PICFLAG)" != x ]; then \
532 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
533 else true; fi
534 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
536 ./bcopy.o: $(srcdir)/bcopy.c
537 if [ x"$(PICFLAG)" != x ]; then \
538 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
539 else true; fi
540 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
542 ./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
543 if [ x"$(PICFLAG)" != x ]; then \
544 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
545 else true; fi
546 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
548 ./bzero.o: $(srcdir)/bzero.c
549 if [ x"$(PICFLAG)" != x ]; then \
550 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
551 else true; fi
552 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
554 ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
555 if [ x"$(PICFLAG)" != x ]; then \
556 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
557 else true; fi
558 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
560 ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
561 $(INCDIR)/libiberty.h
562 if [ x"$(PICFLAG)" != x ]; then \
563 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
564 else true; fi
565 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
567 ./clock.o: $(srcdir)/clock.c config.h
568 if [ x"$(PICFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
570 else true; fi
571 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
573 ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
574 $(INCDIR)/libiberty.h
575 if [ x"$(PICFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
577 else true; fi
578 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
580 ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
581 if [ x"$(PICFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
583 else true; fi
584 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
586 ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
587 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
588 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
589 if [ x"$(PICFLAG)" != x ]; then \
590 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
591 else true; fi
592 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
594 ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
595 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
596 $(INCDIR)/libiberty.h
597 if [ x"$(PICFLAG)" != x ]; then \
598 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
599 else true; fi
600 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
602 ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
603 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
604 $(INCDIR)/safe-ctype.h
605 if [ x"$(PICFLAG)" != x ]; then \
606 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
607 else true; fi
608 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
610 ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
611 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
612 if [ x"$(PICFLAG)" != x ]; then \
613 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
614 else true; fi
615 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
617 ./fdmatch.o: $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
618 $(INCDIR)/libiberty.h
619 if [ x"$(PICFLAG)" != x ]; then \
620 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
621 else true; fi
622 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
624 ./ffs.o: $(srcdir)/ffs.c
625 if [ x"$(PICFLAG)" != x ]; then \
626 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
627 else true; fi
628 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
630 ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
631 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
632 if [ x"$(PICFLAG)" != x ]; then \
633 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
634 else true; fi
635 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
637 ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
638 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
641 else true; fi
642 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
644 ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
645 $(INCDIR)/safe-ctype.h
646 if [ x"$(PICFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
648 else true; fi
649 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
651 ./fopen_unlocked.o: $(srcdir)/fopen_unlocked.c config.h $(INCDIR)/ansidecl.h \
652 $(INCDIR)/libiberty.h
653 if [ x"$(PICFLAG)" != x ]; then \
654 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
655 else true; fi
656 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
658 ./getcwd.o: $(srcdir)/getcwd.c config.h
659 if [ x"$(PICFLAG)" != x ]; then \
660 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
661 else true; fi
662 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
664 ./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h
665 if [ x"$(PICFLAG)" != x ]; then \
666 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
667 else true; fi
668 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
670 ./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
671 if [ x"$(PICFLAG)" != x ]; then \
672 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
673 else true; fi
674 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
676 ./getpagesize.o: $(srcdir)/getpagesize.c config.h
677 if [ x"$(PICFLAG)" != x ]; then \
678 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
679 else true; fi
680 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
682 ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
683 $(INCDIR)/libiberty.h
684 if [ x"$(PICFLAG)" != x ]; then \
685 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
686 else true; fi
687 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
689 ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
690 $(INCDIR)/libiberty.h
691 if [ x"$(PICFLAG)" != x ]; then \
692 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
693 else true; fi
694 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
696 ./gettimeofday.o: $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
697 $(INCDIR)/libiberty.h
698 if [ x"$(PICFLAG)" != x ]; then \
699 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
700 else true; fi
701 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
703 ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
704 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
705 if [ x"$(PICFLAG)" != x ]; then \
706 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
707 else true; fi
708 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
710 ./hex.o: $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
711 $(INCDIR)/safe-ctype.h
712 if [ x"$(PICFLAG)" != x ]; then \
713 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
714 else true; fi
715 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
717 ./index.o: $(srcdir)/index.c
718 if [ x"$(PICFLAG)" != x ]; then \
719 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
720 else true; fi
721 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
723 ./insque.o: $(srcdir)/insque.c
724 if [ x"$(PICFLAG)" != x ]; then \
725 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
726 else true; fi
727 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
729 ./lbasename.o: $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
730 $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
731 $(INCDIR)/safe-ctype.h
732 if [ x"$(PICFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
734 else true; fi
735 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
737 ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
738 $(INCDIR)/libiberty.h
739 if [ x"$(PICFLAG)" != x ]; then \
740 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
741 else true; fi
742 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
744 ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
745 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
746 if [ x"$(PICFLAG)" != x ]; then \
747 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
748 else true; fi
749 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
751 ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
752 $(INCDIR)/libiberty.h
753 if [ x"$(PICFLAG)" != x ]; then \
754 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
755 else true; fi
756 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
758 ./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
759 if [ x"$(PICFLAG)" != x ]; then \
760 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
761 else true; fi
762 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
764 ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
765 if [ x"$(PICFLAG)" != x ]; then \
766 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
767 else true; fi
768 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
770 ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
771 if [ x"$(PICFLAG)" != x ]; then \
772 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
773 else true; fi
774 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
776 ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
777 if [ x"$(PICFLAG)" != x ]; then \
778 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
779 else true; fi
780 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
782 ./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
785 else true; fi
786 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
788 ./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
789 if [ x"$(PICFLAG)" != x ]; then \
790 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
791 else true; fi
792 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
794 ./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
795 if [ x"$(PICFLAG)" != x ]; then \
796 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
797 else true; fi
798 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
800 ./mkstemps.o: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
801 if [ x"$(PICFLAG)" != x ]; then \
802 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
803 else true; fi
804 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
806 ./msdos.o: $(srcdir)/msdos.c
807 if [ x"$(PICFLAG)" != x ]; then \
808 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
809 else true; fi
810 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
812 ./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
813 $(INCDIR)/objalloc.h
814 if [ x"$(PICFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
816 else true; fi
817 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
819 ./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
820 if [ x"$(PICFLAG)" != x ]; then \
821 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
822 else true; fi
823 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
825 ./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
826 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
827 if [ x"$(PICFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
829 else true; fi
830 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
832 ./pex-common.o: $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
833 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
834 if [ x"$(PICFLAG)" != x ]; then \
835 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
836 else true; fi
837 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
839 ./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
840 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
841 if [ x"$(PICFLAG)" != x ]; then \
842 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
843 else true; fi
844 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
846 ./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
847 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
848 $(INCDIR)/safe-ctype.h
849 if [ x"$(PICFLAG)" != x ]; then \
850 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
851 else true; fi
852 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
854 ./pex-one.o: $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
855 $(INCDIR)/libiberty.h
856 if [ x"$(PICFLAG)" != x ]; then \
857 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
858 else true; fi
859 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
861 ./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
862 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
863 if [ x"$(PICFLAG)" != x ]; then \
864 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
865 else true; fi
866 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
868 ./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
869 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
870 if [ x"$(PICFLAG)" != x ]; then \
871 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
872 else true; fi
873 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
875 ./pexecute.o: $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
876 $(INCDIR)/libiberty.h
877 if [ x"$(PICFLAG)" != x ]; then \
878 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
879 else true; fi
880 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
882 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
883 $(INCDIR)/libiberty.h
884 if [ x"$(PICFLAG)" != x ]; then \
885 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
886 else true; fi
887 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
889 ./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
890 if [ x"$(PICFLAG)" != x ]; then \
891 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
892 else true; fi
893 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
895 ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h
896 if [ x"$(PICFLAG)" != x ]; then \
897 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
898 else true; fi
899 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
901 ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
902 $(INCDIR)/xregex2.h
903 if [ x"$(PICFLAG)" != x ]; then \
904 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
905 else true; fi
906 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
908 ./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
909 if [ x"$(PICFLAG)" != x ]; then \
910 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
911 else true; fi
912 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
914 ./rindex.o: $(srcdir)/rindex.c
915 if [ x"$(PICFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
917 else true; fi
918 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
920 ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
921 $(INCDIR)/safe-ctype.h
922 if [ x"$(PICFLAG)" != x ]; then \
923 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
924 else true; fi
925 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
927 ./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
928 if [ x"$(PICFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
930 else true; fi
931 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
933 ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
934 if [ x"$(PICFLAG)" != x ]; then \
935 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
936 else true; fi
937 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
939 ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
942 else true; fi
943 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
945 ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
946 $(INCDIR)/sort.h
947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
949 else true; fi
950 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
952 ./spaces.o: $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
953 $(INCDIR)/libiberty.h
954 if [ x"$(PICFLAG)" != x ]; then \
955 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
956 else true; fi
957 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
959 ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
960 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
961 if [ x"$(PICFLAG)" != x ]; then \
962 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
963 else true; fi
964 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
966 ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
967 if [ x"$(PICFLAG)" != x ]; then \
968 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
969 else true; fi
970 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
972 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
973 if [ x"$(PICFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
975 else true; fi
976 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
978 ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
979 if [ x"$(PICFLAG)" != x ]; then \
980 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
981 else true; fi
982 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
984 ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
985 if [ x"$(PICFLAG)" != x ]; then \
986 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
987 else true; fi
988 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
990 ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
991 if [ x"$(PICFLAG)" != x ]; then \
992 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
993 else true; fi
994 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
996 ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
997 $(INCDIR)/libiberty.h
998 if [ x"$(PICFLAG)" != x ]; then \
999 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1000 else true; fi
1001 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1003 ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1004 if [ x"$(PICFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1006 else true; fi
1007 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1009 ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1012 else true; fi
1013 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1015 ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1016 if [ x"$(PICFLAG)" != x ]; then \
1017 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1018 else true; fi
1019 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1021 ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1022 if [ x"$(PICFLAG)" != x ]; then \
1023 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1024 else true; fi
1025 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1027 ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1028 $(INCDIR)/libiberty.h
1029 if [ x"$(PICFLAG)" != x ]; then \
1030 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1031 else true; fi
1032 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1034 ./strstr.o: $(srcdir)/strstr.c
1035 if [ x"$(PICFLAG)" != x ]; then \
1036 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1037 else true; fi
1038 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1040 ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
1041 if [ x"$(PICFLAG)" != x ]; then \
1042 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1043 else true; fi
1044 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1046 ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1047 if [ x"$(PICFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1049 else true; fi
1050 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1052 ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1053 $(INCDIR)/safe-ctype.h
1054 if [ x"$(PICFLAG)" != x ]; then \
1055 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1056 else true; fi
1057 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1059 ./strverscmp.o: $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1060 $(INCDIR)/safe-ctype.h
1061 if [ x"$(PICFLAG)" != x ]; then \
1062 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1063 else true; fi
1064 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1066 ./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
1067 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
1068 if [ x"$(PICFLAG)" != x ]; then \
1069 $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \
1070 else true; fi
1071 $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION)
1073 ./tmpnam.o: $(srcdir)/tmpnam.c
1074 if [ x"$(PICFLAG)" != x ]; then \
1075 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1076 else true; fi
1077 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1079 ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h \
1080 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1081 if [ x"$(PICFLAG)" != x ]; then \
1082 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1083 else true; fi
1084 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1086 ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1087 $(INCDIR)/libiberty.h
1088 if [ x"$(PICFLAG)" != x ]; then \
1089 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1090 else true; fi
1091 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1093 ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1094 if [ x"$(PICFLAG)" != x ]; then \
1095 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1096 else true; fi
1097 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1099 ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1100 if [ x"$(PICFLAG)" != x ]; then \
1101 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1102 else true; fi
1103 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1105 ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1106 if [ x"$(PICFLAG)" != x ]; then \
1107 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1108 else true; fi
1109 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1111 ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1112 $(INCDIR)/libiberty.h
1113 if [ x"$(PICFLAG)" != x ]; then \
1114 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1115 else true; fi
1116 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1118 ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1119 if [ x"$(PICFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1121 else true; fi
1122 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1124 ./waitpid.o: $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1125 if [ x"$(PICFLAG)" != x ]; then \
1126 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1127 else true; fi
1128 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1130 ./xatexit.o: $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1131 $(INCDIR)/libiberty.h
1132 if [ x"$(PICFLAG)" != x ]; then \
1133 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1134 else true; fi
1135 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1137 ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1138 if [ x"$(PICFLAG)" != x ]; then \
1139 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1140 else true; fi
1141 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1143 ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1144 $(INCDIR)/libiberty.h
1145 if [ x"$(PICFLAG)" != x ]; then \
1146 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1147 else true; fi
1148 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1150 ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1151 $(INCDIR)/libiberty.h
1152 if [ x"$(PICFLAG)" != x ]; then \
1153 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1154 else true; fi
1155 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1157 ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1158 $(INCDIR)/libiberty.h
1159 if [ x"$(PICFLAG)" != x ]; then \
1160 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1161 else true; fi
1162 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1164 ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1165 $(INCDIR)/libiberty.h
1166 if [ x"$(PICFLAG)" != x ]; then \
1167 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1168 else true; fi
1169 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1171 ./xstrndup.o: $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1172 $(INCDIR)/libiberty.h
1173 if [ x"$(PICFLAG)" != x ]; then \
1174 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1175 else true; fi
1176 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)