* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
[deliverable/binutils-gdb.git] / libiberty / Makefile.in
CommitLineData
252b5132
RH
1#
2# Makefile
545c9aee 3# Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004, 2005, 2006
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,
979c05d3
NC
19# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20# Boston, MA 02110-1301, USA.
252b5132
RH
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 \
ac119ae8 135 fopen_unlocked.c \
cc096b71 136 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
8ec32723 137 gettimeofday.c \
cc096b71
DD
138 hashtab.c hex.c \
139 index.c insque.c \
140 lbasename.c \
ba61a412 141 lrealpath.c \
2a80c0a4 142 make-relative-prefix.c \
cc096b71 143 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
10b57b38 144 mempcpy.c memset.c mkstemps.c \
cc096b71 145 objalloc.c obstack.c \
b109e79a
ILT
146 partition.c pexecute.c \
147 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
5a17353c 148 pex-unix.c pex-win32.c \
4938384a 149 physmem.c putenv.c \
cc096b71 150 random.c regex.c rename.c rindex.c \
2ed1e5cc 151 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
10b57b38
DD
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 \
67f3cb05 154 strstr.c strtod.c strtol.c strtoul.c strndup.c strverscmp.c \
cc096b71 155 ternary.c tmpnam.c \
190eb137 156 unlink-if-ordinary.c \
2ed1e5cc 157 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
cc096b71 158 waitpid.c \
0fad4bdb
DD
159 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
160 xstrndup.c
cc096b71
DD
161
162# These are always included in the library. The first four are listed
163# first and by compile time to optimize parallel builds.
e0c148a7
DD
164REQUIRED_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 \
37254c9a 167 ./dyn-string.o \
e0c148a7 168 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \
ac119ae8 169 ./fopen_unlocked.o \
e0c148a7
DD
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 \
b109e79a
ILT
175 ./partition.o ./pexecute.o ./physmem.o \
176 ./pex-common.o ./pex-one.o @pexecute@ \
e0c148a7 177 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
37254c9a
DD
178 ./strsignal.o \
179 ./ternary.o \
190eb137 180 ./unlink-if-ordinary.o \
e0c148a7 181 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
0fad4bdb 182 ./xstrerror.o ./xstrndup.o
30673bf5 183
39423523 184# These are all the objects that configure may add to the library via
cc096b71
DD
185# $funcs or EXTRA_OFILES. This list exists here only for "make
186# maint-missing" and "make check".
e0c148a7
DD
187CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
188 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
189 ./calloc.o ./clock.o ./copysign.o \
37254c9a
DD
190 ./_doprnt.o \
191 ./ffs.o \
8ec32723 192 ./getcwd.o ./getpagesize.o ./gettimeofday.o \
37254c9a 193 ./index.o ./insque.o \
e0c148a7
DD
194 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
195 ./memset.o ./mkstemps.o \
27ff8836 196 ./pex-djgpp.o ./pex-msdos.o \
e0c148a7 197 ./pex-unix.o ./pex-win32.o \
37254c9a 198 ./putenv.o \
e0c148a7
DD
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 \
0fad4bdb 202 ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \
67f3cb05 203 ./strtod.o ./strtol.o ./strtoul.o ./strverscmp.o \
37254c9a 204 ./tmpnam.o \
e0c148a7
DD
205 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
206 ./vsprintf.o \
37254c9a 207 ./waitpid.o
39423523 208
50d4562d
DD
209# These files are installed if the library has been configured to do so.
210INSTALLED_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
224
46a10049
DD
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; \
3bc62f91
DD
232 $(AR) $(AR_FLAGS) $(TARGETLIB) \
233 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
234 $(RANLIB) $(TARGETLIB); \
235 cd ..; \
236 else true; fi
252b5132 237
46a10049
DD
238$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
239 -rm -f $(TESTLIB)
240 $(AR) $(AR_FLAGS) $(TESTLIB) \
241 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
242 $(RANLIB) $(TESTLIB)
cc096b71 243
39423523
DD
244info: libiberty.info info-subdir
245install-info: install-info-subdir
246clean-info: clean-info-subdir
247dvi: libiberty.dvi dvi-subdir
bff368bd 248pdf: libiberty.pdf pdf-subdir
545c9aee
DD
249
250# html, install-html targets
251HTMLS = libiberty.html
252
253html: $(HTMLS)
254
255.PHONY: install-html install-html-am install-html-recursive
256
257NORMAL_INSTALL = :
258mkdir_p = mkdir -p --
259
260html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
261
262install-html: install-html-recursive install-html-am
263
264install-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
280
281install-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"
39423523
DD
305
306TEXISRC = \
307 $(srcdir)/libiberty.texi \
308 $(srcdir)/copying-lib.texi \
309 $(srcdir)/obstacks.texi \
310 $(srcdir)/functions.texi
311
312# Additional files that have texi snippets that need to be collected
ba19b94f
DD
313# and sorted. Some are here because the sources are imported from
314# elsewhere. Others represent headers in ../include.
5a17353c 315TEXIFILES = fnmatch.txh pexecute.txh
39423523
DD
316
317libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
318 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
319
320libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
321 texi2dvi $(srcdir)/libiberty.texi
322
bff368bd
DD
323libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
324 texi2pdf $(srcdir)/libiberty.texi
325
39423523 326libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
6cfb3176 327 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
39423523
DD
328
329@MAINT@$(srcdir)/functions.texi : stamp-functions
330@MAINT@ @true
331
67f3cb05 332@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
39423523
DD
333@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
334@MAINT@ echo stamp > stamp-functions
335
252b5132 336INSTALL_DEST = @INSTALL_DEST@
0c0a36a4 337install: install_to_$(INSTALL_DEST) install-subdir
252b5132
RH
338
339install_to_libdir: all
27a39a5f 340 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
4748c6d8 341 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
6816f995 342 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n )
4748c6d8 343 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
50d4562d
DD
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; \
4748c6d8 349 ${mkinstalldirs} $(DESTDIR)$${thd}; \
50d4562d 350 for h in ${INSTALLED_HEADERS}; do \
4748c6d8 351 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
50d4562d
DD
352 done; \
353 fi
252b5132
RH
354 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
355
aa072e59
AO
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.
360MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
252b5132 361install_to_tooldir: all
aa072e59
AO
362 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
363 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
6816f995 364 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
aa072e59 365 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
252b5132
RH
366 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
367
0c0a36a4
ILT
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.
371NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
eb383413 372 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
0c0a36a4 373 vfork waitpid bcmp bcopy bzero
252b5132 374needed-list: Makefile
0c0a36a4
ILT
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
252b5132
RH
383
384# required-list was used when building a shared bfd/opcodes/libiberty
385# library. I don't know if it used by anything currently.
386required-list: Makefile
387 echo $(REQUIRED_OFILES) > required-list
388
46a10049
DD
389stamp-picdir:
390 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
391 mkdir pic; \
392 else true; fi
393 touch stamp-picdir
394
252b5132
RH
395.PHONY: all etags tags ls clean stage1 stage2
396
0c0a36a4 397etags tags: TAGS etags-subdir
252b5132 398
30673bf5
DD
399TAGS: $(CFILES)
400 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
252b5132
RH
401
402# The standalone demangler (c++filt) has been moved to binutils.
403demangle:
404 @echo "The standalone demangler, now named c++filt, is now"
405 @echo "a part of binutils."
406 @false
407
408ls:
30673bf5 409 @echo Makefile $(CFILES)
252b5132 410
39423523
DD
411# Various targets for maintainers.
412
413maint-missing :
46a10049 414 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
39423523 415
46a10049 416maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
39423523
DD
417 @true
418
ba19b94f
DD
419maint-undoc : $(srcdir)/functions.texi
420 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
421
cc096b71
DD
422maint-deps :
423 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
424
252b5132
RH
425# Need to deal with profiled libraries, too.
426
0c0a36a4
ILT
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.
429mostlyclean: mostlyclean-subdir
46a10049 430 -rm -rf *.o pic core errs \#* *.E a.out
c00c39ed 431 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
46a10049 432 -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
39423523
DD
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
252b5132 437 @$(MULTICLEAN) multi-clean DO=mostlyclean
0c0a36a4
ILT
438clean: clean-subdir
439 $(MAKE) SUBDIRS="" mostlyclean
c00c39ed 440 -rm -f *.a required-list tmpmulti.out
bff368bd 441 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
252b5132 442 @$(MULTICLEAN) multi-clean DO=clean
0c0a36a4
ILT
443distclean: distclean-subdir
444 $(MAKE) SUBDIRS="" clean
252b5132 445 @$(MULTICLEAN) multi-clean DO=distclean
3795d586 446 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
c00c39ed 447 -rm -f config.log
4415a860 448 -rmdir testsuite 2>/dev/null
0c0a36a4
ILT
449maintainer-clean realclean: maintainer-clean-subdir
450 $(MAKE) SUBDIRS="" distclean
252b5132
RH
451
452force:
453
454Makefile: $(srcdir)/Makefile.in config.status
455 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
456
fec50157
DD
457# Depending on Makefile makes sure that config.status has been re-run
458# if needed. This prevents problems with parallel builds.
252b5132 459config.h: stamp-h ; @true
37254c9a
DD
460stamp-h: $(srcdir)/config.in config.status Makefile
461 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
252b5132 462
4cf896a5 463config.status: $(srcdir)/configure
252b5132
RH
464 $(SHELL) ./config.status --recheck
465
fec50157
DD
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.
0c0a36a4 469all-subdir check-subdir installcheck-subdir info-subdir \
bff368bd 470install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
0c0a36a4 471etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
fec50157 472maintainer-clean-subdir: config.h
010c70e1 473 @subdirs='$(SUBDIRS)'; \
19be4303 474 target=`echo $@ | sed -e 's/-subdir//'`; \
010c70e1 475 for dir in $$subdirs ; do \
578460f2 476 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
0c0a36a4
ILT
477 done
478
46a10049
DD
479$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
480$(CONFIGURED_OFILES): stamp-picdir
481
8ec32723
DD
482# Don't export variables to the environment, in order to not confuse
483# configure.
484.NOEXPORT:
485
cc096b71
DD
486# The dependencies in the remainder of this file are automatically
487# generated by "make maint-deps". Manual edits will be lost.
252b5132 488
46a10049 489./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
cc096b71 490 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 495
46a10049 496./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
59727473 497 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 502
7b17bc29
MM
503./argv.o: $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
504 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 509
75919f94
DD
510./asprintf.o: $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
511 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 516
46a10049
DD
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)
37254c9a 522
75919f94
DD
523./basename.o: $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
524 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 529
46a10049
DD
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)
37254c9a 535
46a10049
DD
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)
37254c9a 541
46a10049
DD
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)
37254c9a 547
46a10049
DD
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)
37254c9a 553
46a10049
DD
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)
37254c9a 559
46a10049 560./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
37254c9a 561 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 566
46a10049
DD
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)
37254c9a 572
46a10049 573./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
cc096b71 574 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 579
46a10049
DD
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)
37254c9a 585
46a10049 586./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
587 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
588 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 593
46a10049 594./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
37254c9a 595 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
cc096b71 596 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 601
46a10049 602./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
603 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
604 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 609
46a10049 610./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
37254c9a 611 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 616
75919f94
DD
617./fdmatch.o: $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
618 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 623
46a10049
DD
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)
37254c9a 629
46a10049 630./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
37254c9a 631 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 636
46a10049 637./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
37254c9a 638 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 643
46a10049 644./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
37254c9a 645 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 650
ac119ae8
DD
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)
657
46a10049
DD
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)
37254c9a 663
7b17bc29 664./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h
46a10049
DD
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)
37254c9a 669
46a10049
DD
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)
37254c9a 675
46a10049
DD
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)
37254c9a 681
46a10049 682./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
09e9708c 683 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 688
46a10049 689./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
cc096b71 690 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 695
8ec32723
DD
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)
702
46a10049 703./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
37254c9a 704 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 709
75919f94 710./hex.o: $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
70ecf948 711 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 716
46a10049
DD
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)
37254c9a 722
46a10049
DD
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)
37254c9a 728
75919f94
DD
729./lbasename.o: $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
730 $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
731 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 736
46a10049 737./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
37254c9a 738 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 743
46a10049 744./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \
37254c9a 745 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 750
46a10049 751./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
1ea16ec5 752 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 757
46a10049
DD
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)
37254c9a 763
46a10049
DD
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)
37254c9a 769
46a10049
DD
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)
37254c9a 775
46a10049
DD
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)
37254c9a 781
46a10049
DD
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)
37254c9a 787
46a10049
DD
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)
37254c9a 793
46a10049
DD
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)
37254c9a 799
46a10049
DD
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)
37254c9a 805
46a10049
DD
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)
37254c9a 811
46a10049 812./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
37254c9a 813 $(INCDIR)/objalloc.h
46a10049
DD
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)
37254c9a 818
46a10049
DD
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)
37254c9a 824
46a10049 825./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
37254c9a 826 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
46a10049
DD
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)
37254c9a 831
b109e79a
ILT
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)
838
46a10049 839./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
37254c9a 840 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
46a10049
DD
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)
37254c9a 845
46a10049 846./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
847 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
848 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 853
b109e79a
ILT
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)
860
46a10049 861./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
37254c9a 862 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
46a10049
DD
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)
37254c9a 867
46a10049 868./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
37254c9a 869 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
46a10049
DD
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)
37254c9a 874
b109e79a
ILT
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)
881
46a10049 882./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
37254c9a 883 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 888
46a10049
DD
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)
37254c9a 894
46a10049
DD
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)
37254c9a 900
46a10049 901./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
e0c148a7 902 $(INCDIR)/xregex2.h
46a10049
DD
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)
37254c9a 907
46a10049
DD
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)
37254c9a 913
46a10049
DD
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)
37254c9a 919
46a10049 920./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
37254c9a 921 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 926
46a10049
DD
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)
37254c9a 932
46a10049
DD
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)
37254c9a 938
46a10049
DD
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)
37254c9a 944
46a10049 945./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
cc096b71 946 $(INCDIR)/sort.h
46a10049
DD
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)
37254c9a 951
75919f94
DD
952./spaces.o: $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
953 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 958
46a10049 959./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
37254c9a 960 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
46a10049
DD
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)
37254c9a 965
46a10049
DD
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)
37254c9a 971
46a10049
DD
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)
37254c9a 977
46a10049
DD
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)
37254c9a 983
46a10049
DD
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)
37254c9a 989
46a10049
DD
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)
37254c9a 995
46a10049 996./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
37254c9a 997 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1002
46a10049
DD
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)
37254c9a 1008
46a10049
DD
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)
37254c9a 1014
0fad4bdb
DD
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)
1020
46a10049
DD
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)
37254c9a 1026
46a10049 1027./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1028 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1033
46a10049
DD
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)
37254c9a 1039
46a10049
DD
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)
37254c9a 1045
46a10049
DD
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)
37254c9a 1051
46a10049 1052./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1053 $(INCDIR)/safe-ctype.h
46a10049
DD
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)
37254c9a 1058
7b17bc29
MM
1059./strverscmp.o: $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1060 $(INCDIR)/safe-ctype.h
67f3cb05
GK
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)
1065
46a10049 1066./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1067 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
46a10049
DD
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)
37254c9a 1072
46a10049
DD
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)
37254c9a 1078
8ec32723
DD
1079./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h \
1080 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
190eb137
DD
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)
1085
46a10049 1086./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1087 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1092
46a10049
DD
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)
37254c9a 1098
46a10049
DD
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)
37254c9a 1104
46a10049
DD
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)
37254c9a 1110
46a10049 1111./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1112 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1117
46a10049
DD
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)
37254c9a 1123
ac119ae8 1124./waitpid.o: $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
46a10049
DD
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)
37254c9a 1129
75919f94
DD
1130./xatexit.o: $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1131 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1136
46a10049
DD
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)
37254c9a 1142
46a10049 1143./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1144 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1149
46a10049 1150./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1151 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1156
46a10049 1157./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1158 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1163
46a10049 1164./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
37254c9a 1165 $(INCDIR)/libiberty.h
46a10049
DD
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)
37254c9a 1170
0fad4bdb
DD
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)
1177
This page took 0.426379 seconds and 4 git commands to generate.