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