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