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