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