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