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 | ||
8 | SUBDIRS = po | |
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 RH |
21 | |
22 | # these two are almost the same program | |
23 | AR_PROG=ar | |
24 | RANLIB_PROG=ranlib | |
25 | ||
26 | # objcopy and strip should be the same program | |
27 | OBJCOPY_PROG=objcopy | |
28 | STRIP_PROG=strip-new | |
29 | ||
30 | STRINGS_PROG=strings | |
31 | ||
32 | READELF_PROG=readelf | |
33 | ||
34 | # These should all be the same program too. | |
35 | SIZE_PROG=size | |
36 | NM_PROG=nm-new | |
37 | OBJDUMP_PROG=objdump | |
38 | ||
39 | # This is the demangler, as a standalone program. | |
40 | # Note: This one is used as the installed name too, unlike the above. | |
8a965946 | 41 | DEMANGLER_PROG=cxxfilt |
252b5132 RH |
42 | |
43 | ADDR2LINE_PROG=addr2line | |
44 | ||
45 | NLMCONV_PROG=nlmconv | |
46 | DLLTOOL_PROG=dlltool | |
47 | WINDRES_PROG=windres | |
48 | DLLWRAP_PROG=dllwrap | |
49 | ||
50 | SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) | |
51 | ||
52 | man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \ | |
8a965946 | 53 | addr2line.1 nlmconv.1 $(DEMANGLER_NAME).1 |
252b5132 RH |
54 | |
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 \ | |
77 | windres.h winduni.h dyn-string.h | |
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 \ | |
87 | resres.c dyn-string.c dllwrap.c rename.c | |
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 | ||
151 | info_TEXINFOS = binutils.texi | |
152 | ||
153 | LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) | |
154 | ||
155 | size_SOURCES = size.c $(BULIBS) | |
156 | ||
157 | objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
158 | ||
159 | strings_SOURCES = strings.c $(BULIBS) | |
160 | ||
161 | readelf_SOURCES = readelf.c version.c | |
162 | readelf_LDADD = $(INTLLIBS) $(LIBIBERTY) | |
163 | ||
164 | strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
165 | ||
166 | nm_new_SOURCES = nm.c $(BULIBS) | |
167 | ||
168 | objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS) | |
169 | objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) | |
170 | ||
171 | underscore.c: stamp-under ; @true | |
172 | ||
173 | stamp-under: Makefile | |
174 | echo '/*WARNING: This file is automatically generated!*/' >underscore.t | |
175 | echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t | |
176 | $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c | |
177 | touch stamp-under | |
178 | ||
179 | cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h | |
180 | $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c | |
181 | ||
8a965946 ILT |
182 | cxxfilt_SOURCES = |
183 | cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS) | |
252b5132 RH |
184 | |
185 | ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS) | |
186 | ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
187 | ||
188 | ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS) | |
189 | ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
190 | ||
191 | addr2line_SOURCES = addr2line.c $(BULIBS) | |
192 | ||
41b49281 | 193 | # The following is commented out for the conversion to automake. |
252b5132 RH |
194 | # This rule creates a single binary that switches between ar and ranlib |
195 | # by looking at argv[0]. Use this kludge to save some disk space. | |
196 | # However, you have to install things by hand. | |
197 | # (That is after 'make install', replace the installed ranlib by a link to ar.) | |
198 | # Alternatively, you can install ranlib.sh as ranlib. | |
199 | # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o | |
200 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS) | |
201 | # -rm -f $(RANLIB_PROG) | |
202 | # -ln $(AR_PROG) $(RANLIB_PROG) | |
203 | # | |
204 | # objcopy and strip in one binary that uses argv[0] to decide its action. | |
205 | # | |
206 | #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o | |
207 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS) | |
208 | # -rm -f $(STRIP_PROG) | |
209 | # -ln $(OBJCOPY_PROG) $(STRIP_PROG) | |
210 | ||
211 | sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
212 | ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c | |
213 | ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c | |
214 | ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c | |
215 | ||
216 | sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
217 | ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h | |
218 | ||
219 | sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o | |
220 | $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o | |
221 | ||
222 | syslex.o: syslex.c sysinfo.h | |
223 | if [ -r syslex.c ]; then \ | |
224 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \ | |
225 | else \ | |
226 | $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\ | |
227 | fi | |
228 | ||
229 | sysinfo.o: sysinfo.c | |
230 | if [ -r sysinfo.c ]; then \ | |
231 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \ | |
232 | else \ | |
233 | $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \ | |
234 | fi | |
235 | ||
41b49281 AM |
236 | # We need these for parallel make. |
237 | arparse.h: arparse.c | |
238 | defparse.h: defparse.c | |
239 | nlmheader.h: nlmheader.c | |
240 | rcparse.h: rcparse.c | |
241 | sysinfo.h: sysinfo.c | |
242 | ||
252b5132 RH |
243 | srconv_SOURCES = srconv.c coffgrok.c $(BULIBS) |
244 | ||
83d765b3 | 245 | dlltool_SOURCES = dlltool.c defparse.y deflex.l dyn-string.c $(BULIBS) |
252b5132 RH |
246 | dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) |
247 | ||
248 | dlltool.o:dlltool.c | |
249 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c | |
250 | ||
09cda596 DD |
251 | rescoff.o:rescoff.c |
252 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c | |
253 | ||
252b5132 RH |
254 | coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS) |
255 | ||
256 | sysdump_SOURCES = sysdump.c $(BULIBS) | |
257 | ||
258 | # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency | |
259 | # scripts, since they are only included conditionally. | |
260 | nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h | |
261 | ldname=`echo ld | sed '$(transform)'`; \ | |
262 | $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c | |
263 | ||
264 | nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS) | |
265 | ||
266 | windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \ | |
267 | winduni.c resres.c $(BULIBS) | |
268 | windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS) | |
269 | ||
37cc8ec1 | 270 | dllwrap_SOURCES = dllwrap.c dyn-string.c version.c |
bb0cb4db | 271 | dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS) |
252b5132 RH |
272 | |
273 | ||
274 | DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \ | |
275 | syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c | |
276 | ||
277 | diststuff: $(DISTSTUFF) info | |
278 | ||
279 | DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \ | |
280 | site.exp site.bak | |
281 | ||
282 | # Targets to rebuild dependencies in this Makefile. | |
c278c150 ILT |
283 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
284 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
285 | rm -f DEP1 | |
41b49281 AM |
286 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
287 | sed -f dep.sed < DEP1 > $@ | |
288 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@ | |
252b5132 | 289 | |
c278c150 | 290 | DEP1: $(CFILES) $(GENERATED_CFILES) |
c278c150 | 291 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
292 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
293 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
294 | mv -f DEP2 $@ | |
252b5132 RH |
295 | |
296 | dep.sed: dep-in.sed config.status | |
297 | objdir=`pwd`; \ | |
298 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
299 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
300 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
301 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
302 | -e "s!@OBJDIR@!$${objdir}!" | |
303 | ||
c278c150 | 304 | dep: DEP |
252b5132 | 305 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
c278c150 | 306 | cat DEP >> tmp-Makefile |
252b5132 RH |
307 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile |
308 | ||
c278c150 | 309 | dep-in: DEP |
252b5132 | 310 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
c278c150 | 311 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
312 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
313 | ||
c278c150 | 314 | dep-am: DEP |
252b5132 | 315 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
c278c150 | 316 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
317 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
318 | ||
319 | .PHONY: dep dep-in dep-am | |
320 | ||
321 | ### | |
322 | # DOCUMENTATION TARGETS | |
323 | config.texi: Makefile | |
324 | rm -f config.texi | |
325 | echo '@set VERSION $(VERSION)' > config.texi | |
326 | ||
327 | binutils.dvi: $(srcdir)/binutils.texi config.texi | |
328 | ||
329 | binutils.info: $(srcdir)/binutils.texi config.texi | |
330 | ||
331 | MAINTAINERCLEANFILES = config.texi | |
332 | ||
8a965946 ILT |
333 | $(DEMANGLER_NAME).1: cxxfilt.man Makefile |
334 | sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \ | |
335 | > $(DEMANGLER_NAME).1 | |
252b5132 | 336 | |
8a965946 | 337 | MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \ |
252b5132 RH |
338 | abcdefgh* |
339 | mostlyclean-local: | |
340 | -rm -rf tmpdir | |
341 | ||
41b49281 | 342 | CLEANFILES = dep.sed DEP DEP1 DEP2 |
252b5132 RH |
343 | |
344 | .PHONY: install-exec-local | |
345 | ||
9c28aef3 | 346 | install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS) |
252b5132 RH |
347 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
348 | if test -f $$p; then \ | |
8a965946 ILT |
349 | 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)/'`"; \ |
350 | $(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 |
351 | else :; fi; \ |
352 | done | |
353 | $(mkinstalldirs) $(tooldir)/bin | |
354 | for i in $(TOOL_PROGS); do \ | |
355 | if [ -f $$i$(EXEEXT) ]; then \ | |
356 | j=`echo $$i | sed -e 's/-new//'`; \ | |
357 | k=`echo $$j | sed '$(transform)'`; \ | |
358 | if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \ | |
359 | rm -f $(tooldir)/bin/$$j$(EXEEXT); \ | |
360 | ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \ | |
361 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \ | |
362 | fi; \ | |
363 | else true; \ | |
364 | fi; \ | |
365 | done | |
366 | ||
367 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
368 | ||
369 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
370 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
252b5132 RH |
371 | addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
372 | $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \ | |
41b49281 | 373 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h |
252b5132 | 374 | ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
41b49281 AM |
375 | $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
376 | $(INCDIR)/fopen-same.h $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h \ | |
377 | arsup.h | |
252b5132 | 378 | arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
379 | arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
380 | $(INCDIR)/fopen-same.h | |
252b5132 | 381 | bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 | 382 | $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
252b5132 | 383 | $(INCDIR)/fopen-same.h |
41b49281 AM |
384 | coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \ |
385 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h | |
386 | coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
387 | $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
388 | $(INCDIR)/bfdlink.h coffgrok.h | |
252b5132 | 389 | debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
390 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
391 | $(INCDIR)/libiberty.h debug.h | |
252b5132 | 392 | dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
393 | $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
394 | $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h dyn-string.h \ | |
bb0cb4db | 395 | dlltool.h |
252b5132 | 396 | filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 | 397 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h |
252b5132 | 398 | ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \ |
41b49281 AM |
399 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
400 | $(INCDIR)/libiberty.h debug.h budbg.h | |
252b5132 RH |
401 | is-ranlib.o: is-ranlib.c |
402 | is-strip.o: is-strip.c | |
403 | maybe-ranlib.o: maybe-ranlib.c | |
404 | maybe-strip.o: maybe-strip.c | |
405 | nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
41b49281 AM |
406 | $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
407 | $(INCDIR)/fopen-same.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \ | |
408 | $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h | |
252b5132 | 409 | nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \ |
41b49281 | 410 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
252b5132 RH |
411 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \ |
412 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h | |
413 | not-ranlib.o: not-ranlib.c | |
414 | not-strip.o: not-strip.c | |
415 | objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
41b49281 AM |
416 | $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
417 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h budbg.h | |
252b5132 RH |
418 | objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
419 | $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \ | |
41b49281 AM |
420 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h \ |
421 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \ | |
422 | budbg.h $(INCDIR)/aout/aout64.h | |
252b5132 | 423 | prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
424 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
425 | $(INCDIR)/libiberty.h debug.h budbg.h | |
252b5132 | 426 | rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
427 | $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
428 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \ | |
429 | debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
252b5132 | 430 | rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
431 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
432 | $(INCDIR)/libiberty.h debug.h budbg.h | |
252b5132 | 433 | size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \ |
41b49281 AM |
434 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
435 | $(INCDIR)/libiberty.h | |
436 | srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \ | |
437 | $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \ | |
438 | $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c | |
252b5132 | 439 | stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
440 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
441 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \ | |
442 | budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
443 | $(INCDIR)/aout/stab.def | |
252b5132 | 444 | strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
445 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
446 | $(INCDIR)/libiberty.h | |
252b5132 | 447 | sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
448 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
449 | sysroff.h sysroff.c | |
252b5132 | 450 | version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 | 451 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h |
252b5132 | 452 | wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
453 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
454 | $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/aout/aout64.h \ | |
455 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def | |
252b5132 | 456 | windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
457 | $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
458 | $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/obstack.h \ | |
252b5132 | 459 | windres.h winduni.h |
41b49281 AM |
460 | resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
461 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ | |
462 | $(INCDIR)/libiberty.h windres.h winduni.h | |
252b5132 | 463 | rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
464 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
465 | $(INCDIR)/libiberty.h windres.h winduni.h $(INCDIR)/coff/internal.h \ | |
466 | $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
252b5132 | 467 | resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
468 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
469 | $(INCDIR)/libiberty.h windres.h winduni.h | |
252b5132 | 470 | winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
471 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
472 | winduni.h | |
252b5132 RH |
473 | readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
474 | $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ | |
475 | $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \ | |
476 | $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \ | |
477 | $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \ | |
478 | $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \ | |
479 | $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \ | |
480 | $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \ | |
bb0cb4db | 481 | $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \ |
41b49281 AM |
482 | $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h bucomm.h config.h \ |
483 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h | |
252b5132 | 484 | resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
485 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
486 | $(INCDIR)/libiberty.h windres.h winduni.h | |
252b5132 RH |
487 | dyn-string.o: dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
488 | dyn-string.h | |
489 | dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
41b49281 AM |
490 | $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \ |
491 | $(INCDIR)/fopen-same.h dyn-string.h | |
252b5132 | 492 | rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 | 493 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h |
252b5132 RH |
494 | underscore.o: underscore.c |
495 | arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
41b49281 AM |
496 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
497 | arsup.h | |
252b5132 RH |
498 | arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h |
499 | sysroff.o: sysroff.c | |
500 | sysinfo.o: sysinfo.c | |
501 | syslex.o: syslex.c sysinfo.h | |
502 | defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ | |
41b49281 AM |
503 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
504 | dlltool.h | |
252b5132 RH |
505 | deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
506 | defparse.h dlltool.h | |
507 | nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \ | |
41b49281 AM |
508 | $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h \ |
509 | $(INCDIR)/nlm/internal.h nlmconv.h | |
252b5132 | 510 | rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
511 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
512 | $(INCDIR)/libiberty.h windres.h winduni.h | |
252b5132 | 513 | rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
41b49281 AM |
514 | bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \ |
515 | $(INCDIR)/libiberty.h windres.h winduni.h rcparse.h | |
252b5132 | 516 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |