68a923651f5c1d749468c75dbcaea3a848710102
[deliverable/binutils-gdb.git] / binutils / Makefile.in
1 # Makefile.in generated automatically by automake 1.2 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = .
34
35 ACLOCAL = @ACLOCAL@
36 AUTOCONF = @AUTOCONF@
37 AUTOMAKE = @AUTOMAKE@
38 AUTOHEADER = @AUTOHEADER@
39
40 INSTALL = @INSTALL@
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 INSTALL_DATA = @INSTALL_DATA@
43 INSTALL_SCRIPT = @INSTALL_SCRIPT@
44 transform = @program_transform_name@
45
46 NORMAL_INSTALL = true
47 PRE_INSTALL = true
48 POST_INSTALL = true
49 NORMAL_UNINSTALL = true
50 PRE_UNINSTALL = true
51 POST_UNINSTALL = true
52 build_alias = @build_alias@
53 build_triplet = @build@
54 host_alias = @host_alias@
55 host_triplet = @host@
56 target_alias = @target_alias@
57 target_triplet = @target@
58 AR = @AR@
59 BUILD_DLLTOOL = @BUILD_DLLTOOL@
60 BUILD_NLMCONV = @BUILD_NLMCONV@
61 BUILD_SRCONV = @BUILD_SRCONV@
62 BUILD_WINDRES = @BUILD_WINDRES@
63 CC = @CC@
64 DLLTOOL_DEFS = @DLLTOOL_DEFS@
65 EXEEXT = @EXEEXT@
66 HDEFINES = @HDEFINES@
67 LD = @LD@
68 LIBTOOL = @LIBTOOL@
69 LN_S = @LN_S@
70 MAINT = @MAINT@
71 MAKEINFO = @MAKEINFO@
72 NLMCONV_DEFS = @NLMCONV_DEFS@
73 PACKAGE = @PACKAGE@
74 RANLIB = @RANLIB@
75 UNDERSCORE = @UNDERSCORE@
76 VERSION = @VERSION@
77
78 AUTOMAKE_OPTIONS = dejagnu
79
80 tooldir = $(exec_prefix)/$(target_alias)
81
82 CC_FOR_BUILD = @CC_FOR_BUILD@
83
84 YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
85 YFLAGS = -d
86 LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
87
88 # these two are almost the same program
89 AR_PROG=ar
90 RANLIB_PROG=ranlib
91
92 # objcopy and strip should be the same program
93 OBJCOPY_PROG=objcopy
94 STRIP_PROG=strip.new
95
96 STRINGS_PROG=strings
97
98 # These should all be the same program too.
99 SIZE_PROG=size
100 NM_PROG=nm.new
101 OBJDUMP_PROG=objdump
102
103 # This is the demangler, as a standalone program.
104 # Note: This one is used as the installed name too, unlike the above.
105 DEMANGLER_PROG=c++filt
106
107 ADDR2LINE_PROG=addr2line
108
109 NLMCONV_PROG=nlmconv
110 DLLTOOL_PROG=dlltool
111 WINDRES_PROG=windres
112
113 SRCONV_PROG=srconv sysdump coffdump
114
115 man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
116 addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
117
118 PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
119
120 bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) \
121 $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) \
122 @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
123
124 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
125
126 EXTRA_PROGRAMS = $(NLMCONV_PROG) $(SRCONV_PROG) $(DLLTOOL_PROG) $(WINDRES_PROG)
127
128 # Stuff that goes in tooldir/ if appropriate
129 TOOL_PROGS = nm.new strip.new ar ranlib $(DLLTOOL_PROG)
130
131 BASEDIR = $(srcdir)/..
132 BFDDIR = $(BASEDIR)/bfd
133 INCDIR = $(BASEDIR)/include
134
135 DEP = mkdep
136
137 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@
138
139 HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
140 windres.h
141
142 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h
143
144 CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
145 dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
146 maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
147 objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
148 stabs.c strings.c sysdump.c version.c wrstabs.c \
149 windres.c resrc.c rescoff.c resbin.c
150
151 GENERATED_CFILES = \
152 underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
153 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
154
155 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
156 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
157
158 # Code shared by all the binutils.
159 BULIBS = bucomm.c version.c filemode.c
160
161 BFDLIB = ../bfd/libbfd.la
162
163 OPCODES = ../opcodes/libopcodes.la
164
165 LIBIBERTY = ../libiberty/libiberty.a
166
167 EXPECT = `if [ -f $$r/../expect/expect ] ; then \
168 echo $$r/../expect/expect ; \
169 else echo expect ; fi`
170 RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
171 echo ${srcdir}/../dejagnu/runtest ; \
172 else echo runtest ; fi`
173
174 CC_FOR_TARGET = ` \
175 if [ -f $$r/../gcc/xgcc ] ; then \
176 if [ -f $$r/../newlib/Makefile ] ; then \
177 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
178 else \
179 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
180 fi; \
181 else \
182 if [ "@host@" = "@target@" ] ; then \
183 echo $(CC); \
184 else \
185 echo gcc | sed '$(program_transform_name)'; \
186 fi; \
187 fi`
188
189 info_TEXINFOS = binutils.texi
190
191 LDADD = $(BFDLIB) $(LIBIBERTY)
192
193 size_SOURCES = size.c $(BULIBS)
194
195 objcopy_SOURCES = objcopy.c not-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
196
197 strings_SOURCES = strings.c $(BULIBS)
198
199 strip_new_SOURCES = objcopy.c is-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
200
201 nm_new_SOURCES = nm.c $(BULIBS)
202
203 objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
204 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY)
205
206 c__filt_SOURCES =
207 c__filt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY)
208
209 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c $(BULIBS)
210 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
211
212 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c $(BULIBS)
213 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
214
215 addr2line_SOURCES = addr2line.c $(BULIBS)
216
217 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
218
219 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
220 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
221
222 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
223
224 sysdump_SOURCES = sysdump.c $(BULIBS)
225
226 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
227
228 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
229 $(BULIBS)
230 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
231
232 CLEANFILES = dep.sed .dep .dep1
233 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
234 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
235 CONFIG_HEADER = config.h
236 CONFIG_CLEAN_FILES =
237 bin_PROGRAMS = size$(EXEEXT) objdump$(EXEEXT) ar$(EXEEXT) \
238 strings$(EXEEXT) ranlib$(EXEEXT) c++filt$(EXEEXT) objcopy$(EXEEXT) \
239 addr2line$(EXEEXT)
240 noinst_PROGRAMS = nm.new$(EXEEXT) strip.new$(EXEEXT)
241 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
242
243
244 DEFS = @DEFS@ -I. -I$(srcdir) -I.
245 CPPFLAGS = @CPPFLAGS@
246 LDFLAGS = @LDFLAGS@
247 LIBS = @LIBS@
248 nlmconv_OBJECTS = nlmconv.o nlmheader.o bucomm.o version.o filemode.o
249 nlmconv_LDADD = $(LDADD)
250 nlmconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
251 nlmconv_LDFLAGS =
252 srconv_OBJECTS = srconv.o coffgrok.o bucomm.o version.o filemode.o
253 srconv_LDADD = $(LDADD)
254 srconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
255 srconv_LDFLAGS =
256 sysdump_OBJECTS = sysdump.o bucomm.o version.o filemode.o
257 sysdump_LDADD = $(LDADD)
258 sysdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
259 sysdump_LDFLAGS =
260 coffdump_OBJECTS = coffdump.o coffgrok.o bucomm.o version.o filemode.o
261 coffdump_LDADD = $(LDADD)
262 coffdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
263 coffdump_LDFLAGS =
264 dlltool_OBJECTS = dlltool.o defparse.o deflex.o bucomm.o version.o \
265 filemode.o
266 dlltool_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
267 dlltool_LDFLAGS =
268 windres_OBJECTS = windres.o resrc.o rescoff.o resbin.o rcparse.o \
269 rclex.o bucomm.o version.o filemode.o
270 windres_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
271 windres_LDFLAGS =
272 size_OBJECTS = size.o bucomm.o version.o filemode.o
273 size_LDADD = $(LDADD)
274 size_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
275 size_LDFLAGS =
276 objdump_OBJECTS = objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o \
277 rdcoff.o bucomm.o version.o filemode.o
278 objdump_DEPENDENCIES = ../opcodes/libopcodes.la ../bfd/libbfd.la \
279 ../libiberty/libiberty.a
280 objdump_LDFLAGS =
281 ar_OBJECTS = arparse.o arlex.o ar.o not-ranlib.o arsup.o bucomm.o \
282 version.o filemode.o
283 ar_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
284 ar_LDFLAGS =
285 strings_OBJECTS = strings.o bucomm.o version.o filemode.o
286 strings_LDADD = $(LDADD)
287 strings_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
288 strings_LDFLAGS =
289 ranlib_OBJECTS = ar.o is-ranlib.o arparse.o arlex.o arsup.o bucomm.o \
290 version.o filemode.o
291 ranlib_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
292 ranlib_LDFLAGS =
293 c__filt_OBJECTS =
294 c__filt_DEPENDENCIES = cplus-dem.o underscore.o \
295 ../libiberty/libiberty.a
296 c__filt_LDFLAGS =
297 objcopy_OBJECTS = objcopy.o not-strip.o rddbg.o debug.o stabs.o ieee.o \
298 rdcoff.o wrstabs.o bucomm.o version.o filemode.o
299 objcopy_LDADD = $(LDADD)
300 objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
301 objcopy_LDFLAGS =
302 addr2line_OBJECTS = addr2line.o bucomm.o version.o filemode.o
303 addr2line_LDADD = $(LDADD)
304 addr2line_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
305 addr2line_LDFLAGS =
306 nm_new_OBJECTS = nm.o bucomm.o version.o filemode.o
307 nm_new_LDADD = $(LDADD)
308 nm_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
309 nm_new_LDFLAGS =
310 strip_new_OBJECTS = objcopy.o is-strip.o rddbg.o debug.o stabs.o ieee.o \
311 rdcoff.o wrstabs.o bucomm.o version.o filemode.o
312 strip_new_LDADD = $(LDADD)
313 strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
314 strip_new_LDFLAGS =
315 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
316 LEXLIB = @LEXLIB@
317 YLWRAP = $(top_srcdir)/../ylwrap
318 CFLAGS = @CFLAGS@
319 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
320 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
321 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
322 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
323 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
324 INFO_DEPS = binutils.info
325 DVIS = binutils.dvi
326 TEXINFOS = binutils.texi
327 MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
328
329
330 NROFF = nroff
331 DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS acconfig.h \
332 acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
333 configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c \
334 stamp-h.in
335
336
337 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
338
339 TAR = tar
340 GZIP = --best
341 SOURCES = $(nlmconv_SOURCES) $(srconv_SOURCES) $(sysdump_SOURCES) $(coffdump_SOURCES) $(dlltool_SOURCES) $(windres_SOURCES) $(size_SOURCES) $(objdump_SOURCES) $(ar_SOURCES) $(strings_SOURCES) $(ranlib_SOURCES) $(c__filt_SOURCES) $(objcopy_SOURCES) $(addr2line_SOURCES) $(nm_new_SOURCES) $(strip_new_SOURCES)
342 OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJECTS) $(dlltool_OBJECTS) $(windres_OBJECTS) $(size_OBJECTS) $(objdump_OBJECTS) $(ar_OBJECTS) $(strings_OBJECTS) $(ranlib_OBJECTS) $(c__filt_OBJECTS) $(objcopy_OBJECTS) $(addr2line_OBJECTS) $(nm_new_OBJECTS) $(strip_new_OBJECTS)
343
344 default: all
345
346 .SUFFIXES:
347 .SUFFIXES: .c .dvi .h .info .l .lo .o .ps .texi .texinfo .y
348 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
349 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
350
351 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
352 cd $(top_builddir) \
353 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
354
355 $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
356 cd $(srcdir) && $(ACLOCAL)
357
358 config.status: $(srcdir)/configure
359 $(SHELL) ./config.status --recheck
360 $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
361 cd $(srcdir) && $(AUTOCONF)
362
363 config.h: stamp-h
364 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
365 cd $(top_builddir) \
366 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
367 $(SHELL) ./config.status
368 @echo timestamp > stamp-h
369 $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in
370 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
371 cd $(top_srcdir) && $(AUTOHEADER)
372 @echo timestamp > $(srcdir)/stamp-h.in
373
374 mostlyclean-hdr:
375
376 clean-hdr:
377
378 distclean-hdr:
379 rm -f config.h
380
381 maintainer-clean-hdr:
382
383 mostlyclean-binPROGRAMS:
384
385 clean-binPROGRAMS:
386 test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
387
388 distclean-binPROGRAMS:
389
390 maintainer-clean-binPROGRAMS:
391
392 install-binPROGRAMS: $(bin_PROGRAMS)
393 @$(NORMAL_INSTALL)
394 $(mkinstalldirs) $(bindir)
395 @list='$(bin_PROGRAMS)'; for p in $$list; do \
396 if test -f $$p; then \
397 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
398 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
399 else :; fi; \
400 done
401
402 uninstall-binPROGRAMS:
403 $(NORMAL_UNINSTALL)
404 list='$(bin_PROGRAMS)'; for p in $$list; do \
405 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
406 done
407
408 mostlyclean-noinstPROGRAMS:
409
410 clean-noinstPROGRAMS:
411 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
412
413 distclean-noinstPROGRAMS:
414
415 maintainer-clean-noinstPROGRAMS:
416
417 .c.o:
418 $(COMPILE) -c $<
419
420 mostlyclean-compile:
421 rm -f *.o core
422
423 clean-compile:
424
425 distclean-compile:
426 rm -f *.tab.c
427
428 maintainer-clean-compile:
429
430 .c.lo:
431 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
432
433 mostlyclean-libtool:
434 rm -f *.lo
435
436 clean-libtool:
437 rm -rf .libs
438
439 distclean-libtool:
440
441 maintainer-clean-libtool:
442
443 nlmconv$(EXEEXT): $(nlmconv_OBJECTS) $(nlmconv_DEPENDENCIES)
444 @rm -f nlmconv$(EXEEXT)
445 $(LINK) $(nlmconv_LDFLAGS) $(nlmconv_OBJECTS) $(nlmconv_LDADD) $(LIBS)
446
447 srconv$(EXEEXT): $(srconv_OBJECTS) $(srconv_DEPENDENCIES)
448 @rm -f srconv$(EXEEXT)
449 $(LINK) $(srconv_LDFLAGS) $(srconv_OBJECTS) $(srconv_LDADD) $(LIBS)
450
451 sysdump$(EXEEXT): $(sysdump_OBJECTS) $(sysdump_DEPENDENCIES)
452 @rm -f sysdump$(EXEEXT)
453 $(LINK) $(sysdump_LDFLAGS) $(sysdump_OBJECTS) $(sysdump_LDADD) $(LIBS)
454
455 coffdump$(EXEEXT): $(coffdump_OBJECTS) $(coffdump_DEPENDENCIES)
456 @rm -f coffdump$(EXEEXT)
457 $(LINK) $(coffdump_LDFLAGS) $(coffdump_OBJECTS) $(coffdump_LDADD) $(LIBS)
458
459 dlltool$(EXEEXT): $(dlltool_OBJECTS) $(dlltool_DEPENDENCIES)
460 @rm -f dlltool$(EXEEXT)
461 $(LINK) $(dlltool_LDFLAGS) $(dlltool_OBJECTS) $(dlltool_LDADD) $(LIBS)
462
463 windres$(EXEEXT): $(windres_OBJECTS) $(windres_DEPENDENCIES)
464 @rm -f windres$(EXEEXT)
465 $(LINK) $(windres_LDFLAGS) $(windres_OBJECTS) $(windres_LDADD) $(LIBS)
466
467 size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES)
468 @rm -f size$(EXEEXT)
469 $(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS)
470
471 objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
472 @rm -f objdump$(EXEEXT)
473 $(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD) $(LIBS)
474
475 ar$(EXEEXT): $(ar_OBJECTS) $(ar_DEPENDENCIES)
476 @rm -f ar$(EXEEXT)
477 $(LINK) $(ar_LDFLAGS) $(ar_OBJECTS) $(ar_LDADD) $(LIBS)
478
479 strings$(EXEEXT): $(strings_OBJECTS) $(strings_DEPENDENCIES)
480 @rm -f strings$(EXEEXT)
481 $(LINK) $(strings_LDFLAGS) $(strings_OBJECTS) $(strings_LDADD) $(LIBS)
482
483 ranlib$(EXEEXT): $(ranlib_OBJECTS) $(ranlib_DEPENDENCIES)
484 @rm -f ranlib$(EXEEXT)
485 $(LINK) $(ranlib_LDFLAGS) $(ranlib_OBJECTS) $(ranlib_LDADD) $(LIBS)
486
487 c++filt$(EXEEXT): $(c__filt_OBJECTS) $(c__filt_DEPENDENCIES)
488 @rm -f c++filt$(EXEEXT)
489 $(LINK) $(c__filt_LDFLAGS) $(c__filt_OBJECTS) $(c__filt_LDADD) $(LIBS)
490
491 objcopy$(EXEEXT): $(objcopy_OBJECTS) $(objcopy_DEPENDENCIES)
492 @rm -f objcopy$(EXEEXT)
493 $(LINK) $(objcopy_LDFLAGS) $(objcopy_OBJECTS) $(objcopy_LDADD) $(LIBS)
494
495 addr2line$(EXEEXT): $(addr2line_OBJECTS) $(addr2line_DEPENDENCIES)
496 @rm -f addr2line$(EXEEXT)
497 $(LINK) $(addr2line_LDFLAGS) $(addr2line_OBJECTS) $(addr2line_LDADD) $(LIBS)
498
499 nm.new$(EXEEXT): $(nm_new_OBJECTS) $(nm_new_DEPENDENCIES)
500 @rm -f nm.new$(EXEEXT)
501 $(LINK) $(nm_new_LDFLAGS) $(nm_new_OBJECTS) $(nm_new_LDADD) $(LIBS)
502
503 strip.new$(EXEEXT): $(strip_new_OBJECTS) $(strip_new_DEPENDENCIES)
504 @rm -f strip.new$(EXEEXT)
505 $(LINK) $(strip_new_LDFLAGS) $(strip_new_OBJECTS) $(strip_new_LDADD) $(LIBS)
506 .y.c:
507 $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(YFLAGS)
508 .y.h:
509 $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(YFLAGS)
510 .l.c:
511 $(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(LFLAGS)
512
513 binutils.info: binutils.texi
514 binutils.dvi: binutils.texi
515
516
517 DVIPS = dvips
518
519 .texi.info:
520 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
521 $(MAKEINFO) -I $(srcdir) $<
522
523 .texi.dvi:
524 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
525 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
526
527 .texi:
528 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
529 $(MAKEINFO) -I $(srcdir) $<
530
531 .texinfo.info:
532 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
533 $(MAKEINFO) -I $(srcdir) $<
534
535 .texinfo:
536 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
537 $(MAKEINFO) -I $(srcdir) $<
538
539 .texinfo.dvi:
540 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
541 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
542 .dvi.ps:
543 $(DVIPS) $< -o $@
544
545 install-info-am: $(INFO_DEPS)
546 @$(NORMAL_INSTALL)
547 $(mkinstalldirs) $(infodir)
548 @for file in $(INFO_DEPS); do \
549 if test -f $$file; then d=.; else d=$(srcdir); fi; \
550 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
551 if test -f $$d/$$ifile; then \
552 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
553 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
554 else : ; fi; \
555 done; \
556 done
557 @$(POST_INSTALL)
558 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
559 for file in $(INFO_DEPS); do \
560 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
561 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
562 done; \
563 else : ; fi
564
565 uninstall-info:
566 $(PRE_UNINSTALL)
567 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
568 ii=yes; \
569 else ii=; fi; \
570 for file in $(INFO_DEPS); do \
571 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
572 done
573 $(NORMAL_UNINSTALL)
574 for file in $(INFO_DEPS); do \
575 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
576 done
577
578 dist-info: $(INFO_DEPS)
579 for base in $(INFO_DEPS); do \
580 if test -f $$base; then d=.; else d=$(srcdir); fi; \
581 for file in `cd $$d && eval echo $$base*`; do \
582 test -f $(distdir)/$$file \
583 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
584 || cp -p $$d/$$file $(distdir)/$$file; \
585 done; \
586 done
587
588 mostlyclean-aminfo:
589 rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
590 binutils.fns binutils.ky binutils.log binutils.pg \
591 binutils.toc binutils.tp binutils.tps binutils.vr \
592 binutils.vrs binutils.op binutils.tr binutils.cv
593
594 clean-aminfo:
595
596 distclean-aminfo:
597
598 maintainer-clean-aminfo:
599 for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
600 clean-info: mostlyclean-aminfo
601 install-man: $(MANS)
602 $(NORMAL_INSTALL)
603 $(mkinstalldirs) $(mandir)/man1
604 @sect=1; \
605 inst=`echo "ar" | sed '$(transform)'`.1; \
606 if test -f $(srcdir)/ar.1; then file=$(srcdir)/ar.1; \
607 else file=ar.1; fi; \
608 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
609 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
610 @sect=1; \
611 inst=`echo "nlmconv" | sed '$(transform)'`.1; \
612 if test -f $(srcdir)/nlmconv.1; then file=$(srcdir)/nlmconv.1; \
613 else file=nlmconv.1; fi; \
614 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
615 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
616 @sect=1; \
617 inst=`echo "$(DEMANGLER_PROG)" | sed '$(transform)'`.1; \
618 if test -f $(srcdir)/$(DEMANGLER_PROG).1; then file=$(srcdir)/$(DEMANGLER_PROG).1; \
619 else file=$(DEMANGLER_PROG).1; fi; \
620 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
621 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
622 @sect=1; \
623 inst=`echo "nm" | sed '$(transform)'`.1; \
624 if test -f $(srcdir)/nm.1; then file=$(srcdir)/nm.1; \
625 else file=nm.1; fi; \
626 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
627 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
628 @sect=1; \
629 inst=`echo "objdump" | sed '$(transform)'`.1; \
630 if test -f $(srcdir)/objdump.1; then file=$(srcdir)/objdump.1; \
631 else file=objdump.1; fi; \
632 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
633 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
634 @sect=1; \
635 inst=`echo "ranlib" | sed '$(transform)'`.1; \
636 if test -f $(srcdir)/ranlib.1; then file=$(srcdir)/ranlib.1; \
637 else file=ranlib.1; fi; \
638 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
639 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
640 @sect=1; \
641 inst=`echo "size" | sed '$(transform)'`.1; \
642 if test -f $(srcdir)/size.1; then file=$(srcdir)/size.1; \
643 else file=size.1; fi; \
644 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
645 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
646 @sect=1; \
647 inst=`echo "strings" | sed '$(transform)'`.1; \
648 if test -f $(srcdir)/strings.1; then file=$(srcdir)/strings.1; \
649 else file=strings.1; fi; \
650 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
651 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
652 @sect=1; \
653 inst=`echo "strip" | sed '$(transform)'`.1; \
654 if test -f $(srcdir)/strip.1; then file=$(srcdir)/strip.1; \
655 else file=strip.1; fi; \
656 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
657 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
658 @sect=1; \
659 inst=`echo "objcopy" | sed '$(transform)'`.1; \
660 if test -f $(srcdir)/objcopy.1; then file=$(srcdir)/objcopy.1; \
661 else file=objcopy.1; fi; \
662 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
663 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
664 @sect=1; \
665 inst=`echo "addr2line" | sed '$(transform)'`.1; \
666 if test -f $(srcdir)/addr2line.1; then file=$(srcdir)/addr2line.1; \
667 else file=addr2line.1; fi; \
668 echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
669 $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
670
671 uninstall-man:
672 $(NORMAL_UNINSTALL)
673 inst=`echo "ar" | sed '$(transform)'`.1; \
674 rm -f $(mandir)/man1/$$inst
675 inst=`echo "nlmconv" | sed '$(transform)'`.1; \
676 rm -f $(mandir)/man1/$$inst
677 inst=`echo "$(DEMANGLER_PROG)" | sed '$(transform)'`.1; \
678 rm -f $(mandir)/man1/$$inst
679 inst=`echo "nm" | sed '$(transform)'`.1; \
680 rm -f $(mandir)/man1/$$inst
681 inst=`echo "objdump" | sed '$(transform)'`.1; \
682 rm -f $(mandir)/man1/$$inst
683 inst=`echo "ranlib" | sed '$(transform)'`.1; \
684 rm -f $(mandir)/man1/$$inst
685 inst=`echo "size" | sed '$(transform)'`.1; \
686 rm -f $(mandir)/man1/$$inst
687 inst=`echo "strings" | sed '$(transform)'`.1; \
688 rm -f $(mandir)/man1/$$inst
689 inst=`echo "strip" | sed '$(transform)'`.1; \
690 rm -f $(mandir)/man1/$$inst
691 inst=`echo "objcopy" | sed '$(transform)'`.1; \
692 rm -f $(mandir)/man1/$$inst
693 inst=`echo "addr2line" | sed '$(transform)'`.1; \
694 rm -f $(mandir)/man1/$$inst
695
696
697 tags: TAGS
698
699 ID: $(HEADERS) $(SOURCES)
700 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
701
702 TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES)
703 tags=; \
704 here=`pwd`; \
705 test -z "$(ETAGS_ARGS)config.in$(SOURCES)$(HEADERS)$$tags" \
706 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
707
708 mostlyclean-tags:
709
710 clean-tags:
711
712 distclean-tags:
713 rm -f TAGS ID
714
715 maintainer-clean-tags:
716
717 distdir = $(PACKAGE)-$(VERSION)
718 top_distdir = $(distdir)
719
720 # This target untars the dist file and tries a VPATH configuration. Then
721 # it guarantees that the distribution is self-contained by making another
722 # tarfile.
723 distcheck: dist
724 rm -rf $(distdir)
725 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
726 mkdir $(distdir)/=build
727 mkdir $(distdir)/=inst
728 dc_install_base=`cd $(distdir)/=inst && pwd`; \
729 cd $(distdir)/=build \
730 && ../configure --srcdir=.. --prefix=$$dc_install_base \
731 && $(MAKE) \
732 && $(MAKE) dvi \
733 && $(MAKE) check \
734 && $(MAKE) install \
735 && $(MAKE) installcheck \
736 && $(MAKE) dist
737 rm -rf $(distdir)
738 @echo "========================"; \
739 echo "$(distdir).tar.gz is ready for distribution"; \
740 echo "========================"
741 dist: distdir
742 -chmod -R a+r $(distdir)
743 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
744 rm -rf $(distdir)
745 dist-all: distdir
746 -chmod -R a+r $(distdir)
747 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
748 rm -rf $(distdir)
749 distdir: $(DISTFILES)
750 rm -rf $(distdir)
751 mkdir $(distdir)
752 -chmod 777 $(distdir)
753 @for file in $(DISTFILES); do \
754 if test -f $$file; then d=.; else d=$(srcdir); fi; \
755 test -f $(distdir)/$$file \
756 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
757 || cp -p $$d/$$file $(distdir)/$$file; \
758 done
759 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
760
761 RUNTESTFLAGS =
762
763 DEJATOOL = $(PACKAGE)
764 site.exp: Makefile
765 @echo 'Making a new site.exp file...'
766 -@rm -f site.bak
767 @echo '## these variables are automatically generated by make ##' > $@-t
768 @echo '# Do not edit here. If you wish to override these values' >> $@-t
769 @echo '# edit the last section' >> $@-t
770 @echo 'set tool $(DEJATOOL)' >> $@-t
771 @echo 'set srcdir $(srcdir)' >> $@-t
772 @echo 'set objdir' `pwd` >> $@-t
773 @echo 'set host_alias $(host_alias)' >> $@-t
774 @echo 'set host_triplet $(host_triplet)' >> $@-t
775 @echo 'set target_alias $(target_alias)' >> $@-t
776 @echo 'set target_triplet $(target_triplet)' >> $@-t
777 @echo 'set build_alias $(build_alias)' >> $@-t
778 @echo 'set build_triplet $(build_triplet)' >> $@-t
779 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
780 -@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t
781 -@mv site.exp site.bak
782 @mv $@-t site.exp
783 info: $(INFO_DEPS)
784 dvi: $(DVIS)
785 check: all
786 $(MAKE) check-DEJAGNU
787 installcheck:
788 install-info: install-info-am
789 install-exec: install-binPROGRAMS install-exec-local
790 @$(NORMAL_INSTALL)
791
792 install-data: install-man
793 @$(NORMAL_INSTALL)
794
795 install: install-exec install-data all
796 @:
797
798 uninstall: uninstall-binPROGRAMS uninstall-man
799
800 all: Makefile $(PROGRAMS) $(MANS) config.h
801
802 install-strip:
803 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
804 installdirs:
805 $(mkinstalldirs) $(bindir) $(mandir)/man1
806
807
808 mostlyclean-generic:
809 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
810
811 clean-generic:
812 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
813
814 distclean-generic:
815 rm -f Makefile $(DISTCLEANFILES)
816 rm -f config.cache config.log stamp-h stamp-h[0-9]*
817 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
818
819 maintainer-clean-generic:
820 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
821 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
822 mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
823 mostlyclean-noinstPROGRAMS mostlyclean-compile \
824 mostlyclean-libtool mostlyclean-aminfo mostlyclean-tags \
825 mostlyclean-generic
826
827 clean: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
828 clean-libtool clean-aminfo clean-tags clean-generic \
829 mostlyclean
830
831 distclean: distclean-hdr distclean-binPROGRAMS distclean-noinstPROGRAMS \
832 distclean-compile distclean-libtool distclean-aminfo \
833 distclean-tags distclean-generic clean
834 rm -f config.status
835 rm -f libtool
836
837 maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
838 maintainer-clean-noinstPROGRAMS \
839 maintainer-clean-compile maintainer-clean-libtool \
840 maintainer-clean-aminfo maintainer-clean-tags \
841 maintainer-clean-generic distclean
842 @echo "This command is intended for maintainers to use;"
843 @echo "it deletes files that may require special tools to rebuild."
844 rm -f config.status
845
846 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
847 maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
848 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
849 install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
850 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
851 mostlyclean-compile distclean-compile clean-compile \
852 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
853 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
854 mostlyclean-aminfo distclean-aminfo clean-aminfo \
855 maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
856 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
857 info dvi installcheck install-info install-exec install-data install \
858 uninstall all installdirs mostlyclean-generic distclean-generic \
859 clean-generic maintainer-clean-generic clean mostlyclean distclean \
860 maintainer-clean
861
862
863 check-DEJAGNU: site.exp
864 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
865 EXPECT=$(EXPECT); export EXPECT; \
866 if [ -f $(top_builddir)/../expect/expect ]; then \
867 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
868 export TCL_LIBRARY; \
869 fi; \
870 runtest=$(RUNTEST); \
871 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
872 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
873 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
874 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
875 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
876 fi
877
878 installcheck:
879 /bin/sh $(srcdir)/sanity.sh $(bindir)
880
881 underscore.c: stamp-under ; @true
882
883 stamp-under: Makefile
884 echo '/*WARNING: This file is automatically generated!*/' >underscore.t
885 echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
886 $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
887 touch stamp-under
888
889 version.o: version.c Makefile
890 $(COMPILE) -c -DVERSION='"$(VERSION)"' $(srcdir)/version.c
891
892 bucomm.o: bucomm.c Makefile
893 $(COMPILE) -c -DTARGET='"@target@"' $(srcdir)/bucomm.c
894
895 cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
896 $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
897
898 # The following is commented out for the convertion to automake.
899 # This rule creates a single binary that switches between ar and ranlib
900 # by looking at argv[0]. Use this kludge to save some disk space.
901 # However, you have to install things by hand.
902 # (That is after 'make install', replace the installed ranlib by a link to ar.)
903 # Alternatively, you can install ranlib.sh as ranlib.
904 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
905 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
906 # -rm -f $(RANLIB_PROG)
907 # -ln $(AR_PROG) $(RANLIB_PROG)
908 #
909 # objcopy and strip in one binary that uses argv[0] to decide its action.
910 #
911 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
912 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
913 # -rm -f $(STRIP_PROG)
914 # -ln $(OBJCOPY_PROG) $(STRIP_PROG)
915
916 sysroff.c: sysinfo sysroff.info
917 ./sysinfo -c <$(srcdir)/sysroff.info >sysroff.c
918 ./sysinfo -i <$(srcdir)/sysroff.info >>sysroff.c
919 ./sysinfo -g <$(srcdir)/sysroff.info >>sysroff.c
920
921 sysroff.h: sysinfo sysroff.info
922 ./sysinfo -d <$(srcdir)/sysroff.info >sysroff.h
923
924 sysinfo: sysinfo.o syslex.o
925 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
926
927 syslex.o: syslex.c sysinfo.h
928 if [ -r syslex.c ]; then \
929 $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
930 else \
931 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
932 fi
933
934 sysinfo.o: sysinfo.c
935 if [ -r sysinfo.c ]; then \
936 $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
937 else \
938 $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
939 fi
940
941 dlltool.o:dlltool.c
942 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
943
944 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
945 # scripts, since they are only included conditionally.
946 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
947 ldname=`echo ld | sed '$(program_transform_name)'`; \
948 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
949
950 # Targets to rebuild dependencies in this Makefile.
951 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
952 .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
953 rm -f .dep1
954 $(MAKE) DEP=$(DEP) .dep1
955 sed -f dep.sed <.dep1 >.dep
956
957 # This rule really wants a mkdep that runs "gcc -MM".
958 .dep1: $(CFILES) $(GENERATED_CFILES)
959 rm -f .dep2
960 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
961 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
962 $(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
963
964 dep.sed: dep-in.sed config.status
965 sed <$(srcdir)/dep-in.sed >dep.sed \
966 -e 's!@INCDIR@!$(INCDIR)!' \
967 -e 's!@BFDDIR@!$(BFDDIR)!' \
968 -e 's!@SRCDIR@!$(srcdir)!'
969
970 dep: .dep
971 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
972 cat .dep >> tmp-Makefile
973 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
974
975 dep-in: .dep
976 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
977 cat .dep >> tmp-Makefile.in
978 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
979
980 dep-am: .dep
981 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
982 cat .dep >> tmp-Makefile.am
983 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
984
985 .PHONY: dep dep-in dep-am
986
987 ###
988 # DOCUMENTATION TARGETS
989 config.texi: Makefile
990 rm -f config.texi
991 echo '@set VERSION $(VERSION)' > config.texi
992
993 binutils.dvi: $(srcdir)/binutils.texi config.texi
994
995 binutils.info: $(srcdir)/binutils.texi config.texi
996
997 $(DEMANGLER_PROG).1: cxxfilt.man Makefile
998 sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
999 > $(DEMANGLER_PROG).1
1000
1001 .PHONY: install-exec-local
1002
1003 install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
1004 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1005 if test -f $$p; then \
1006 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed -e 's/.new//'|sed '$(transform)'`$(EXEEXT)"; \
1007 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p$(EXEEXT) $(bindir)/`echo $$p|sed -e 's/.new//'|sed '$(transform)'`$(EXEEXT); \
1008 else :; fi; \
1009 done
1010 for i in $(TOOL_PROGS); do \
1011 if [ -f $$i ]; then \
1012 j=`echo $$i | sed -e 's/.new//'`; \
1013 rm -f $(tooldir)/bin/$$j; \
1014 k=`echo $$j | sed '$(transform)'`; \
1015 ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \
1016 || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \
1017 else true; \
1018 fi; \
1019 done
1020
1021 # What appears below is generated by a hacked mkdep using gcc -MM.
1022
1023 # DO NOT DELETE THIS LINE -- mkdep uses it.
1024 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1025
1026 addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1027 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1028 bucomm.h config.h $(INCDIR)/fopen-same.h
1029 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1030 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1031 $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h
1032 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1033 arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
1034 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1035 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
1036 coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
1037 $(INCDIR)/fopen-same.h
1038 coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/fopen-same.h \
1039 $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
1040 coffgrok.h
1041 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1042 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1043 debug.h
1044 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1045 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1046 $(INCDIR)/getopt.h $(INCDIR)/demangle.h dlltool.h
1047 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1048 bucomm.h config.h $(INCDIR)/fopen-same.h
1049 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
1050 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1051 debug.h budbg.h
1052 is-ranlib.o: is-ranlib.c
1053 is-strip.o: is-strip.c
1054 maybe-ranlib.o: maybe-ranlib.c
1055 maybe-strip.o: maybe-strip.c
1056 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1057 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1058 $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1059 $(INCDIR)/nlm/external.h nlmconv.h
1060 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
1061 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h \
1062 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
1063 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
1064 not-ranlib.o: not-ranlib.c
1065 not-strip.o: not-strip.c
1066 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1067 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1068 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
1069 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1070 $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
1071 $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
1072 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h
1073 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1074 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1075 debug.h budbg.h
1076 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1077 $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1078 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
1079 budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
1080 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1081 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1082 debug.h budbg.h
1083 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
1084 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
1085 srconv.o: srconv.c bucomm.h config.h $(INCDIR)/fopen-same.h \
1086 sysroff.h coffgrok.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
1087 $(INCDIR)/bfdlink.h sysroff.c
1088 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1089 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1090 $(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
1091 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
1092 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1093 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
1094 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1095 bucomm.h config.h $(INCDIR)/fopen-same.h sysroff.h \
1096 sysroff.c
1097 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1098 bucomm.h config.h $(INCDIR)/fopen-same.h
1099 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1100 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1101 debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1102 $(INCDIR)/aout/stab.def
1103 windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1104 $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/fopen-same.h \
1105 $(INCDIR)/libiberty.h $(INCDIR)/obstack.h windres.h
1106 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1107 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1108 windres.h
1109 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1110 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1111 windres.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
1112 $(INCDIR)/bfdlink.h
1113 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1114 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1115 windres.h
1116 underscore.o: underscore.c
1117 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1118 bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
1119 arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
1120 sysroff.o: sysroff.c
1121 sysinfo.o: sysinfo.c
1122 syslex.o: syslex.c sysinfo.h
1123 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1124 bucomm.h config.h $(INCDIR)/fopen-same.h dlltool.h
1125 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1126 defparse.h dlltool.h
1127 nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
1128 $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1129 nlmconv.h
1130 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1131 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1132 windres.h
1133 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1134 bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
1135 windres.h rcparse.h
1136
1137 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1138
1139 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1140 # Otherwise a system limit (for SysV at least) may be exceeded.
1141 .NOEXPORT:
This page took 0.062279 seconds and 4 git commands to generate.