2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / libiberty / Makefile.in
... / ...
CommitLineData
1#
2# Makefile
3# Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004
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
29libiberty_topdir = @libiberty_topdir@
30srcdir = @srcdir@
31
32top_builddir = .
33
34enable_shared = @enable_shared@
35
36prefix = @prefix@
37
38exec_prefix = @exec_prefix@
39bindir = @bindir@
40libdir = @libdir@
41includedir = @includedir@
42target_header_dir = @target_header_dir@
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@
57mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
58
59AR = @AR@
60AR_FLAGS = rc
61
62CC = @CC@
63CFLAGS = @CFLAGS@
64LIBCFLAGS = $(CFLAGS)
65RANLIB = @RANLIB@
66MAKEINFO = @MAKEINFO@
67PERL = @PERL@
68LIBTOOL = @LIBTOOL@
69
70PICFLAG =
71
72MAKEOVERRIDES =
73
74TARGETLIB = ./libiberty.a
75LTTARGETLIB = ./libiberty.la
76PREFIXTARGETLIB= ./libiberty
77TESTLIB = ./testlib.a
78LTTESTLIB = ./testlib.la
79PREFIXTESTLIB = ./testlib
80
81LIBOBJS = @LIBOBJS@
82LTLIBOBJS = @LTLIBOBJS@
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 =
87EXTRA_LTOFILES =
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)" \
95 "DESTDIR=$(DESTDIR)" \
96 "LIBCFLAGS=$(LIBCFLAGS)" \
97 "EXTRA_OFILES=$(EXTRA_OFILES)" \
98 "EXTRA_LTOFILES=$(EXTRA_LTOFILES)" \
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)" \
106 "SHELL=$(SHELL)" \
107 "prefix=$(prefix)" \
108 "exec_prefix=$(exec_prefix)" \
109 "libdir=$(libdir)" \
110 "libsubdir=$(libsubdir)" \
111 "tooldir=$(tooldir)"
112
113# Subdirectories to recurse into. We need to override this during cleaning
114SUBDIRS = testsuite
115
116# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
117all: $(TARGETLIB) needed-list required-list all-subdir
118 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
119
120.PHONY: check installcheck
121check: check-subdir
122installcheck: installcheck-subdir
123
124@host_makefile_frag@
125
126INCDIR=$(srcdir)/$(MULTISRCTOP)../include
127
128COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
129LTCOMPILE = $(LIBTOOL) --mode=compile $(COMPILE.c)
130CCLD = $(CC)
131LINK = $(LIBTOOL) --mode=link $(CCLD) $(CFLAGS)
132
133# Just to make sure we don't use a built-in rule with VPATH
134.c.o:
135 false
136
137.c.lo:
138 false
139
140# NOTE: If you add new files to the library, add them to this list
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.
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 \
147 cp-demint.c cplus-dem.c \
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 \
154 lrealpath.c \
155 make-relative-prefix.c \
156 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \
157 mempcpy.c memset.c mkstemps.c \
158 objalloc.c obstack.c \
159 partition.c \
160 pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \
161 pex-unix.c pex-win32.c \
162 physmem.c putenv.c \
163 random.c regex.c rename.c rindex.c \
164 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
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 \
168 ternary.c tmpnam.c \
169 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
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.
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 \
178 ./dyn-string.o \
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 \
187 ./strsignal.o \
188 ./ternary.o \
189 ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \
190 ./xstrerror.o
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
207
208# These are all the objects that configure may add to the library via
209# $funcs or EXTRA_OFILES. This list exists here only for "make
210# maint-missing" and "make check".
211CONFIGURED_OFILES = ./asprintf.o ./atexit.o \
212 ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \
213 ./calloc.o ./clock.o ./copysign.o \
214 ./_doprnt.o \
215 ./ffs.o \
216 ./getcwd.o ./getpagesize.o \
217 ./index.o ./insque.o \
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 \
222 ./putenv.o \
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 \
228 ./tmpnam.o \
229 ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \
230 ./vsprintf.o \
231 ./waitpid.o
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
253
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
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.
274$(TARGETLIB): $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS)
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; \
289 $(AR) $(AR_FLAGS) $(TARGETLIB) \
290 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
291 $(RANLIB) $(TARGETLIB); \
292 [ -d ../pic ] || mkdir ../pic; \
293 rm -f ../pic/$(TARGETLIB); \
294 cp $(TARGETLIB) ../pic/$(TARGETLIB); \
295 cd ..; \
296 else true; fi
297
298$(TESTLIB): $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
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)*
310
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
324# and sorted. Some are here because the sources are imported from
325# elsewhere. Others represent headers in ../include.
326TEXIFILES = fnmatch.txh pexecute.txh
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)
335 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
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
344INSTALL_DEST = @INSTALL_DEST@
345install: install_to_$(INSTALL_DEST) install-subdir
346
347install_to_libdir: all
348 ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
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)
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; \
357 ${mkinstalldirs} $(DESTDIR)$${thd}; \
358 for h in ${INSTALLED_HEADERS}; do \
359 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
360 done; \
361 fi
362 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
363
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`
369install_to_tooldir: all
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)
374 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
375
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 \
380 strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
381 vfork waitpid bcmp bcopy bzero
382needed-list: Makefile
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
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
397.PHONY: all etags tags ls clean stage1 stage2
398
399etags tags: TAGS etags-subdir
400
401TAGS: $(CFILES)
402 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
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:
411 @echo Makefile $(CFILES)
412
413# Various targets for maintainers.
414
415maint-missing :
416 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
417
418maint-buildall : $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES)
419 @true
420
421maint-undoc : $(srcdir)/functions.texi
422 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
423
424maint-deps :
425 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
426
427# Need to deal with profiled libraries, too.
428
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
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
435 -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
436 -rm -f $(CONFIG_H) $(NEEDED_LIST)
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
441 @$(MULTICLEAN) multi-clean DO=mostlyclean
442clean: clean-subdir
443 $(MAKE) SUBDIRS="" mostlyclean
444 -rm -f *.a required-list tmpmulti.out
445 -rm -f libiberty.dvi libiberty.info* libiberty.html
446 @$(MULTICLEAN) multi-clean DO=clean
447distclean: distclean-subdir
448 $(MAKE) SUBDIRS="" clean
449 @$(MULTICLEAN) multi-clean DO=distclean
450 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
451 -rm -f config.log
452 -rmdir testsuite 2>/dev/null
453maintainer-clean realclean: maintainer-clean-subdir
454 $(MAKE) SUBDIRS="" distclean
455
456force:
457
458Makefile: $(srcdir)/Makefile.in config.status
459 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
460
461# Depending on Makefile makes sure that config.status has been re-run
462# if needed. This prevents problems with parallel builds.
463config.h: stamp-h ; @true
464stamp-h: $(srcdir)/config.in config.status Makefile
465 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
466
467config.status: $(srcdir)/configure $(srcdir)/config.table
468 $(SHELL) ./config.status --recheck
469
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.
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 \
476maintainer-clean-subdir: config.h
477 @subdirs='$(SUBDIRS)'; \
478 target=`echo $@ | sed -e 's/-subdir//'`; \
479 for dir in $$subdirs ; do \
480 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
481 done
482
483# Don't export variables to the environment, in order to not confuse
484# configure.
485.NOEXPORT:
486# The dependencies in the remainder of this file are automatically
487# generated by "make maint-deps". Manual edits will be lost.
488
489./_doprnt.lo: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
490 $(INCDIR)/safe-ctype.h
491 $(LTCOMPILE) -c -o $@ $(srcdir)/_doprnt.c
492
493./alloca.lo: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
494 $(INCDIR)/libiberty.h
495 $(LTCOMPILE) -c -o $@ $(srcdir)/alloca.c
496
497./argv.lo: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
498 $(LTCOMPILE) -c -o $@ $(srcdir)/argv.c
499
500./asprintf.lo: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
501 $(LTCOMPILE) -c -o $@ $(srcdir)/asprintf.c
502
503./atexit.lo: $(srcdir)/atexit.c config.h
504 $(LTCOMPILE) -c -o $@ $(srcdir)/atexit.c
505
506./basename.lo: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
507 $(INCDIR)/safe-ctype.h
508 $(LTCOMPILE) -c -o $@ $(srcdir)/basename.c
509
510./bcmp.lo: $(srcdir)/bcmp.c
511 $(LTCOMPILE) -c -o $@ $(srcdir)/bcmp.c
512
513./bcopy.lo: $(srcdir)/bcopy.c
514 $(LTCOMPILE) -c -o $@ $(srcdir)/bcopy.c
515
516./bsearch.lo: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
517 $(LTCOMPILE) -c -o $@ $(srcdir)/bsearch.c
518
519./bzero.lo: $(srcdir)/bzero.c
520 $(LTCOMPILE) -c -o $@ $(srcdir)/bzero.c
521
522./calloc.lo: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
523 $(LTCOMPILE) -c -o $@ $(srcdir)/calloc.c
524
525./choose-temp.lo: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
526 $(INCDIR)/libiberty.h
527 $(LTCOMPILE) -c -o $@ $(srcdir)/choose-temp.c
528
529./clock.lo: $(srcdir)/clock.c config.h
530 $(LTCOMPILE) -c -o $@ $(srcdir)/clock.c
531
532./concat.lo: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
533 $(INCDIR)/libiberty.h
534 $(LTCOMPILE) -c -o $@ $(srcdir)/concat.c
535
536./copysign.lo: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
537 $(LTCOMPILE) -c -o $@ $(srcdir)/copysign.c
538
539./cp-demangle.lo: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
540 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
541 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
542 $(LTCOMPILE) -c -o $@ $(srcdir)/cp-demangle.c
543
544./cp-demint.lo: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
545 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
546 $(INCDIR)/libiberty.h
547 $(LTCOMPILE) -c -o $@ $(srcdir)/cp-demint.c
548
549./cplus-dem.lo: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
550 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
551 $(INCDIR)/safe-ctype.h
552 $(LTCOMPILE) -c -o $@ $(srcdir)/cplus-dem.c
553
554./dyn-string.lo: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
555 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
556 $(LTCOMPILE) -c -o $@ $(srcdir)/dyn-string.c
557
558./fdmatch.lo: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
559 $(LTCOMPILE) -c -o $@ $(srcdir)/fdmatch.c
560
561./ffs.lo: $(srcdir)/ffs.c
562 $(LTCOMPILE) -c -o $@ $(srcdir)/ffs.c
563
564./fibheap.lo: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
565 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
566 $(LTCOMPILE) -c -o $@ $(srcdir)/fibheap.c
567
568./floatformat.lo: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
569 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
570 $(LTCOMPILE) -c -o $@ $(srcdir)/floatformat.c
571
572./fnmatch.lo: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
573 $(INCDIR)/safe-ctype.h
574 $(LTCOMPILE) -c -o $@ $(srcdir)/fnmatch.c
575
576./getcwd.lo: $(srcdir)/getcwd.c config.h
577 $(LTCOMPILE) -c -o $@ $(srcdir)/getcwd.c
578
579./getopt.lo: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h
580 $(LTCOMPILE) -c -o $@ $(srcdir)/getopt.c
581
582./getopt1.lo: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
583 $(LTCOMPILE) -c -o $@ $(srcdir)/getopt1.c
584
585./getpagesize.lo: $(srcdir)/getpagesize.c config.h
586 $(LTCOMPILE) -c -o $@ $(srcdir)/getpagesize.c
587
588./getpwd.lo: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
589 $(INCDIR)/libiberty.h
590 $(LTCOMPILE) -c -o $@ $(srcdir)/getpwd.c
591
592./getruntime.lo: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
593 $(INCDIR)/libiberty.h
594 $(LTCOMPILE) -c -o $@ $(srcdir)/getruntime.c
595
596./hashtab.lo: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
597 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
598 $(LTCOMPILE) -c -o $@ $(srcdir)/hashtab.c
599
600./hex.lo: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
601 $(INCDIR)/safe-ctype.h
602 $(LTCOMPILE) -c -o $@ $(srcdir)/hex.c
603
604./index.lo: $(srcdir)/index.c
605 $(LTCOMPILE) -c -o $@ $(srcdir)/index.c
606
607./insque.lo: $(srcdir)/insque.c
608 $(LTCOMPILE) -c -o $@ $(srcdir)/insque.c
609
610./lbasename.lo: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \
611 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
612 $(LTCOMPILE) -c -o $@ $(srcdir)/lbasename.c
613
614./lrealpath.lo: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
615 $(INCDIR)/libiberty.h
616 $(LTCOMPILE) -c -o $@ $(srcdir)/lrealpath.c
617
618./make-relative-prefix.lo: $(srcdir)/make-relative-prefix.c config.h \
619 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
620 $(LTCOMPILE) -c -o $@ $(srcdir)/make-relative-prefix.c
621
622./make-temp-file.lo: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \
623 $(INCDIR)/libiberty.h
624 $(LTCOMPILE) -c -o $@ $(srcdir)/make-temp-file.c
625
626./md5.lo: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
627 $(LTCOMPILE) -c -o $@ $(srcdir)/md5.c
628
629./memchr.lo: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
630 $(LTCOMPILE) -c -o $@ $(srcdir)/memchr.c
631
632./memcmp.lo: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
633 $(LTCOMPILE) -c -o $@ $(srcdir)/memcmp.c
634
635./memcpy.lo: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
636 $(LTCOMPILE) -c -o $@ $(srcdir)/memcpy.c
637
638./memmove.lo: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
639 $(LTCOMPILE) -c -o $@ $(srcdir)/memmove.c
640
641./mempcpy.lo: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
642 $(LTCOMPILE) -c -o $@ $(srcdir)/mempcpy.c
643
644./memset.lo: $(srcdir)/memset.c $(INCDIR)/ansidecl.h
645 $(LTCOMPILE) -c -o $@ $(srcdir)/memset.c
646
647./mkstemps.lo: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
648 $(LTCOMPILE) -c -o $@ $(srcdir)/mkstemps.c
649
650./mpw.lo: $(srcdir)/mpw.c
651 $(LTCOMPILE) -c -o $@ $(srcdir)/mpw.c
652
653./msdos.lo: $(srcdir)/msdos.c
654 $(LTCOMPILE) -c -o $@ $(srcdir)/msdos.c
655
656./objalloc.lo: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
657 $(INCDIR)/objalloc.h
658 $(LTCOMPILE) -c -o $@ $(srcdir)/objalloc.c
659
660./obstack.lo: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
661 $(LTCOMPILE) -c -o $@ $(srcdir)/obstack.c
662
663./partition.lo: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
664 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
665 $(LTCOMPILE) -c -o $@ $(srcdir)/partition.c
666
667./pex-djgpp.lo: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
668 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
669 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-djgpp.c
670
671./pex-mpw.lo: $(srcdir)/pex-mpw.c config.h $(INCDIR)/ansidecl.h \
672 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
673 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-mpw.c
674
675./pex-msdos.lo: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
676 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
677 $(INCDIR)/safe-ctype.h
678 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-msdos.c
679
680./pex-os2.lo: $(srcdir)/pex-os2.c config.h $(INCDIR)/ansidecl.h \
681 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
682 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-os2.c
683
684./pex-unix.lo: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
685 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
686 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-unix.c
687
688./pex-win32.lo: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
689 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
690 $(LTCOMPILE) -c -o $@ $(srcdir)/pex-win32.c
691
692./physmem.lo: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
693 $(INCDIR)/libiberty.h
694 $(LTCOMPILE) -c -o $@ $(srcdir)/physmem.c
695
696./putenv.lo: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
697 $(LTCOMPILE) -c -o $@ $(srcdir)/putenv.c
698
699./random.lo: $(srcdir)/random.c $(INCDIR)/ansidecl.h
700 $(LTCOMPILE) -c -o $@ $(srcdir)/random.c
701
702./regex.lo: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \
703 $(INCDIR)/xregex2.h
704 $(LTCOMPILE) -c -o $@ $(srcdir)/regex.c
705
706./rename.lo: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
707 $(LTCOMPILE) -c -o $@ $(srcdir)/rename.c
708
709./rindex.lo: $(srcdir)/rindex.c
710 $(LTCOMPILE) -c -o $@ $(srcdir)/rindex.c
711
712./safe-ctype.lo: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
713 $(INCDIR)/safe-ctype.h
714 $(LTCOMPILE) -c -o $@ $(srcdir)/safe-ctype.c
715
716./setenv.lo: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
717 $(LTCOMPILE) -c -o $@ $(srcdir)/setenv.c
718
719./sigsetmask.lo: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
720 $(LTCOMPILE) -c -o $@ $(srcdir)/sigsetmask.c
721
722./snprintf.lo: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
723 $(LTCOMPILE) -c -o $@ $(srcdir)/snprintf.c
724
725./sort.lo: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
726 $(INCDIR)/sort.h
727 $(LTCOMPILE) -c -o $@ $(srcdir)/sort.c
728
729./spaces.lo: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
730 $(LTCOMPILE) -c -o $@ $(srcdir)/spaces.c
731
732./splay-tree.lo: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
733 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
734 $(LTCOMPILE) -c -o $@ $(srcdir)/splay-tree.c
735
736./stpcpy.lo: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
737 $(LTCOMPILE) -c -o $@ $(srcdir)/stpcpy.c
738
739./stpncpy.lo: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
740 $(LTCOMPILE) -c -o $@ $(srcdir)/stpncpy.c
741
742./strcasecmp.lo: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
743 $(LTCOMPILE) -c -o $@ $(srcdir)/strcasecmp.c
744
745./strchr.lo: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
746 $(LTCOMPILE) -c -o $@ $(srcdir)/strchr.c
747
748./strdup.lo: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
749 $(LTCOMPILE) -c -o $@ $(srcdir)/strdup.c
750
751./strerror.lo: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
752 $(INCDIR)/libiberty.h
753 $(LTCOMPILE) -c -o $@ $(srcdir)/strerror.c
754
755./strncasecmp.lo: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
756 $(LTCOMPILE) -c -o $@ $(srcdir)/strncasecmp.c
757
758./strncmp.lo: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
759 $(LTCOMPILE) -c -o $@ $(srcdir)/strncmp.c
760
761./strrchr.lo: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
762 $(LTCOMPILE) -c -o $@ $(srcdir)/strrchr.c
763
764./strsignal.lo: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
765 $(INCDIR)/libiberty.h
766 $(LTCOMPILE) -c -o $@ $(srcdir)/strsignal.c
767
768./strstr.lo: $(srcdir)/strstr.c
769 $(LTCOMPILE) -c -o $@ $(srcdir)/strstr.c
770
771./strtod.lo: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h
772 $(LTCOMPILE) -c -o $@ $(srcdir)/strtod.c
773
774./strtol.lo: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
775 $(LTCOMPILE) -c -o $@ $(srcdir)/strtol.c
776
777./strtoul.lo: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
778 $(INCDIR)/safe-ctype.h
779 $(LTCOMPILE) -c -o $@ $(srcdir)/strtoul.c
780
781./ternary.lo: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \
782 $(INCDIR)/libiberty.h $(INCDIR)/ternary.h
783 $(LTCOMPILE) -c -o $@ $(srcdir)/ternary.c
784
785./tmpnam.lo: $(srcdir)/tmpnam.c
786 $(LTCOMPILE) -c -o $@ $(srcdir)/tmpnam.c
787
788./vasprintf.lo: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
789 $(INCDIR)/libiberty.h
790 $(LTCOMPILE) -c -o $@ $(srcdir)/vasprintf.c
791
792./vfork.lo: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
793 $(LTCOMPILE) -c -o $@ $(srcdir)/vfork.c
794
795./vfprintf.lo: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
796 $(LTCOMPILE) -c -o $@ $(srcdir)/vfprintf.c
797
798./vprintf.lo: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
799 $(LTCOMPILE) -c -o $@ $(srcdir)/vprintf.c
800
801./vsnprintf.lo: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
802 $(INCDIR)/libiberty.h
803 $(LTCOMPILE) -c -o $@ $(srcdir)/vsnprintf.c
804
805./vsprintf.lo: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
806 $(LTCOMPILE) -c -o $@ $(srcdir)/vsprintf.c
807
808./waitpid.lo: $(srcdir)/waitpid.c config.h
809 $(LTCOMPILE) -c -o $@ $(srcdir)/waitpid.c
810
811./xatexit.lo: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
812 $(LTCOMPILE) -c -o $@ $(srcdir)/xatexit.c
813
814./xexit.lo: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
815 $(LTCOMPILE) -c -o $@ $(srcdir)/xexit.c
816
817./xmalloc.lo: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
818 $(INCDIR)/libiberty.h
819 $(LTCOMPILE) -c -o $@ $(srcdir)/xmalloc.c
820
821./xmemdup.lo: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
822 $(INCDIR)/libiberty.h
823 $(LTCOMPILE) -c -o $@ $(srcdir)/xmemdup.c
824
825./xstrdup.lo: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
826 $(INCDIR)/libiberty.h
827 $(LTCOMPILE) -c -o $@ $(srcdir)/xstrdup.c
828
829./xstrerror.lo: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
830 $(INCDIR)/libiberty.h
831 $(LTCOMPILE) -c -o $@ $(srcdir)/xstrerror.c
832
This page took 0.024845 seconds and 4 git commands to generate.