Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | ## Process this file with automake to generate Makefile.in |
2 | ||
252b5132 | 3 | AUTOMAKE_OPTIONS = cygnus dejagnu |
79887925 | 4 | ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd |
252b5132 | 5 | |
c45021f2 | 6 | SUBDIRS = doc po |
252b5132 RH |
7 | |
8 | tooldir = $(exec_prefix)/$(target_alias) | |
9 | ||
10 | ## These aren't set by automake, because they appear in | |
11 | ## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and | |
12 | ## thus is not seen by automake. | |
13 | CC_FOR_BUILD = @CC_FOR_BUILD@ | |
14 | EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ | |
15 | ||
7a7b06ef | 16 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
252b5132 | 17 | YFLAGS = -d |
7a7b06ef | 18 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
252b5132 | 19 | |
a2d91340 | 20 | WARN_CFLAGS = @WARN_CFLAGS@ |
9e9b66a9 | 21 | NO_WERROR = @NO_WERROR@ |
a2d91340 | 22 | AM_CFLAGS = $(WARN_CFLAGS) |
5ba684e2 | 23 | LIBICONV = @LIBICONV@ |
a2d91340 | 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 | |
692ed3e7 | 51 | WINDMC_PROG=windmc |
252b5132 RH |
52 | DLLWRAP_PROG=dllwrap |
53 | ||
8b42747f | 54 | SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT) |
252b5132 | 55 | |
692ed3e7 | 56 | bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ @BUILD_WINDMC@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_INSTALL_MISC@ |
252b5132 | 57 | |
8a965946 ILT |
58 | ## We need a special rule to install the programs which are built with |
59 | ## -new, and to rename cxxfilt to c++filt. | |
b125d98b AM |
60 | RENAMED_PROGS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG) |
61 | noinst_PROGRAMS = $(RENAMED_PROGS) @BUILD_MISC@ | |
252b5132 | 62 | |
692ed3e7 | 63 | EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(WINDMC_PROG) $(DLLWRAP_PROG) |
252b5132 | 64 | |
eb1e0e80 | 65 | # Stuff that goes in tooldir/ if appropriate. |
79e341d9 | 66 | TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy |
252b5132 RH |
67 | |
68 | BASEDIR = $(srcdir)/.. | |
69 | BFDDIR = $(BASEDIR)/bfd | |
70 | INCDIR = $(BASEDIR)/include | |
71 | ||
41b49281 | 72 | MKDEP = gcc -MM |
252b5132 | 73 | |
f469d32b | 74 | INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ |
eb1e0e80 | 75 | @HDEFINES@ \ |
20e95c23 | 76 | @INCINTL@ \ |
32118081 | 77 | -DLOCALEDIR="\"$(datadir)/locale\"" \ |
eb1e0e80 | 78 | -Dbin_dummy_emulation=$(EMULATION_VECTOR) |
252b5132 | 79 | |
a6637ec0 | 80 | HFILES = \ |
ed180cc5 | 81 | arsup.h binemul.h bucomm.h budbg.h \ |
f2bea866 AS |
82 | coffgrok.h debug.h dlltool.h dwarf.h nlmconv.h \ |
83 | sysdep.h unwind-ia64.h windres.h winduni.h windint.h \ | |
692ed3e7 | 84 | windmc.h |
252b5132 | 85 | |
692ed3e7 | 86 | GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h mcparse.h |
252b5132 | 87 | |
a6637ec0 | 88 | CFILES = \ |
ed180cc5 | 89 | addr2line.c ar.c arsup.c bin2c.c binemul.c bucomm.c \ |
19e6b90e L |
90 | coffdump.c coffgrok.c cxxfilt.c \ |
91 | dwarf.c debug.c dlltool.c dllwrap.c \ | |
a6637ec0 AM |
92 | emul_aix.c emul_vanilla.c filemode.c \ |
93 | ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \ | |
94 | nlmconv.c nm.c not-ranlib.c not-strip.c \ | |
95 | objcopy.c objdump.c prdbg.c \ | |
4a594fce | 96 | rclex.c rdcoff.c rddbg.c readelf.c rename.c \ |
a6637ec0 | 97 | resbin.c rescoff.c resrc.c resres.c \ |
f2bea866 AS |
98 | size.c srconv.c stabs.c strings.c sysdump.c \ |
99 | unwind-ia64.c version.c \ | |
692ed3e7 NC |
100 | windres.c winduni.c wrstabs.c \ |
101 | windmc.c mclex.c | |
252b5132 RH |
102 | |
103 | GENERATED_CFILES = \ | |
bb279dc0 | 104 | arparse.c arlex.c sysroff.c sysinfo.c syslex.c \ |
692ed3e7 | 105 | defparse.c deflex.c nlmheader.c rcparse.c mcparse.c |
252b5132 RH |
106 | |
107 | DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c | |
108 | WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c | |
109 | ||
110 | # Code shared by all the binutils. | |
111 | BULIBS = bucomm.c version.c filemode.c | |
112 | ||
113 | BFDLIB = ../bfd/libbfd.la | |
114 | ||
115 | OPCODES = ../opcodes/libopcodes.la | |
116 | ||
117 | LIBIBERTY = ../libiberty/libiberty.a | |
118 | ||
31dd3154 JM |
119 | .PHONY: install-pdf install-pdf-am install-pdf-recursive |
120 | ||
121 | install-pdf: install-pdf-recursive | |
122 | ||
123 | install-pdf-recursive: | |
124 | @failcom='exit 1'; \ | |
125 | for f in x $$MAKEFLAGS; do \ | |
126 | case $$f in \ | |
127 | *=* | --[!k]*);; \ | |
128 | *k*) failcom='fail=yes';; \ | |
129 | esac; \ | |
130 | done; \ | |
131 | dot_seen=no; \ | |
132 | target=`echo $@ | sed s/-recursive//`; \ | |
133 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
134 | echo "Making $$target in $$subdir"; \ | |
135 | if test "$$subdir" = "."; then \ | |
136 | dot_seen=yes; \ | |
137 | local_target="$$target-am"; \ | |
138 | else \ | |
139 | local_target="$$target"; \ | |
140 | fi; \ | |
141 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
142 | || eval $$failcom; \ | |
143 | done; \ | |
144 | if test "$$dot_seen" = "no"; then \ | |
145 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
146 | fi; test -z "$$fail" | |
147 | ||
108a6f8e CD |
148 | .PHONY: install-html install-html-am install-html-recursive |
149 | ||
8b42747f AM |
150 | install-html: install-html-recursive |
151 | ||
108a6f8e CD |
152 | install-html-recursive: |
153 | @failcom='exit 1'; \ | |
154 | for f in x $$MAKEFLAGS; do \ | |
155 | case $$f in \ | |
156 | *=* | --[!k]*);; \ | |
157 | *k*) failcom='fail=yes';; \ | |
158 | esac; \ | |
159 | done; \ | |
160 | dot_seen=no; \ | |
161 | target=`echo $@ | sed s/-recursive//`; \ | |
162 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
163 | echo "Making $$target in $$subdir"; \ | |
164 | if test "$$subdir" = "."; then \ | |
165 | dot_seen=yes; \ | |
166 | local_target="$$target-am"; \ | |
167 | else \ | |
168 | local_target="$$target"; \ | |
169 | fi; \ | |
170 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
171 | || eval $$failcom; \ | |
172 | done; \ | |
173 | if test "$$dot_seen" = "no"; then \ | |
174 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
175 | fi; test -z "$$fail" | |
176 | ||
252b5132 RH |
177 | POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES) |
178 | po/POTFILES.in: @MAINT@ Makefile | |
323ee3f4 | 179 | for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \ |
252b5132 RH |
180 | && mv tmp $(srcdir)/po/POTFILES.in |
181 | ||
c3298874 BE |
182 | EXPECT = expect |
183 | RUNTEST = runtest | |
252b5132 RH |
184 | |
185 | CC_FOR_TARGET = ` \ | |
186 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
187 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
188 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
189 | else \ | |
190 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
191 | fi; \ | |
192 | else \ | |
193 | if [ "@host@" = "@target@" ] ; then \ | |
194 | echo $(CC); \ | |
195 | else \ | |
196 | echo gcc | sed '$(transform)'; \ | |
197 | fi; \ | |
198 | fi` | |
199 | ||
200 | check-DEJAGNU: site.exp | |
201 | srcdir=`cd $(srcdir) && pwd`; export srcdir; \ | |
202 | r=`pwd`; export r; \ | |
203 | EXPECT=$(EXPECT); export EXPECT; \ | |
252b5132 RH |
204 | runtest=$(RUNTEST); \ |
205 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
16474668 NC |
206 | CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \ |
207 | $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \ | |
208 | $(RUNTESTFLAGS); \ | |
252b5132 RH |
209 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ |
210 | fi | |
211 | ||
212 | installcheck: | |
213 | /bin/sh $(srcdir)/sanity.sh $(bindir) | |
214 | ||
20e95c23 DJ |
215 | # There's no global DEPENDENCIES. So, we must explicitly list everything |
216 | # which depends on libintl, since we don't know whether LIBINTL_DEP will be | |
217 | # non-empty until configure time. Ugh! | |
8b42747f AM |
218 | size_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
219 | objdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) $(OPCODES) | |
220 | nm_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 | 221 | ar_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
8b42747f AM |
222 | strings_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
223 | strip_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 | 224 | ranlib_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
8b42747f AM |
225 | cxxfilt_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
226 | objcopy_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
227 | nlmconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
228 | srconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
229 | sysdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
230 | coffdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
22a84b55 | 231 | dlltool_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
cd6a2ed0 NC |
232 | windres_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
233 | windmc_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) | |
8b42747f AM |
234 | addr2line_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) |
235 | readelf_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) | |
236 | dllwrap_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) | |
20e95c23 DJ |
237 | |
238 | LDADD = $(BFDLIB) $(LIBIBERTY) $(LIBINTL) | |
252b5132 RH |
239 | |
240 | size_SOURCES = size.c $(BULIBS) | |
241 | ||
242 | objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
243 | ||
244 | strings_SOURCES = strings.c $(BULIBS) | |
245 | ||
19e6b90e | 246 | readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c |
20e95c23 | 247 | readelf_LDADD = $(LIBINTL) $(LIBIBERTY) |
252b5132 RH |
248 | |
249 | strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS) | |
250 | ||
ed180cc5 | 251 | nm_new_SOURCES = nm.c $(BULIBS) |
252b5132 | 252 | |
ed180cc5 | 253 | objdump_SOURCES = objdump.c dwarf.c prdbg.c $(DEBUG_SRCS) $(BULIBS) |
20e95c23 | 254 | objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL) |
252b5132 | 255 | |
8b1e6df3 NC |
256 | objdump.o:objdump.c |
257 | $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c | |
258 | ||
bb279dc0 | 259 | cxxfilt_SOURCES = cxxfilt.c $(BULIBS) |
252b5132 | 260 | |
eb1e0e80 NC |
261 | ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \ |
262 | emul_$(EMULATION).c $(BULIBS) | |
20e95c23 | 263 | ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 264 | |
eb1e0e80 NC |
265 | ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \ |
266 | binemul.c emul_$(EMULATION).c $(BULIBS) | |
20e95c23 | 267 | ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 268 | |
ed180cc5 | 269 | addr2line_SOURCES = addr2line.c $(BULIBS) |
252b5132 | 270 | |
41b49281 | 271 | # The following is commented out for the conversion to automake. |
252b5132 RH |
272 | # This rule creates a single binary that switches between ar and ranlib |
273 | # by looking at argv[0]. Use this kludge to save some disk space. | |
274 | # However, you have to install things by hand. | |
275 | # (That is after 'make install', replace the installed ranlib by a link to ar.) | |
276 | # Alternatively, you can install ranlib.sh as ranlib. | |
277 | # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o | |
278 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS) | |
279 | # -rm -f $(RANLIB_PROG) | |
280 | # -ln $(AR_PROG) $(RANLIB_PROG) | |
281 | # | |
282 | # objcopy and strip in one binary that uses argv[0] to decide its action. | |
283 | # | |
284 | #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o | |
285 | # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS) | |
286 | # -rm -f $(STRIP_PROG) | |
287 | # -ln $(OBJCOPY_PROG) $(STRIP_PROG) | |
288 | ||
8b42747f | 289 | sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info |
252b5132 RH |
290 | ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c |
291 | ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c | |
292 | ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c | |
293 | ||
294 | sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info | |
295 | ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h | |
296 | ||
297 | sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o | |
dc3c06c2 | 298 | $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o |
252b5132 | 299 | |
dc3c06c2 | 300 | syslex.o: |
252b5132 | 301 | if [ -r syslex.c ]; then \ |
ceae3e33 | 302 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) syslex.c -Wno-error ; \ |
252b5132 | 303 | else \ |
ceae3e33 | 304 | $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS) $(srcdir)/syslex.c -Wno-error ;\ |
252b5132 RH |
305 | fi |
306 | ||
dc3c06c2 | 307 | sysinfo.o: |
252b5132 | 308 | if [ -r sysinfo.c ]; then \ |
ceae3e33 | 309 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) sysinfo.c -Wno-error ; \ |
252b5132 | 310 | else \ |
ceae3e33 | 311 | $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS) $(srcdir)/sysinfo.c -Wno-error ; \ |
252b5132 RH |
312 | fi |
313 | ||
1d97d67f AM |
314 | bin2c$(EXEEXT_FOR_BUILD): |
315 | $(CC_FOR_BUILD) -o $@ $(INCLUDES) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) $(srcdir)/bin2c.c $(srcdir)/version.c | |
316 | ||
669a9a2a AM |
317 | embedspu: embedspu.sh |
318 | sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@ | |
319 | chmod a+x $@ | |
320 | ||
41b49281 AM |
321 | # We need these for parallel make. |
322 | arparse.h: arparse.c | |
323 | defparse.h: defparse.c | |
324 | nlmheader.h: nlmheader.c | |
325 | rcparse.h: rcparse.c | |
692ed3e7 | 326 | mcparse.h: mcparse.c |
41b49281 AM |
327 | sysinfo.h: sysinfo.c |
328 | ||
ceae3e33 | 329 | # Disable -Werror, if it has been enabled, since old versions of bison/ |
8b42747f | 330 | # yacc will produce working code which contain compile time warnings. |
ceae3e33 | 331 | arparse.o: |
9e9b66a9 | 332 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 333 | arlex.o: |
9e9b66a9 | 334 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 335 | sysroff.o: |
9e9b66a9 | 336 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 337 | defparse.o: |
9e9b66a9 | 338 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 339 | deflex.o: |
9e9b66a9 | 340 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 341 | nlmheader.o: |
9e9b66a9 | 342 | $(COMPILE) -c $< $(NO_WERROR) |
ceae3e33 | 343 | rcparse.o: |
9e9b66a9 | 344 | $(COMPILE) -c $< $(NO_WERROR) |
692ed3e7 NC |
345 | mcparse.o: |
346 | $(COMPILE) -c $< $(NO_WERROR) | |
ceae3e33 | 347 | rclex.o: |
9e9b66a9 | 348 | $(COMPILE) -c $< $(NO_WERROR) |
692ed3e7 NC |
349 | mclex.o: |
350 | $(COMPILE) -c $< $(NO_WERROR) | |
ceae3e33 | 351 | |
252b5132 RH |
352 | srconv_SOURCES = srconv.c coffgrok.c $(BULIBS) |
353 | ||
0724d64b | 354 | dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS) |
20e95c23 | 355 | dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) |
252b5132 | 356 | |
dc3c06c2 | 357 | dlltool.o: |
252b5132 RH |
358 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c |
359 | ||
dc3c06c2 | 360 | rescoff.o: |
09cda596 DD |
361 | $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c |
362 | ||
252b5132 RH |
363 | coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS) |
364 | ||
365 | sysdump_SOURCES = sysdump.c $(BULIBS) | |
366 | ||
367 | # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency | |
368 | # scripts, since they are only included conditionally. | |
369 | nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h | |
370 | ldname=`echo ld | sed '$(transform)'`; \ | |
371 | $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c | |
372 | ||
373 | nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS) | |
374 | ||
4a594fce | 375 | windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.c \ |
252b5132 | 376 | winduni.c resres.c $(BULIBS) |
cd6a2ed0 | 377 | windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) $(LIBICONV) |
252b5132 | 378 | |
692ed3e7 NC |
379 | windmc_SOURCES = windmc.c mcparse.y mclex.c \ |
380 | winduni.c $(BULIBS) | |
cd6a2ed0 | 381 | windmc_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) $(LIBICONV) |
692ed3e7 | 382 | |
0724d64b | 383 | dllwrap_SOURCES = dllwrap.c version.c |
20e95c23 | 384 | dllwrap_LDADD = $(LIBIBERTY) $(LIBINTL) |
252b5132 RH |
385 | |
386 | ||
c45021f2 | 387 | EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \ |
692ed3e7 NC |
388 | syslex.c deflex.c defparse.h defparse.c rcparse.h rcparse.c \ |
389 | mcparse.h mcparse.c | |
252b5132 | 390 | |
c45021f2 | 391 | diststuff: $(EXTRA_DIST) info |
e3e71e27 | 392 | all: info |
252b5132 | 393 | |
1d97d67f | 394 | DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak |
252b5132 RH |
395 | |
396 | # Targets to rebuild dependencies in this Makefile. | |
c278c150 ILT |
397 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
398 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h | |
399 | rm -f DEP1 | |
41b49281 | 400 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
0bdaf48b AM |
401 | sed -f dep.sed < DEP1 > DEPA |
402 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA | |
403 | if grep ' /' DEPA > /dev/null 2> /dev/null; then \ | |
6d5be915 AM |
404 | echo 'make DEP failed!'; exit 1; \ |
405 | else \ | |
0bdaf48b | 406 | mv -f DEPA $@; \ |
6d5be915 | 407 | fi |
252b5132 | 408 | |
c278c150 | 409 | DEP1: $(CFILES) $(GENERATED_CFILES) |
c278c150 | 410 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
41b49281 AM |
411 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
412 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 | |
413 | mv -f DEP2 $@ | |
252b5132 RH |
414 | |
415 | dep.sed: dep-in.sed config.status | |
416 | objdir=`pwd`; \ | |
417 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
418 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
419 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
420 | -e 's!@SRCDIR@!$(srcdir)!' \ | |
8e42bcb6 AM |
421 | -e "s!@OBJDIR@!$${objdir}!" \ |
422 | -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/binutils$$,,`'!' | |
252b5132 | 423 | |
c278c150 | 424 | dep: DEP |
252b5132 | 425 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
c278c150 | 426 | cat DEP >> tmp-Makefile |
252b5132 RH |
427 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile |
428 | ||
c278c150 | 429 | dep-in: DEP |
252b5132 | 430 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
c278c150 | 431 | cat DEP >> tmp-Makefile.in |
252b5132 RH |
432 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
433 | ||
c278c150 | 434 | dep-am: DEP |
252b5132 | 435 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
c278c150 | 436 | cat DEP >> tmp-Makefile.am |
252b5132 RH |
437 | $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
438 | ||
439 | .PHONY: dep dep-in dep-am | |
440 | ||
441 | ### | |
c45021f2 | 442 | |
1d97d67f AM |
443 | MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \ |
444 | binutils.log binutils.sum abcdefgh* | |
252b5132 RH |
445 | mostlyclean-local: |
446 | -rm -rf tmpdir | |
447 | ||
0bdaf48b | 448 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 |
252b5132 RH |
449 | |
450 | .PHONY: install-exec-local | |
451 | ||
a7186e88 | 452 | install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS) |
b125d98b | 453 | @list='$(RENAMED_PROGS)'; for p in $$list; do \ |
a7186e88 DJ |
454 | if test -f $$p$(EXEEXT); then \ |
455 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ | |
456 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ | |
252b5132 RH |
457 | else :; fi; \ |
458 | done | |
d3d8a9ee | 459 | $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin |
252b5132 RH |
460 | for i in $(TOOL_PROGS); do \ |
461 | if [ -f $$i$(EXEEXT) ]; then \ | |
462 | j=`echo $$i | sed -e 's/-new//'`; \ | |
463 | k=`echo $$j | sed '$(transform)'`; \ | |
75aa6618 | 464 | if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \ |
d3d8a9ee NC |
465 | rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ |
466 | ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \ | |
467 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ | |
252b5132 RH |
468 | fi; \ |
469 | else true; \ | |
470 | fi; \ | |
471 | done | |
472 | ||
473 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
474 | ||
475 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
476 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
8d25cc3d AM |
477 | addr2line.o: addr2line.c sysdep.h $(INCDIR)/alloca-conf.h \ |
478 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
479 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
480 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h bucomm.h | |
481 | ar.o: ar.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
482 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
483 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
484 | $(INCDIR)/libiberty.h $(INCDIR)/progress.h $(INCDIR)/aout/ar.h \ | |
485 | $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h bucomm.h arsup.h \ | |
486 | $(INCDIR)/filenames.h binemul.h | |
487 | arsup.o: arsup.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
488 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
489 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
490 | $(INCDIR)/libiberty.h $(INCDIR)/filenames.h bucomm.h \ | |
491 | arsup.h | |
492 | bin2c.o: bin2c.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
493 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
494 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
500b1f44 | 495 | bucomm.h |
8d25cc3d AM |
496 | binemul.o: binemul.c binemul.h sysdep.h $(INCDIR)/alloca-conf.h \ |
497 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
498 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
499 | bucomm.h | |
500 | bucomm.o: bucomm.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
501 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
502 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
503 | $(INCDIR)/libiberty.h $(INCDIR)/filenames.h $(BFDDIR)/libbfd.h \ | |
504 | $(INCDIR)/hashtab.h bucomm.h | |
505 | coffdump.o: coffdump.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
506 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
507 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
508 | $(INCDIR)/libiberty.h bucomm.h coffgrok.h | |
509 | coffgrok.o: coffgrok.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
510 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
511 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
512 | $(INCDIR)/libiberty.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
513 | $(INCDIR)/bfdlink.h bucomm.h coffgrok.h | |
514 | cxxfilt.o: cxxfilt.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
515 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
516 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
517 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h \ | |
518 | bucomm.h | |
519 | dwarf.o: dwarf.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
520 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
521 | $(INCDIR)/binary-io.h $(INCDIR)/libiberty.h ../bfd/bfd.h \ | |
522 | $(INCDIR)/symcat.h bucomm.h $(INCDIR)/elf/common.h \ | |
523 | $(INCDIR)/elf/dwarf2.h dwarf.h | |
524 | debug.o: debug.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
ee1dbd7d | 525 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ |
4cef8a9f | 526 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ |
8d25cc3d AM |
527 | $(INCDIR)/libiberty.h debug.h |
528 | dlltool.o: dlltool.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
529 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
530 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
531 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/dyn-string.h \ | |
532 | bucomm.h dlltool.h $(INCDIR)/safe-ctype.h | |
533 | dllwrap.o: dllwrap.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
534 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
535 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
536 | $(INCDIR)/libiberty.h $(INCDIR)/dyn-string.h bucomm.h | |
537 | emul_aix.o: emul_aix.c binemul.h sysdep.h $(INCDIR)/alloca-conf.h \ | |
538 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
539 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
ee1dbd7d | 540 | bucomm.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ |
4cef8a9f | 541 | $(INCDIR)/coff/xcoff.h $(BFDDIR)/libcoff.h $(BFDDIR)/libxcoff.h |
8d25cc3d AM |
542 | emul_vanilla.o: emul_vanilla.c binemul.h sysdep.h $(INCDIR)/alloca-conf.h \ |
543 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
4cef8a9f | 544 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ |
ee1dbd7d | 545 | bucomm.h |
8d25cc3d AM |
546 | filemode.o: filemode.c sysdep.h $(INCDIR)/alloca-conf.h \ |
547 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
548 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
549 | bucomm.h | |
550 | ieee.o: ieee.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
551 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
552 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
553 | $(INCDIR)/ieee.h $(INCDIR)/libiberty.h debug.h budbg.h \ | |
554 | $(INCDIR)/filenames.h | |
252b5132 RH |
555 | is-ranlib.o: is-ranlib.c |
556 | is-strip.o: is-strip.c | |
557 | maybe-ranlib.o: maybe-ranlib.c | |
558 | maybe-strip.o: maybe-strip.c | |
8d25cc3d AM |
559 | nlmconv.o: nlmconv.c sysdep.h $(INCDIR)/alloca-conf.h \ |
560 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
561 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
562 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFDDIR)/libnlm.h \ | |
563 | $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \ | |
564 | nlmconv.h bucomm.h | |
565 | nm.o: nm.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
566 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
567 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
568 | $(INCDIR)/progress.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
569 | $(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ | |
570 | $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ | |
571 | $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h bucomm.h | |
252b5132 RH |
572 | not-ranlib.o: not-ranlib.c |
573 | not-strip.o: not-strip.c | |
8d25cc3d AM |
574 | objcopy.o: objcopy.c sysdep.h $(INCDIR)/alloca-conf.h \ |
575 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
576 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
577 | $(INCDIR)/progress.h $(INCDIR)/libiberty.h bucomm.h \ | |
578 | budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \ | |
50e7d84b | 579 | $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ |
8d25cc3d AM |
580 | $(INCDIR)/bfdlink.h $(BFDDIR)/libbfd.h $(INCDIR)/hashtab.h |
581 | objdump.o: objdump.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
582 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
583 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
584 | $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ | |
585 | $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/progress.h \ | |
586 | bucomm.h dwarf.h $(INCDIR)/safe-ctype.h $(INCDIR)/dis-asm.h \ | |
587 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h $(INCDIR)/filenames.h \ | |
588 | debug.h budbg.h $(INCDIR)/aout/aout64.h | |
589 | prdbg.o: prdbg.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
590 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
591 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
592 | $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \ | |
593 | budbg.h | |
594 | rclex.o: rclex.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
595 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
596 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
597 | bucomm.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
598 | windres.h winduni.h windint.h rcparse.h | |
599 | rdcoff.o: rdcoff.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
600 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
601 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
602 | $(INCDIR)/coff/internal.h $(INCDIR)/libiberty.h bucomm.h \ | |
603 | debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
604 | rddbg.o: rddbg.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
605 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
606 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
607 | $(INCDIR)/libiberty.h bucomm.h debug.h budbg.h | |
608 | readelf.o: readelf.c config.h sysdep.h $(INCDIR)/alloca-conf.h \ | |
609 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
610 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
611 | bucomm.h dwarf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \ | |
612 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/reloc-macros.h \ | |
613 | $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \ | |
614 | $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cr16.h \ | |
615 | $(INCDIR)/elf/cris.h $(INCDIR)/elf/crx.h $(INCDIR)/elf/d10v.h \ | |
616 | $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \ | |
617 | $(INCDIR)/elf/frv.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h \ | |
618 | $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/i960.h \ | |
619 | $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h $(INCDIR)/elf/lm32.h \ | |
620 | $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/m32c.h $(INCDIR)/elf/m32r.h \ | |
621 | $(INCDIR)/elf/m68k.h $(INCDIR)/elf/m68hc11.h $(INCDIR)/elf/mcore.h \ | |
622 | $(INCDIR)/elf/mep.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \ | |
623 | $(INCDIR)/elf/mn10200.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/mt.h \ | |
624 | $(INCDIR)/elf/msp430.h $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h \ | |
625 | $(INCDIR)/elf/ppc.h $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h \ | |
626 | $(INCDIR)/elf/score.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/sparc.h \ | |
627 | $(INCDIR)/elf/spu.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/vax.h \ | |
628 | $(INCDIR)/elf/x86-64.h $(INCDIR)/elf/xstormy16.h $(INCDIR)/elf/xtensa.h \ | |
629 | $(INCDIR)/aout/ar.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
630 | $(INCDIR)/filenames.h unwind-ia64.h | |
631 | rename.o: rename.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
632 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
633 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
634 | bucomm.h | |
635 | resbin.o: resbin.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
636 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
637 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
638 | bucomm.h $(INCDIR)/libiberty.h windres.h winduni.h \ | |
639 | windint.h | |
640 | rescoff.o: rescoff.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
641 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
642 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
643 | bucomm.h $(INCDIR)/libiberty.h windres.h winduni.h \ | |
644 | windint.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \ | |
500b1f44 | 645 | $(INCDIR)/bfdlink.h |
8d25cc3d AM |
646 | resrc.o: resrc.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ |
647 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
648 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
649 | bucomm.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
500b1f44 | 650 | windres.h winduni.h windint.h |
8d25cc3d AM |
651 | resres.o: resres.c sysdep.h $(INCDIR)/alloca-conf.h \ |
652 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
653 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
654 | bucomm.h $(INCDIR)/libiberty.h windres.h winduni.h \ | |
655 | windint.h | |
656 | size.o: size.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
657 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
658 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
659 | $(INCDIR)/libiberty.h bucomm.h | |
660 | srconv.o: srconv.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
661 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
662 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
663 | bucomm.h sysroff.h coffgrok.h $(INCDIR)/libiberty.h \ | |
664 | $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ | |
665 | sysroff.c | |
666 | stabs.o: stabs.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
667 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
668 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
669 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/demangle.h \ | |
670 | debug.h budbg.h $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \ | |
500b1f44 | 671 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def |
8d25cc3d AM |
672 | strings.o: strings.c sysdep.h $(INCDIR)/alloca-conf.h \ |
673 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
674 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
675 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h bucomm.h | |
676 | sysdump.o: sysdump.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
677 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
678 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
679 | $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h bucomm.h \ | |
680 | sysroff.h sysroff.c | |
f2bea866 AS |
681 | unwind-ia64.o: unwind-ia64.c unwind-ia64.h $(INCDIR)/elf/ia64.h \ |
682 | $(INCDIR)/elf/reloc-macros.h $(INCDIR)/ansidecl.h ../bfd/bfd.h \ | |
4cef8a9f | 683 | $(INCDIR)/symcat.h |
8d25cc3d AM |
684 | version.o: version.c sysdep.h $(INCDIR)/alloca-conf.h \ |
685 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
686 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
687 | bucomm.h | |
688 | windres.o: windres.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
689 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
690 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
691 | bucomm.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
692 | $(INCDIR)/obstack.h windres.h winduni.h windint.h | |
693 | winduni.o: winduni.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
694 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
695 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
696 | $(INCDIR)/libiberty.h bucomm.h winduni.h $(INCDIR)/safe-ctype.h | |
697 | wrstabs.o: wrstabs.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
698 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
699 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
700 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h bucomm.h \ | |
701 | debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
702 | $(INCDIR)/aout/stab.def | |
703 | windmc.o: windmc.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
704 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
705 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
706 | bucomm.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
707 | $(INCDIR)/obstack.h windmc.h winduni.h windint.h | |
708 | mclex.o: mclex.c sysdep.h $(INCDIR)/alloca-conf.h config.h \ | |
709 | $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
710 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
711 | bucomm.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ | |
712 | windmc.h winduni.h mcparse.h | |
713 | arparse.o: arparse.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
714 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
715 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
716 | arsup.h | |
8e42bcb6 | 717 | arlex.o: arlex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
500b1f44 | 718 | arparse.h |
252b5132 RH |
719 | sysroff.o: sysroff.c |
720 | sysinfo.o: sysinfo.c | |
dc3c06c2 | 721 | syslex.o: syslex.c config.h sysinfo.h |
8d25cc3d AM |
722 | defparse.o: defparse.c sysdep.h $(INCDIR)/alloca-conf.h \ |
723 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
724 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
725 | $(INCDIR)/libiberty.h dlltool.h | |
252b5132 | 726 | deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
500b1f44 | 727 | defparse.h dlltool.h |
8d25cc3d AM |
728 | nlmheader.o: nlmheader.c sysdep.h $(INCDIR)/alloca-conf.h \ |
729 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
730 | $(INCDIR)/binary-io.h $(INCDIR)/safe-ctype.h ../bfd/bfd.h \ | |
731 | $(INCDIR)/symcat.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
732 | bucomm.h nlmconv.h | |
733 | rcparse.o: rcparse.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
734 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
735 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
736 | bucomm.h $(INCDIR)/libiberty.h windres.h winduni.h \ | |
737 | windint.h $(INCDIR)/safe-ctype.h | |
738 | mcparse.o: mcparse.c sysdep.h $(INCDIR)/alloca-conf.h \ | |
739 | config.h $(INCDIR)/ansidecl.h ../bfd/bfdver.h $(INCDIR)/fopen-same.h \ | |
740 | $(INCDIR)/binary-io.h ../bfd/bfd.h $(INCDIR)/symcat.h \ | |
741 | bucomm.h $(INCDIR)/libiberty.h windmc.h winduni.h $(INCDIR)/safe-ctype.h | |
252b5132 | 742 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |