Commit | Line | Data |
---|---|---|
8bc8f4bc | 1 | # Makefile.in generated automatically by automake 1.3 from Makefile.am |
ce4d59e2 | 2 | |
51b9a79b | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. |
49c009b5 | 4 | # This Makefile.in is free software; the Free Software Foundation |
51b9a79b 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. | |
eb02fd64 | 12 | |
eb02fd64 | 13 | |
f5870264 | 14 | SHELL = @SHELL@ |
e06ba18d | 15 | |
49c009b5 ILT |
16 | srcdir = @srcdir@ |
17 | top_srcdir = @top_srcdir@ | |
18 | VPATH = @srcdir@ | |
19 | prefix = @prefix@ | |
d66c832b | 20 | exec_prefix = @exec_prefix@ |
49c009b5 | 21 | |
f14a5192 | 22 | bindir = @bindir@ |
49c009b5 ILT |
23 | sbindir = @sbindir@ |
24 | libexecdir = @libexecdir@ | |
f14a5192 | 25 | datadir = @datadir@ |
49c009b5 ILT |
26 | sysconfdir = @sysconfdir@ |
27 | sharedstatedir = @sharedstatedir@ | |
28 | localstatedir = @localstatedir@ | |
29 | libdir = @libdir@ | |
f14a5192 | 30 | infodir = @infodir@ |
49c009b5 | 31 | mandir = @mandir@ |
f14a5192 | 32 | includedir = @includedir@ |
49c009b5 | 33 | oldincludedir = /usr/include |
f14a5192 | 34 | |
8bc8f4bc TT |
35 | DISTDIR = |
36 | ||
49c009b5 ILT |
37 | pkgdatadir = $(datadir)/@PACKAGE@ |
38 | pkglibdir = $(libdir)/@PACKAGE@ | |
39 | pkgincludedir = $(includedir)/@PACKAGE@ | |
e06ba18d | 40 | |
49c009b5 ILT |
41 | top_builddir = . |
42 | ||
43 | ACLOCAL = @ACLOCAL@ | |
44 | AUTOCONF = @AUTOCONF@ | |
45 | AUTOMAKE = @AUTOMAKE@ | |
46 | AUTOHEADER = @AUTOHEADER@ | |
e06ba18d | 47 | |
ba69384d | 48 | INSTALL = @INSTALL@ |
f14a5192 JM |
49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
50 | INSTALL_DATA = @INSTALL_DATA@ | |
49c009b5 ILT |
51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
52 | transform = @program_transform_name@ | |
53 | ||
51b9a79b ILT |
54 | NORMAL_INSTALL = : |
55 | PRE_INSTALL = : | |
56 | POST_INSTALL = : | |
57 | NORMAL_UNINSTALL = : | |
58 | PRE_UNINSTALL = : | |
59 | POST_UNINSTALL = : | |
49c009b5 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@ | |
d66c832b | 66 | CC = @CC@ |
8bc8f4bc | 67 | CC_FOR_BUILD = @CC_FOR_BUILD@ |
b9a5c27f | 68 | EXEEXT = @EXEEXT@ |
8bc8f4bc | 69 | EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ |
49c009b5 | 70 | HDEFINES = @HDEFINES@ |
49c009b5 | 71 | LIBTOOL = @LIBTOOL@ |
49c009b5 | 72 | NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@ |
49c009b5 | 73 | RANLIB = @RANLIB@ |
8bc8f4bc TT |
74 | |
75 | INTLLIBS = @INTLLIBS@ | |
49c009b5 | 76 | |
51b9a79b | 77 | AUTOMAKE_OPTIONS = cygnus dejagnu |
49c009b5 | 78 | |
8bc8f4bc TT |
79 | SUBDIRS = po |
80 | ||
49c009b5 ILT |
81 | tooldir = $(exec_prefix)/$(target_alias) |
82 | ||
83 | YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi` | |
84 | YFLAGS = -d | |
85 | LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` | |
86 | ||
87 | # We put the scripts in the directory $(scriptdir)/ldscripts. | |
88 | # We can't put the scripts in $(datadir) because the SEARCH_DIR | |
89 | # directives need to be different for native and cross linkers. | |
90 | scriptdir = $(tooldir)/lib | |
8c32cf6e | 91 | |
d66c832b ILT |
92 | EMUL = @EMUL@ |
93 | EMULATION_OFILES = @EMULATION_OFILES@ | |
94 | ||
efa6c497 | 95 | # Search path to override the default search path for -lfoo libraries. |
ee17cac9 | 96 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. |
208bc89e | 97 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building |
917bffa7 | 98 | # a cross-linker, in which case the default is empty. See genscripts.sh.) |
ee17cac9 PB |
99 | # Otherwise, they are replaced with the ones given in LIB_PATH, |
100 | # which may have the form: LIB_PATH=/lib:/usr/local/lib | |
101 | LIB_PATH = | |
102 | ||
959eba20 JO |
103 | BASEDIR = $(srcdir)/.. |
104 | BFDDIR = $(BASEDIR)/bfd | |
105 | INCDIR = $(BASEDIR)/include | |
4a6afc88 | 106 | DEP = mkdep |
2ee11735 | 107 | |
2412a768 RP |
108 | # What version of the manual to build |
109 | DOCVER = gen | |
110 | ||
5cdea2ac | 111 | #stuff for self hosting (can be overridden in config file). |
d66c832b ILT |
112 | HOSTING_CRT0 = @HOSTING_CRT0@ |
113 | HOSTING_LIBS = @HOSTING_LIBS@ | |
74e6b793 | 114 | HOSTING_EMU = -m $(EMUL) |
5cdea2ac | 115 | |
3a9149a7 | 116 | # Setup the testing framework, if you have one |
32286e08 C |
117 | EXPECT = `if [ -f $$r/../expect/expect ] ; \ |
118 | then echo $$r/../expect/expect ; \ | |
119 | else echo expect ; fi` | |
120 | ||
121 | RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ | |
122 | then echo $${srcroot}/../dejagnu/runtest ; \ | |
123 | else echo runtest ; fi` | |
099c286e | 124 | |
03372cf4 | 125 | RUNTESTFLAGS = |
32286e08 C |
126 | |
127 | CC_FOR_TARGET = ` \ | |
65d22248 | 128 | if [ -f $$r/../gcc/xgcc ] ; then \ |
32286e08 C |
129 | if [ -f $$r/../newlib/Makefile ] ; then \ |
130 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
131 | else \ | |
132 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
133 | fi; \ | |
134 | else \ | |
dfc84b08 | 135 | if [ "@host@" = "@target@" ] ; then \ |
32286e08 C |
136 | echo $(CC); \ |
137 | else \ | |
ca7f5c98 | 138 | echo gcc | sed '$(transform)'; \ |
32286e08 C |
139 | fi; \ |
140 | fi` | |
141 | ||
142 | CXX = gcc | |
143 | CXX_FOR_TARGET = ` \ | |
65d22248 | 144 | if [ -f $$r/../gcc/xgcc ] ; then \ |
32286e08 C |
145 | if [ -f $$r/../newlib/Makefile ] ; then \ |
146 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
147 | else \ | |
148 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
149 | fi; \ | |
150 | else \ | |
dfc84b08 | 151 | if [ "@host@" = "@target@" ] ; then \ |
32286e08 C |
152 | echo $(CXX); \ |
153 | else \ | |
ca7f5c98 | 154 | echo gcc | sed '$(transform)'; \ |
32286e08 C |
155 | fi; \ |
156 | fi` | |
c97b9003 | 157 | |
49c009b5 ILT |
158 | noinst_PROGRAMS = ld-new |
159 | info_TEXINFOS = ld.texinfo | |
160 | noinst_TEXINFOS = ldint.texinfo | |
161 | man_MANS = ld.1 | |
565c93e9 | 162 | |
8bc8f4bc | 163 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\"" |
f78e2569 | 164 | |
49c009b5 | 165 | BFDLIB = ../bfd/libbfd.la |
959eba20 | 166 | LIBIBERTY = ../libiberty/libiberty.a |
eb02fd64 | 167 | |
efa6c497 ILT |
168 | ALL_EMULATIONS = \ |
169 | ea29k.o \ | |
170 | eaixppc.o \ | |
171 | eaixrs6.o \ | |
172 | ealpha.o \ | |
0c0b16f9 | 173 | earcelf.o \ |
1e012223 | 174 | earmelf.o \ |
efa6c497 ILT |
175 | earmaoutb.o \ |
176 | earmaoutl.o \ | |
177 | earmcoff.o \ | |
178 | earmpe.o \ | |
179 | ecoff_sparc.o \ | |
e48412a2 | 180 | ed10velf.o \ |
e48412a2 | 181 | ed30velf.o \ |
f5870264 DE |
182 | ed30v_e.o \ |
183 | ed30v_o.o \ | |
efa6c497 ILT |
184 | edelta68.o \ |
185 | eebmon29k.o \ | |
186 | eelf32_sparc.o \ | |
187 | eelf32b4300.o \ | |
188 | eelf32bmip.o \ | |
719de0ea ILT |
189 | eelf32ebmip.o \ |
190 | eelf32elmip.o \ | |
efa6c497 | 191 | eelf32l4300.o \ |
bd8a4ea4 JL |
192 | $(start-sanitize-r5900) \ |
193 | eelf32l5900.o \ | |
194 | $(end-sanitize-r5900) \ | |
efa6c497 ILT |
195 | eelf32lmip.o \ |
196 | eelf32lppc.o \ | |
197 | eelf32ppc.o \ | |
efa6c497 ILT |
198 | eelf_i386.o \ |
199 | egld960.o \ | |
200 | egld960coff.o \ | |
201 | ego32.o \ | |
202 | eh8300.o \ | |
203 | eh8300h.o \ | |
f14a5192 | 204 | eh8300s.o \ |
efa6c497 ILT |
205 | eh8500.o \ |
206 | eh8500b.o \ | |
207 | eh8500c.o \ | |
208 | eh8500m.o \ | |
209 | eh8500s.o \ | |
210 | ehp300bsd.o \ | |
211 | ehp3hpux.o \ | |
212 | ehppaelf.o \ | |
213 | ei386aout.o \ | |
b69153b6 ILT |
214 | $(start-sanitize-beos) \ |
215 | ei386beos.o \ | |
216 | $(end-sanitize-beos) \ | |
efa6c497 ILT |
217 | ei386bsd.o \ |
218 | ei386coff.o \ | |
219 | ei386go32.o \ | |
220 | ei386linux.o \ | |
221 | ei386lynx.o \ | |
222 | ei386mach.o \ | |
223 | ei386moss.o \ | |
224 | ei386msdos.o \ | |
225 | ei386nbsd.o \ | |
226 | ei386nw.o \ | |
227 | ei386pe.o \ | |
228 | elnk960.o \ | |
229 | em68k4knbsd.o \ | |
230 | em68kaout.o \ | |
231 | em68kaux.o \ | |
232 | em68kcoff.o \ | |
233 | em68kelf.o \ | |
234 | em68klinux.o \ | |
235 | em68klynx.o \ | |
236 | em68knbsd.o \ | |
237 | em68kpsos.o \ | |
238 | em88kbcs.o \ | |
239 | emipsbig.o \ | |
240 | emipsbsd.o \ | |
241 | emipsidt.o \ | |
242 | emipsidtl.o \ | |
243 | emipslit.o \ | |
9ae9e582 | 244 | emipslnews.o \ |
efa6c497 ILT |
245 | enews.o \ |
246 | ens32knbsd.o \ | |
1ab4cd57 | 247 | epc532macha.o \ |
efa6c497 ILT |
248 | eppcmacos.o \ |
249 | eppcnw.o \ | |
250 | eppcpe.o \ | |
251 | eriscix.o \ | |
252 | esa29200.o \ | |
253 | esh.o \ | |
79e9dc20 DE |
254 | eshelf.o \ |
255 | eshlelf.o \ | |
efa6c497 ILT |
256 | eshl.o \ |
257 | esparcaout.o \ | |
ba69384d | 258 | esparclinux.o \ |
efa6c497 ILT |
259 | esparclynx.o \ |
260 | esparcnbsd.o \ | |
261 | est2000.o \ | |
262 | esun3.o \ | |
263 | esun4.o \ | |
cdf91fe4 ILT |
264 | etic30aout.o \ |
265 | etic30coff.o \ | |
e48412a2 MM |
266 | $(start-sanitize-tic80) \ |
267 | etic80coff.o \ | |
268 | $(end-sanitize-tic80) \ | |
efa6c497 ILT |
269 | evanilla.o \ |
270 | evax.o \ | |
271 | evsta.o \ | |
272 | ew65.o \ | |
273 | ez8001.o \ | |
274 | ez8002.o | |
7e5c1057 | 275 | |
30bddd33 | 276 | ALL_64_EMULATIONS = \ |
e48412a2 | 277 | eelf64_sparc.o \ |
30bddd33 ILT |
278 | eelf64alpha.o |
279 | ||
74e6b793 | 280 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ |
4a6afc88 | 281 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ |
3fac4887 | 282 | mri.c ldcref.c |
eb02fd64 | 283 | |
7e419672 | 284 | HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ |
4a6afc88 | 285 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ |
3fac4887 | 286 | ldwrite.h mri.h |
eb02fd64 | 287 | |
74e6b793 | 288 | GENERATED_CFILES = ldgram.c ldlex.c |
208bc89e | 289 | GENERATED_HFILES = ldgram.h ldemul-list.h |
eb02fd64 | 290 | |
74e6b793 | 291 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ |
4a6afc88 | 292 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ |
3fac4887 | 293 | ldfile.o ldcref.o ${EMULATION_OFILES} |
eb02fd64 | 294 | |
82ebe9a2 | 295 | STAGESTUFF = *.o ldscripts/* e*.c |
e06ba18d | 296 | |
7e419672 ILT |
297 | # At the moment this is just a list of those emulation template files |
298 | # that contain internationalised strings. | |
299 | EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em | |
300 | ||
301 | POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES) | |
8bc8f4bc | 302 | |
49c009b5 ILT |
303 | # These all start with e so 'make clean' can find them. |
304 | ||
305 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@" | |
306 | GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed | |
307 | ||
308 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ | |
309 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c | |
8bc8f4bc TT |
310 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS) |
311 | ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) | |
49c009b5 ILT |
312 | |
313 | # This is the real libbfd.a created by libtool. | |
8bc8f4bc | 314 | TESTBFDLIB = @TESTBFDLIB@ |
49c009b5 | 315 | |
e566cb38 ILT |
316 | MAINTAINERCLEANFILES = ldver.texi |
317 | ||
36977730 | 318 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ |
193bbe85 | 319 | ldemul-list.h crtbegin.o crtend.o ld.log ld.sum |
83a33a21 | 320 | CLEANFILES = dep.sed .dep .dep1 |
51b9a79b ILT |
321 | |
322 | # Stuff that should be included in a distribution. The diststuff | |
323 | # target is run by the taz target in ../Makefile.in. | |
324 | LDDISTSTUFF = ldgram.c ldgram.h ldlex.c | |
325 | ||
193bbe85 | 326 | DISTCLEANFILES = tdirs site.exp site.bak |
49c009b5 ILT |
327 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
328 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
329 | CONFIG_HEADER = config.h | |
330 | CONFIG_CLEAN_FILES = | |
331 | noinst_PROGRAMS = ld-new$(EXEEXT) | |
332 | PROGRAMS = $(noinst_PROGRAMS) | |
333 | ||
334 | ||
335 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
336 | CPPFLAGS = @CPPFLAGS@ | |
337 | LDFLAGS = @LDFLAGS@ | |
338 | LIBS = @LIBS@ | |
339 | ld_new_OBJECTS = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o \ | |
340 | ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o | |
341 | ld_new_LDFLAGS = | |
342 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | |
343 | LEXLIB = @LEXLIB@ | |
344 | CFLAGS = @CFLAGS@ | |
345 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
346 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
347 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
8bc8f4bc | 348 | MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi` |
49c009b5 ILT |
349 | TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi` |
350 | TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex | |
351 | INFO_DEPS = ld.info | |
352 | DVIS = ld.dvi | |
353 | TEXINFOS = ld.texinfo | |
8bc8f4bc TT |
354 | man1dir = $(mandir)/man1 |
355 | MANS = $(man_MANS) | |
49c009b5 ILT |
356 | |
357 | NROFF = nroff | |
358 | DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \ | |
359 | acconfig.h acinclude.m4 aclocal.m4 config.in configure configure.in \ | |
360 | ldgram.c ldlex.c stamp-h.in | |
361 | ||
362 | ||
8bc8f4bc TT |
363 | PACKAGE = @PACKAGE@ |
364 | VERSION = @VERSION@ | |
365 | ||
49c009b5 ILT |
366 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
367 | ||
368 | TAR = tar | |
369 | GZIP = --best | |
370 | SOURCES = $(ld_new_SOURCES) | |
371 | OBJECTS = $(ld_new_OBJECTS) | |
372 | ||
8bc8f4bc | 373 | all: all-recursive-am all-am |
49c009b5 ILT |
374 | |
375 | .SUFFIXES: | |
8bc8f4bc TT |
376 | .SUFFIXES: .S .c .dvi .info .l .lo .o .ps .s .texi .texinfo .txi .y |
377 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
49c009b5 ILT |
378 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile |
379 | ||
8bc8f4bc | 380 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
49c009b5 ILT |
381 | cd $(top_builddir) \ |
382 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
383 | ||
384 | $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4 | |
385 | cd $(srcdir) && $(ACLOCAL) | |
49c009b5 ILT |
386 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
387 | cd $(srcdir) && $(AUTOCONF) | |
388 | ||
51b9a79b ILT |
389 | config.h: stamp-h |
390 | @: | |
49c009b5 ILT |
391 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
392 | cd $(top_builddir) \ | |
393 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ | |
394 | $(SHELL) ./config.status | |
395 | @echo timestamp > stamp-h | |
396 | $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in | |
397 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h | |
398 | cd $(top_srcdir) && $(AUTOHEADER) | |
399 | @echo timestamp > $(srcdir)/stamp-h.in | |
400 | ||
401 | mostlyclean-hdr: | |
402 | ||
403 | clean-hdr: | |
404 | ||
405 | distclean-hdr: | |
51b9a79b | 406 | -rm -f config.h |
49c009b5 ILT |
407 | |
408 | maintainer-clean-hdr: | |
409 | ||
410 | mostlyclean-noinstPROGRAMS: | |
411 | ||
412 | clean-noinstPROGRAMS: | |
51b9a79b | 413 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
49c009b5 ILT |
414 | |
415 | distclean-noinstPROGRAMS: | |
416 | ||
417 | maintainer-clean-noinstPROGRAMS: | |
418 | ||
51b9a79b | 419 | .c.o: |
f5870264 DE |
420 | $(COMPILE) -c $< |
421 | ||
51b9a79b | 422 | .s.o: |
f5870264 DE |
423 | $(COMPILE) -c $< |
424 | ||
51b9a79b | 425 | .S.o: |
49c009b5 ILT |
426 | $(COMPILE) -c $< |
427 | ||
428 | mostlyclean-compile: | |
51b9a79b | 429 | -rm -f *.o core *.core |
49c009b5 ILT |
430 | |
431 | clean-compile: | |
432 | ||
433 | distclean-compile: | |
51b9a79b | 434 | -rm -f *.tab.c |
49c009b5 ILT |
435 | |
436 | maintainer-clean-compile: | |
437 | ||
438 | .c.lo: | |
439 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
440 | ||
f5870264 DE |
441 | .s.lo: |
442 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
443 | ||
444 | .S.lo: | |
445 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
446 | ||
49c009b5 | 447 | mostlyclean-libtool: |
51b9a79b | 448 | -rm -f *.lo |
49c009b5 ILT |
449 | |
450 | clean-libtool: | |
51b9a79b | 451 | -rm -rf .libs _libs |
49c009b5 ILT |
452 | |
453 | distclean-libtool: | |
454 | ||
455 | maintainer-clean-libtool: | |
456 | ||
457 | ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) | |
458 | @rm -f ld-new$(EXEEXT) | |
459 | $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) | |
460 | .y.c: | |
51b9a79b | 461 | $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c |
49c009b5 ILT |
462 | if test -f y.tab.h; then \ |
463 | if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ | |
464 | else :; fi | |
51b9a79b ILT |
465 | ldgram.h: ldgram.c |
466 | ||
49c009b5 ILT |
467 | .l.c: |
468 | $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ | |
469 | ||
470 | ld.info: ld.texinfo | |
471 | ld.dvi: ld.texinfo | |
472 | ||
473 | ||
474 | DVIPS = dvips | |
475 | ||
476 | .texi.info: | |
477 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
478 | $(MAKEINFO) -I $(srcdir) $< | |
479 | ||
480 | .texi.dvi: | |
481 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
482 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
483 | ||
484 | .texi: | |
485 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
486 | $(MAKEINFO) -I $(srcdir) $< | |
487 | ||
488 | .texinfo.info: | |
489 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
490 | $(MAKEINFO) -I $(srcdir) $< | |
491 | ||
492 | .texinfo: | |
493 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
494 | $(MAKEINFO) -I $(srcdir) $< | |
495 | ||
496 | .texinfo.dvi: | |
497 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
498 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
8bc8f4bc TT |
499 | |
500 | .txi.info: | |
501 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
502 | $(MAKEINFO) -I $(srcdir) $< | |
503 | ||
504 | .txi.dvi: | |
505 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ | |
506 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< | |
507 | ||
508 | .txi: | |
509 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
510 | $(MAKEINFO) -I $(srcdir) $< | |
49c009b5 ILT |
511 | .dvi.ps: |
512 | $(DVIPS) $< -o $@ | |
513 | ||
514 | install-info-am: $(INFO_DEPS) | |
515 | @$(NORMAL_INSTALL) | |
8bc8f4bc | 516 | $(mkinstalldirs) $(DESTDIR)$(infodir) |
49c009b5 ILT |
517 | @for file in $(INFO_DEPS); do \ |
518 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
519 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ | |
520 | if test -f $$d/$$ifile; then \ | |
8bc8f4bc TT |
521 | echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ |
522 | $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ | |
49c009b5 ILT |
523 | else : ; fi; \ |
524 | done; \ | |
525 | done | |
526 | @$(POST_INSTALL) | |
527 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
528 | for file in $(INFO_DEPS); do \ | |
8bc8f4bc TT |
529 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ |
530 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ | |
49c009b5 ILT |
531 | done; \ |
532 | else : ; fi | |
533 | ||
534 | uninstall-info: | |
535 | $(PRE_UNINSTALL) | |
536 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
537 | ii=yes; \ | |
538 | else ii=; fi; \ | |
539 | for file in $(INFO_DEPS); do \ | |
51b9a79b | 540 | test -z "$ii" \ |
8bc8f4bc | 541 | || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ |
49c009b5 | 542 | done |
8bc8f4bc | 543 | @$(NORMAL_UNINSTALL) |
49c009b5 | 544 | for file in $(INFO_DEPS); do \ |
8bc8f4bc | 545 | (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ |
49c009b5 ILT |
546 | done |
547 | ||
548 | dist-info: $(INFO_DEPS) | |
549 | for base in $(INFO_DEPS); do \ | |
550 | if test -f $$base; then d=.; else d=$(srcdir); fi; \ | |
551 | for file in `cd $$d && eval echo $$base*`; do \ | |
552 | test -f $(distdir)/$$file \ | |
553 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
554 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
555 | done; \ | |
556 | done | |
557 | ||
558 | mostlyclean-aminfo: | |
51b9a79b ILT |
559 | -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \ |
560 | ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \ | |
561 | ld.cv ld.cn | |
49c009b5 ILT |
562 | |
563 | clean-aminfo: | |
564 | ||
565 | distclean-aminfo: | |
566 | ||
567 | maintainer-clean-aminfo: | |
51b9a79b ILT |
568 | for i in $(INFO_DEPS); do \ |
569 | rm -f $$i; \ | |
570 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ | |
571 | rm -f $$i-[0-9]*; \ | |
572 | fi; \ | |
573 | done | |
49c009b5 | 574 | clean-info: mostlyclean-aminfo |
49c009b5 | 575 | |
8bc8f4bc TT |
576 | install-man1: |
577 | $(mkinstalldirs) $(DESTDIR)$(man1dir) | |
578 | @list='$(man1_MANS)'; \ | |
579 | l2='$(man_MANS)'; for i in $$l2; do \ | |
580 | case "$$i" in \ | |
581 | *.1*) list="$$list $$i" ;; \ | |
582 | esac; \ | |
583 | done; \ | |
584 | for i in $$list; do \ | |
585 | if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ | |
586 | else file=$$i; fi; \ | |
587 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | |
588 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | |
589 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | |
590 | echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ | |
591 | $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ | |
592 | done | |
49c009b5 | 593 | |
8bc8f4bc TT |
594 | uninstall-man1: |
595 | @list='$(man1_MANS)'; \ | |
596 | l2='$(man_MANS)'; for i in $$l2; do \ | |
597 | case "$$i" in \ | |
598 | *.1*) list="$$list $$i" ;; \ | |
599 | esac; \ | |
600 | done; \ | |
601 | for i in $$list; do \ | |
602 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | |
603 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | |
604 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | |
605 | echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ | |
606 | rm -f $(DESTDIR)$(man1dir)/$$inst; \ | |
607 | done | |
608 | install-man: $(MANS) | |
609 | @$(NORMAL_INSTALL) | |
b69153b6 | 610 | $(MAKE) $(AM_MAKEFLAGS) install-man1 |
8bc8f4bc TT |
611 | uninstall-man: |
612 | @$(NORMAL_UNINSTALL) | |
b69153b6 | 613 | $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 |
8bc8f4bc TT |
614 | |
615 | # This directory's subdirectories are mostly independent; you can cd | |
616 | # into them and run `make' without going through this Makefile. | |
617 | # To change the values of `make' variables: instead of editing Makefiles, | |
618 | # (1) if the variable is set in `config.status', edit `config.status' | |
619 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
620 | # (2) otherwise, pass the desired values on the `make' command line. | |
621 | ||
622 | @SET_MAKE@ | |
623 | ||
624 | all-recursive install-data-recursive install-exec-recursive \ | |
625 | installdirs-recursive install-recursive uninstall-recursive install-info-recursive \ | |
626 | check-recursive installcheck-recursive info-recursive dvi-recursive: | |
627 | @set fnord $(MAKEFLAGS); amf=$$2; \ | |
628 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
629 | target=`echo $@ | sed s/-recursive//`; \ | |
630 | echo "Making $$target in $$subdir"; \ | |
b69153b6 | 631 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \ |
8bc8f4bc TT |
632 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
633 | done && test -z "$$fail" | |
634 | ||
635 | mostlyclean-recursive clean-recursive distclean-recursive \ | |
636 | maintainer-clean-recursive: | |
637 | @set fnord $(MAKEFLAGS); amf=$$2; \ | |
638 | rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ | |
639 | rev="$$subdir $$rev"; \ | |
640 | done; \ | |
641 | for subdir in $$rev; do \ | |
642 | target=`echo $@ | sed s/-recursive//`; \ | |
643 | echo "Making $$target in $$subdir"; \ | |
b69153b6 | 644 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \ |
8bc8f4bc TT |
645 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
646 | done && test -z "$$fail" | |
647 | tags-recursive: | |
648 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
b69153b6 | 649 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
8bc8f4bc | 650 | done |
49c009b5 ILT |
651 | |
652 | tags: TAGS | |
653 | ||
51b9a79b ILT |
654 | ID: $(HEADERS) $(SOURCES) $(LISP) |
655 | here=`pwd` && cd $(srcdir) \ | |
656 | && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) | |
49c009b5 | 657 | |
8bc8f4bc | 658 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP) |
49c009b5 ILT |
659 | tags=; \ |
660 | here=`pwd`; \ | |
8bc8f4bc TT |
661 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
662 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ | |
663 | done; \ | |
51b9a79b ILT |
664 | list='$(SOURCES) $(HEADERS)'; \ |
665 | unique=`for i in $$list; do echo $$i; done | \ | |
666 | awk ' { files[$$0] = 1; } \ | |
667 | END { for (i in files) print i; }'`; \ | |
668 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ | |
669 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS) | |
49c009b5 ILT |
670 | |
671 | mostlyclean-tags: | |
672 | ||
673 | clean-tags: | |
674 | ||
675 | distclean-tags: | |
51b9a79b | 676 | -rm -f TAGS ID |
49c009b5 ILT |
677 | |
678 | maintainer-clean-tags: | |
679 | ||
680 | distdir = $(PACKAGE)-$(VERSION) | |
681 | top_distdir = $(distdir) | |
682 | ||
683 | # This target untars the dist file and tries a VPATH configuration. Then | |
684 | # it guarantees that the distribution is self-contained by making another | |
685 | # tarfile. | |
686 | distcheck: dist | |
51b9a79b | 687 | -rm -rf $(distdir) |
49c009b5 ILT |
688 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz |
689 | mkdir $(distdir)/=build | |
690 | mkdir $(distdir)/=inst | |
691 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
692 | cd $(distdir)/=build \ | |
693 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
b69153b6 ILT |
694 | && $(MAKE) $(AM_MAKEFLAGS) \ |
695 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
696 | && $(MAKE) $(AM_MAKEFLAGS) check \ | |
697 | && $(MAKE) $(AM_MAKEFLAGS) install \ | |
698 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |
699 | && $(MAKE) $(AM_MAKEFLAGS) dist | |
51b9a79b | 700 | -rm -rf $(distdir) |
49c009b5 ILT |
701 | @echo "========================"; \ |
702 | echo "$(distdir).tar.gz is ready for distribution"; \ | |
703 | echo "========================" | |
704 | dist: distdir | |
705 | -chmod -R a+r $(distdir) | |
706 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
51b9a79b | 707 | -rm -rf $(distdir) |
49c009b5 ILT |
708 | dist-all: distdir |
709 | -chmod -R a+r $(distdir) | |
710 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
51b9a79b | 711 | -rm -rf $(distdir) |
49c009b5 | 712 | distdir: $(DISTFILES) |
51b9a79b | 713 | -rm -rf $(distdir) |
49c009b5 ILT |
714 | mkdir $(distdir) |
715 | -chmod 777 $(distdir) | |
716 | @for file in $(DISTFILES); do \ | |
717 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
718 | test -f $(distdir)/$$file \ | |
719 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
720 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
721 | done | |
8bc8f4bc TT |
722 | for subdir in $(SUBDIRS); do \ |
723 | test -d $(distdir)/$$subdir \ | |
724 | || mkdir $(distdir)/$$subdir \ | |
725 | || exit 1; \ | |
726 | chmod 777 $(distdir)/$$subdir; \ | |
b69153b6 | 727 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ |
8bc8f4bc TT |
728 | || exit 1; \ |
729 | done | |
b69153b6 | 730 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
49c009b5 ILT |
731 | |
732 | DEJATOOL = $(PACKAGE) | |
51b9a79b ILT |
733 | |
734 | RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir | |
49c009b5 ILT |
735 | site.exp: Makefile |
736 | @echo 'Making a new site.exp file...' | |
737 | -@rm -f site.bak | |
738 | @echo '## these variables are automatically generated by make ##' > $@-t | |
739 | @echo '# Do not edit here. If you wish to override these values' >> $@-t | |
740 | @echo '# edit the last section' >> $@-t | |
741 | @echo 'set tool $(DEJATOOL)' >> $@-t | |
742 | @echo 'set srcdir $(srcdir)' >> $@-t | |
743 | @echo 'set objdir' `pwd` >> $@-t | |
744 | @echo 'set host_alias $(host_alias)' >> $@-t | |
745 | @echo 'set host_triplet $(host_triplet)' >> $@-t | |
746 | @echo 'set target_alias $(target_alias)' >> $@-t | |
747 | @echo 'set target_triplet $(target_triplet)' >> $@-t | |
748 | @echo 'set build_alias $(build_alias)' >> $@-t | |
749 | @echo 'set build_triplet $(build_triplet)' >> $@-t | |
750 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t | |
751 | -@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t | |
752 | -@mv site.exp site.bak | |
753 | @mv $@-t site.exp | |
8bc8f4bc TT |
754 | info: $(INFO_DEPS) info-recursive |
755 | dvi: $(DVIS) dvi-recursive | |
51b9a79b | 756 | check: |
b69153b6 | 757 | $(MAKE) $(AM_MAKEFLAGS) check-recursive check-DEJAGNU |
8bc8f4bc TT |
758 | installcheck: installcheck-recursive |
759 | install-info: install-info-am install-info-recursive | |
760 | all-recursive-am: config.h | |
b69153b6 | 761 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
8bc8f4bc TT |
762 | |
763 | all-am: Makefile $(PROGRAMS) $(MANS) config.h | |
764 | ||
765 | install-exec-am: install-exec-local | |
766 | ||
767 | install-data-am: install-man install-data-local | |
768 | ||
769 | uninstall-am: uninstall-man | |
770 | ||
771 | install-exec: install-exec-recursive install-exec-am | |
49c009b5 ILT |
772 | @$(NORMAL_INSTALL) |
773 | ||
8bc8f4bc | 774 | install-data: install-data-recursive install-data-am |
49c009b5 ILT |
775 | @$(NORMAL_INSTALL) |
776 | ||
8bc8f4bc | 777 | install: install-recursive install-exec-am install-data-am |
49c009b5 ILT |
778 | @: |
779 | ||
8bc8f4bc | 780 | uninstall: uninstall-recursive uninstall-am |
49c009b5 ILT |
781 | |
782 | install-strip: | |
b69153b6 | 783 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install |
8bc8f4bc TT |
784 | installdirs: installdirs-recursive |
785 | $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 | |
49c009b5 | 786 | |
2ee11735 | 787 | |
49c009b5 | 788 | mostlyclean-generic: |
51b9a79b | 789 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
49c009b5 ILT |
790 | |
791 | clean-generic: | |
51b9a79b | 792 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
49c009b5 ILT |
793 | |
794 | distclean-generic: | |
51b9a79b ILT |
795 | -rm -f Makefile $(DISTCLEANFILES) |
796 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
797 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
49c009b5 ILT |
798 | |
799 | maintainer-clean-generic: | |
51b9a79b ILT |
800 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
801 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |
8bc8f4bc | 802 | mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ |
49c009b5 | 803 | mostlyclean-compile mostlyclean-libtool \ |
8bc8f4bc | 804 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic |
49c009b5 | 805 | |
8bc8f4bc TT |
806 | clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \ |
807 | clean-aminfo clean-tags clean-generic mostlyclean-am | |
49c009b5 | 808 | |
8bc8f4bc | 809 | distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ |
49c009b5 | 810 | distclean-libtool distclean-aminfo distclean-tags \ |
8bc8f4bc | 811 | distclean-generic clean-am |
49c009b5 | 812 | |
8bc8f4bc TT |
813 | maintainer-clean-am: maintainer-clean-hdr \ |
814 | maintainer-clean-noinstPROGRAMS \ | |
49c009b5 ILT |
815 | maintainer-clean-compile maintainer-clean-libtool \ |
816 | maintainer-clean-aminfo maintainer-clean-tags \ | |
8bc8f4bc TT |
817 | maintainer-clean-generic distclean-am |
818 | ||
819 | mostlyclean: mostlyclean-recursive mostlyclean-am mostlyclean-local | |
820 | ||
821 | clean: clean-recursive clean-am | |
822 | ||
823 | distclean: distclean-recursive distclean-am distclean-local | |
824 | -rm -f config.status | |
825 | -rm -f libtool | |
826 | ||
827 | maintainer-clean: maintainer-clean-recursive maintainer-clean-am | |
49c009b5 ILT |
828 | @echo "This command is intended for maintainers to use;" |
829 | @echo "it deletes files that may require special tools to rebuild." | |
51b9a79b | 830 | -rm -f config.status |
49c009b5 | 831 | |
8bc8f4bc TT |
832 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
833 | mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ | |
834 | clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ | |
835 | mostlyclean-compile distclean-compile clean-compile \ | |
836 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
837 | clean-libtool maintainer-clean-libtool install-info-am uninstall-info \ | |
838 | mostlyclean-aminfo distclean-aminfo clean-aminfo \ | |
839 | maintainer-clean-aminfo install-man1 uninstall-man1 install-man \ | |
840 | uninstall-man install-data-recursive uninstall-data-recursive \ | |
841 | install-exec-recursive uninstall-exec-recursive installdirs-recursive \ | |
842 | uninstalldirs-recursive all-recursive check-recursive \ | |
843 | installcheck-recursive info-recursive dvi-recursive \ | |
844 | mostlyclean-recursive distclean-recursive clean-recursive \ | |
845 | maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ | |
846 | distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \ | |
847 | info dvi installcheck install-info all-recursive-am all-am \ | |
848 | install-exec-am install-data-am uninstall-am install-exec install-data \ | |
849 | install uninstall all installdirs mostlyclean-generic distclean-generic \ | |
850 | clean-generic maintainer-clean-generic clean mostlyclean distclean \ | |
851 | maintainer-clean | |
852 | ||
7e419672 | 853 | |
8bc8f4bc TT |
854 | po/POTFILES.in: @MAINT@ Makefile |
855 | for file in $(POTFILES); do echo $$file; done | sort > tmp \ | |
856 | && mv tmp $(srcdir)/po/POTFILES.in | |
32286e08 | 857 | |
4a6afc88 | 858 | ldmain.o: ldmain.c config.status |
49c009b5 | 859 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c |
4a6afc88 | 860 | |
82ebe9a2 | 861 | ldemul-list.h: Makefile |
7e5c1057 PB |
862 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ |
863 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
82ebe9a2 | 864 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
7e5c1057 PB |
865 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ |
866 | done;\ | |
867 | echo "";\ | |
868 | echo "#define EMULATION_LIST \\";\ | |
869 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
82ebe9a2 | 870 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
7e5c1057 PB |
871 | echo " &ld_$${f}_emulation, \\"; \ |
872 | done;\ | |
4a6afc88 ILT |
873 | echo " 0") >ldemul-tmp.h |
874 | mv ldemul-tmp.h ldemul-list.h | |
95d31c3c | 875 | @TDIRS@ |
7e5c1057 | 876 | |
efa6c497 ILT |
877 | ea29k.c: $(srcdir)/emulparams/a29k.sh \ |
878 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} | |
879 | ${GENSCRIPTS} a29k "$(tdir_a29k)" | |
880 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ | |
881 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
882 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" | |
883 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ | |
884 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
885 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" | |
886 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ | |
887 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} | |
888 | ${GENSCRIPTS} alpha "$(tdir_alpha)" | |
efa6c497 ILT |
889 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ |
890 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
891 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" | |
1e012223 | 892 | earmelf.c: $(srcdir)/emulparams/armelf.sh \ |
d8a152bc | 893 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elfarm.sc ${GEN_DEPENDS} |
1e012223 | 894 | ${GENSCRIPTS} armelf "$(tdir_armelf)" |
efa6c497 ILT |
895 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
896 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
897 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" | |
898 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ | |
899 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} | |
900 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" | |
901 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ | |
7e419672 | 902 | $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} |
efa6c497 | 903 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" |
28d0c3ce | 904 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
d66c832b | 905 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
95d31c3c | 906 | ${GENSCRIPTS} armpe "$(tdir_armpe)" |
efa6c497 ILT |
907 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
908 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} | |
909 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" | |
e9525d96 | 910 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
10e31c75 | 911 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
04c17a75 | 912 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
9ae9e582 ILT |
913 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ |
914 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
915 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" | |
f5870264 DE |
916 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ |
917 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
918 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" | |
919 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ | |
920 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} | |
921 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" | |
efa6c497 ILT |
922 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ |
923 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} | |
924 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" | |
925 | eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ | |
926 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} | |
927 | ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" | |
79e9dc20 DE |
928 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
929 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
930 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" | |
efa6c497 ILT |
931 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ |
932 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
933 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" | |
934 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ | |
935 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
936 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" | |
937 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ | |
b9a5c27f | 938 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 | 939 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" |
532fe3e5 ILT |
940 | eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ |
941 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
942 | ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" | |
719de0ea | 943 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
b9a5c27f | 944 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
719de0ea ILT |
945 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" |
946 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ | |
b9a5c27f | 947 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
719de0ea | 948 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" |
efa6c497 ILT |
949 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
950 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
951 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" | |
bd8a4ea4 JL |
952 | start-sanitize-r5900: |
953 | eelf32l5900.c: $(srcdir)/emulparams/elf32l5900.sh \ | |
954 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
955 | ${GENSCRIPTS} elf32l5900 "$(tdir_elf32l5900)" | |
956 | end-sanitize-r5900: | |
efa6c497 | 957 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ |
b9a5c27f | 958 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 ILT |
959 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" |
960 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ | |
961 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} | |
962 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" | |
532fe3e5 ILT |
963 | eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ |
964 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
965 | ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" | |
efa6c497 ILT |
966 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ |
967 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} | |
968 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" | |
f14a5192 JM |
969 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
970 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
971 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" | |
efa6c497 | 972 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
e48412a2 | 973 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
efa6c497 ILT |
974 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" |
975 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ | |
976 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
977 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" | |
978 | egld960.c: $(srcdir)/emulparams/gld960.sh \ | |
979 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
980 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" | |
981 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ | |
982 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} | |
983 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" | |
82ebe9a2 | 984 | ego32.c: $(srcdir)/emulparams/go32.sh \ |
8ddef552 | 985 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 986 | ${GENSCRIPTS} go32 "$(tdir_go32)" |
efa6c497 ILT |
987 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
988 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} | |
989 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" | |
990 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ | |
991 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} | |
992 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" | |
f14a5192 JM |
993 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ |
994 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} | |
995 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" | |
efa6c497 ILT |
996 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
997 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} | |
998 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" | |
999 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ | |
1000 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} | |
1001 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" | |
1002 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ | |
1003 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} | |
1004 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" | |
1005 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ | |
1006 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} | |
1007 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" | |
1008 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ | |
1009 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} | |
1010 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" | |
82ebe9a2 | 1011 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ |
8ddef552 | 1012 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 1013 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" |
82ebe9a2 | 1014 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ |
8ddef552 | 1015 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 1016 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" |
82ebe9a2 | 1017 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
db0a7149 | 1018 | $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} |
95d31c3c | 1019 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
82ebe9a2 | 1020 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
8ddef552 | 1021 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 1022 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" |
b69153b6 ILT |
1023 | # start-sanitize-beos |
1024 | ei386beos.c: $(srcdir)/emulparams/i386beos.sh \ | |
1025 | $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS} | |
1026 | ${GENSCRIPTS} i386beos "$(tdir_i386beos)" | |
1027 | # end-sanitize-beos | |
efa6c497 ILT |
1028 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ |
1029 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1030 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" | |
1031 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ | |
1032 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} | |
1033 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" | |
82ebe9a2 | 1034 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ |
6c86b9ff | 1035 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} |
95d31c3c | 1036 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" |
efa6c497 ILT |
1037 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ |
1038 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1039 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" | |
1040 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ | |
1041 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} | |
1042 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" | |
82ebe9a2 | 1043 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ |
3c1af24d | 1044 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 1045 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" |
943fbd5b KR |
1046 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ |
1047 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
95d31c3c | 1048 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
943fbd5b KR |
1049 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ |
1050 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} | |
95d31c3c | 1051 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" |
efa6c497 ILT |
1052 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ |
1053 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1054 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" | |
1055 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ | |
1056 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
1057 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" | |
1058 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ | |
1059 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} | |
1060 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" | |
82ebe9a2 | 1061 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
8ddef552 | 1062 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
95d31c3c | 1063 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" |
efa6c497 ILT |
1064 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
1065 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1066 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" | |
1067 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ | |
1068 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1069 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" | |
2e598345 ILT |
1070 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ |
1071 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} | |
95d31c3c | 1072 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" |
82ebe9a2 | 1073 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ |
8ddef552 | 1074 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
95d31c3c | 1075 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
417ced0d MM |
1076 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ |
1077 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
95d31c3c | 1078 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
efa6c497 ILT |
1079 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
1080 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1081 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" | |
82ebe9a2 | 1082 | em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ |
028f8872 | 1083 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} |
95d31c3c | 1084 | ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" |
efa6c497 | 1085 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ |
8ddef552 | 1086 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
1087 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" |
1088 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ | |
1089 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} | |
1090 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" | |
1091 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ | |
9ae9e582 | 1092 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} |
efa6c497 | 1093 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" |
82ebe9a2 | 1094 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ |
8ddef552 | 1095 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
efa6c497 | 1096 | ${GENSCRIPTS} mipsbig |
82ebe9a2 KR |
1097 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ |
1098 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} | |
efa6c497 | 1099 | ${GENSCRIPTS} mipsbsd |
82ebe9a2 | 1100 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ |
417ced0d | 1101 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
95d31c3c | 1102 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" |
82ebe9a2 | 1103 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ |
417ced0d | 1104 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
95d31c3c | 1105 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" |
efa6c497 ILT |
1106 | emipslit.c: $(srcdir)/emulparams/mipslit.sh \ |
1107 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1108 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" | |
9ae9e582 ILT |
1109 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ |
1110 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} | |
1111 | ${GENSCRIPTS} mipslnews | |
10e31c75 JL |
1112 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
1113 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1114 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" | |
1115 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ | |
1116 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1117 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" | |
efa6c497 | 1118 | enews.c: $(srcdir)/emulparams/news.sh \ |
dd37f215 | 1119 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
1120 | ${GENSCRIPTS} news "$(tdir_news)" |
1121 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ | |
82ebe9a2 | 1122 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 | 1123 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" |
1ab4cd57 | 1124 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
cdf71377 | 1125 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
1ab4cd57 | 1126 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" |
4fe13b2b MM |
1127 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
1128 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} | |
95d31c3c | 1129 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" |
32286e08 C |
1130 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ |
1131 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} | |
95d31c3c | 1132 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" |
efa6c497 ILT |
1133 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ |
1134 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} | |
1135 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" | |
efa6c497 | 1136 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ |
e93e87cb | 1137 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 ILT |
1138 | ${GENSCRIPTS} riscix "$(tdir_riscix)" |
1139 | esa29200.c: $(srcdir)/emulparams/sa29200.sh \ | |
1140 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} | |
1141 | ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" | |
1142 | esh.c: $(srcdir)/emulparams/sh.sh \ | |
1143 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
1144 | ${GENSCRIPTS} sh "$(tdir_sh)" | |
79e9dc20 DE |
1145 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ |
1146 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1147 | ${GENSCRIPTS} shelf "$(tdir_shelf)" | |
1148 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ | |
1149 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} | |
1150 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" | |
efa6c497 ILT |
1151 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
1152 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} | |
1153 | ${GENSCRIPTS} shl "$(tdir_shl)" | |
1154 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ | |
e93e87cb | 1155 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
efa6c497 | 1156 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" |
ba69384d ILT |
1157 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ |
1158 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1159 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" | |
efa6c497 ILT |
1160 | esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ |
1161 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} | |
1162 | ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" | |
32286e08 | 1163 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ |
e93e87cb | 1164 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
95d31c3c | 1165 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" |
efa6c497 ILT |
1166 | est2000.c: $(srcdir)/emulparams/st2000.sh \ |
1167 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} | |
1168 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" | |
1169 | esun3.c: $(srcdir)/emulparams/sun3.sh \ | |
1170 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1171 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" | |
1172 | esun4.c: $(srcdir)/emulparams/sun4.sh \ | |
1173 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1174 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" | |
cdf91fe4 ILT |
1175 | etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ |
1176 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} | |
1177 | ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" | |
1178 | etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ | |
1179 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} | |
1180 | ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" | |
49c009b5 | 1181 | start-sanitize-tic80: |
c6c7035c MM |
1182 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
1183 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} | |
1184 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" | |
49c009b5 | 1185 | end-sanitize-tic80: |
efa6c497 ILT |
1186 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ |
1187 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} | |
1188 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" | |
1189 | evax.c: $(srcdir)/emulparams/vax.sh \ | |
1190 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1191 | ${GENSCRIPTS} vax "$(tdir_vax)" | |
1192 | evsta.c: $(srcdir)/emulparams/vsta.sh \ | |
1193 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} | |
1194 | ${GENSCRIPTS} vsta "$(tdir_vsta)" | |
04c17a75 | 1195 | ev850.c: $(srcdir)/emulparams/v850.sh \ |
d27d34c3 | 1196 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} |
04c17a75 | 1197 | ${GENSCRIPTS} v850 "$(tdir_v850)" |
efa6c497 ILT |
1198 | ew65.c: $(srcdir)/emulparams/w65.sh \ |
1199 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} | |
1200 | ${GENSCRIPTS} w65 "$(tdir_w65)" | |
65d22248 C |
1201 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ |
1202 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
95d31c3c | 1203 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" |
65d22248 C |
1204 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ |
1205 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} | |
95d31c3c | 1206 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" |
eb02fd64 | 1207 | |
d17eb3db | 1208 | # The generated emulation files mostly have the same dependencies. |
d66c832b ILT |
1209 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ |
1210 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ | |
2a80ec10 | 1211 | ldctor.h ldexp.h ldlang.h ldgram.h |
4a6afc88 | 1212 | |
49c009b5 ILT |
1213 | check-DEJAGNU: site.exp |
1214 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ | |
32286e08 | 1215 | r=`pwd`; export r; \ |
49c009b5 ILT |
1216 | EXPECT=$(EXPECT); export EXPECT; \ |
1217 | if [ -f $(top_builddir)/../expect/expect ]; then \ | |
1218 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ | |
1219 | export TCL_LIBRARY; \ | |
1220 | fi; \ | |
1221 | runtest=$(RUNTEST); \ | |
1222 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
1223 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ | |
1224 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ | |
1225 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ | |
1226 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ | |
1227 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ | |
7e419672 ILT |
1228 | LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" \ |
1229 | HOSTING_EMU="$(HOSTING_EMU)" \ | |
49c009b5 ILT |
1230 | HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \ |
1231 | $(RUNTESTFLAGS); \ | |
1232 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
1233 | fi | |
e7921bd4 | 1234 | |
7e5c1057 | 1235 | # Rules for testing by relinking ld itself. |
32286e08 C |
1236 | # A similar test is in the testsuite. This target is for ease of use |
1237 | # when porting ld. | |
eb02fd64 | 1238 | |
49c009b5 ILT |
1239 | ld-partial.o: ld-new$(EXEEXT) |
1240 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) | |
1241 | ld1$(EXEEXT): ld-partial.o | |
1242 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1243 | |
49c009b5 ILT |
1244 | ld1-full$(EXEEXT): ld-new |
1245 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1246 | |
49c009b5 ILT |
1247 | ld2$(EXEEXT): ld1$(EXEEXT) |
1248 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
60048a2c | 1249 | |
49c009b5 ILT |
1250 | ld3$(EXEEXT): ld2$(EXEEXT) |
1251 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) | |
eb02fd64 | 1252 | |
49c009b5 ILT |
1253 | bootstrap: ld3$(EXEEXT) |
1254 | cmp ld2$(EXEEXT) ld3$(EXEEXT) | |
d20fb445 | 1255 | |
4a6afc88 ILT |
1256 | .PHONY: bootstrap |
1257 | ||
8ddef552 | 1258 | # A test program for C++ constructors and destructors. |
32286e08 C |
1259 | # This test is now in the testsuite. |
1260 | # | |
1261 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1262 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ | |
1263 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) | |
1264 | # | |
1265 | #cdtest.out: cdtest | |
1266 | # ./cdtest > cdtest.tmp | |
1267 | # mv cdtest.tmp cdtest.out | |
1268 | # | |
1269 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new | |
1270 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ | |
1271 | # cdtest-bar.o cdtest-foo.o | |
1272 | # | |
1273 | #cdtest-ur: cdtest-ur.o | |
1274 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ | |
1275 | # $(HOSTING_LIBS) | |
1276 | # | |
1277 | #cdtest-ur.out: cdtest-ur | |
1278 | # ./cdtest-ur > cdtest-ur.tmp | |
1279 | # mv cdtest-ur.tmp cdtest-ur.out | |
1280 | # | |
1281 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp | |
1282 | # diff $(srcdir)/cdtest.exp cdtest.out | |
1283 | # diff $(srcdir)/cdtest.exp cdtest-ur.out | |
1284 | # | |
1285 | #.PHONY: check-cdtest | |
4a6afc88 | 1286 | |
d301e438 | 1287 | # END OF CHECK TARGETS |
917bffa7 | 1288 | |
8073190b | 1289 | # DOCUMENTATION TARGETS |
2412a768 RP |
1290 | # Manual configuration file; not usually attached to normal configuration, |
1291 | # because almost all configs use "gen" version of manual. | |
1292 | # Set DOCVER above to change. | |
1293 | configdoc.texi: ${DOCVER}-doc.texi | |
49c009b5 ILT |
1294 | ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
1295 | || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ | |
1296 | || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi | |
2412a768 | 1297 | |
3964a18a ILT |
1298 | ldver.texi: Makefile |
1299 | rm -f $@ | |
1300 | echo '@set VERSION $(VERSION)' > $@ | |
1301 | ||
1302 | ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi | |
83a33a21 ILT |
1303 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
1304 | $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo | |
0c0b16f9 | 1305 | |
3964a18a | 1306 | ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi |
83a33a21 | 1307 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ |
1e012223 | 1308 | MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) $(srcdir)/ld.texinfo |
2412a768 | 1309 | |
51b9a79b | 1310 | # We want to reconfigure if configure.host or configure.tgt changes. |
3964a18a ILT |
1311 | config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt |
1312 | $(SHELL) ./config.status --recheck | |
437a04cb ILT |
1313 | mostlyclean-local: |
1314 | -rm -rf tmpdir | |
51b9a79b | 1315 | |
49c009b5 | 1316 | .PHONY: install-exec-local install-data-local |
8d317d2a | 1317 | |
49c009b5 ILT |
1318 | install-exec-local: ld-new$(EXEEXT) |
1319 | $(mkinstalldirs) $(bindir) $(tooldir)/bin | |
1320 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ | |
1321 | if test -f $$p; then \ | |
3964a18a ILT |
1322 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
1323 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ | |
49c009b5 | 1324 | else :; fi; \ |
d360d135 | 1325 | done |
49c009b5 | 1326 | n=`echo ld | sed '$(transform)'`; \ |
51b9a79b | 1327 | if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ |
1e012223 | 1328 | rm -f $(tooldir)/bin/ld$(EXEEXT); \ |
51b9a79b ILT |
1329 | ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ |
1330 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \ | |
1331 | fi | |
ba69384d | 1332 | |
49c009b5 | 1333 | install-data-local: |
3964a18a | 1334 | $(mkinstalldirs) $(scriptdir)/ldscripts |
49c009b5 ILT |
1335 | for f in ldscripts/*; do \ |
1336 | $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \ | |
afe3aa73 | 1337 | done |
51b9a79b | 1338 | diststuff: $(LDDISTSTUFF) info |
03abc2bd ILT |
1339 | distclean-local: |
1340 | rm -rf ldscripts | |
afe3aa73 | 1341 | |
4a6afc88 ILT |
1342 | # Targets to rebuild dependencies in this Makefile. |
1343 | # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES). | |
208bc89e | 1344 | .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h |
4a6afc88 ILT |
1345 | rm -f .dep1 |
1346 | $(MAKE) DEP=$(DEP) .dep1 | |
1347 | sed -f dep.sed <.dep1 >.dep | |
eb02fd64 | 1348 | |
4a6afc88 ILT |
1349 | # This rule really wants a mkdep that runs "gcc -MM". |
1350 | .dep1: $(CFILES) $(GENERATED_CFILES) | |
1351 | rm -f .dep2 | |
1352 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 | |
49c009b5 | 1353 | $(DEP) -f .dep2 $(INCLUDES) $? |
4a6afc88 | 1354 | $(srcdir)/../move-if-change .dep2 .dep1 |
eb02fd64 | 1355 | |
4a6afc88 ILT |
1356 | dep.sed: dep-in.sed config.status |
1357 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
1358 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
d66c832b | 1359 | -e 's!@SRCDIR@!$(srcdir)!' |
eb02fd64 | 1360 | |
4a6afc88 ILT |
1361 | dep: .dep |
1362 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile | |
1363 | cat .dep >> tmp-Makefile | |
1364 | $(srcdir)/../move-if-change tmp-Makefile Makefile | |
239d28f3 | 1365 | |
4a6afc88 ILT |
1366 | dep-in: .dep |
1367 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in | |
1368 | cat .dep >> tmp-Makefile.in | |
1369 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in | |
1370 | ||
49c009b5 ILT |
1371 | dep-am: .dep |
1372 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am | |
1373 | cat .dep >> tmp-Makefile.am | |
1374 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am | |
eb02fd64 | 1375 | |
49c009b5 | 1376 | .PHONY: dep dep-in dep-am |
eb02fd64 | 1377 | |
4a6afc88 ILT |
1378 | # What appears below is generated by a hacked mkdep using gcc -MM. |
1379 | ||
1380 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
1381 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
1382 | ||
dd37f215 | 1383 | ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1384 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1385 | ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h | |
dd37f215 | 1386 | ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1387 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \ |
1388 | ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h | |
dd37f215 | 1389 | ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1390 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1391 | ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h | |
dd37f215 | 1392 | ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1393 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1394 | ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ | |
1395 | ldlex.h ldemul.h | |
dd37f215 | 1396 | ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1397 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1398 | $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
4725fb48 | 1399 | ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \ |
3fac4887 | 1400 | ldctor.h ldfile.h $(INCDIR)/fnmatch.h |
dd37f215 | 1401 | ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1402 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1403 | $(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
1404 | ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \ | |
1405 | ldlex.h ldfile.h ldctor.h | |
dd37f215 | 1406 | ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1407 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1408 | $(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \ | |
1409 | ldgram.h ldlex.h ldmain.h ldfile.h | |
dd37f215 | 1410 | ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1411 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \ |
1412 | ldemul.h ldmain.h | |
dd37f215 | 1413 | ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1414 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1415 | $(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \ | |
1416 | ldmisc.h ldgram.h ldmain.h | |
dd37f215 | 1417 | lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1418 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
1419 | $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ | |
1420 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \ | |
1421 | ldver.h ldemul.h | |
1422 | mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \ | |
1423 | config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \ | |
1424 | ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h | |
f14a5192 | 1425 | ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1426 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1427 | $(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \ | |
1428 | ldlang.h | |
dd37f215 | 1429 | ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
ba69384d ILT |
1430 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
1431 | ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \ | |
1e012223 | 1432 | ldmain.h mri.h ldctor.h ldlex.h |
ba69384d ILT |
1433 | ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
1434 | ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \ | |
1435 | ldmain.h | |
239d28f3 SC |
1436 | |
1437 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY | |
49c009b5 ILT |
1438 | |
1439 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
1440 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
1441 | .NOEXPORT: |