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