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