1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 build_alias = @build_alias@
61 build_triplet = @build@
62 host_alias = @host_alias@
64 target_alias = @target_alias@
65 target_triplet = @target@
68 BUILD_DLLTOOL = @BUILD_DLLTOOL@
69 BUILD_DLLWRAP = @BUILD_DLLWRAP@
70 BUILD_MISC = @BUILD_MISC@
71 BUILD_NLMCONV = @BUILD_NLMCONV@
72 BUILD_SRCONV = @BUILD_SRCONV@
73 BUILD_WINDRES = @BUILD_WINDRES@
75 CATOBJEXT = @CATOBJEXT@
77 DATADIRNAME = @DATADIRNAME@
78 DEMANGLER_NAME = @DEMANGLER_NAME@
80 DLLTOOL_DEFS = @DLLTOOL_DEFS@
87 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
88 INSTOBJEXT = @INSTOBJEXT@
95 MKINSTALLDIRS = @MKINSTALLDIRS@
97 NLMCONV_DEFS = @NLMCONV_DEFS@
103 UNDERSCORE = @UNDERSCORE@
104 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
109 INTLLIBS = @INTLLIBS@
111 AUTOMAKE_OPTIONS = cygnus dejagnu
115 tooldir = $(exec_prefix)/$(target_alias)
117 CC_FOR_BUILD = @CC_FOR_BUILD@
118 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
120 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
122 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
124 WARN_CFLAGS = @WARN_CFLAGS@
125 AM_CFLAGS = $(WARN_CFLAGS)
127 # these two are almost the same program
131 # objcopy and strip should be the same program
132 OBJCOPY_PROG = objcopy
133 STRIP_PROG = strip-new
135 STRINGS_PROG = strings
137 READELF_PROG = readelf
139 # These should all be the same program too.
142 OBJDUMP_PROG = objdump
144 # This is the demangler, as a standalone program.
145 # Note: This one is used as the installed name too, unlike the above.
146 DEMANGLER_PROG = cxxfilt
148 ADDR2LINE_PROG = addr2line
150 NLMCONV_PROG = nlmconv
151 DLLTOOL_PROG = dlltool
152 WINDRES_PROG = windres
153 DLLWRAP_PROG = dllwrap
155 SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
157 man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
158 addr2line.1 nlmconv.1 $(DEMANGLER_NAME).1
161 PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
163 bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
165 noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
167 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
169 # Stuff that goes in tooldir/ if appropriate
170 TOOL_PROGS = nm-new strip-new ar ranlib dlltool
172 BASEDIR = $(srcdir)/..
173 BFDDIR = $(BASEDIR)/bfd
174 INCDIR = $(BASEDIR)/include
178 INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
180 HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
181 windres.h winduni.h dyn-string.h
184 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
186 CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
187 dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
188 maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
189 objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
190 stabs.c strings.c sysdump.c version.c wrstabs.c \
191 windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
192 resres.c dyn-string.c dllwrap.c rename.c
196 underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
197 defparse.c deflex.c nlmheader.c rcparse.c rclex.c
200 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
201 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
203 # Code shared by all the binutils.
204 BULIBS = bucomm.c version.c filemode.c
206 BFDLIB = ../bfd/libbfd.la
208 OPCODES = ../opcodes/libopcodes.la
210 LIBIBERTY = ../libiberty/libiberty.a
212 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
214 EXPECT = `if [ -f $$r/../expect/expect ] ; then \
215 echo $$r/../expect/expect ; \
216 else echo expect ; fi`
218 RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
219 echo ${srcdir}/../dejagnu/runtest ; \
220 else echo runtest ; fi`
224 if [ -f $$r/../gcc/xgcc ] ; then \
225 if [ -f $$r/../newlib/Makefile ] ; then \
226 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
228 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
231 if [ "@host@" = "@target@" ] ; then \
234 echo gcc | sed '$(transform)'; \
239 info_TEXINFOS = binutils.texi
241 LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
243 size_SOURCES = size.c $(BULIBS)
245 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
247 strings_SOURCES = strings.c $(BULIBS)
249 readelf_SOURCES = readelf.c version.c
250 readelf_LDADD = $(INTLLIBS) $(LIBIBERTY)
252 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
254 nm_new_SOURCES = nm.c $(BULIBS)
256 objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
257 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
260 cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
262 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS)
263 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
265 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS)
266 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
268 addr2line_SOURCES = addr2line.c $(BULIBS)
270 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
272 dlltool_SOURCES = dlltool.c defparse.y deflex.l dyn-string.c $(BULIBS)
273 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
275 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
277 sysdump_SOURCES = sysdump.c $(BULIBS)
279 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
281 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
282 winduni.c resres.c $(BULIBS)
284 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
286 dllwrap_SOURCES = dllwrap.c dyn-string.c version.c
287 dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
289 DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
290 syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
293 DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
297 MAINTAINERCLEANFILES = config.texi
299 MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
303 CLEANFILES = dep.sed DEP DEP1 DEP2
304 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
305 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
306 CONFIG_HEADER = config.h
308 bin_PROGRAMS = size$(EXEEXT) objdump$(EXEEXT) ar$(EXEEXT) \
309 strings$(EXEEXT) ranlib$(EXEEXT) objcopy$(EXEEXT) @BUILD_NLMCONV@ \
310 @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ addr2line$(EXEEXT) \
311 readelf$(EXEEXT) @BUILD_DLLWRAP@ @BUILD_MISC@
312 noinst_PROGRAMS = nm-new$(EXEEXT) strip-new$(EXEEXT) cxxfilt$(EXEEXT)
313 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
316 DEFS = @DEFS@ -I. -I$(srcdir) -I.
317 CPPFLAGS = @CPPFLAGS@
320 nlmconv_OBJECTS = nlmconv.o nlmheader.o bucomm.o version.o filemode.o
321 nlmconv_LDADD = $(LDADD)
322 nlmconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
324 srconv_OBJECTS = srconv.o coffgrok.o bucomm.o version.o filemode.o
325 srconv_LDADD = $(LDADD)
326 srconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
328 sysdump_OBJECTS = sysdump.o bucomm.o version.o filemode.o
329 sysdump_LDADD = $(LDADD)
330 sysdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
332 coffdump_OBJECTS = coffdump.o coffgrok.o bucomm.o version.o filemode.o
333 coffdump_LDADD = $(LDADD)
334 coffdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
336 dlltool_OBJECTS = dlltool.o defparse.o deflex.o dyn-string.o bucomm.o \
338 dlltool_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
340 windres_OBJECTS = windres.o resrc.o rescoff.o resbin.o rcparse.o \
341 rclex.o winduni.o resres.o bucomm.o version.o filemode.o
342 windres_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
344 dllwrap_OBJECTS = dllwrap.o dyn-string.o version.o
345 dllwrap_DEPENDENCIES = ../libiberty/libiberty.a
347 size_OBJECTS = size.o bucomm.o version.o filemode.o
348 size_LDADD = $(LDADD)
349 size_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
351 objdump_OBJECTS = objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o \
352 rdcoff.o bucomm.o version.o filemode.o
353 objdump_DEPENDENCIES = ../opcodes/libopcodes.la ../bfd/libbfd.la \
354 ../libiberty/libiberty.a
356 ar_OBJECTS = arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o \
357 bucomm.o version.o filemode.o
358 ar_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
360 strings_OBJECTS = strings.o bucomm.o version.o filemode.o
361 strings_LDADD = $(LDADD)
362 strings_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
364 ranlib_OBJECTS = ar.o is-ranlib.o arparse.o arlex.o arsup.o rename.o \
365 bucomm.o version.o filemode.o
366 ranlib_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
368 objcopy_OBJECTS = objcopy.o not-strip.o rename.o rddbg.o debug.o \
369 stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
370 objcopy_LDADD = $(LDADD)
371 objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
373 addr2line_OBJECTS = addr2line.o bucomm.o version.o filemode.o
374 addr2line_LDADD = $(LDADD)
375 addr2line_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
377 readelf_OBJECTS = readelf.o version.o
378 readelf_DEPENDENCIES = ../libiberty/libiberty.a
380 nm_new_OBJECTS = nm.o bucomm.o version.o filemode.o
381 nm_new_LDADD = $(LDADD)
382 nm_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
384 strip_new_OBJECTS = objcopy.o is-strip.o rename.o rddbg.o debug.o \
385 stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
386 strip_new_LDADD = $(LDADD)
387 strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
390 cxxfilt_DEPENDENCIES = cplus-dem.o underscore.o \
391 ../libiberty/libiberty.a
393 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
395 YLWRAP = $(top_srcdir)/../ylwrap
397 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
398 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
400 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
401 TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
402 TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
403 INFO_DEPS = binutils.info
405 TEXINFOS = binutils.texi
406 man1dir = $(mandir)/man1
410 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
411 NEWS acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
412 configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c
415 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
419 SOURCES = $(nlmconv_SOURCES) $(srconv_SOURCES) $(sysdump_SOURCES) $(coffdump_SOURCES) $(dlltool_SOURCES) $(windres_SOURCES) $(dllwrap_SOURCES) $(size_SOURCES) $(objdump_SOURCES) $(ar_SOURCES) $(strings_SOURCES) $(ranlib_SOURCES) $(objcopy_SOURCES) $(addr2line_SOURCES) $(readelf_SOURCES) $(nm_new_SOURCES) $(strip_new_SOURCES) $(cxxfilt_SOURCES)
420 OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJECTS) $(dlltool_OBJECTS) $(windres_OBJECTS) $(dllwrap_OBJECTS) $(size_OBJECTS) $(objdump_OBJECTS) $(ar_OBJECTS) $(strings_OBJECTS) $(ranlib_OBJECTS) $(objcopy_OBJECTS) $(addr2line_OBJECTS) $(readelf_OBJECTS) $(nm_new_OBJECTS) $(strip_new_OBJECTS) $(cxxfilt_OBJECTS)
424 .SUFFIXES: .S .c .dvi .info .l .lo .o .ps .s .texi .texinfo .txi .y
425 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
426 cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
428 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
430 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
432 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
433 cd $(srcdir) && $(ACLOCAL)
435 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
436 $(SHELL) ./config.status --recheck
437 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
438 cd $(srcdir) && $(AUTOCONF)
441 @if test ! -f $@; then \
445 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
447 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
448 $(SHELL) ./config.status
449 @echo timestamp > stamp-h 2> /dev/null
450 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
451 @if test ! -f $@; then \
452 rm -f $(srcdir)/stamp-h.in; \
453 $(MAKE) $(srcdir)/stamp-h.in; \
455 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
456 cd $(top_srcdir) && $(AUTOHEADER)
457 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
466 maintainer-clean-hdr:
468 mostlyclean-binPROGRAMS:
471 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
473 distclean-binPROGRAMS:
475 maintainer-clean-binPROGRAMS:
477 install-binPROGRAMS: $(bin_PROGRAMS)
479 $(mkinstalldirs) $(DESTDIR)$(bindir)
480 @list='$(bin_PROGRAMS)'; for p in $$list; do \
481 if test -f $$p; then \
482 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
483 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
487 uninstall-binPROGRAMS:
489 list='$(bin_PROGRAMS)'; for p in $$list; do \
490 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
493 mostlyclean-noinstPROGRAMS:
495 clean-noinstPROGRAMS:
496 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
498 distclean-noinstPROGRAMS:
500 maintainer-clean-noinstPROGRAMS:
512 -rm -f *.o core *.core
519 maintainer-clean-compile:
522 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
525 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
528 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
538 maintainer-clean-libtool:
540 nlmconv$(EXEEXT): $(nlmconv_OBJECTS) $(nlmconv_DEPENDENCIES)
541 @rm -f nlmconv$(EXEEXT)
542 $(LINK) $(nlmconv_LDFLAGS) $(nlmconv_OBJECTS) $(nlmconv_LDADD) $(LIBS)
544 srconv$(EXEEXT): $(srconv_OBJECTS) $(srconv_DEPENDENCIES)
545 @rm -f srconv$(EXEEXT)
546 $(LINK) $(srconv_LDFLAGS) $(srconv_OBJECTS) $(srconv_LDADD) $(LIBS)
548 sysdump$(EXEEXT): $(sysdump_OBJECTS) $(sysdump_DEPENDENCIES)
549 @rm -f sysdump$(EXEEXT)
550 $(LINK) $(sysdump_LDFLAGS) $(sysdump_OBJECTS) $(sysdump_LDADD) $(LIBS)
552 coffdump$(EXEEXT): $(coffdump_OBJECTS) $(coffdump_DEPENDENCIES)
553 @rm -f coffdump$(EXEEXT)
554 $(LINK) $(coffdump_LDFLAGS) $(coffdump_OBJECTS) $(coffdump_LDADD) $(LIBS)
556 dlltool$(EXEEXT): $(dlltool_OBJECTS) $(dlltool_DEPENDENCIES)
557 @rm -f dlltool$(EXEEXT)
558 $(LINK) $(dlltool_LDFLAGS) $(dlltool_OBJECTS) $(dlltool_LDADD) $(LIBS)
560 windres$(EXEEXT): $(windres_OBJECTS) $(windres_DEPENDENCIES)
561 @rm -f windres$(EXEEXT)
562 $(LINK) $(windres_LDFLAGS) $(windres_OBJECTS) $(windres_LDADD) $(LIBS)
564 dllwrap$(EXEEXT): $(dllwrap_OBJECTS) $(dllwrap_DEPENDENCIES)
565 @rm -f dllwrap$(EXEEXT)
566 $(LINK) $(dllwrap_LDFLAGS) $(dllwrap_OBJECTS) $(dllwrap_LDADD) $(LIBS)
568 size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES)
570 $(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS)
572 objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
573 @rm -f objdump$(EXEEXT)
574 $(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD) $(LIBS)
576 ar$(EXEEXT): $(ar_OBJECTS) $(ar_DEPENDENCIES)
578 $(LINK) $(ar_LDFLAGS) $(ar_OBJECTS) $(ar_LDADD) $(LIBS)
580 strings$(EXEEXT): $(strings_OBJECTS) $(strings_DEPENDENCIES)
581 @rm -f strings$(EXEEXT)
582 $(LINK) $(strings_LDFLAGS) $(strings_OBJECTS) $(strings_LDADD) $(LIBS)
584 ranlib$(EXEEXT): $(ranlib_OBJECTS) $(ranlib_DEPENDENCIES)
585 @rm -f ranlib$(EXEEXT)
586 $(LINK) $(ranlib_LDFLAGS) $(ranlib_OBJECTS) $(ranlib_LDADD) $(LIBS)
588 objcopy$(EXEEXT): $(objcopy_OBJECTS) $(objcopy_DEPENDENCIES)
589 @rm -f objcopy$(EXEEXT)
590 $(LINK) $(objcopy_LDFLAGS) $(objcopy_OBJECTS) $(objcopy_LDADD) $(LIBS)
592 addr2line$(EXEEXT): $(addr2line_OBJECTS) $(addr2line_DEPENDENCIES)
593 @rm -f addr2line$(EXEEXT)
594 $(LINK) $(addr2line_LDFLAGS) $(addr2line_OBJECTS) $(addr2line_LDADD) $(LIBS)
596 readelf$(EXEEXT): $(readelf_OBJECTS) $(readelf_DEPENDENCIES)
597 @rm -f readelf$(EXEEXT)
598 $(LINK) $(readelf_LDFLAGS) $(readelf_OBJECTS) $(readelf_LDADD) $(LIBS)
600 nm-new$(EXEEXT): $(nm_new_OBJECTS) $(nm_new_DEPENDENCIES)
601 @rm -f nm-new$(EXEEXT)
602 $(LINK) $(nm_new_LDFLAGS) $(nm_new_OBJECTS) $(nm_new_LDADD) $(LIBS)
604 strip-new$(EXEEXT): $(strip_new_OBJECTS) $(strip_new_DEPENDENCIES)
605 @rm -f strip-new$(EXEEXT)
606 $(LINK) $(strip_new_LDFLAGS) $(strip_new_OBJECTS) $(strip_new_LDADD) $(LIBS)
608 cxxfilt$(EXEEXT): $(cxxfilt_OBJECTS) $(cxxfilt_DEPENDENCIES)
609 @rm -f cxxfilt$(EXEEXT)
610 $(LINK) $(cxxfilt_LDFLAGS) $(cxxfilt_OBJECTS) $(cxxfilt_LDADD) $(LIBS)
612 $(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(AM_LFLAGS) $(LFLAGS)
614 $(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS)
616 defparse.h: defparse.c
617 nlmheader.h: nlmheader.c
621 binutils.info: binutils.texi
622 binutils.dvi: binutils.texi
628 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
629 $(MAKEINFO) -I $(srcdir) $<
632 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
633 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
636 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
637 $(MAKEINFO) -I $(srcdir) $<
640 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
641 $(MAKEINFO) -I $(srcdir) $<
644 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
645 $(MAKEINFO) -I $(srcdir) $<
648 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
649 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
652 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
653 $(MAKEINFO) -I $(srcdir) $<
656 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
657 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
660 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
661 $(MAKEINFO) -I $(srcdir) $<
665 install-info-am: $(INFO_DEPS)
667 $(mkinstalldirs) $(DESTDIR)$(infodir)
668 @list='$(INFO_DEPS)'; \
669 for file in $$list; do \
670 if test -f $$file; then d=.; else d=$(srcdir); fi; \
671 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
672 if test -f $$d/$$ifile; then \
673 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
674 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
679 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
680 list='$(INFO_DEPS)'; \
681 for file in $$list; do \
682 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
683 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
689 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
692 list='$(INFO_DEPS)'; \
693 for file in $$list; do \
695 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
698 list='$(INFO_DEPS)'; \
699 for file in $$list; do \
700 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
703 dist-info: $(INFO_DEPS)
704 list='$(INFO_DEPS)'; \
705 for base in $$list; do \
706 if test -f $$base; then d=.; else d=$(srcdir); fi; \
707 for file in `cd $$d && eval echo $$base*`; do \
708 test -f $(distdir)/$$file \
709 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
710 || cp -p $$d/$$file $(distdir)/$$file; \
715 -rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
716 binutils.fns binutils.ky binutils.kys binutils.ps \
717 binutils.log binutils.pg binutils.toc binutils.tp \
718 binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
719 binutils.cv binutils.cn
725 maintainer-clean-aminfo:
726 for i in $(INFO_DEPS); do \
728 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
732 clean-info: mostlyclean-aminfo
735 $(mkinstalldirs) $(DESTDIR)$(man1dir)
736 @list='$(man1_MANS)'; \
737 l2='$(man_MANS)'; for i in $$l2; do \
739 *.1*) list="$$list $$i" ;; \
742 for i in $$list; do \
743 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
745 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
746 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
747 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
748 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
749 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
753 @list='$(man1_MANS)'; \
754 l2='$(man_MANS)'; for i in $$l2; do \
756 *.1*) list="$$list $$i" ;; \
759 for i in $$list; do \
760 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
761 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
762 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
763 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
764 rm -f $(DESTDIR)$(man1dir)/$$inst; \
768 $(MAKE) $(AM_MAKEFLAGS) install-man1
771 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
773 # This directory's subdirectories are mostly independent; you can cd
774 # into them and run `make' without going through this Makefile.
775 # To change the values of `make' variables: instead of editing Makefiles,
776 # (1) if the variable is set in `config.status', edit `config.status'
777 # (which will cause the Makefiles to be regenerated when you run `make');
778 # (2) otherwise, pass the desired values on the `make' command line.
782 all-recursive install-data-recursive install-exec-recursive \
783 installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
784 check-recursive installcheck-recursive info-recursive dvi-recursive:
785 @set fnord $(MAKEFLAGS); amf=$$2; \
787 target=`echo $@ | sed s/-recursive//`; \
788 list='$(SUBDIRS)'; for subdir in $$list; do \
789 echo "Making $$target in $$subdir"; \
790 if test "$$subdir" = "."; then \
792 local_target="$$target-am"; \
794 local_target="$$target"; \
796 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
797 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
799 if test "$$dot_seen" = "no"; then \
800 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
803 mostlyclean-recursive clean-recursive distclean-recursive \
804 maintainer-clean-recursive:
805 @set fnord $(MAKEFLAGS); amf=$$2; \
807 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
808 rev="$$subdir $$rev"; \
809 test "$$subdir" = "." && dot_seen=yes; \
811 test "$$dot_seen" = "no" && rev=". $$rev"; \
812 target=`echo $@ | sed s/-recursive//`; \
813 for subdir in $$rev; do \
814 echo "Making $$target in $$subdir"; \
815 if test "$$subdir" = "."; then \
816 local_target="$$target-am"; \
818 local_target="$$target"; \
820 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
821 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
822 done && test -z "$$fail"
824 list='$(SUBDIRS)'; for subdir in $$list; do \
825 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
830 ID: $(HEADERS) $(SOURCES) $(LISP)
831 list='$(SOURCES) $(HEADERS)'; \
832 unique=`for i in $$list; do echo $$i; done | \
833 awk ' { files[$$0] = 1; } \
834 END { for (i in files) print i; }'`; \
835 here=`pwd` && cd $(srcdir) \
836 && mkid -f$$here/ID $$unique $(LISP)
838 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
841 list='$(SUBDIRS)'; for subdir in $$list; do \
842 if test "$$subdir" = .; then :; else \
843 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
846 list='$(SOURCES) $(HEADERS)'; \
847 unique=`for i in $$list; do echo $$i; done | \
848 awk ' { files[$$0] = 1; } \
849 END { for (i in files) print i; }'`; \
850 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
851 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
860 maintainer-clean-tags:
862 distdir = $(PACKAGE)-$(VERSION)
863 top_distdir = $(distdir)
865 # This target untars the dist file and tries a VPATH configuration. Then
866 # it guarantees that the distribution is self-contained by making another
870 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
871 mkdir $(distdir)/=build
872 mkdir $(distdir)/=inst
873 dc_install_base=`cd $(distdir)/=inst && pwd`; \
874 cd $(distdir)/=build \
875 && ../configure --srcdir=.. --prefix=$$dc_install_base \
876 && $(MAKE) $(AM_MAKEFLAGS) \
877 && $(MAKE) $(AM_MAKEFLAGS) dvi \
878 && $(MAKE) $(AM_MAKEFLAGS) check \
879 && $(MAKE) $(AM_MAKEFLAGS) install \
880 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
881 && $(MAKE) $(AM_MAKEFLAGS) dist
883 @banner="$(distdir).tar.gz is ready for distribution"; \
884 dashes=`echo "$$banner" | sed s/./=/g`; \
889 -chmod -R a+r $(distdir)
890 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
893 -chmod -R a+r $(distdir)
894 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
896 distdir: $(DISTFILES)
899 -chmod 777 $(distdir)
900 @for file in $(DISTFILES); do \
901 if test -f $$file; then d=.; else d=$(srcdir); fi; \
902 if test -d $$d/$$file; then \
903 cp -pr $$d/$$file $(distdir)/$$file; \
905 test -f $(distdir)/$$file \
906 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
907 || cp -p $$d/$$file $(distdir)/$$file || :; \
910 for subdir in $(SUBDIRS); do \
911 if test "$$subdir" = .; then :; else \
912 test -d $(distdir)/$$subdir \
913 || mkdir $(distdir)/$$subdir \
915 chmod 777 $(distdir)/$$subdir; \
916 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
920 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
924 DEJATOOL = $(PACKAGE)
926 RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
928 @echo 'Making a new site.exp file...'
929 @test ! -f site.bak || rm -f site.bak
930 @echo '## these variables are automatically generated by make ##' > $@-t
931 @echo '# Do not edit here. If you wish to override these values' >> $@-t
932 @echo '# edit the last section' >> $@-t
933 @echo 'set tool $(DEJATOOL)' >> $@-t
934 @echo 'set srcdir $(srcdir)' >> $@-t
935 @echo 'set objdir' `pwd` >> $@-t
936 @echo 'set host_alias $(host_alias)' >> $@-t
937 @echo 'set host_triplet $(host_triplet)' >> $@-t
938 @echo 'set target_alias $(target_alias)' >> $@-t
939 @echo 'set target_triplet $(target_triplet)' >> $@-t
940 @echo 'set build_alias $(build_alias)' >> $@-t
941 @echo 'set build_triplet $(build_triplet)' >> $@-t
942 @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
943 @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
944 @test ! -f site.exp || mv site.exp site.bak
946 info-am: $(INFO_DEPS)
951 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
952 check: check-recursive
954 installcheck: installcheck-recursive
956 install-info: install-info-recursive
957 all-recursive-am: config.h
958 $(MAKE) $(AM_MAKEFLAGS) all-recursive
960 install-exec-am: install-binPROGRAMS install-exec-local
961 install-exec: install-exec-recursive
963 install-data-am: install-man
964 install-data: install-data-recursive
967 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
968 install: install-recursive
969 uninstall-am: uninstall-binPROGRAMS uninstall-man
970 uninstall: uninstall-recursive
971 all-am: Makefile $(PROGRAMS) $(MANS) config.h
972 all-redirect: all-recursive-am
974 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
975 installdirs: installdirs-recursive
977 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
981 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
984 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
987 -rm -f Makefile $(CONFIG_CLEAN_FILES)
988 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
989 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
991 maintainer-clean-generic:
992 -test -z "arlexldeflexlrclexlarparseharparsecdefparsehdefparsecnlmheaderhnlmheadercrcparsehrcparsec$(MAINTAINERCLEANFILES)" || rm -f arlexl deflexl rclexl arparseh arparsec defparseh defparsec nlmheaderh nlmheaderc rcparseh rcparsec $(MAINTAINERCLEANFILES)
993 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
994 mostlyclean-noinstPROGRAMS mostlyclean-compile \
995 mostlyclean-libtool mostlyclean-aminfo mostlyclean-tags \
996 mostlyclean-generic mostlyclean-local
998 mostlyclean: mostlyclean-recursive
1000 clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
1001 clean-compile clean-libtool clean-aminfo clean-tags \
1002 clean-generic mostlyclean-am
1004 clean: clean-recursive
1006 distclean-am: distclean-hdr distclean-binPROGRAMS \
1007 distclean-noinstPROGRAMS distclean-compile \
1008 distclean-libtool distclean-aminfo distclean-tags \
1009 distclean-generic clean-am
1012 distclean: distclean-recursive
1013 -rm -f config.status
1015 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
1016 maintainer-clean-noinstPROGRAMS \
1017 maintainer-clean-compile maintainer-clean-libtool \
1018 maintainer-clean-aminfo maintainer-clean-tags \
1019 maintainer-clean-generic distclean-am
1020 @echo "This command is intended for maintainers to use;"
1021 @echo "it deletes files that may require special tools to rebuild."
1023 maintainer-clean: maintainer-clean-recursive
1024 -rm -f config.status
1026 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
1027 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
1028 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
1029 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
1030 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
1031 mostlyclean-compile distclean-compile clean-compile \
1032 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
1033 clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
1034 mostlyclean-aminfo distclean-aminfo clean-aminfo \
1035 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
1036 uninstall-man install-data-recursive uninstall-data-recursive \
1037 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
1038 uninstalldirs-recursive all-recursive check-recursive \
1039 installcheck-recursive info-recursive dvi-recursive \
1040 mostlyclean-recursive distclean-recursive clean-recursive \
1041 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
1042 distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
1043 info-am info dvi-am dvi check check-am installcheck-am installcheck \
1044 install-info-am install-info all-recursive-am install-exec-local \
1045 install-exec-am install-exec install-data-am install-data install-am \
1046 install uninstall-am uninstall all-redirect all-am all installdirs-am \
1047 installdirs mostlyclean-generic distclean-generic clean-generic \
1048 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
1050 po/POTFILES.in: @MAINT@ Makefile
1051 for file in $(POTFILES); do echo $$file; done | sort > tmp \
1052 && mv tmp $(srcdir)/po/POTFILES.in
1054 check-DEJAGNU: site.exp
1055 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
1056 r=`pwd`; export r; \
1057 EXPECT=$(EXPECT); export EXPECT; \
1058 if [ -f $(top_builddir)/../expect/expect ]; then \
1059 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
1060 export TCL_LIBRARY; \
1062 runtest=$(RUNTEST); \
1063 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1064 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
1065 CC_FOR_TARGET="$(CC_FOR_TARGET)" \
1066 CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
1067 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
1071 /bin/sh $(srcdir)/sanity.sh $(bindir)
1073 underscore.c: stamp-under ; @true
1075 stamp-under: Makefile
1076 echo '/*WARNING: This file is automatically generated!*/' >underscore.t
1077 echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
1078 $(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
1081 cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
1082 $(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
1084 # The following is commented out for the conversion to automake.
1085 # This rule creates a single binary that switches between ar and ranlib
1086 # by looking at argv[0]. Use this kludge to save some disk space.
1087 # However, you have to install things by hand.
1088 # (That is after 'make install', replace the installed ranlib by a link to ar.)
1089 # Alternatively, you can install ranlib.sh as ranlib.
1090 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
1091 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
1092 # -rm -f $(RANLIB_PROG)
1093 # -ln $(AR_PROG) $(RANLIB_PROG)
1095 # objcopy and strip in one binary that uses argv[0] to decide its action.
1097 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
1098 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
1099 # -rm -f $(STRIP_PROG)
1100 # -ln $(OBJCOPY_PROG) $(STRIP_PROG)
1102 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
1103 ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
1104 ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
1105 ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
1107 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
1108 ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
1110 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
1111 $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
1113 syslex.o: syslex.c sysinfo.h
1114 if [ -r syslex.c ]; then \
1115 $(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
1117 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
1120 sysinfo.o: sysinfo.c
1121 if [ -r sysinfo.c ]; then \
1122 $(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
1124 $(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
1127 # We need these for parallel make.
1128 arparse.h: arparse.c
1129 defparse.h: defparse.c
1130 nlmheader.h: nlmheader.c
1131 rcparse.h: rcparse.c
1132 sysinfo.h: sysinfo.c
1135 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
1138 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
1140 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
1141 # scripts, since they are only included conditionally.
1142 nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
1143 ldname=`echo ld | sed '$(transform)'`; \
1144 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
1146 diststuff: $(DISTSTUFF) info
1148 # Targets to rebuild dependencies in this Makefile.
1149 # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
1150 DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
1152 $(MAKE) MKDEP="$(MKDEP)" DEP1
1153 sed -f dep.sed < DEP1 > $@
1154 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@
1156 DEP1: $(CFILES) $(GENERATED_CFILES)
1157 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
1158 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
1159 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
1162 dep.sed: dep-in.sed config.status
1164 sed <$(srcdir)/dep-in.sed >dep.sed \
1165 -e 's!@INCDIR@!$(INCDIR)!' \
1166 -e 's!@BFDDIR@!$(BFDDIR)!' \
1167 -e 's!@SRCDIR@!$(srcdir)!' \
1168 -e "s!@OBJDIR@!$${objdir}!"
1171 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
1172 cat DEP >> tmp-Makefile
1173 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
1176 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
1177 cat DEP >> tmp-Makefile.in
1178 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
1181 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
1182 cat DEP >> tmp-Makefile.am
1183 $(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
1185 .PHONY: dep dep-in dep-am
1188 # DOCUMENTATION TARGETS
1189 config.texi: Makefile
1191 echo '@set VERSION $(VERSION)' > config.texi
1193 binutils.dvi: $(srcdir)/binutils.texi config.texi
1195 binutils.info: $(srcdir)/binutils.texi config.texi
1197 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
1198 sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
1199 > $(DEMANGLER_NAME).1
1203 .PHONY: install-exec-local
1205 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
1206 @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1207 if test -f $$p; then \
1208 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1209 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1212 $(mkinstalldirs) $(tooldir)/bin
1213 for i in $(TOOL_PROGS); do \
1214 if [ -f $$i$(EXEEXT) ]; then \
1215 j=`echo $$i | sed -e 's/-new//'`; \
1216 k=`echo $$j | sed '$(transform)'`; \
1217 if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
1218 rm -f $(tooldir)/bin/$$j$(EXEEXT); \
1219 ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
1220 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
1226 # What appears below is generated by a hacked mkdep using gcc -MM.
1228 # DO NOT DELETE THIS LINE -- mkdep uses it.
1229 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
1230 addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1231 $(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1232 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1233 ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1234 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1235 $(INCDIR)/fopen-same.h $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h \
1237 arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1238 arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1239 $(INCDIR)/fopen-same.h
1240 bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1241 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1242 $(INCDIR)/fopen-same.h
1243 coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
1244 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1245 coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
1246 $(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
1247 $(INCDIR)/bfdlink.h coffgrok.h
1248 debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1249 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1250 $(INCDIR)/libiberty.h debug.h
1251 dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1252 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1253 $(INCDIR)/fopen-same.h $(INCDIR)/demangle.h dyn-string.h \
1255 filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1256 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1257 ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
1258 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1259 $(INCDIR)/libiberty.h debug.h budbg.h
1260 is-ranlib.o: is-ranlib.c
1261 is-strip.o: is-strip.c
1262 maybe-ranlib.o: maybe-ranlib.c
1263 maybe-strip.o: maybe-strip.c
1264 nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1265 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1266 $(INCDIR)/fopen-same.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \
1267 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h
1268 nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
1269 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1270 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
1271 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
1272 not-ranlib.o: not-ranlib.c
1273 not-strip.o: not-strip.c
1274 objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1275 $(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1276 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h budbg.h
1277 objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1278 $(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
1279 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h \
1280 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
1281 budbg.h $(INCDIR)/aout/aout64.h
1282 prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1283 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1284 $(INCDIR)/libiberty.h debug.h budbg.h
1285 rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1286 $(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1287 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
1288 debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
1289 rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1290 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1291 $(INCDIR)/libiberty.h debug.h budbg.h
1292 size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
1293 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1294 $(INCDIR)/libiberty.h
1295 srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
1296 $(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \
1297 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c
1298 stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1299 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1300 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
1301 budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1302 $(INCDIR)/aout/stab.def
1303 strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1304 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1305 $(INCDIR)/libiberty.h
1306 sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1307 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1309 version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1310 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1311 wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1312 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1313 $(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
1314 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
1315 windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1316 $(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1317 $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/obstack.h \
1319 resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1320 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1321 $(INCDIR)/libiberty.h windres.h winduni.h
1322 rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1323 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1324 $(INCDIR)/libiberty.h windres.h winduni.h $(INCDIR)/coff/internal.h \
1325 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
1326 resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1327 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1328 $(INCDIR)/libiberty.h windres.h winduni.h
1329 winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1330 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1332 readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1333 $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
1334 $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
1335 $(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \
1336 $(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \
1337 $(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \
1338 $(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \
1339 $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \
1340 $(INCDIR)/elf/ia64.h \
1341 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \
1342 $(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h bucomm.h config.h \
1343 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1344 resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1345 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1346 $(INCDIR)/libiberty.h windres.h winduni.h
1347 dyn-string.o: dyn-string.c config.h $(INCDIR)/ansidecl.h \
1349 dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1350 $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
1351 $(INCDIR)/fopen-same.h dyn-string.h
1352 rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1353 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
1354 underscore.o: underscore.c
1355 arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1356 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1358 arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
1359 sysroff.o: sysroff.c
1360 sysinfo.o: sysinfo.c
1361 syslex.o: syslex.c sysinfo.h
1362 defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1363 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1365 deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
1366 defparse.h dlltool.h
1367 nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
1368 $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h \
1369 $(INCDIR)/nlm/internal.h nlmconv.h
1370 rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1371 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1372 $(INCDIR)/libiberty.h windres.h winduni.h
1373 rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
1374 bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
1375 $(INCDIR)/libiberty.h windres.h winduni.h rcparse.h
1376 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1378 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1379 # Otherwise a system limit (for SysV at least) may be exceeded.