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