Commit | Line | Data |
---|---|---|
25161728 | 1 | # Makefile.in generated automatically by automake 1.2e from Makefile.am |
add1fb05 | 2 | |
25161728 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. |
3b1e6264 | 4 | # This Makefile.in is free software; the Free Software Foundation |
25161728 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. | |
add1fb05 | 12 | |
add1fb05 | 13 | |
3b1e6264 ILT |
14 | SHELL = @SHELL@ |
15 | ||
16 | srcdir = @srcdir@ | |
17 | top_srcdir = @top_srcdir@ | |
18 | VPATH = @srcdir@ | |
19 | prefix = @prefix@ | |
40db6118 | 20 | exec_prefix = @exec_prefix@ |
add1fb05 | 21 | |
3b1e6264 ILT |
22 | bindir = @bindir@ |
23 | sbindir = @sbindir@ | |
24 | libexecdir = @libexecdir@ | |
42b4add9 | 25 | datadir = @datadir@ |
3b1e6264 ILT |
26 | sysconfdir = @sysconfdir@ |
27 | sharedstatedir = @sharedstatedir@ | |
28 | localstatedir = @localstatedir@ | |
29 | libdir = @libdir@ | |
42b4add9 | 30 | infodir = @infodir@ |
3b1e6264 | 31 | mandir = @mandir@ |
42b4add9 | 32 | includedir = @includedir@ |
3b1e6264 ILT |
33 | oldincludedir = /usr/include |
34 | ||
35 | pkgdatadir = $(datadir)/@PACKAGE@ | |
36 | pkglibdir = $(libdir)/@PACKAGE@ | |
37 | pkgincludedir = $(includedir)/@PACKAGE@ | |
add1fb05 | 38 | |
3b1e6264 ILT |
39 | top_builddir = . |
40 | ||
41 | ACLOCAL = @ACLOCAL@ | |
42 | AUTOCONF = @AUTOCONF@ | |
43 | AUTOMAKE = @AUTOMAKE@ | |
44 | AUTOHEADER = @AUTOHEADER@ | |
add1fb05 | 45 | |
40db6118 ILT |
46 | INSTALL = @INSTALL@ |
47 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
48 | INSTALL_DATA = @INSTALL_DATA@ | |
3b1e6264 ILT |
49 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
50 | transform = @program_transform_name@ | |
51 | ||
25161728 ILT |
52 | NORMAL_INSTALL = : |
53 | PRE_INSTALL = : | |
54 | POST_INSTALL = : | |
55 | NORMAL_UNINSTALL = : | |
56 | PRE_UNINSTALL = : | |
57 | POST_UNINSTALL = : | |
3b1e6264 ILT |
58 | build_alias = @build_alias@ |
59 | build_triplet = @build@ | |
60 | host_alias = @host_alias@ | |
61 | host_triplet = @host@ | |
62 | target_alias = @target_alias@ | |
63 | target_triplet = @target@ | |
40db6118 | 64 | AR = @AR@ |
3b1e6264 | 65 | BFD_MACHINES = @BFD_MACHINES@ |
40db6118 | 66 | CC = @CC@ |
3b1e6264 ILT |
67 | EXEEXT = @EXEEXT@ |
68 | HDEFINES = @HDEFINES@ | |
69 | LD = @LD@ | |
70 | LIBTOOL = @LIBTOOL@ | |
71 | LN_S = @LN_S@ | |
72 | MAINT = @MAINT@ | |
73 | MAKEINFO = @MAKEINFO@ | |
ab0bd049 | 74 | NM = @NM@ |
3b1e6264 | 75 | PACKAGE = @PACKAGE@ |
40db6118 | 76 | RANLIB = @RANLIB@ |
3b1e6264 ILT |
77 | VERSION = @VERSION@ |
78 | archdefs = @archdefs@ | |
6d76c71f | 79 | |
25161728 ILT |
80 | AUTOMAKE_OPTIONS = cygnus |
81 | ||
fde326fb | 82 | INCDIR = $(srcdir)/../include |
c840244e | 83 | BFDDIR = $(srcdir)/../bfd |
add1fb05 SC |
84 | DEP = mkdep |
85 | ||
3b1e6264 | 86 | lib_LTLIBRARIES = libopcodes.la |
add1fb05 | 87 | |
f76db60b ILT |
88 | # This is where bfd.h lives. |
89 | BFD_H = ../bfd/bfd.h | |
90 | ||
91 | # Header files. | |
92 | HFILES = \ | |
93 | arm-opc.h \ | |
94 | h8500-opc.h \ | |
95 | sh-opc.h \ | |
96 | sysdep.h \ | |
97 | w65-opc.h \ | |
98 | z8k-opc.h | |
a4c01299 | 99 | |
f76db60b ILT |
100 | # C source files that correspond to .o's. |
101 | CFILES = \ | |
102 | a29k-dis.c \ | |
103 | alpha-dis.c \ | |
104 | alpha-opc.c \ | |
105 | arm-dis.c \ | |
9c03036a DE |
106 | cgen-asm.c \ |
107 | cgen-dis.c \ | |
108 | cgen-opc.c \ | |
f76db60b ILT |
109 | d10v-dis.c \ |
110 | d10v-opc.c \ | |
111 | dis-buf.c \ | |
112 | disassemble.c \ | |
113 | h8300-dis.c \ | |
114 | h8500-dis.c \ | |
115 | hppa-dis.c \ | |
116 | i386-dis.c \ | |
117 | i960-dis.c \ | |
9c03036a DE |
118 | m32r-asm.c \ |
119 | m32r-dis.c \ | |
120 | m32r-opc.c \ | |
f76db60b ILT |
121 | m68k-dis.c \ |
122 | m68k-opc.c \ | |
123 | m88k-dis.c \ | |
124 | mips-dis.c \ | |
125 | mips-opc.c \ | |
126 | mips16-opc.c \ | |
bb6dafe9 ILT |
127 | m10200-dis.c \ |
128 | m10200-opc.c \ | |
129 | m10300-dis.c \ | |
130 | m10300-opc.c \ | |
f76db60b ILT |
131 | ns32k-dis.c \ |
132 | ppc-dis.c \ | |
133 | ppc-opc.c \ | |
134 | sh-dis.c \ | |
135 | sparc-dis.c \ | |
136 | sparc-opc.c \ | |
ab0bd049 | 137 | tic30-dis.c \ |
f76db60b ILT |
138 | w65-dis.c \ |
139 | z8k-dis.c \ | |
140 | z8kgen.c | |
141 | ||
142 | ALL_MACHINES = \ | |
3b1e6264 ILT |
143 | a29k-dis.lo \ |
144 | alpha-dis.lo \ | |
145 | alpha-opc.lo \ | |
146 | arc-dis.lo \ | |
147 | arc-opc.lo \ | |
148 | arm-dis.lo \ | |
149 | cgen-asm.lo \ | |
150 | cgen-dis.lo \ | |
151 | cgen-opc.lo \ | |
152 | d10v-dis.lo \ | |
153 | d10v-opc.lo \ | |
b2e3f844 | 154 | $(start-sanitize-d30v) \ |
3b1e6264 ILT |
155 | d30v-dis.lo \ |
156 | d30v-opc.lo \ | |
b2e3f844 | 157 | $(end-sanitize-d30v) \ |
3b1e6264 ILT |
158 | h8300-dis.lo \ |
159 | h8500-dis.lo \ | |
160 | hppa-dis.lo \ | |
161 | i386-dis.lo \ | |
162 | i960-dis.lo \ | |
163 | m32r-asm.lo \ | |
164 | m32r-dis.lo \ | |
165 | m32r-opc.lo \ | |
166 | m68k-dis.lo \ | |
167 | m68k-opc.lo \ | |
168 | m88k-dis.lo \ | |
169 | m10200-dis.lo \ | |
170 | m10200-opc.lo \ | |
171 | m10300-dis.lo \ | |
172 | m10300-opc.lo \ | |
173 | mips-dis.lo \ | |
174 | mips-opc.lo \ | |
175 | mips16-opc.lo \ | |
176 | ppc-dis.lo \ | |
177 | ppc-opc.lo \ | |
178 | ns32k-dis.lo \ | |
179 | sh-dis.lo \ | |
180 | sparc-dis.lo \ | |
181 | sparc-opc.lo \ | |
ab0bd049 | 182 | tic30-dis.lo \ |
a79d0193 | 183 | $(start-sanitize-tic80) \ |
3b1e6264 ILT |
184 | tic80-dis.lo \ |
185 | tic80-opc.lo \ | |
a79d0193 | 186 | $(end-sanitize-tic80) \ |
54cc8ed4 | 187 | $(start-sanitize-sky) \ |
37130f11 DE |
188 | dvp-dis.lo \ |
189 | dvp-opc.lo \ | |
54cc8ed4 | 190 | $(end-sanitize-sky) \ |
3b1e6264 ILT |
191 | v850-dis.lo \ |
192 | v850-opc.lo \ | |
193 | w65-dis.lo \ | |
194 | z8k-dis.lo | |
195 | ||
196 | OFILES = @BFD_MACHINES@ | |
197 | ||
198 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ | |
199 | ||
200 | libopcodes_la_SOURCES = dis-buf.c disassemble.c | |
201 | libopcodes_la_DEPENDENCIES = $(OFILES) | |
202 | libopcodes_la_LIBADD = $(OFILES) | |
3a994653 | 203 | libopcodes_la_LDFLAGS = -release $(VERSION) |
3b1e6264 ILT |
204 | |
205 | # libtool will build .libs/libopcodes.a. We create libopcodes.a in | |
206 | # the build directory so that we don't have to convert all the | |
207 | # programs that use libopcodes.a simultaneously. This is a hack which | |
208 | # should be removed if everything else starts using libtool. FIXME. | |
209 | ||
210 | noinst_LIBRARIES = libopcodes.a | |
211 | ||
212 | CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 | |
bfc10abe DE |
213 | # start-sanitize-cygnus |
214 | CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r | |
215 | # end-sanitize-cygnus | |
216 | ||
217 | # start-sanitize-cygnus | |
218 | # CGEN support is sanitized out of FSF releases for now. | |
219 | # Sanitization must be split between assignments and rules because | |
220 | # automake splits them that way. | |
221 | ||
222 | SCHEME = @SCHEME@ | |
223 | SCHEMEFLAGS = -s | |
224 | CGENDIR = $(srcdir)/../cgen | |
225 | CGENFLAGS = -v | |
226 | ||
227 | CGENFILES = $(CGENDIR)/object.scm $(CGENDIR)/utils.scm \ | |
ffee80df | 228 | $(CGENDIR)/attr.scm $(CGENDIR)/enum.scm $(CGENDIR)/types.scm \ |
bfc10abe DE |
229 | $(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.scm \ |
230 | $(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \ | |
ffee80df | 231 | $(CGENDIR)/model.scm $(CGENDIR)/hardware.scm \ |
bfc10abe DE |
232 | $(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \ |
233 | $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \ | |
ffee80df JL |
234 | $(CGENDIR)/opcodes.scm $(CGENDIR)/cdl-c.scm \ |
235 | $(CGENDIR)/cgen-opc.scm cgen-opc.in cgen-asm.in cgen-dis.in | |
bfc10abe DE |
236 | # The end marker is written this way to pass through automake unscathed. |
237 | ENDSAN = end-sanitize-cygnus | |
3b1e6264 ILT |
238 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
239 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
240 | CONFIG_HEADER = config.h | |
241 | CONFIG_CLEAN_FILES = | |
242 | LIBRARIES = $(noinst_LIBRARIES) | |
243 | ||
244 | ||
245 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
246 | CPPFLAGS = @CPPFLAGS@ | |
247 | LDFLAGS = @LDFLAGS@ | |
248 | LIBS = @LIBS@ | |
249 | libopcodes_a_LIBADD = | |
250 | libopcodes_a_SOURCES = libopcodes.a.c | |
251 | libopcodes_a_OBJECTS = libopcodes.a.o | |
252 | LTLIBRARIES = $(lib_LTLIBRARIES) | |
253 | ||
3b1e6264 ILT |
254 | libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo |
255 | CFLAGS = @CFLAGS@ | |
256 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
257 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
258 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
259 | DIST_COMMON = ChangeLog Makefile.am Makefile.in acconfig.h acinclude.m4 \ | |
260 | aclocal.m4 config.in configure configure.in stamp-h.in | |
261 | ||
262 | ||
263 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
264 | ||
265 | TAR = tar | |
266 | GZIP = --best | |
267 | SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) | |
268 | OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS) | |
269 | ||
270 | default: all | |
271 | ||
272 | .SUFFIXES: | |
273 | .SUFFIXES: .S .c .lo .o .s | |
274 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
275 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
276 | ||
277 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
278 | cd $(top_builddir) \ | |
279 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
280 | ||
281 | $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4 | |
282 | cd $(srcdir) && $(ACLOCAL) | |
283 | ||
284 | config.status: $(srcdir)/configure | |
285 | $(SHELL) ./config.status --recheck | |
286 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) | |
287 | cd $(srcdir) && $(AUTOCONF) | |
288 | ||
25161728 ILT |
289 | config.h: stamp-h |
290 | @: | |
3b1e6264 ILT |
291 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
292 | cd $(top_builddir) \ | |
293 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ | |
294 | $(SHELL) ./config.status | |
295 | @echo timestamp > stamp-h | |
296 | $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in | |
297 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h | |
298 | cd $(top_srcdir) && $(AUTOHEADER) | |
299 | @echo timestamp > $(srcdir)/stamp-h.in | |
300 | ||
301 | mostlyclean-hdr: | |
302 | ||
303 | clean-hdr: | |
304 | ||
305 | distclean-hdr: | |
25161728 | 306 | -rm -f config.h |
3b1e6264 ILT |
307 | |
308 | maintainer-clean-hdr: | |
309 | ||
310 | mostlyclean-noinstLIBRARIES: | |
311 | ||
312 | clean-noinstLIBRARIES: | |
25161728 | 313 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
3b1e6264 ILT |
314 | |
315 | distclean-noinstLIBRARIES: | |
316 | ||
317 | maintainer-clean-noinstLIBRARIES: | |
318 | ||
25161728 | 319 | .c.o: |
3b1e6264 ILT |
320 | $(COMPILE) -c $< |
321 | ||
25161728 | 322 | .s.o: |
3b1e6264 | 323 | $(COMPILE) -c $< |
add1fb05 | 324 | |
25161728 | 325 | .S.o: |
3b1e6264 | 326 | $(COMPILE) -c $< |
add1fb05 | 327 | |
3b1e6264 | 328 | mostlyclean-compile: |
25161728 | 329 | -rm -f *.o core *.core |
add1fb05 | 330 | |
3b1e6264 | 331 | clean-compile: |
add1fb05 | 332 | |
3b1e6264 | 333 | distclean-compile: |
25161728 | 334 | -rm -f *.tab.c |
add1fb05 | 335 | |
3b1e6264 | 336 | maintainer-clean-compile: |
add1fb05 | 337 | |
3b1e6264 ILT |
338 | .c.lo: |
339 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
d7ace307 | 340 | |
3b1e6264 ILT |
341 | .s.lo: |
342 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
39620b71 | 343 | |
3b1e6264 ILT |
344 | .S.lo: |
345 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
346 | ||
347 | mostlyclean-libtool: | |
25161728 | 348 | -rm -f *.lo |
3b1e6264 ILT |
349 | |
350 | clean-libtool: | |
25161728 | 351 | -rm -rf .libs _libs |
3b1e6264 ILT |
352 | |
353 | distclean-libtool: | |
354 | ||
355 | maintainer-clean-libtool: | |
794a16b0 | 356 | |
3b1e6264 | 357 | mostlyclean-libLTLIBRARIES: |
824155e8 | 358 | |
3b1e6264 | 359 | clean-libLTLIBRARIES: |
25161728 | 360 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
40db6118 | 361 | |
3b1e6264 | 362 | distclean-libLTLIBRARIES: |
add1fb05 | 363 | |
3b1e6264 ILT |
364 | maintainer-clean-libLTLIBRARIES: |
365 | ||
366 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
367 | @$(NORMAL_INSTALL) | |
368 | $(mkinstalldirs) $(libdir) | |
369 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
370 | if test -f $$p; then \ | |
25161728 ILT |
371 | echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p"; \ |
372 | $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p; \ | |
3b1e6264 ILT |
373 | else :; fi; \ |
374 | done | |
375 | ||
376 | uninstall-libLTLIBRARIES: | |
377 | $(NORMAL_UNINSTALL) | |
378 | list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
379 | $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$$p; \ | |
380 | done | |
381 | ||
382 | libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES) | |
383 | $(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS) | |
384 | ||
385 | tags: TAGS | |
386 | ||
25161728 ILT |
387 | ID: $(HEADERS) $(SOURCES) $(LISP) |
388 | here=`pwd` && cd $(srcdir) \ | |
389 | && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) | |
3b1e6264 | 390 | |
25161728 | 391 | TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP) |
3b1e6264 ILT |
392 | tags=; \ |
393 | here=`pwd`; \ | |
25161728 ILT |
394 | list='$(SOURCES) $(HEADERS)'; \ |
395 | unique=`for i in $$list; do echo $$i; done | \ | |
396 | awk ' { files[$$0] = 1; } \ | |
397 | END { for (i in files) print i; }'`; \ | |
398 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ | |
399 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS) | |
3b1e6264 ILT |
400 | |
401 | mostlyclean-tags: | |
402 | ||
403 | clean-tags: | |
404 | ||
405 | distclean-tags: | |
25161728 | 406 | -rm -f TAGS ID |
3b1e6264 ILT |
407 | |
408 | maintainer-clean-tags: | |
409 | ||
410 | distdir = $(PACKAGE)-$(VERSION) | |
411 | top_distdir = $(distdir) | |
412 | ||
413 | # This target untars the dist file and tries a VPATH configuration. Then | |
414 | # it guarantees that the distribution is self-contained by making another | |
415 | # tarfile. | |
416 | distcheck: dist | |
25161728 | 417 | -rm -rf $(distdir) |
3b1e6264 ILT |
418 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz |
419 | mkdir $(distdir)/=build | |
420 | mkdir $(distdir)/=inst | |
421 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
422 | cd $(distdir)/=build \ | |
423 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
424 | && $(MAKE) \ | |
425 | && $(MAKE) dvi \ | |
426 | && $(MAKE) check \ | |
427 | && $(MAKE) install \ | |
428 | && $(MAKE) installcheck \ | |
429 | && $(MAKE) dist | |
25161728 | 430 | -rm -rf $(distdir) |
3b1e6264 ILT |
431 | @echo "========================"; \ |
432 | echo "$(distdir).tar.gz is ready for distribution"; \ | |
433 | echo "========================" | |
434 | dist: distdir | |
435 | -chmod -R a+r $(distdir) | |
436 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
25161728 | 437 | -rm -rf $(distdir) |
3b1e6264 ILT |
438 | dist-all: distdir |
439 | -chmod -R a+r $(distdir) | |
440 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
25161728 | 441 | -rm -rf $(distdir) |
3b1e6264 | 442 | distdir: $(DISTFILES) |
25161728 | 443 | -rm -rf $(distdir) |
3b1e6264 ILT |
444 | mkdir $(distdir) |
445 | -chmod 777 $(distdir) | |
446 | @for file in $(DISTFILES); do \ | |
447 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
448 | test -f $(distdir)/$$file \ | |
449 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
450 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
451 | done | |
452 | info: | |
453 | dvi: | |
25161728 | 454 | check: |
3b1e6264 ILT |
455 | $(MAKE) |
456 | installcheck: | |
457 | install-info: | |
458 | install-exec: install-libLTLIBRARIES | |
459 | @$(NORMAL_INSTALL) | |
460 | ||
461 | install-data: | |
462 | @$(NORMAL_INSTALL) | |
463 | ||
464 | install: install-exec install-data all | |
465 | @: | |
466 | ||
467 | uninstall: uninstall-libLTLIBRARIES | |
468 | ||
469 | all: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h | |
470 | ||
471 | install-strip: | |
472 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install | |
473 | installdirs: | |
474 | $(mkinstalldirs) $(libdir) | |
475 | ||
476 | ||
477 | mostlyclean-generic: | |
25161728 | 478 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
3b1e6264 ILT |
479 | |
480 | clean-generic: | |
25161728 | 481 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
3b1e6264 ILT |
482 | |
483 | distclean-generic: | |
25161728 ILT |
484 | -rm -f Makefile $(DISTCLEANFILES) |
485 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
486 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
3b1e6264 ILT |
487 | |
488 | maintainer-clean-generic: | |
25161728 ILT |
489 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
490 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |
3b1e6264 ILT |
491 | mostlyclean: mostlyclean-hdr mostlyclean-noinstLIBRARIES \ |
492 | mostlyclean-compile mostlyclean-libtool \ | |
493 | mostlyclean-libLTLIBRARIES mostlyclean-tags \ | |
494 | mostlyclean-generic | |
495 | ||
496 | clean: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \ | |
497 | clean-libLTLIBRARIES clean-tags clean-generic \ | |
498 | mostlyclean | |
499 | ||
500 | distclean: distclean-hdr distclean-noinstLIBRARIES distclean-compile \ | |
501 | distclean-libtool distclean-libLTLIBRARIES \ | |
502 | distclean-tags distclean-generic clean | |
25161728 ILT |
503 | -rm -f config.status |
504 | -rm -f libtool | |
3b1e6264 ILT |
505 | |
506 | maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstLIBRARIES \ | |
507 | maintainer-clean-compile maintainer-clean-libtool \ | |
508 | maintainer-clean-libLTLIBRARIES maintainer-clean-tags \ | |
509 | maintainer-clean-generic distclean | |
510 | @echo "This command is intended for maintainers to use;" | |
511 | @echo "it deletes files that may require special tools to rebuild." | |
25161728 | 512 | -rm -f config.status |
3b1e6264 ILT |
513 | |
514 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ | |
515 | maintainer-clean-hdr mostlyclean-noinstLIBRARIES \ | |
516 | distclean-noinstLIBRARIES clean-noinstLIBRARIES \ | |
517 | maintainer-clean-noinstLIBRARIES mostlyclean-compile distclean-compile \ | |
518 | clean-compile maintainer-clean-compile mostlyclean-libtool \ | |
519 | distclean-libtool clean-libtool maintainer-clean-libtool \ | |
520 | mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ | |
521 | clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ | |
522 | uninstall-libLTLIBRARIES install-libLTLIBRARIES tags mostlyclean-tags \ | |
523 | distclean-tags clean-tags maintainer-clean-tags distdir info dvi \ | |
524 | installcheck install-info install-exec install-data install uninstall \ | |
525 | all installdirs mostlyclean-generic distclean-generic clean-generic \ | |
526 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean | |
527 | ||
528 | ||
529 | disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h | |
530 | $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c | |
531 | ||
532 | stamp-lib: libopcodes.la | |
533 | cp .libs/libopcodes.a libopcodes.tmp | |
534 | $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a | |
535 | touch stamp-lib | |
536 | ||
537 | libopcodes.a: stamp-lib ; @true | |
538 | ||
bfc10abe DE |
539 | # start-sanitize-cygnus |
540 | cgen: | |
3b7029b1 | 541 | $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGENDIR) $(CGENFLAGS) $(SCHEME) $(SCHEMEFLAGS) $(arch) |
bfc10abe DE |
542 | touch stamp-${arch} |
543 | ||
544 | .PHONY: cgen | |
545 | ||
546 | # For now, require developers to configure with --enable-maintainer-mode. | |
547 | # ??? Do we need to use a different option? | |
548 | m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: @MAINT@ stamp-m32r | |
549 | @true | |
550 | stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc | |
551 | $(MAKE) cgen arch=m32r prefix=m32r | |
552 | # end-sanitize-cygnus | |
553 | ||
3b1e6264 ILT |
554 | # start-sanitize-tic80 |
555 | tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \ | |
556 | $(INCDIR)/opcode/tic80.h | |
557 | tic80-opc.lo: tic80-opc.c $(INCDIR)/opcode/tic80.h | |
558 | # end-sanitize-tic80 | |
add1fb05 | 559 | |
54cc8ed4 | 560 | # start-sanitize-sky |
a6616528 | 561 | dvp-dis.lo: dvp-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \ |
37130f11 DE |
562 | $(INCDIR)/opcode/dvp.h |
563 | dvp-opc.lo: dvp-opc.c $(INCDIR)/opcode/dvp.h | |
564 | ||
565 | mips-dis.lo: mips-dis.c | |
566 | $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/mips-dis.c | |
54cc8ed4 DE |
567 | # end-sanitize-sky |
568 | ||
f76db60b ILT |
569 | # This dependency stuff is copied from BFD. |
570 | ||
571 | .dep: dep.sed $(CFILES) $(HFILES) config.h | |
572 | rm -f .dep1 | |
573 | $(MAKE) DEP=$(DEP) .dep1 | |
574 | sed -f dep.sed < .dep1 > .dep | |
575 | ||
576 | .dep1: $(CFILES) | |
577 | rm -f .dep2 .dep2a | |
578 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 | |
579 | echo > .dep2a | |
3b1e6264 | 580 | $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $? |
f76db60b ILT |
581 | sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2 |
582 | rm -f .dep2a | |
583 | $(srcdir)/../move-if-change .dep2 .dep1 | |
584 | ||
585 | dep.sed: dep-in.sed config.status | |
586 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
587 | -e 's!@BFD_H@!$(BFD_H)!' \ | |
588 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
589 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
590 | -e 's!@SRCDIR@!$(srcdir)!' | |
591 | ||
592 | dep: .dep | |
593 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile | |
594 | cat .dep >> tmp-Makefile | |
595 | $(srcdir)/../move-if-change tmp-Makefile Makefile | |
596 | ||
597 | dep-in: .dep | |
598 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in | |
599 | cat .dep >> tmp-Makefile.in | |
600 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in | |
601 | ||
3b1e6264 ILT |
602 | dep-am: .dep |
603 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am | |
604 | cat .dep >> tmp-Makefile.am | |
605 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am | |
606 | ||
607 | .PHONY: dep dep-in dep-am | |
bb6dafe9 | 608 | |
add1fb05 SC |
609 | # What appears below is generated by a hacked mkdep using gcc -MM. |
610 | ||
611 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
612 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
3b1e6264 | 613 | a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 614 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h |
3b1e6264 | 615 | alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
f76db60b | 616 | config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h |
3b1e6264 | 617 | alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \ |
f76db60b | 618 | $(BFD_H) |
3b1e6264 | 619 | arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
ab0bd049 DE |
620 | $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \ |
621 | $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
3b1e6264 ILT |
622 | cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \ |
623 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
624 | cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
625 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
626 | cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
627 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
628 | d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \ | |
bb6dafe9 | 629 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
630 | d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h |
631 | dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \ | |
f76db60b | 632 | $(BFD_H) |
3b1e6264 ILT |
633 | disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \ |
634 | $(INCDIR)/dis-asm.h $(BFD_H) | |
635 | h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \ | |
636 | $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h | |
637 | h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \ | |
f76db60b | 638 | $(BFD_H) $(INCDIR)/ansidecl.h |
3b1e6264 | 639 | hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b | 640 | $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h |
3b1e6264 | 641 | i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 642 | $(INCDIR)/ansidecl.h sysdep.h config.h |
3b1e6264 | 643 | i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 644 | $(INCDIR)/ansidecl.h |
3b1e6264 | 645 | m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \ |
9c03036a | 646 | m32r-opc.h $(INCDIR)/opcode/cgen.h |
3b1e6264 ILT |
647 | m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
648 | $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h | |
649 | m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
9c03036a | 650 | $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h |
3b1e6264 | 651 | m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 652 | $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h $(INCDIR)/opcode/m68k.h |
3b1e6264 ILT |
653 | m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h |
654 | m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ | |
f76db60b | 655 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h |
3b1e6264 | 656 | mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b ILT |
657 | $(BFD_H) $(INCDIR)/opcode/mips.h $(BFDDIR)/elf-bfd.h \ |
658 | $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ | |
659 | $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h | |
3b1e6264 | 660 | mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h |
25957cb0 | 661 | start-sanitize-r5900 |
ffee80df | 662 | mips-opc.lo: vu0.h |
25957cb0 | 663 | end-sanitize-r5900 |
3b1e6264 ILT |
664 | mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h |
665 | m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \ | |
f76db60b | 666 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
667 | m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h |
668 | m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \ | |
f76db60b | 669 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
670 | m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h |
671 | ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \ | |
f76db60b | 672 | sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h |
3b1e6264 | 673 | ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
f76db60b | 674 | config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h |
3b1e6264 ILT |
675 | ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h |
676 | sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \ | |
f76db60b | 677 | $(INCDIR)/ansidecl.h |
3b1e6264 | 678 | sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
bb6dafe9 ILT |
679 | config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \ |
680 | $(BFD_H) $(INCDIR)/libiberty.h | |
3b1e6264 | 681 | sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h |
ab0bd049 DE |
682 | tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
683 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h | |
3b1e6264 | 684 | w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \ |
f76db60b | 685 | $(BFD_H) $(INCDIR)/ansidecl.h |
3b1e6264 | 686 | z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b | 687 | $(BFD_H) z8k-opc.h |
3b1e6264 | 688 | z8kgen.lo: z8kgen.c sysdep.h config.h |
add1fb05 | 689 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
3b1e6264 ILT |
690 | |
691 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
692 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
693 | .NOEXPORT: |