]>
Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # |
2 | # Makefile | |
7f285245 | 3 | # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003 |
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 | ||
29 | srcdir = @srcdir@ | |
30 | VPATH = @srcdir@ | |
31 | ||
32 | prefix = @prefix@ | |
33 | ||
34 | exec_prefix = @exec_prefix@ | |
35 | bindir = @bindir@ | |
36 | libdir = @libdir@ | |
50d4562d DD |
37 | includedir = @includedir@ |
38 | target_header_dir = @target_header_dir@ | |
252b5132 RH |
39 | |
40 | SHELL = @SHELL@ | |
41 | ||
42 | # Multilib support variables. | |
43 | MULTISRCTOP = | |
44 | MULTIBUILDTOP = | |
45 | MULTIDIRS = | |
46 | MULTISUBDIR = | |
47 | MULTIDO = true | |
48 | MULTICLEAN = true | |
49 | ||
50 | INSTALL = @INSTALL@ | |
51 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
52 | INSTALL_DATA = @INSTALL_DATA@ | |
50d4562d | 53 | mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs |
252b5132 | 54 | |
b39b76b8 DD |
55 | # Some compilers can't handle cc -c blah.c -o foo/blah.o. |
56 | OUTPUT_OPTION = @OUTPUT_OPTION@ | |
57 | ||
252b5132 RH |
58 | AR = @AR@ |
59 | AR_FLAGS = rc | |
60 | ||
61 | CC = @CC@ | |
62 | CFLAGS = @CFLAGS@ | |
63 | LIBCFLAGS = $(CFLAGS) | |
64 | RANLIB = @RANLIB@ | |
39423523 DD |
65 | MAKEINFO = @MAKEINFO@ |
66 | PERL = @PERL@ | |
252b5132 RH |
67 | |
68 | PICFLAG = | |
69 | ||
70 | MAKEOVERRIDES = | |
71 | ||
72 | TARGETLIB = libiberty.a | |
cc096b71 | 73 | TESTLIB = testlib.a |
252b5132 RH |
74 | |
75 | LIBOBJS = @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.) | |
79 | EXTRA_OFILES = | |
80 | ||
81 | # Flags to pass to a recursive make. | |
82 | FLAGS_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 |
105 | SUBDIRS = testsuite | |
106 | ||
39423523 | 107 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
0c0a36a4 | 108 | all: 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 |
112 | check: check-subdir |
113 | installcheck: installcheck-subdir | |
252b5132 RH |
114 | |
115 | @host_makefile_frag@ | |
116 | ||
117 | INCDIR=$(srcdir)/$(MULTISRCTOP)../include | |
118 | ||
eb383413 | 119 | COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@ |
252b5132 | 120 | .c.o: |
eb383413 L |
121 | if [ x"$(PICFLAG)" != x ]; then \ |
122 | $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \ | |
123 | else true; fi | |
b39b76b8 | 124 | $(COMPILE.c) $< $(OUTPUT_OPTION) |
252b5132 | 125 | |
252b5132 | 126 | # NOTE: If you add new files to the library, add them to this list |
cc096b71 DD |
127 | # (alphabetical), and add them to REQUIRED_OFILES, or |
128 | # CONFIGURED_OFILES and funcs in configure.in. | |
129 | CFILES = 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 \ | |
132 | cplus-dem.c \ | |
133 | dyn-string.c \ | |
134 | fdmatch.c ffs.c fibheap.c floatformat.c fnmatch.c \ | |
135 | getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ | |
136 | hashtab.c hex.c \ | |
137 | index.c insque.c \ | |
138 | lbasename.c \ | |
2a80c0a4 | 139 | make-relative-prefix.c \ |
cc096b71 DD |
140 | make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \ |
141 | memset.c mkstemps.c \ | |
142 | objalloc.c obstack.c \ | |
5a17353c | 143 | partition.c \ |
9c2259b8 | 144 | pex-djgpp.c pex-mpw.c pex-msdos.c pex-os2.c \ |
5a17353c DD |
145 | pex-unix.c pex-win32.c \ |
146 | putenv.c \ | |
cc096b71 DD |
147 | random.c regex.c rename.c rindex.c \ |
148 | safe-ctype.c setenv.c sigsetmask.c sort.c spaces.c \ | |
149 | splay-tree.c strcasecmp.c strchr.c strdup.c strerror.c \ | |
150 | strncasecmp.c strncmp.c strrchr.c strsignal.c strstr.c \ | |
151 | strtod.c strtol.c strtoul.c \ | |
152 | ternary.c tmpnam.c \ | |
153 | vasprintf.c vfork.c vfprintf.c vprintf.c vsprintf.c \ | |
154 | waitpid.c \ | |
155 | xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c | |
156 | ||
157 | # These are always included in the library. The first four are listed | |
158 | # first and by compile time to optimize parallel builds. | |
159 | REQUIRED_OFILES = regex.o cplus-dem.o cp-demangle.o md5.o \ | |
160 | alloca.o argv.o \ | |
161 | choose-temp.o concat.o \ | |
162 | dyn-string.o \ | |
163 | fdmatch.o fibheap.o floatformat.o fnmatch.o \ | |
164 | getopt.o getopt1.o getpwd.o getruntime.o \ | |
165 | hashtab.o hex.o \ | |
166 | lbasename.o \ | |
2a80c0a4 | 167 | make-relative-prefix.o \ |
cc096b71 DD |
168 | make-temp-file.o \ |
169 | objalloc.o obstack.o \ | |
5a17353c | 170 | partition.o @pexecute@ \ |
cc096b71 DD |
171 | safe-ctype.o sort.o spaces.o splay-tree.o strerror.o \ |
172 | strsignal.o \ | |
173 | ternary.o \ | |
174 | xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o | |
30673bf5 | 175 | |
39423523 | 176 | # These are all the objects that configure may add to the library via |
cc096b71 DD |
177 | # $funcs or EXTRA_OFILES. This list exists here only for "make |
178 | # maint-missing" and "make check". | |
179 | CONFIGURED_OFILES = asprintf.o atexit.o \ | |
180 | basename.o bcmp.o bcopy.o bsearch.o bzero.o \ | |
181 | calloc.o clock.o copysign.o \ | |
182 | _doprnt.o \ | |
183 | ffs.o \ | |
184 | getcwd.o getpagesize.o \ | |
185 | index.o insque.o \ | |
186 | memchr.o memcmp.o memcpy.o memmove.o memset.o mkstemps.o \ | |
9c2259b8 | 187 | pex-djgpp.o pex-mpw.o pex-msdos.o pex-os2.o \ |
5a17353c DD |
188 | pex-unix.o pex-win32.o \ |
189 | putenv.o \ | |
cc096b71 DD |
190 | random.o rename.o rindex.o \ |
191 | setenv.o sigsetmask.o strcasecmp.o strchr.o strdup.o \ | |
192 | strncasecmp.o strncmp.o strrchr.o strstr.o strtod.o strtol.o \ | |
193 | strtoul.o \ | |
194 | tmpnam.o \ | |
195 | vasprintf.o vfork.o vfprintf.o vprintf.o vsprintf.o \ | |
196 | waitpid.o | |
39423523 | 197 | |
50d4562d DD |
198 | # These files are installed if the library has been configured to do so. |
199 | INSTALLED_HEADERS = \ | |
200 | $(INCDIR)/ansidecl.h \ | |
201 | $(INCDIR)/demangle.h \ | |
202 | $(INCDIR)/dyn-string.h \ | |
203 | $(INCDIR)/fibheap.h \ | |
204 | $(INCDIR)/floatformat.h \ | |
205 | $(INCDIR)/hashtab.h \ | |
206 | $(INCDIR)/libiberty.h \ | |
207 | $(INCDIR)/objalloc.h \ | |
208 | $(INCDIR)/partition.h \ | |
209 | $(INCDIR)/safe-ctype.h \ | |
210 | $(INCDIR)/sort.h \ | |
211 | $(INCDIR)/splay-tree.h \ | |
212 | $(INCDIR)/ternary.h | |
213 | ||
30673bf5 | 214 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
3bc62f91 | 215 | -rm -f $(TARGETLIB) pic/$(TARGETLIB) |
252b5132 | 216 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
30673bf5 | 217 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
252b5132 | 218 | $(RANLIB) $(TARGETLIB) |
3bc62f91 DD |
219 | if [ x"$(PICFLAG)" != x ]; then \ |
220 | cd pic; \ | |
221 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ | |
222 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
223 | $(RANLIB) $(TARGETLIB); \ | |
224 | cd ..; \ | |
225 | else true; fi | |
252b5132 | 226 | |
cc096b71 DD |
227 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
228 | -rm -f $(TESTLIB) | |
229 | $(AR) $(AR_FLAGS) $(TESTLIB) \ | |
230 | $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
231 | $(RANLIB) $(TESTLIB) | |
232 | ||
39423523 DD |
233 | info: libiberty.info info-subdir |
234 | install-info: install-info-subdir | |
235 | clean-info: clean-info-subdir | |
236 | dvi: libiberty.dvi dvi-subdir | |
237 | html: libiberty.html | |
238 | ||
239 | TEXISRC = \ | |
240 | $(srcdir)/libiberty.texi \ | |
241 | $(srcdir)/copying-lib.texi \ | |
242 | $(srcdir)/obstacks.texi \ | |
243 | $(srcdir)/functions.texi | |
244 | ||
245 | # Additional files that have texi snippets that need to be collected | |
ba19b94f DD |
246 | # and sorted. Some are here because the sources are imported from |
247 | # elsewhere. Others represent headers in ../include. | |
5a17353c | 248 | TEXIFILES = fnmatch.txh pexecute.txh |
39423523 DD |
249 | |
250 | libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) | |
251 | $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi | |
252 | ||
253 | libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) | |
254 | texi2dvi $(srcdir)/libiberty.texi | |
255 | ||
256 | libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) | |
257 | $(MAKEINFO) --html -I$(srcdir) $(srcdir)/libiberty.texi | |
258 | ||
259 | @MAINT@$(srcdir)/functions.texi : stamp-functions | |
260 | @MAINT@ @true | |
261 | ||
262 | @MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile | |
263 | @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) | |
264 | @MAINT@ echo stamp > stamp-functions | |
265 | ||
252b5132 | 266 | INSTALL_DEST = @INSTALL_DEST@ |
0c0a36a4 | 267 | install: install_to_$(INSTALL_DEST) install-subdir |
252b5132 RH |
268 | |
269 | install_to_libdir: all | |
27a39a5f | 270 | ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) |
4748c6d8 DD |
271 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n |
272 | ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) | |
273 | mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) | |
50d4562d DD |
274 | if test -n "${target_header_dir}"; then \ |
275 | case "${target_header_dir}" in \ | |
276 | /*) thd=${target_header_dir};; \ | |
277 | *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \ | |
278 | esac; \ | |
4748c6d8 | 279 | ${mkinstalldirs} $(DESTDIR)$${thd}; \ |
50d4562d | 280 | for h in ${INSTALLED_HEADERS}; do \ |
4748c6d8 | 281 | ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ |
50d4562d DD |
282 | done; \ |
283 | fi | |
252b5132 RH |
284 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
285 | ||
286 | install_to_tooldir: all | |
7f285245 AO |
287 | ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` |
288 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory`/$(TARGETLIB)n | |
289 | ( cd $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` ; $(RANLIB) $(TARGETLIB)n ) | |
290 | mv -f $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory`/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory`/$(TARGETLIB) | |
252b5132 RH |
291 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
292 | ||
0c0a36a4 ILT |
293 | # needed-list is used by libstdc++. NEEDED is the list of functions |
294 | # to include there. Do not add anything LGPL to this list; libstdc++ | |
295 | # can't use anything encumbering. | |
296 | NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \ | |
eb383413 | 297 | strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \ |
0c0a36a4 | 298 | vfork waitpid bcmp bcopy bzero |
252b5132 | 299 | needed-list: Makefile |
0c0a36a4 ILT |
300 | rm -f needed-list; touch needed-list; \ |
301 | for f in $(NEEDED); do \ | |
302 | for g in $(LIBOBJS) $(EXTRA_OFILES); do \ | |
303 | case "$$g" in \ | |
304 | *$$f*) echo $$g >> needed-list ;; \ | |
305 | esac; \ | |
306 | done; \ | |
307 | done | |
252b5132 RH |
308 | |
309 | # required-list was used when building a shared bfd/opcodes/libiberty | |
310 | # library. I don't know if it used by anything currently. | |
311 | required-list: Makefile | |
312 | echo $(REQUIRED_OFILES) > required-list | |
313 | ||
314 | stamp-picdir: | |
eb383413 | 315 | if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ |
252b5132 RH |
316 | mkdir pic; \ |
317 | else true; fi | |
318 | touch stamp-picdir | |
319 | ||
320 | .PHONY: all etags tags ls clean stage1 stage2 | |
321 | ||
0c0a36a4 | 322 | etags tags: TAGS etags-subdir |
252b5132 | 323 | |
30673bf5 DD |
324 | TAGS: $(CFILES) |
325 | etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done` | |
252b5132 RH |
326 | |
327 | # The standalone demangler (c++filt) has been moved to binutils. | |
328 | demangle: | |
329 | @echo "The standalone demangler, now named c++filt, is now" | |
330 | @echo "a part of binutils." | |
331 | @false | |
332 | ||
333 | ls: | |
30673bf5 | 334 | @echo Makefile $(CFILES) |
252b5132 | 335 | |
39423523 DD |
336 | # Various targets for maintainers. |
337 | ||
338 | maint-missing : | |
339 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
340 | ||
341 | maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
342 | @true | |
343 | ||
ba19b94f DD |
344 | maint-undoc : $(srcdir)/functions.texi |
345 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc | |
346 | ||
cc096b71 DD |
347 | maint-deps : |
348 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) | |
349 | ||
252b5132 RH |
350 | # Need to deal with profiled libraries, too. |
351 | ||
0c0a36a4 ILT |
352 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
353 | # multiple times, hence our explicit recursion with an empty SUBDIRS. | |
354 | mostlyclean: mostlyclean-subdir | |
c00c39ed DD |
355 | -rm -rf *.o pic core errs \#* *.E a.out |
356 | -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* | |
357 | -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir | |
39423523 DD |
358 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
359 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg | |
360 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr | |
361 | -rm -f libtexi.stamp | |
252b5132 | 362 | @$(MULTICLEAN) multi-clean DO=mostlyclean |
0c0a36a4 ILT |
363 | clean: clean-subdir |
364 | $(MAKE) SUBDIRS="" mostlyclean | |
c00c39ed | 365 | -rm -f *.a required-list tmpmulti.out |
39423523 | 366 | -rm -f libiberty.dvi libiberty.info* libiberty.html |
252b5132 | 367 | @$(MULTICLEAN) multi-clean DO=clean |
0c0a36a4 ILT |
368 | distclean: distclean-subdir |
369 | $(MAKE) SUBDIRS="" clean | |
252b5132 | 370 | @$(MULTICLEAN) multi-clean DO=distclean |
c00c39ed DD |
371 | -rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out |
372 | -rm -f config.log | |
4415a860 | 373 | -rmdir testsuite 2>/dev/null |
0c0a36a4 ILT |
374 | maintainer-clean realclean: maintainer-clean-subdir |
375 | $(MAKE) SUBDIRS="" distclean | |
252b5132 RH |
376 | |
377 | force: | |
378 | ||
379 | Makefile: $(srcdir)/Makefile.in config.status | |
380 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
381 | ||
fec50157 DD |
382 | # Depending on Makefile makes sure that config.status has been re-run |
383 | # if needed. This prevents problems with parallel builds. | |
252b5132 | 384 | config.h: stamp-h ; @true |
fec50157 | 385 | stamp-h: config.in config.status Makefile |
252b5132 RH |
386 | CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status |
387 | ||
388 | config.status: $(srcdir)/configure $(srcdir)/config.table | |
389 | $(SHELL) ./config.status --recheck | |
390 | ||
fec50157 DD |
391 | # Depending on config.h makes sure that config.status has been re-run |
392 | # if needed. This prevents problems with parallel builds, in case | |
393 | # subdirectories need to run config.status also. | |
0c0a36a4 ILT |
394 | all-subdir check-subdir installcheck-subdir info-subdir \ |
395 | install-info-subdir clean-info-subdir dvi-subdir install-subdir \ | |
396 | etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ | |
fec50157 | 397 | maintainer-clean-subdir: config.h |
010c70e1 | 398 | @subdirs='$(SUBDIRS)'; \ |
19be4303 | 399 | target=`echo $@ | sed -e 's/-subdir//'`; \ |
010c70e1 | 400 | for dir in $$subdirs ; do \ |
19be4303 | 401 | cd $$dir && $(MAKE) $$target; \ |
0c0a36a4 ILT |
402 | done |
403 | ||
30673bf5 | 404 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir |
cc096b71 DD |
405 | $(CONFIGURED_OFILES): stamp-picdir |
406 | ||
407 | # The dependencies in the remainder of this file are automatically | |
408 | # generated by "make maint-deps". Manual edits will be lost. | |
252b5132 | 409 | |
cc096b71 DD |
410 | _doprnt.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h |
411 | alloca.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
412 | argv.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
413 | asprintf.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
252b5132 | 414 | atexit.o: config.h |
cc096b71 DD |
415 | basename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
416 | $(INCDIR)/safe-ctype.h | |
417 | bsearch.o: config.h $(INCDIR)/ansidecl.h | |
418 | calloc.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
419 | choose-temp.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
252b5132 | 420 | clock.o: config.h |
cc096b71 DD |
421 | concat.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
422 | copysign.o: $(INCDIR)/ansidecl.h | |
423 | cp-demangle.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h \ | |
424 | $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h | |
425 | cplus-dem.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h \ | |
426 | $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
427 | dyn-string.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/dyn-string.h \ | |
428 | $(INCDIR)/libiberty.h | |
429 | fdmatch.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
430 | fibheap.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/fibheap.h \ | |
431 | $(INCDIR)/libiberty.h | |
432 | floatformat.o: $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h | |
433 | fnmatch.o: config.h $(INCDIR)/fnmatch.h $(INCDIR)/safe-ctype.h | |
252b5132 RH |
434 | getcwd.o: config.h |
435 | getopt.o: config.h $(INCDIR)/getopt.h | |
436 | getopt1.o: config.h $(INCDIR)/getopt.h | |
437 | getpagesize.o: config.h | |
cc096b71 DD |
438 | getpwd.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
439 | getruntime.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
440 | hashtab.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/hashtab.h \ | |
441 | $(INCDIR)/libiberty.h | |
442 | hex.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
443 | lbasename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
444 | $(INCDIR)/safe-ctype.h | |
2a80c0a4 | 445 | make-relative-prefix.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
cc096b71 DD |
446 | make-temp-file.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
447 | md5.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h | |
448 | memchr.o: $(INCDIR)/ansidecl.h | |
449 | memcmp.o: $(INCDIR)/ansidecl.h | |
450 | memcpy.o: $(INCDIR)/ansidecl.h | |
451 | memmove.o: $(INCDIR)/ansidecl.h | |
452 | memset.o: $(INCDIR)/ansidecl.h | |
453 | mkstemps.o: config.h $(INCDIR)/ansidecl.h | |
454 | objalloc.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/objalloc.h | |
252b5132 | 455 | obstack.o: config.h $(INCDIR)/obstack.h |
cc096b71 DD |
456 | partition.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
457 | $(INCDIR)/partition.h | |
5a17353c DD |
458 | pex-djgpp.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
459 | pex-mpw.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
460 | pex-msdos.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
cc096b71 | 461 | $(INCDIR)/safe-ctype.h |
5a17353c DD |
462 | pex-os2.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
463 | pex-unix.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
464 | pex-win32.o: config.h pex-common.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
cc096b71 DD |
465 | putenv.o: config.h $(INCDIR)/ansidecl.h |
466 | random.o: $(INCDIR)/ansidecl.h | |
a5d8f731 | 467 | regex.o: config.h $(INCDIR)/xregex.h $(INCDIR)/xregex2.h |
90aaccd1 | 468 | rename.o: config.h |
cc096b71 DD |
469 | safe-ctype.o: $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h |
470 | setenv.o: config.h $(INCDIR)/ansidecl.h | |
471 | sigsetmask.o: $(INCDIR)/ansidecl.h | |
472 | sort.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
473 | $(INCDIR)/sort.h | |
474 | spaces.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
475 | splay-tree.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
476 | $(INCDIR)/splay-tree.h | |
477 | strcasecmp.o: $(INCDIR)/ansidecl.h | |
478 | strchr.o: $(INCDIR)/ansidecl.h | |
479 | strerror.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
480 | strncasecmp.o: $(INCDIR)/ansidecl.h | |
481 | strncmp.o: $(INCDIR)/ansidecl.h | |
482 | strrchr.o: $(INCDIR)/ansidecl.h | |
483 | strsignal.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
484 | strtod.o: $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h | |
485 | strtol.o: config.h $(INCDIR)/safe-ctype.h | |
486 | strtoul.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h | |
487 | ternary.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
488 | $(INCDIR)/ternary.h | |
489 | vasprintf.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
490 | vfork.o: $(INCDIR)/ansidecl.h | |
491 | vprintf.o: $(INCDIR)/ansidecl.h | |
492 | vsprintf.o: $(INCDIR)/ansidecl.h | |
90aaccd1 | 493 | waitpid.o: config.h |
cc096b71 DD |
494 | xatexit.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
495 | xexit.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
496 | xmalloc.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
497 | xmemdup.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
498 | xstrdup.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
499 | xstrerror.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |