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