2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
[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 31
96e00b33
L
32top_builddir = .
33
11a338da
DD
34enable_shared = @enable_shared@
35
252b5132
RH
36prefix = @prefix@
37
38exec_prefix = @exec_prefix@
39bindir = @bindir@
40libdir = @libdir@
50d4562d
DD
41includedir = @includedir@
42target_header_dir = @target_header_dir@
252b5132
RH
43
44SHELL = @SHELL@
45
46# Multilib support variables.
47MULTISRCTOP =
48MULTIBUILDTOP =
49MULTIDIRS =
50MULTISUBDIR =
51MULTIDO = true
52MULTICLEAN = true
53
54INSTALL = @INSTALL@
55INSTALL_PROGRAM = @INSTALL_PROGRAM@
56INSTALL_DATA = @INSTALL_DATA@
85b9a938 57mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
252b5132
RH
58
59AR = @AR@
60AR_FLAGS = rc
61
62CC = @CC@
63CFLAGS = @CFLAGS@
64LIBCFLAGS = $(CFLAGS)
65RANLIB = @RANLIB@
39423523
DD
66MAKEINFO = @MAKEINFO@
67PERL = @PERL@
96e00b33 68LIBTOOL = @LIBTOOL@
252b5132
RH
69
70PICFLAG =
71
72MAKEOVERRIDES =
73
37254c9a 74TARGETLIB = ./libiberty.a
11a338da
DD
75LTTARGETLIB = ./libiberty.la
76PREFIXTARGETLIB= ./libiberty
37254c9a 77TESTLIB = ./testlib.a
11a338da
DD
78LTTESTLIB = ./testlib.la
79PREFIXTESTLIB = ./testlib
252b5132
RH
80
81LIBOBJS = @LIBOBJS@
96e00b33 82LTLIBOBJS = @LTLIBOBJS@
252b5132
RH
83
84# A configuration can specify extra .o files that should be included,
85# even if they are in libc. (Perhaps the libc version is buggy.)
86EXTRA_OFILES =
96e00b33 87EXTRA_LTOFILES =
252b5132
RH
88
89# Flags to pass to a recursive make.
90FLAGS_TO_PASS = \
91 "AR=$(AR)" \
92 "AR_FLAGS=$(AR_FLAGS)" \
93 "CC=$(CC)" \
94 "CFLAGS=$(CFLAGS)" \
27a39a5f 95 "DESTDIR=$(DESTDIR)" \
252b5132
RH
96 "LIBCFLAGS=$(LIBCFLAGS)" \
97 "EXTRA_OFILES=$(EXTRA_OFILES)" \
96e00b33 98 "EXTRA_LTOFILES=$(EXTRA_LTOFILES)" \
252b5132
RH
99 "HDEFINES=$(HDEFINES)" \
100 "INSTALL=$(INSTALL)" \
101 "INSTALL_DATA=$(INSTALL_DATA)" \
102 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
103 "LDFLAGS=$(LDFLAGS)" \
104 "LOADLIBES=$(LOADLIBES)" \
105 "RANLIB=$(RANLIB)" \
0c0a36a4
ILT
106 "SHELL=$(SHELL)" \
107 "prefix=$(prefix)" \
108 "exec_prefix=$(exec_prefix)" \
109 "libdir=$(libdir)" \
110 "libsubdir=$(libsubdir)" \
111 "tooldir=$(tooldir)"
252b5132 112
0c0a36a4
ILT
113# Subdirectories to recurse into. We need to override this during cleaning
114SUBDIRS = testsuite
115
39423523 116# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
96e00b33 117all: $(TARGETLIB) needed-list required-list all-subdir
1b67de92 118 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
252b5132
RH
119
120.PHONY: check installcheck
0c0a36a4
ILT
121check: check-subdir
122installcheck: installcheck-subdir
252b5132
RH
123
124@host_makefile_frag@
125
126INCDIR=$(srcdir)/$(MULTISRCTOP)../include
127
eb383413 128COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
96e00b33 129LTCOMPILE = $(LIBTOOL) --mode=compile $(COMPILE.c)
11a338da
DD
130CCLD = $(CC)
131LINK = $(LIBTOOL) --mode=link $(CCLD) $(CFLAGS)
37254c9a
DD
132
133# Just to make sure we don't use a built-in rule with VPATH
252b5132 134.c.o:
37254c9a 135 false
252b5132 136
96e00b33
L
137.c.lo:
138 false
139
252b5132 140# NOTE: If you add new files to the library, add them to this list
96e00b33
L
141# (alphabetical), and add them to REQUIRED_OFILES/REQUIRED_LTOFILES, or
142# CONFIGURED_OFILES/CONFIGURED_LTOFILES and funcs in configure.ac.
143# Also run "make maint-deps" to build the new rules.
cc096b71
DD
144CFILES = alloca.c argv.c asprintf.c atexit.c \
145 basename.c bcmp.c bcopy.c bsearch.c bzero.c \
146 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
37254c9a 147 cp-demint.c cplus-dem.c \
cc096b71
DD
148 dyn-string.c \
149 fdmatch.c ffs.c fibheap.c floatformat.c fnmatch.c \
150 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
151 hashtab.c hex.c \
152 index.c insque.c \
153 lbasename.c \
ba61a412 154 lrealpath.c \
2a80c0a4 155 make-relative-prefix.c \
cc096b71 156 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
10b57b38 157 mempcpy.c memset.c mkstemps.c \
cc096b71 158 objalloc.c obstack.c \
5a17353c 159 partition.c \
9c2259b8 160 pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
5a17353c 161 pex-unix.c pex-win32.c \
4938384a 162 physmem.c putenv.c \
cc096b71 163 random.c regex.c rename.c rindex.c \
2ed1e5cc 164 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
10b57b38
DD
165 splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \
166 strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c \
167 strstr.c strtod.c strtol.c strtoul.c \
cc096b71 168 ternary.c tmpnam.c \
2ed1e5cc 169 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
cc096b71
DD
170 waitpid.c \
171 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c
172
173# These are always included in the library. The first four are listed
174# first and by compile time to optimize parallel builds.
e0c148a7
DD
175REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \
176 ./alloca.o ./argv.o \
177 ./choose-temp.o ./concat.o ./cp-demint.o \
37254c9a 178 ./dyn-string.o \
e0c148a7
DD
179 ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \
180 ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \
181 ./hashtab.o ./hex.o \
182 ./lbasename.o ./lrealpath.o \
183 ./make-relative-prefix.o ./make-temp-file.o \
184 ./objalloc.o ./obstack.o \
185 ./partition.o ./physmem.o @pexecute@ \
186 ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
37254c9a
DD
187 ./strsignal.o \
188 ./ternary.o \
e0c148a7
DD
189 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
190 ./xstrerror.o
96e00b33
L
191REQUIRED_LTOFILES = ./regex.lo ./cplus-dem.lo ./cp-demangle.lo ./md5.lo \
192 ./alloca.lo ./argv.lo \
193 ./choose-temp.lo ./concat.lo ./cp-demint.lo \
194 ./dyn-string.lo \
195 ./fdmatch.lo ./fibheap.lo ./floatformat.lo ./fnmatch.lo \
196 ./getopt.lo ./getopt1.lo ./getpwd.lo ./getruntime.lo \
197 ./hashtab.lo ./hex.lo \
198 ./lbasename.lo ./lrealpath.lo \
199 ./make-relative-prefix.lo ./make-temp-file.lo \
200 ./objalloc.lo ./obstack.lo \
201 ./partition.lo ./physmem.lo @ltpexecute@ \
202 ./safe-ctype.lo ./sort.lo ./spaces.lo ./splay-tree.lo ./strerror.lo \
203 ./strsignal.lo \
204 ./ternary.lo \
205 ./xatexit.lo ./xexit.lo ./xmalloc.lo ./xmemdup.lo ./xstrdup.lo \
206 ./xstrerror.lo
30673bf5 207
39423523 208# These are all the objects that configure may add to the library via
cc096b71
DD
209# $funcs or EXTRA_OFILES. This list exists here only for "make
210# maint-missing" and "make check".
e0c148a7
DD
211CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
212 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
213 ./calloc.o ./clock.o ./copysign.o \
37254c9a
DD
214 ./_doprnt.o \
215 ./ffs.o \
e0c148a7 216 ./getcwd.o ./getpagesize.o \
37254c9a 217 ./index.o ./insque.o \
e0c148a7
DD
218 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
219 ./memset.o ./mkstemps.o \
220 ./pex-djgpp.o ./pex-mpw.o ./pex-msdos.o ./pex-os2.o \
221 ./pex-unix.o ./pex-win32.o \
37254c9a 222 ./putenv.o \
e0c148a7
DD
223 ./random.o ./rename.o ./rindex.o \
224 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
225 ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \
226 ./strncmp.o ./strrchr.o ./strstr.o \
227 ./strtod.o ./strtol.o ./strtoul.o \
37254c9a 228 ./tmpnam.o \
e0c148a7
DD
229 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
230 ./vsprintf.o \
37254c9a 231 ./waitpid.o
96e00b33
L
232CONFIGURED_LTOFILES = ./asprintf.lo ./atexit.lo \
233 ./basename.lo ./bcmp.lo ./bcopy.lo ./bsearch.lo ./bzero.lo \
234 ./calloc.lo ./clock.lo ./copysign.lo \
235 ./_doprnt.lo \
236 ./ffs.lo \
237 ./getcwd.lo ./getpagesize.lo \
238 ./index.lo ./insque.lo \
239 ./memchr.lo ./memcmp.lo ./memcpy.lo ./memmove.lo ./mempcpy.lo \
240 ./memset.lo ./mkstemps.lo \
241 ./pex-djgpp.lo ./pex-mpw.lo ./pex-msdos.lo ./pex-os2.lo \
242 ./pex-unix.lo ./pex-win32.lo \
243 ./putenv.lo \
244 ./random.lo ./rename.lo ./rindex.lo \
245 ./setenv.lo ./sigsetmask.lo ./snprintf.lo ./stpcpy.lo ./stpncpy.lo \
246 ./strcasecmp.lo ./strchr.lo ./strdup.lo ./strncasecmp.lo \
247 ./strncmp.lo ./strrchr.lo ./strstr.lo \
248 ./strtod.lo ./strtol.lo ./strtoul.lo \
249 ./tmpnam.lo \
250 ./vasprintf.lo ./vfork.lo ./vfprintf.lo ./vprintf.lo ./vsnprintf.lo \
251 ./vsprintf.lo \
252 ./waitpid.lo
39423523 253
50d4562d
DD
254# These files are installed if the library has been configured to do so.
255INSTALLED_HEADERS = \
256 $(INCDIR)/ansidecl.h \
257 $(INCDIR)/demangle.h \
258 $(INCDIR)/dyn-string.h \
259 $(INCDIR)/fibheap.h \
260 $(INCDIR)/floatformat.h \
261 $(INCDIR)/hashtab.h \
262 $(INCDIR)/libiberty.h \
263 $(INCDIR)/objalloc.h \
264 $(INCDIR)/partition.h \
265 $(INCDIR)/safe-ctype.h \
266 $(INCDIR)/sort.h \
267 $(INCDIR)/splay-tree.h \
268 $(INCDIR)/ternary.h
269
11a338da
DD
270# FIXME: Libtool has to be used to create static and shared libraries
271# if it is used to compile object files. Since libiberty doesn't really
272# build shared library, we have to create the libraries we need by hand
273# and remove those created by libtool.
96e00b33 274$(TARGETLIB): $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS)
11a338da
DD
275 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
276 rm -f $(TARGETLIB) $$libtooldir/$(TARGETLIB) pic/$(TARGETLIB) \
277 || true; \
278 $(LINK) -o $(LTTARGETLIB) -rpath $(libdir) \
279 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS); \
280 if [ -f $$libtooldir/$(TARGETLIB) ]; then \
281 cp $$libtooldir/$(TARGETLIB) $(TARGETLIB).tmp; \
282 $(RANLIB) $(TARGETLIB).tmp; \
283 $(SHELL) $(srcdir)/../move-if-change \
284 $(TARGETLIB).tmp $(TARGETLIB); \
285 else true; fi; \
286 rm -f $(LTTARGETLIB) $$libtooldir/$(PREFIXTARGETLIB)*; \
287 if [ x$(enable_shared) = xyes ]; then \
288 cd $$libtooldir; \
3bc62f91
DD
289 $(AR) $(AR_FLAGS) $(TARGETLIB) \
290 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
291 $(RANLIB) $(TARGETLIB); \
96e00b33
L
292 [ -d ../pic ] || mkdir ../pic; \
293 rm -f ../pic/$(TARGETLIB); \
294 cp $(TARGETLIB) ../pic/$(TARGETLIB); \
3bc62f91
DD
295 cd ..; \
296 else true; fi
252b5132 297
96e00b33 298$(TESTLIB): $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
11a338da
DD
299 libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
300 rm -f $(TESTLIB) $$libtooldir/$(TESTLIB) || true; \
301 $(LINK) -o $(LTTESTLIB) -rpath $(libdir) \
302 $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES); \
303 if [ -f $$libtooldir/$(TESTLIB) ]; then \
304 cp $$libtooldir/$(TESTLIB) $(TESTLIB).tmp; \
305 $(RANLIB) $(TESTLIB).tmp; \
306 $(SHELL) $(srcdir)/../move-if-change \
307 $(TESTLIB).tmp $(TESTLIB); \
308 else true; fi; \
309 rm -f $(LTTESTLIB) $$libtooldir/$(PREFIXTESTLIB)*
cc096b71 310
39423523
DD
311info: libiberty.info info-subdir
312install-info: install-info-subdir
313clean-info: clean-info-subdir
314dvi: libiberty.dvi dvi-subdir
315html: libiberty.html
316
317TEXISRC = \
318 $(srcdir)/libiberty.texi \
319 $(srcdir)/copying-lib.texi \
320 $(srcdir)/obstacks.texi \
321 $(srcdir)/functions.texi
322
323# Additional files that have texi snippets that need to be collected
ba19b94f
DD
324# and sorted. Some are here because the sources are imported from
325# elsewhere. Others represent headers in ../include.
5a17353c 326TEXIFILES = fnmatch.txh pexecute.txh
39423523
DD
327
328libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
329 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
330
331libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
332 texi2dvi $(srcdir)/libiberty.texi
333
334libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
6cfb3176 335 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
39423523
DD
336
337@MAINT@$(srcdir)/functions.texi : stamp-functions
338@MAINT@ @true
339
340@MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile
341@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
342@MAINT@ echo stamp > stamp-functions
343
252b5132 344INSTALL_DEST = @INSTALL_DEST@
0c0a36a4 345install: install_to_$(INSTALL_DEST) install-subdir
252b5132
RH
346
347install_to_libdir: all
27a39a5f 348 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
4748c6d8
DD
349 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
350 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
351 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
50d4562d
DD
352 if test -n "${target_header_dir}"; then \
353 case "${target_header_dir}" in \
354 /*) thd=${target_header_dir};; \
355 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
356 esac; \
4748c6d8 357 ${mkinstalldirs} $(DESTDIR)$${thd}; \
50d4562d 358 for h in ${INSTALLED_HEADERS}; do \
4748c6d8 359 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
50d4562d
DD
360 done; \
361 fi
252b5132
RH
362 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
363
aa072e59
AO
364# This is tricky. Even though CC in the Makefile contains
365# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
366# default multilib, so we have to take LIBCFLAGS into account as well,
367# since it will be passed the multilib flags.
368MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory`
252b5132 369install_to_tooldir: all
aa072e59
AO
370 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
371 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
372 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n )
373 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
252b5132
RH
374 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
375
0c0a36a4
ILT
376# needed-list is used by libstdc++. NEEDED is the list of functions
377# to include there. Do not add anything LGPL to this list; libstdc++
378# can't use anything encumbering.
379NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
eb383413 380 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
0c0a36a4 381 vfork waitpid bcmp bcopy bzero
252b5132 382needed-list: Makefile
0c0a36a4
ILT
383 rm -f needed-list; touch needed-list; \
384 for f in $(NEEDED); do \
385 for g in $(LIBOBJS) $(EXTRA_OFILES); do \
386 case "$$g" in \
387 *$$f*) echo $$g >> needed-list ;; \
388 esac; \
389 done; \
390 done
252b5132
RH
391
392# required-list was used when building a shared bfd/opcodes/libiberty
393# library. I don't know if it used by anything currently.
394required-list: Makefile
395 echo $(REQUIRED_OFILES) > required-list
396
252b5132
RH
397.PHONY: all etags tags ls clean stage1 stage2
398
0c0a36a4 399etags tags: TAGS etags-subdir
252b5132 400
30673bf5
DD
401TAGS: $(CFILES)
402 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
252b5132
RH
403
404# The standalone demangler (c++filt) has been moved to binutils.
405demangle:
406 @echo "The standalone demangler, now named c++filt, is now"
407 @echo "a part of binutils."
408 @false
409
410ls:
30673bf5 411 @echo Makefile $(CFILES)
252b5132 412
39423523
DD
413# Various targets for maintainers.
414
415maint-missing :
96e00b33 416 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
39423523 417
96e00b33 418maint-buildall : $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
39423523
DD
419 @true
420
ba19b94f
DD
421maint-undoc : $(srcdir)/functions.texi
422 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
423
cc096b71
DD
424maint-deps :
425 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
426
252b5132
RH
427# Need to deal with profiled libraries, too.
428
0c0a36a4
ILT
429# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
430# multiple times, hence our explicit recursion with an empty SUBDIRS.
431mostlyclean: mostlyclean-subdir
11a338da
DD
432 -libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
433 rm -f $$libtooldir
434 -rm -rf *.o *.lo pic core errs \#* *.E a.out
c00c39ed 435 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
96e00b33 436 -rm -f $(CONFIG_H) $(NEEDED_LIST)
39423523
DD
437 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
438 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
439 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
440 -rm -f libtexi.stamp
252b5132 441 @$(MULTICLEAN) multi-clean DO=mostlyclean
0c0a36a4
ILT
442clean: clean-subdir
443 $(MAKE) SUBDIRS="" mostlyclean
c00c39ed 444 -rm -f *.a required-list tmpmulti.out
39423523 445 -rm -f libiberty.dvi libiberty.info* libiberty.html
252b5132 446 @$(MULTICLEAN) multi-clean DO=clean
0c0a36a4
ILT
447distclean: distclean-subdir
448 $(MAKE) SUBDIRS="" clean
252b5132 449 @$(MULTICLEAN) multi-clean DO=distclean
3795d586 450 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
c00c39ed 451 -rm -f config.log
4415a860 452 -rmdir testsuite 2>/dev/null
0c0a36a4
ILT
453maintainer-clean realclean: maintainer-clean-subdir
454 $(MAKE) SUBDIRS="" distclean
252b5132
RH
455
456force:
457
458Makefile: $(srcdir)/Makefile.in config.status
459 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
460
fec50157
DD
461# Depending on Makefile makes sure that config.status has been re-run
462# if needed. This prevents problems with parallel builds.
252b5132 463config.h: stamp-h ; @true
37254c9a
DD
464stamp-h: $(srcdir)/config.in config.status Makefile
465 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
252b5132
RH
466
467config.status: $(srcdir)/configure $(srcdir)/config.table
468 $(SHELL) ./config.status --recheck
469
fec50157
DD
470# Depending on config.h makes sure that config.status has been re-run
471# if needed. This prevents problems with parallel builds, in case
472# subdirectories need to run config.status also.
0c0a36a4
ILT
473all-subdir check-subdir installcheck-subdir info-subdir \
474install-info-subdir clean-info-subdir dvi-subdir install-subdir \
475etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
fec50157 476maintainer-clean-subdir: config.h
010c70e1 477 @subdirs='$(SUBDIRS)'; \
19be4303 478 target=`echo $@ | sed -e 's/-subdir//'`; \
010c70e1 479 for dir in $$subdirs ; do \
578460f2 480 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
0c0a36a4
ILT
481 done
482
96e00b33
L
483# Don't export variables to the environment, in order to not confuse
484# configure.
485.NOEXPORT:
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
96e00b33 489./_doprnt.lo: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
cc096b71 490 $(INCDIR)/safe-ctype.h
96e00b33 491 $(LTCOMPILE) -c -o $@ $(srcdir)/_doprnt.c
37254c9a 492
96e00b33 493./alloca.lo: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
59727473 494 $(INCDIR)/libiberty.h
96e00b33 495 $(LTCOMPILE) -c -o $@ $(srcdir)/alloca.c
37254c9a 496
96e00b33
L
497./argv.lo: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
498 $(LTCOMPILE) -c -o $@ $(srcdir)/argv.c
37254c9a 499
96e00b33
L
500./asprintf.lo: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
501 $(LTCOMPILE) -c -o $@ $(srcdir)/asprintf.c
37254c9a 502
96e00b33
L
503./atexit.lo: $(srcdir)/atexit.c config.h
504 $(LTCOMPILE) -c -o $@ $(srcdir)/atexit.c
37254c9a 505
96e00b33 506./basename.lo: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
37254c9a 507 $(INCDIR)/safe-ctype.h
96e00b33 508 $(LTCOMPILE) -c -o $@ $(srcdir)/basename.c
37254c9a 509
96e00b33
L
510./bcmp.lo: $(srcdir)/bcmp.c
511 $(LTCOMPILE) -c -o $@ $(srcdir)/bcmp.c
37254c9a 512
96e00b33
L
513./bcopy.lo: $(srcdir)/bcopy.c
514 $(LTCOMPILE) -c -o $@ $(srcdir)/bcopy.c
37254c9a 515
96e00b33
L
516./bsearch.lo: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
517 $(LTCOMPILE) -c -o $@ $(srcdir)/bsearch.c
37254c9a 518
96e00b33
L
519./bzero.lo: $(srcdir)/bzero.c
520 $(LTCOMPILE) -c -o $@ $(srcdir)/bzero.c
37254c9a 521
96e00b33
L
522./calloc.lo: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
523 $(LTCOMPILE) -c -o $@ $(srcdir)/calloc.c
37254c9a 524
96e00b33 525./choose-temp.lo: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
37254c9a 526 $(INCDIR)/libiberty.h
96e00b33 527 $(LTCOMPILE) -c -o $@ $(srcdir)/choose-temp.c
37254c9a 528
96e00b33
L
529./clock.lo: $(srcdir)/clock.c config.h
530 $(LTCOMPILE) -c -o $@ $(srcdir)/clock.c
37254c9a 531
96e00b33 532./concat.lo: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
cc096b71 533 $(INCDIR)/libiberty.h
96e00b33 534 $(LTCOMPILE) -c -o $@ $(srcdir)/concat.c
37254c9a 535
96e00b33
L
536./copysign.lo: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
537 $(LTCOMPILE) -c -o $@ $(srcdir)/copysign.c
37254c9a 538
96e00b33 539./cp-demangle.lo: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
540 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
541 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
96e00b33 542 $(LTCOMPILE) -c -o $@ $(srcdir)/cp-demangle.c
37254c9a 543
96e00b33 544./cp-demint.lo: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
37254c9a 545 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
cc096b71 546 $(INCDIR)/libiberty.h
96e00b33 547 $(LTCOMPILE) -c -o $@ $(srcdir)/cp-demint.c
37254c9a 548
96e00b33 549./cplus-dem.lo: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
550 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
551 $(INCDIR)/safe-ctype.h
96e00b33 552 $(LTCOMPILE) -c -o $@ $(srcdir)/cplus-dem.c
37254c9a 553
96e00b33 554./dyn-string.lo: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
37254c9a 555 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
96e00b33 556 $(LTCOMPILE) -c -o $@ $(srcdir)/dyn-string.c
37254c9a 557
96e00b33
L
558./fdmatch.lo: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
559 $(LTCOMPILE) -c -o $@ $(srcdir)/fdmatch.c
37254c9a 560
96e00b33
L
561./ffs.lo: $(srcdir)/ffs.c
562 $(LTCOMPILE) -c -o $@ $(srcdir)/ffs.c
37254c9a 563
96e00b33 564./fibheap.lo: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
37254c9a 565 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
96e00b33 566 $(LTCOMPILE) -c -o $@ $(srcdir)/fibheap.c
37254c9a 567
96e00b33 568./floatformat.lo: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
37254c9a 569 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
96e00b33 570 $(LTCOMPILE) -c -o $@ $(srcdir)/floatformat.c
37254c9a 571
96e00b33 572./fnmatch.lo: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
37254c9a 573 $(INCDIR)/safe-ctype.h
96e00b33 574 $(LTCOMPILE) -c -o $@ $(srcdir)/fnmatch.c
37254c9a 575
96e00b33
L
576./getcwd.lo: $(srcdir)/getcwd.c config.h
577 $(LTCOMPILE) -c -o $@ $(srcdir)/getcwd.c
37254c9a 578
96e00b33
L
579./getopt.lo: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h
580 $(LTCOMPILE) -c -o $@ $(srcdir)/getopt.c
37254c9a 581
96e00b33
L
582./getopt1.lo: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
583 $(LTCOMPILE) -c -o $@ $(srcdir)/getopt1.c
37254c9a 584
96e00b33
L
585./getpagesize.lo: $(srcdir)/getpagesize.c config.h
586 $(LTCOMPILE) -c -o $@ $(srcdir)/getpagesize.c
37254c9a 587
96e00b33 588./getpwd.lo: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
09e9708c 589 $(INCDIR)/libiberty.h
96e00b33 590 $(LTCOMPILE) -c -o $@ $(srcdir)/getpwd.c
37254c9a 591
96e00b33 592./getruntime.lo: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
cc096b71 593 $(INCDIR)/libiberty.h
96e00b33 594 $(LTCOMPILE) -c -o $@ $(srcdir)/getruntime.c
37254c9a 595
96e00b33 596./hashtab.lo: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
37254c9a 597 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
96e00b33 598 $(LTCOMPILE) -c -o $@ $(srcdir)/hashtab.c
37254c9a 599
96e00b33 600./hex.lo: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
70ecf948 601 $(INCDIR)/safe-ctype.h
96e00b33 602 $(LTCOMPILE) -c -o $@ $(srcdir)/hex.c
37254c9a 603
96e00b33
L
604./index.lo: $(srcdir)/index.c
605 $(LTCOMPILE) -c -o $@ $(srcdir)/index.c
37254c9a 606
96e00b33
L
607./insque.lo: $(srcdir)/insque.c
608 $(LTCOMPILE) -c -o $@ $(srcdir)/insque.c
37254c9a 609
96e00b33 610./lbasename.lo: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
59727473 611 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
96e00b33 612 $(LTCOMPILE) -c -o $@ $(srcdir)/lbasename.c
37254c9a 613
96e00b33 614./lrealpath.lo: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
37254c9a 615 $(INCDIR)/libiberty.h
96e00b33 616 $(LTCOMPILE) -c -o $@ $(srcdir)/lrealpath.c
37254c9a 617
96e00b33 618./make-relative-prefix.lo: $(srcdir)/make-relative-prefix.c config.h \
37254c9a 619 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
96e00b33 620 $(LTCOMPILE) -c -o $@ $(srcdir)/make-relative-prefix.c
37254c9a 621
96e00b33 622./make-temp-file.lo: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
1ea16ec5 623 $(INCDIR)/libiberty.h
96e00b33 624 $(LTCOMPILE) -c -o $@ $(srcdir)/make-temp-file.c
37254c9a 625
96e00b33
L
626./md5.lo: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
627 $(LTCOMPILE) -c -o $@ $(srcdir)/md5.c
37254c9a 628
96e00b33
L
629./memchr.lo: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
630 $(LTCOMPILE) -c -o $@ $(srcdir)/memchr.c
37254c9a 631
96e00b33
L
632./memcmp.lo: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
633 $(LTCOMPILE) -c -o $@ $(srcdir)/memcmp.c
37254c9a 634
96e00b33
L
635./memcpy.lo: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
636 $(LTCOMPILE) -c -o $@ $(srcdir)/memcpy.c
37254c9a 637
96e00b33
L
638./memmove.lo: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
639 $(LTCOMPILE) -c -o $@ $(srcdir)/memmove.c
37254c9a 640
96e00b33
L
641./mempcpy.lo: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
642 $(LTCOMPILE) -c -o $@ $(srcdir)/mempcpy.c
37254c9a 643
96e00b33
L
644./memset.lo: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
645 $(LTCOMPILE) -c -o $@ $(srcdir)/memset.c
37254c9a 646
96e00b33
L
647./mkstemps.lo: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
648 $(LTCOMPILE) -c -o $@ $(srcdir)/mkstemps.c
37254c9a 649
96e00b33
L
650./mpw.lo: $(srcdir)/mpw.c
651 $(LTCOMPILE) -c -o $@ $(srcdir)/mpw.c
37254c9a 652
96e00b33
L
653./msdos.lo: $(srcdir)/msdos.c
654 $(LTCOMPILE) -c -o $@ $(srcdir)/msdos.c
37254c9a 655
96e00b33 656./objalloc.lo: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
37254c9a 657 $(INCDIR)/objalloc.h
96e00b33 658 $(LTCOMPILE) -c -o $@ $(srcdir)/objalloc.c
37254c9a 659
96e00b33
L
660./obstack.lo: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
661 $(LTCOMPILE) -c -o $@ $(srcdir)/obstack.c
37254c9a 662
96e00b33 663./partition.lo: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
37254c9a 664 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
96e00b33 665 $(LTCOMPILE) -c -o $@ $(srcdir)/partition.c
37254c9a 666
96e00b33 667./pex-djgpp.lo: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
37254c9a 668 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
96e00b33 669 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-djgpp.c
37254c9a 670
96e00b33 671./pex-mpw.lo: $(srcdir)/pex-mpw.c config.h $(INCDIR)/ansidecl.h \
37254c9a 672 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
96e00b33 673 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-mpw.c
37254c9a 674
96e00b33 675./pex-msdos.lo: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
37254c9a
DD
676 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
677 $(INCDIR)/safe-ctype.h
96e00b33 678 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-msdos.c
37254c9a 679
96e00b33 680./pex-os2.lo: $(srcdir)/pex-os2.c config.h $(INCDIR)/ansidecl.h \
37254c9a 681 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
96e00b33 682 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-os2.c
37254c9a 683
96e00b33 684./pex-unix.lo: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
37254c9a 685 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
96e00b33 686 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-unix.c
37254c9a 687
96e00b33 688./pex-win32.lo: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
37254c9a 689 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
96e00b33 690 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-win32.c
37254c9a 691
96e00b33 692./physmem.lo: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
37254c9a 693 $(INCDIR)/libiberty.h
96e00b33 694 $(LTCOMPILE) -c -o $@ $(srcdir)/physmem.c
37254c9a 695
96e00b33
L
696./putenv.lo: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
697 $(LTCOMPILE) -c -o $@ $(srcdir)/putenv.c
37254c9a 698
96e00b33
L
699./random.lo: $(srcdir)/random.c $(INCDIR)/ansidecl.h
700 $(LTCOMPILE) -c -o $@ $(srcdir)/random.c
37254c9a 701
96e00b33 702./regex.lo: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
e0c148a7 703 $(INCDIR)/xregex2.h
96e00b33 704 $(LTCOMPILE) -c -o $@ $(srcdir)/regex.c
37254c9a 705
96e00b33
L
706./rename.lo: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
707 $(LTCOMPILE) -c -o $@ $(srcdir)/rename.c
37254c9a 708
96e00b33
L
709./rindex.lo: $(srcdir)/rindex.c
710 $(LTCOMPILE) -c -o $@ $(srcdir)/rindex.c
37254c9a 711
96e00b33 712./safe-ctype.lo: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
37254c9a 713 $(INCDIR)/safe-ctype.h
96e00b33 714 $(LTCOMPILE) -c -o $@ $(srcdir)/safe-ctype.c
37254c9a 715
96e00b33
L
716./setenv.lo: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
717 $(LTCOMPILE) -c -o $@ $(srcdir)/setenv.c
37254c9a 718
96e00b33
L
719./sigsetmask.lo: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
720 $(LTCOMPILE) -c -o $@ $(srcdir)/sigsetmask.c
37254c9a 721
96e00b33
L
722./snprintf.lo: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
723 $(LTCOMPILE) -c -o $@ $(srcdir)/snprintf.c
37254c9a 724
96e00b33 725./sort.lo: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
cc096b71 726 $(INCDIR)/sort.h
96e00b33 727 $(LTCOMPILE) -c -o $@ $(srcdir)/sort.c
37254c9a 728
96e00b33
L
729./spaces.lo: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
730 $(LTCOMPILE) -c -o $@ $(srcdir)/spaces.c
37254c9a 731
96e00b33 732./splay-tree.lo: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
37254c9a 733 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
96e00b33 734 $(LTCOMPILE) -c -o $@ $(srcdir)/splay-tree.c
37254c9a 735
96e00b33
L
736./stpcpy.lo: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
737 $(LTCOMPILE) -c -o $@ $(srcdir)/stpcpy.c
37254c9a 738
96e00b33
L
739./stpncpy.lo: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
740 $(LTCOMPILE) -c -o $@ $(srcdir)/stpncpy.c
37254c9a 741
96e00b33
L
742./strcasecmp.lo: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
743 $(LTCOMPILE) -c -o $@ $(srcdir)/strcasecmp.c
37254c9a 744
96e00b33
L
745./strchr.lo: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
746 $(LTCOMPILE) -c -o $@ $(srcdir)/strchr.c
37254c9a 747
96e00b33
L
748./strdup.lo: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
749 $(LTCOMPILE) -c -o $@ $(srcdir)/strdup.c
37254c9a 750
96e00b33 751./strerror.lo: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
37254c9a 752 $(INCDIR)/libiberty.h
96e00b33 753 $(LTCOMPILE) -c -o $@ $(srcdir)/strerror.c
37254c9a 754
96e00b33
L
755./strncasecmp.lo: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
756 $(LTCOMPILE) -c -o $@ $(srcdir)/strncasecmp.c
37254c9a 757
96e00b33
L
758./strncmp.lo: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
759 $(LTCOMPILE) -c -o $@ $(srcdir)/strncmp.c
37254c9a 760
96e00b33
L
761./strrchr.lo: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
762 $(LTCOMPILE) -c -o $@ $(srcdir)/strrchr.c
37254c9a 763
96e00b33 764./strsignal.lo: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
37254c9a 765 $(INCDIR)/libiberty.h
96e00b33 766 $(LTCOMPILE) -c -o $@ $(srcdir)/strsignal.c
37254c9a 767
96e00b33
L
768./strstr.lo: $(srcdir)/strstr.c
769 $(LTCOMPILE) -c -o $@ $(srcdir)/strstr.c
37254c9a 770
96e00b33
L
771./strtod.lo: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
772 $(LTCOMPILE) -c -o $@ $(srcdir)/strtod.c
37254c9a 773
96e00b33
L
774./strtol.lo: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
775 $(LTCOMPILE) -c -o $@ $(srcdir)/strtol.c
37254c9a 776
96e00b33 777./strtoul.lo: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
37254c9a 778 $(INCDIR)/safe-ctype.h
96e00b33 779 $(LTCOMPILE) -c -o $@ $(srcdir)/strtoul.c
37254c9a 780
96e00b33 781./ternary.lo: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
37254c9a 782 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
96e00b33 783 $(LTCOMPILE) -c -o $@ $(srcdir)/ternary.c
37254c9a 784
96e00b33
L
785./tmpnam.lo: $(srcdir)/tmpnam.c
786 $(LTCOMPILE) -c -o $@ $(srcdir)/tmpnam.c
37254c9a 787
96e00b33 788./vasprintf.lo: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
37254c9a 789 $(INCDIR)/libiberty.h
96e00b33 790 $(LTCOMPILE) -c -o $@ $(srcdir)/vasprintf.c
37254c9a 791
96e00b33
L
792./vfork.lo: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
793 $(LTCOMPILE) -c -o $@ $(srcdir)/vfork.c
37254c9a 794
96e00b33
L
795./vfprintf.lo: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
796 $(LTCOMPILE) -c -o $@ $(srcdir)/vfprintf.c
37254c9a 797
96e00b33
L
798./vprintf.lo: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
799 $(LTCOMPILE) -c -o $@ $(srcdir)/vprintf.c
37254c9a 800
96e00b33 801./vsnprintf.lo: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
37254c9a 802 $(INCDIR)/libiberty.h
96e00b33 803 $(LTCOMPILE) -c -o $@ $(srcdir)/vsnprintf.c
37254c9a 804
96e00b33
L
805./vsprintf.lo: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
806 $(LTCOMPILE) -c -o $@ $(srcdir)/vsprintf.c
37254c9a 807
96e00b33
L
808./waitpid.lo: $(srcdir)/waitpid.c config.h
809 $(LTCOMPILE) -c -o $@ $(srcdir)/waitpid.c
37254c9a 810
96e00b33
L
811./xatexit.lo: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
812 $(LTCOMPILE) -c -o $@ $(srcdir)/xatexit.c
37254c9a 813
96e00b33
L
814./xexit.lo: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
815 $(LTCOMPILE) -c -o $@ $(srcdir)/xexit.c
37254c9a 816
96e00b33 817./xmalloc.lo: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
37254c9a 818 $(INCDIR)/libiberty.h
96e00b33 819 $(LTCOMPILE) -c -o $@ $(srcdir)/xmalloc.c
37254c9a 820
96e00b33 821./xmemdup.lo: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
37254c9a 822 $(INCDIR)/libiberty.h
96e00b33 823 $(LTCOMPILE) -c -o $@ $(srcdir)/xmemdup.c
37254c9a 824
96e00b33 825./xstrdup.lo: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
37254c9a 826 $(INCDIR)/libiberty.h
96e00b33 827 $(LTCOMPILE) -c -o $@ $(srcdir)/xstrdup.c
37254c9a 828
96e00b33 829./xstrerror.lo: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
37254c9a 830 $(INCDIR)/libiberty.h
96e00b33 831 $(LTCOMPILE) -c -o $@ $(srcdir)/xstrerror.c
37254c9a 832
This page took 0.29668 seconds and 4 git commands to generate.