]>
Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ## Process this file with automake to generate Makefile.in |
2 | ||
3 | ## FIXME: Work around apparent bug in automake. | |
4 | INTLLIBS = @INTLLIBS@ | |
5 | ||
6 | AUTOMAKE_OPTIONS = cygnus dejagnu | |
7 | ||
c45021f2 | 8 | SUBDIRS = doc po |
252b5132 RH |
9 | |
10 | tooldir = $(exec_prefix)/$(target_alias) | |
11 | ||
12 | ## These aren't set by automake, because they appear in | |
13 | ## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and | |
14 | ## thus is not seen by automake. | |
15 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
16 | EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ | |
17 | ||
7a7b06ef | 18 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
252b5132 | 19 | YFLAGS = -d |
7a7b06ef | 20 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
252b5132 | 21 | |
a2d91340 AC |
22 | WARN_CFLAGS = @WARN_CFLAGS@ |
23 | AM_CFLAGS = $(WARN_CFLAGS) | |
24 | ||
252b5132 RH |
25 | # these two are almost the same program |
26 | AR_PROG=ar | |
27 | RANLIB_PROG=ranlib | |
28 | ||
29 | # objcopy and strip should be the same program | |
30 | OBJCOPY_PROG=objcopy | |
31 | STRIP_PROG=strip-new | |
32 | ||
33 | STRINGS_PROG=strings | |
34 | ||
35 | READELF_PROG=readelf | |
36 | ||
37 | # These should all be the same program too. | |
38 | SIZE_PROG=size | |
39 | NM_PROG=nm-new | |
40 | OBJDUMP_PROG=objdump | |
41 | ||
42 | # This is the demangler, as a standalone program. | |
43 | # Note: This one is used as the installed name too, unlike the above. | |
8a965946 | 44 | DEMANGLER_PROG=cxxfilt |
252b5132 RH |
45 | |
46 | ADDR2LINE_PROG=addr2line | |
47 | ||
48 | NLMCONV_PROG=nlmconv | |
49 | DLLTOOL_PROG=dlltool | |
50 | WINDRES_PROG=windres | |
51 | DLLWRAP_PROG=dllwrap | |
52 | ||
53 | SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) | |
54 | ||
252b5132 RH |
55 | PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@ |
56 | ||
8a965946 | 57 | bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@ |
252b5132 | 58 | |
8a965946 ILT |
59 | ## We need a special rule to install the programs which are built with |
60 | ## -new, and to rename cxxfilt to c++filt. | |
61 | noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG) | |
252b5132 RH |
62 | |
63 | EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG) | |
64 | ||
65 | # Stuff that goes in tooldir/ if appropriate | |
66 | TOOL_PROGS = nm-new strip-new ar ranlib dlltool | |
67 | ||
68 | BASEDIR = $(srcdir)/.. | |
69 | BFDDIR = $(BASEDIR)/bfd | |
70 | INCDIR = $(BASEDIR)/include | |
71 | ||
41b49281 | 72 | MKDEP = gcc -MM |
252b5132 RH |
73 | |
74 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\"" | |
75 | ||
76 | HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \ | |
0724d64b | 77 | windres.h winduni.h |
252b5132 | 78 | |
41b49281 | 79 | GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h |
252b5132 RH |
80 | |
81 | CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \ | |
82 | dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \ | |
83 | maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \ | |
84 | objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \ | |
85 | stabs.c strings.c sysdump.c version.c wrstabs.c \ | |
86 | windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \ | |
0724d64b | 87 | resres.c dllwrap.c rename.c |
252b5132 RH |
88 | |
89 | GENERATED_CFILES = \ | |
90 | underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \ | |
91 | defparse.c deflex.c nlmheader.c rcparse.c rclex.c | |
92 | ||
93 | DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c | |
94 | WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c | |
95 | ||
96 | # Code shared by all the binutils. | |
97 | BULIBS = bucomm.c version.c filemode.c | |
98 | ||
99 | BFDLIB = ../bfd/libbfd.la | |
100 | ||
101 | OPCODES = ../opcodes/libopcodes.la | |
102 | ||
103 | LIBIBERTY = ../libiberty/libiberty.a | |
104 | ||
105 | POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES) | |
106 | po/POTFILES.in: @MAINT@ Makefile | |
107 | for file in $(POTFILES); do echo $$file; done | sort > tmp \ | |
108 | && mv tmp $(srcdir)/po/POTFILES.in | |
109 | ||
110 | EXPECT = `if [ -f $$r/../expect/expect ] ; then \ | |
111 | echo $$r/../expect/expect ; \ | |
112 | else echo expect ; fi` | |
113 | RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \ | |
114 | echo ${srcdir}/../dejagnu/runtest ; \ | |
115 | else echo runtest ; fi` | |
116 | ||
117 | CC_FOR_TARGET = ` \ | |
118 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
119 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
120 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
121 | else \ | |
122 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
123 | fi; \ | |
124 | else \ | |
125 | if [ "@host@" = "@target@" ] ; then \ | |
126 | echo $(CC); \ | |
127 | else \ | |
128 | echo gcc | sed '$(transform)'; \ | |
129 | fi; \ | |
130 | fi` | |
131 | ||
132 | check-DEJAGNU: site.exp | |
133 | srcdir=`cd $(srcdir) && pwd`; export srcdir; \ | |
134 | r=`pwd`; export r; \ | |
135 | EXPECT=$(EXPECT); export EXPECT; \ | |
136 | if [ -f $(top_builddir)/../expect/expect ]; then \ | |
137 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ | |
138 | export TCL_LIBRARY; \ | |
139 | fi; \ | |
140 | runtest=$(RUNTEST); \ | |
141 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
142 | $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \ | |
143 | CC_FOR_TARGET="$(CC_FOR_TARGET)" \ | |
144 | CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \ | |
145 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
146 | fi | |
147 | ||
148 | installcheck: | |
149 | /bin/sh $(srcdir)/sanity.sh $(bindir) | |
150 | ||
252b5132 RH |
151 | LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) |
152 | ||
153 | size_SOURCES = size.c $(BULIBS) | |
154 | ||
155 | objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
156 | ||
157 | strings_SOURCES = strings.c $(BULIBS) | |
158 | ||
4d6ed7c8 | 159 | readelf_SOURCES = readelf.c version.c unwind-ia64.c |
252b5132 RH |
160 | readelf_LDADD = $(INTLLIBS) $(LIBIBERTY) |
161 | ||
162 | strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
163 | ||
164 | nm_new_SOURCES = nm.c $(BULIBS) | |
165 | ||
166 | objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS) | |
167 | objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) | |
168 | ||
8b1e6df3 NC |
169 | objdump.o:objdump.c |
170 | $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c | |
171 | ||
252b5132 RH |
172 | underscore.c: stamp-under ; @true |
173 | ||
174 | stamp-under: Makefile | |
175 | echo '/*WARNING: This file is automatically generated!*/' >underscore.t | |
176 | echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t | |
177 | $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c | |
178 | touch stamp-under | |
179 | ||
6a8c2b0d | 180 | cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h Makefile |
252b5132 RH |
181 | $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c |
182 | ||
8a965946 ILT |
183 | cxxfilt_SOURCES = |
184 | cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS) | |
252b5132 RH |
185 | |
186 | ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS) | |
187 | ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
188 | ||
189 | ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS) | |
190 | ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
191 | ||
192 | addr2line_SOURCES = addr2line.c $(BULIBS) | |
193 | ||
41b49281 | 194 | # The following is commented out for the conversion to automake. |
252b5132 RH |
195 | # This rule creates a single binary that switches between ar and ranlib |
196 | # by looking at argv[0]. Use this kludge to save some disk space. | |
197 | # However, you have to install things by hand. | |
198 | # (That is after 'make install', replace the installed ranlib by a link to ar.) | |
199 | # Alternatively, you can install ranlib.sh as ranlib. | |
200 | # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o | |
201 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS) | |
202 | # -rm -f $(RANLIB_PROG) | |
203 | # -ln $(AR_PROG) $(RANLIB_PROG) | |
204 | # | |
205 | # objcopy and strip in one binary that uses argv[0] to decide its action. | |
206 | # | |
207 | #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o | |
208 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS) | |
209 | # -rm -f $(STRIP_PROG) | |
210 | # -ln $(OBJCOPY_PROG) $(STRIP_PROG) | |
211 | ||
212 | sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
213 | ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c | |
214 | ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c | |
215 | ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c | |
216 | ||
217 | sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
218 | ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h | |
219 | ||
220 | sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o | |
221 | $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o | |
222 | ||
223 | syslex.o: syslex.c sysinfo.h | |
224 | if [ -r syslex.c ]; then \ | |
225 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \ | |
226 | else \ | |
227 | $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\ | |
228 | fi | |
229 | ||
230 | sysinfo.o: sysinfo.c | |
231 | if [ -r sysinfo.c ]; then \ | |
232 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \ | |
233 | else \ | |
234 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \ | |
235 | fi | |
236 | ||
41b49281 AM |
237 | # We need these for parallel make. |
238 | arparse.h: arparse.c | |
239 | defparse.h: defparse.c | |
240 | nlmheader.h: nlmheader.c | |
241 | rcparse.h: rcparse.c | |
242 | sysinfo.h: sysinfo.c | |
243 | ||
252b5132 RH |
244 | srconv_SOURCES = srconv.c coffgrok.c $(BULIBS) |
245 | ||
0724d64b | 246 | dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS) |
252b5132 RH |
247 | dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) |
248 | ||
249 | dlltool.o:dlltool.c | |
250 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c | |
251 | ||
09cda596 DD |
252 | rescoff.o:rescoff.c |
253 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c | |
254 | ||
252b5132 RH |
255 | coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS) |
256 | ||
257 | sysdump_SOURCES = sysdump.c $(BULIBS) | |
258 | ||
259 | # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency | |
260 | # scripts, since they are only included conditionally. | |
261 | nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h | |
262 | ldname=`echo ld | sed '$(transform)'`; \ | |
263 | $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c | |
264 | ||
265 | nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS) | |
266 | ||
267 | windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \ | |
268 | winduni.c resres.c $(BULIBS) | |
269 | windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
270 | ||
0724d64b | 271 | dllwrap_SOURCES = dllwrap.c version.c |
bb0cb4db | 272 | dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS) |
252b5132 RH |
273 | |
274 | ||
c45021f2 | 275 | EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \ |
252b5132 RH |
276 | syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c |
277 | ||
c45021f2 | 278 | diststuff: $(EXTRA_DIST) info |
252b5132 RH |
279 | |
280 | DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \ | |
281 | site.exp site.bak | |
282 | ||
6a8c2b0d AM |
283 | Makefile: $(BFDDIR)/configure.in |
284 | ||
252b5132 | 285 | # Targets to rebuild dependencies in this Makefile. |
c278c150 ILT |
286 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
287 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
288 | rm -f DEP1 | |
41b49281 | 289 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
0bdaf48b AM |
290 | sed -f dep.sed < DEP1 > DEPA |
291 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA | |
292 | if grep ' /' DEPA > /dev/null 2> /dev/null; then \ | |
6d5be915 AM |
293 | echo 'make DEP failed!'; exit 1; \ |
294 | else \ | |
0bdaf48b | 295 | mv -f DEPA $@; \ |
6d5be915 | 296 | fi |
252b5132 | 297 | |
c278c150 | 298 | DEP1: $(CFILES) $(GENERATED_CFILES) |
c278c150 | 299 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
300 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
301 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
302 | mv -f DEP2 $@ | |
252b5132 RH |
303 | |
304 | dep.sed: dep-in.sed config.status | |
305 | objdir=`pwd`; \ | |
306 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
307 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
308 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
309 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
310 | -e "s!@OBJDIR@!$${objdir}!" | |
311 | ||
c278c150 | 312 | dep: DEP |
252b5132 | 313 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
c278c150 | 314 | cat DEP >> tmp-Makefile |
252b5132 RH |
315 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile |
316 | ||
c278c150 | 317 | dep-in: DEP |
252b5132 | 318 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
c278c150 | 319 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
320 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
321 | ||
c278c150 | 322 | dep-am: DEP |
252b5132 | 323 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
c278c150 | 324 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
325 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
326 | ||
327 | .PHONY: dep dep-in dep-am | |
328 | ||
329 | ### | |
c45021f2 NC |
330 | |
331 | MOSTLYCLEANFILES = sysinfo binutils.log binutils.sum abcdefgh* | |
252b5132 RH |
332 | mostlyclean-local: |
333 | -rm -rf tmpdir | |
334 | ||
0bdaf48b | 335 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 |
252b5132 RH |
336 | |
337 | .PHONY: install-exec-local | |
338 | ||
9c28aef3 | 339 | install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS) |
252b5132 RH |
340 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
341 | if test -f $$p; then \ | |
8a965946 ILT |
342 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
343 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ | |
252b5132 RH |
344 | else :; fi; \ |
345 | done | |
346 | $(mkinstalldirs) $(tooldir)/bin | |
347 | for i in $(TOOL_PROGS); do \ | |
348 | if [ -f $$i$(EXEEXT) ]; then \ | |
349 | j=`echo $$i | sed -e 's/-new//'`; \ | |
350 | k=`echo $$j | sed '$(transform)'`; \ | |
351 | if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \ | |
352 | rm -f $(tooldir)/bin/$$j$(EXEEXT); \ | |
353 | ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \ | |
354 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \ | |
355 | fi; \ | |
356 | else true; \ | |
357 | fi; \ | |
358 | done | |
359 | ||
360 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
361 | ||
362 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
363 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
252b5132 | 364 | addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
365 | $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \ |
366 | $(INCDIR)/demangle.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
367 | $(INCDIR)/fopen-same.h | |
368 | ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
369 | $(INCDIR)/libiberty.h $(INCDIR)/progress.h bucomm.h \ | |
370 | config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ | |
371 | $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h $(INCDIR)/filenames.h | |
252b5132 | 372 | arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
373 | $(INCDIR)/symcat.h arsup.h $(INCDIR)/libiberty.h bucomm.h \ |
374 | config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ | |
375 | $(INCDIR)/filenames.h | |
252b5132 | 376 | bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
377 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \ |
378 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/filenames.h | |
41b49281 AM |
379 | coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \ |
380 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h | |
381 | coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
382 | $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
383 | $(INCDIR)/bfdlink.h coffgrok.h | |
252b5132 | 384 | debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
385 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
386 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h | |
252b5132 | 387 | dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
388 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \ |
389 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h \ | |
390 | $(INCDIR)/dyn-string.h dlltool.h $(INCDIR)/safe-ctype.h | |
252b5132 | 391 | filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
392 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
393 | $(INCDIR)/fopen-same.h | |
394 | ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
395 | $(INCDIR)/ieee.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
396 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \ | |
397 | budbg.h $(INCDIR)/filenames.h | |
252b5132 RH |
398 | is-ranlib.o: is-ranlib.c |
399 | is-strip.o: is-strip.c | |
400 | maybe-ranlib.o: maybe-ranlib.c | |
401 | maybe-strip.o: maybe-strip.c | |
402 | nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
6a8c2b0d AM |
403 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \ |
404 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h \ | |
405 | $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
406 | $(INCDIR)/nlm/external.h nlmconv.h | |
407 | nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
408 | $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
409 | $(INCDIR)/fopen-same.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
410 | $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h | |
252b5132 RH |
411 | not-ranlib.o: not-ranlib.c |
412 | not-strip.o: not-strip.c | |
413 | objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
6a8c2b0d AM |
414 | $(INCDIR)/symcat.h $(INCDIR)/progress.h bucomm.h config.h \ |
415 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ | |
416 | budbg.h $(INCDIR)/filenames.h | |
252b5132 | 417 | objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d | 418 | $(INCDIR)/symcat.h $(INCDIR)/getopt.h $(INCDIR)/progress.h \ |
41b49281 | 419 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
6a8c2b0d AM |
420 | $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \ |
421 | $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h | |
422 | prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
423 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
424 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \ | |
425 | budbg.h | |
252b5132 | 426 | rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
427 | $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h bucomm.h \ |
428 | config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ | |
429 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \ | |
430 | budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
252b5132 | 431 | rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
432 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
433 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h debug.h \ | |
434 | budbg.h | |
435 | size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ | |
436 | $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
437 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h | |
41b49281 AM |
438 | srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
439 | $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \ | |
440 | $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c | |
252b5132 | 441 | stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
442 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
443 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
444 | $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/filenames.h \ | |
445 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def | |
252b5132 | 446 | strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
447 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
448 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
252b5132 | 449 | sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
450 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
451 | $(INCDIR)/fopen-same.h $(INCDIR)/safe-ctype.h sysroff.h \ | |
452 | sysroff.c | |
252b5132 | 453 | version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
454 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
455 | $(INCDIR)/fopen-same.h | |
252b5132 | 456 | wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
457 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
458 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
459 | debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
efc3ee7f | 460 | $(INCDIR)/aout/stab.def |
252b5132 | 461 | windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
462 | $(INCDIR)/symcat.h $(INCDIR)/getopt.h bucomm.h config.h \ |
463 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ | |
464 | $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h windres.h \ | |
efc3ee7f | 465 | winduni.h |
6a8c2b0d AM |
466 | resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
467 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
468 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
469 | windres.h winduni.h | |
252b5132 | 470 | rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
471 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
472 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \ | |
473 | winduni.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
474 | $(INCDIR)/bfdlink.h | |
252b5132 | 475 | resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
476 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
477 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \ | |
478 | winduni.h | |
252b5132 | 479 | winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
480 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
481 | $(INCDIR)/fopen-same.h winduni.h $(INCDIR)/safe-ctype.h | |
252b5132 | 482 | readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
483 | $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ |
484 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h \ | |
485 | $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h \ | |
486 | $(INCDIR)/elf/mips.h $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h \ | |
487 | $(INCDIR)/elf/m68k.h $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h \ | |
488 | $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h \ | |
489 | $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h \ | |
490 | $(INCDIR)/elf/h8.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/fr30.h \ | |
491 | $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h $(INCDIR)/elf/pj.h \ | |
492 | $(INCDIR)/elf/avr.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/cris.h \ | |
493 | $(INCDIR)/elf/i860.h $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/s390.h \ | |
494 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ | |
efc3ee7f | 495 | unwind-ia64.h |
252b5132 | 496 | resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
497 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
498 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \ | |
499 | winduni.h | |
252b5132 | 500 | dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
501 | $(INCDIR)/symcat.h $(INCDIR)/libiberty.h bucomm.h config.h \ |
502 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dyn-string.h | |
252b5132 | 503 | rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
504 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
505 | $(INCDIR)/fopen-same.h | |
252b5132 RH |
506 | underscore.o: underscore.c |
507 | arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
6a8c2b0d AM |
508 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
509 | $(INCDIR)/fopen-same.h arsup.h | |
252b5132 RH |
510 | arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h |
511 | sysroff.o: sysroff.c | |
512 | sysinfo.o: sysinfo.c | |
513 | syslex.o: syslex.c sysinfo.h | |
514 | defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
6a8c2b0d AM |
515 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
516 | $(INCDIR)/fopen-same.h dlltool.h | |
252b5132 RH |
517 | deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
518 | defparse.h dlltool.h | |
efc3ee7f | 519 | nlmheader.o: nlmheader.c $(INCDIR)/safe-ctype.h ../bfd/bfd.h \ |
6a8c2b0d AM |
520 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
521 | $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
522 | nlmconv.h | |
252b5132 | 523 | rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
524 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
525 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h windres.h \ | |
526 | winduni.h $(INCDIR)/safe-ctype.h | |
252b5132 | 527 | rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
6a8c2b0d AM |
528 | $(INCDIR)/symcat.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
529 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
530 | windres.h winduni.h rcparse.h | |
252b5132 | 531 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |