1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = dejagnu no-dist foreign
4 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
8 tooldir = $(exec_prefix)/$(target_alias)
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@
16 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
18 LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
20 # Automake 1.10+ disables lex and yacc output file regeneration if
21 # maintainer mode is disabled. Avoid this.
25 WARN_CFLAGS = @WARN_CFLAGS@
26 NO_WERROR = @NO_WERROR@
27 AM_CFLAGS = $(WARN_CFLAGS)
30 # these two are almost the same program
34 # objcopy and strip should be the same program
42 # These should all be the same program too.
47 # This is the demangler, as a standalone program.
48 # Note: This one is used as the installed name too, unlike the above.
49 DEMANGLER_PROG=cxxfilt
51 ADDR2LINE_PROG=addr2line
59 SRCONV_PROG=srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
61 bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ @BUILD_WINDMC@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_INSTALL_MISC@
63 ## We need a special rule to install the programs which are built with
64 ## -new, and to rename cxxfilt to c++filt.
65 RENAMED_PROGS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
66 noinst_PROGRAMS = $(RENAMED_PROGS) @BUILD_MISC@
68 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(WINDMC_PROG) $(DLLWRAP_PROG)
70 # Stuff that goes in tooldir/ if appropriate.
71 TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy
73 BASEDIR = $(srcdir)/..
74 BFDDIR = $(BASEDIR)/bfd
75 INCDIR = $(BASEDIR)/include
77 AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
80 -DLOCALEDIR="\"$(datadir)/locale\"" \
81 -Dbin_dummy_emulation=$(EMULATION_VECTOR)
84 arsup.h binemul.h bucomm.h budbg.h \
85 coffgrok.h debug.h dlltool.h dwarf.h nlmconv.h \
86 sysdep.h unwind-ia64.h windres.h winduni.h windint.h \
89 GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h mcparse.h
90 BUILT_SOURCES = $(GENERATED_HFILES)
93 addr2line.c ar.c arsup.c bin2c.c binemul.c bucomm.c \
94 coffdump.c coffgrok.c cxxfilt.c \
95 dwarf.c debug.c dlltool.c dllwrap.c \
96 emul_aix.c emul_vanilla.c filemode.c \
97 ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \
98 nlmconv.c nm.c not-ranlib.c not-strip.c \
99 objcopy.c objdump.c prdbg.c \
100 rclex.c rdcoff.c rddbg.c readelf.c rename.c \
101 resbin.c rescoff.c resrc.c resres.c \
102 size.c srconv.c stabs.c strings.c sysdump.c \
103 unwind-ia64.c version.c \
104 windres.c winduni.c wrstabs.c \
108 arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
109 defparse.c deflex.c nlmheader.c rcparse.c mcparse.c
111 DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
112 WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
114 # Code shared by all the binutils.
115 BULIBS = bucomm.c version.c filemode.c
117 BFDLIB = ../bfd/libbfd.la
119 OPCODES = ../opcodes/libopcodes.la
121 LIBIBERTY = ../libiberty/libiberty.a
123 POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
124 po/POTFILES.in: @MAINT@ Makefile
125 for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
126 && mv tmp $(srcdir)/po/POTFILES.in
132 if [ -f $$r/../gcc/xgcc ] ; then \
133 if [ -f $$r/../newlib/Makefile ] ; then \
134 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
136 echo $$r/../gcc/xgcc -B$$r/../gcc/; \
139 if [ "@host@" = "@target@" ] ; then \
142 echo gcc | sed '$(transform)'; \
146 check-DEJAGNU: site.exp
147 srcdir=`cd $(srcdir) && pwd`; export srcdir; \
149 EXPECT=$(EXPECT); export EXPECT; \
150 runtest=$(RUNTEST); \
151 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
152 CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
153 $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
155 else echo "WARNING: could not find \`runtest'" 1>&2; :;\
159 /bin/sh $(srcdir)/sanity.sh $(bindir)
161 # There's no global DEPENDENCIES. So, we must explicitly list everything
162 # which depends on libintl, since we don't know whether LIBINTL_DEP will be
163 # non-empty until configure time. Ugh!
164 size_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
165 objdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB) $(OPCODES)
166 nm_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
167 ar_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
168 strings_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
169 strip_new_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
170 ranlib_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
171 cxxfilt_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
172 objcopy_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
173 nlmconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
174 srconv_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
175 sysdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
176 coffdump_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
177 dlltool_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
178 windres_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
179 windmc_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
180 addr2line_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY) $(BFDLIB)
181 readelf_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY)
182 dllwrap_DEPENDENCIES = $(LIBINTL_DEP) $(LIBIBERTY)
184 LDADD = $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
186 size_SOURCES = size.c $(BULIBS)
188 objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
190 strings_SOURCES = strings.c $(BULIBS)
192 readelf_SOURCES = readelf.c version.c unwind-ia64.c dwarf.c
193 readelf_LDADD = $(LIBINTL) $(LIBIBERTY)
195 strip_new_SOURCES = objcopy.c is-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
197 nm_new_SOURCES = nm.c $(BULIBS)
199 objdump_SOURCES = objdump.c dwarf.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
200 objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
204 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(OBJDUMP_DEFS) $(srcdir)/objdump.c
205 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
208 source='objdump.c' object='$@' libtool=no @AMDEPBACKSLASH@
209 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
211 $(COMPILE) -c $(OBJDUMP_DEFS) $(srcdir)/objdump.c
214 cxxfilt_SOURCES = cxxfilt.c $(BULIBS)
216 ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c binemul.c \
217 emul_$(EMULATION).c $(BULIBS)
218 EXTRA_ar_SOURCES = $(CFILES)
219 ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL)
221 ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c \
222 binemul.c emul_$(EMULATION).c $(BULIBS)
223 ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL)
225 addr2line_SOURCES = addr2line.c $(BULIBS)
227 # The following is commented out for the conversion to automake.
228 # This rule creates a single binary that switches between ar and ranlib
229 # by looking at argv[0]. Use this kludge to save some disk space.
230 # However, you have to install things by hand.
231 # (That is after 'make install', replace the installed ranlib by a link to ar.)
232 # Alternatively, you can install ranlib.sh as ranlib.
233 # ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
234 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
235 # -rm -f $(RANLIB_PROG)
236 # -ln $(AR_PROG) $(RANLIB_PROG)
238 # objcopy and strip in one binary that uses argv[0] to decide its action.
240 #objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
241 # $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
242 # -rm -f $(STRIP_PROG)
243 # -ln $(OBJCOPY_PROG) $(STRIP_PROG)
245 sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
246 ./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
247 ./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
248 ./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
250 sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
251 ./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
253 sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
254 $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ sysinfo.o syslex.o
256 syslex.o: syslex.c sysinfo.h config.h
257 if [ -r syslex.c ]; then \
258 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) syslex.c -Wno-error ; \
260 $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/syslex.c -Wno-error ;\
264 if [ -r sysinfo.c ]; then \
265 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) sysinfo.c -Wno-error ; \
267 $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/sysinfo.c -Wno-error ; \
270 bin2c$(EXEEXT_FOR_BUILD):
271 $(CC_FOR_BUILD) -o $@ $(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(srcdir)/bin2c.c $(srcdir)/version.c
273 embedspu: embedspu.sh
274 sed "s@^program_transform_name=@program_transform_name=$(program_transform_name)@" < $< > $@
277 # We need these for parallel make.
280 # Disable -Werror, if it has been enabled, since old versions of bison/
281 # yacc will produce working code which contain compile time warnings.
284 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f arparse.c || echo $(srcdir)/`arparse.c $(NO_WERROR)
285 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
288 source='arparse.c' object='$@' libtool=no @AMDEPBACKSLASH@
289 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
291 $(COMPILE) -c `test -f arparse.c || echo $(srcdir)/`arparse.c $(NO_WERROR)
296 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f arlex.c || echo $(srcdir)/`arlex.c $(NO_WERROR)
297 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
300 source='arlex.c' object='$@' libtool=no @AMDEPBACKSLASH@
301 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303 $(COMPILE) -c `test -f arlex.c || echo $(srcdir)/`arlex.c $(NO_WERROR)
308 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f sysroff.c || echo $(srcdir)/`sysroff.c $(NO_WERROR)
309 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
312 source='sysroff.c' object='$@' libtool=no @AMDEPBACKSLASH@
313 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
315 $(COMPILE) -c `test -f sysroff.c || echo $(srcdir)/`sysroff.c $(NO_WERROR)
318 defparse.o: defparse.c
320 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f defparse.c || echo $(srcdir)/`defparse.c $(NO_WERROR)
321 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
324 source='defparse.c' object='$@' libtool=no @AMDEPBACKSLASH@
325 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
327 $(COMPILE) -c `test -f defparse.c || echo $(srcdir)/`defparse.c $(NO_WERROR)
332 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deflex.c || echo $(srcdir)/`deflex.c $(NO_WERROR)
333 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
336 source='deflex.c' object='$@' libtool=no @AMDEPBACKSLASH@
337 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
339 $(COMPILE) -c `test -f deflex.c || echo $(srcdir)/`deflex.c $(NO_WERROR)
342 nlmheader.o: nlmheader.c
344 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f nlmheader.c || echo $(srcdir)/`nlmheader.c $(NO_WERROR)
345 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
348 source='nlmheader.c' object='$@' libtool=no @AMDEPBACKSLASH@
349 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
351 $(COMPILE) -c `test -f nlmheader.c || echo $(srcdir)/`nlmheader.c $(NO_WERROR)
356 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f rcparse.c || echo $(srcdir)/`rcparse.c $(NO_WERROR)
357 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
360 source='rcparse.c' object='$@' libtool=no @AMDEPBACKSLASH@
361 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
363 $(COMPILE) -c `test -f rcparse.c || echo $(srcdir)/`rcparse.c $(NO_WERROR)
368 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f mcparse.c || echo $(srcdir)/`mcparse.c $(NO_WERROR)
369 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
372 source='mcparse.c' object='$@' libtool=no @AMDEPBACKSLASH@
373 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
375 $(COMPILE) -c `test -f mcparse.c || echo $(srcdir)/`mcparse.c $(NO_WERROR)
380 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/rclex.c $(NO_WERROR)
381 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
384 source='rclex.c' object='$@' libtool=no @AMDEPBACKSLASH@
385 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
387 $(COMPILE) -c $(srcdir)/rclex.c $(NO_WERROR)
392 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/mclex.c $(NO_WERROR)
393 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
396 source='mclex.c' object='$@' libtool=no @AMDEPBACKSLASH@
397 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
399 $(COMPILE) -c $(srcdir)/mclex.c $(NO_WERROR)
402 srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
405 dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
406 dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL)
410 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
411 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
414 source='dlltool.c' object='$@' libtool=no @AMDEPBACKSLASH@
415 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
417 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
422 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
423 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
426 source='rescoff.c' object='$@' libtool=no @AMDEPBACKSLASH@
427 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
429 $(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
432 coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
434 sysdump_SOURCES = sysdump.c $(BULIBS)
436 # coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
437 # scripts, since they are only included conditionally.
440 ldname=`echo ld | sed '$(transform)'`; \
441 $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
442 -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
443 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
446 source='nlmconv.c' object='$@' libtool=no @AMDEPBACKSLASH@
447 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
449 ldname=`echo ld | sed '$(transform)'`; \
450 $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
453 nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
455 windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.c \
456 winduni.c resres.c $(BULIBS)
457 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) $(LIBICONV)
459 windmc_SOURCES = windmc.c mcparse.y mclex.c \
461 windmc_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(LIBINTL) $(LIBICONV)
463 dllwrap_SOURCES = dllwrap.c version.c
464 dllwrap_LDADD = $(LIBIBERTY) $(LIBINTL)
467 EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
468 syslex.c deflex.c defparse.h defparse.c rcparse.h rcparse.c \
471 diststuff: $(EXTRA_DIST) info
474 DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak
476 MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \
477 binutils.log binutils.sum abcdefgh*
481 .PHONY: install-exec-local
483 install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
484 @list='$(RENAMED_PROGS)'; for p in $$list; do \
485 if test -f $$p$(EXEEXT); then \
486 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)/'`"; \
487 $(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)/'`; \
490 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
491 for i in $(TOOL_PROGS); do \
492 if [ -f $$i$(EXEEXT) ]; then \
493 j=`echo $$i | sed -e 's/-new//'`; \
494 k=`echo $$j | sed '$(transform)'`; \
495 if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
496 rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \
497 ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
498 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \