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