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 \ | |
228 | $(CGENDIR)/utils-cgen.scm $(CGENDIR)/cpu.scm \ | |
229 | $(CGENDIR)/mode.scm $(CGENDIR)/mach.scm \ | |
230 | $(CGENDIR)/ifield.scm $(CGENDIR)/iformat.scm \ | |
231 | $(CGENDIR)/operand.scm $(CGENDIR)/insn.scm \ | |
232 | $(CGENDIR)/opcodes.scm $(CGENDIR)/cgen-opc.scm \ | |
ab0bd049 | 233 | cgen-opc.in cgen-asm.in cgen-dis.in |
bfc10abe DE |
234 | # The end marker is written this way to pass through automake unscathed. |
235 | ENDSAN = end-sanitize-cygnus | |
3b1e6264 ILT |
236 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
237 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
238 | CONFIG_HEADER = config.h | |
239 | CONFIG_CLEAN_FILES = | |
240 | LIBRARIES = $(noinst_LIBRARIES) | |
241 | ||
242 | ||
243 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
244 | CPPFLAGS = @CPPFLAGS@ | |
245 | LDFLAGS = @LDFLAGS@ | |
246 | LIBS = @LIBS@ | |
247 | libopcodes_a_LIBADD = | |
248 | libopcodes_a_SOURCES = libopcodes.a.c | |
249 | libopcodes_a_OBJECTS = libopcodes.a.o | |
250 | LTLIBRARIES = $(lib_LTLIBRARIES) | |
251 | ||
3b1e6264 ILT |
252 | libopcodes_la_OBJECTS = dis-buf.lo disassemble.lo |
253 | CFLAGS = @CFLAGS@ | |
254 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
255 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
256 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ | |
257 | DIST_COMMON = ChangeLog Makefile.am Makefile.in acconfig.h acinclude.m4 \ | |
258 | aclocal.m4 config.in configure configure.in stamp-h.in | |
259 | ||
260 | ||
261 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
262 | ||
263 | TAR = tar | |
264 | GZIP = --best | |
265 | SOURCES = libopcodes.a.c $(libopcodes_la_SOURCES) | |
266 | OBJECTS = libopcodes.a.o $(libopcodes_la_OBJECTS) | |
267 | ||
268 | default: all | |
269 | ||
270 | .SUFFIXES: | |
271 | .SUFFIXES: .S .c .lo .o .s | |
272 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
273 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile | |
274 | ||
275 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
276 | cd $(top_builddir) \ | |
277 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
278 | ||
279 | $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4 | |
280 | cd $(srcdir) && $(ACLOCAL) | |
281 | ||
282 | config.status: $(srcdir)/configure | |
283 | $(SHELL) ./config.status --recheck | |
284 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) | |
285 | cd $(srcdir) && $(AUTOCONF) | |
286 | ||
25161728 ILT |
287 | config.h: stamp-h |
288 | @: | |
3b1e6264 ILT |
289 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
290 | cd $(top_builddir) \ | |
291 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ | |
292 | $(SHELL) ./config.status | |
293 | @echo timestamp > stamp-h | |
294 | $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in | |
295 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h | |
296 | cd $(top_srcdir) && $(AUTOHEADER) | |
297 | @echo timestamp > $(srcdir)/stamp-h.in | |
298 | ||
299 | mostlyclean-hdr: | |
300 | ||
301 | clean-hdr: | |
302 | ||
303 | distclean-hdr: | |
25161728 | 304 | -rm -f config.h |
3b1e6264 ILT |
305 | |
306 | maintainer-clean-hdr: | |
307 | ||
308 | mostlyclean-noinstLIBRARIES: | |
309 | ||
310 | clean-noinstLIBRARIES: | |
25161728 | 311 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
3b1e6264 ILT |
312 | |
313 | distclean-noinstLIBRARIES: | |
314 | ||
315 | maintainer-clean-noinstLIBRARIES: | |
316 | ||
25161728 | 317 | .c.o: |
3b1e6264 ILT |
318 | $(COMPILE) -c $< |
319 | ||
25161728 | 320 | .s.o: |
3b1e6264 | 321 | $(COMPILE) -c $< |
add1fb05 | 322 | |
25161728 | 323 | .S.o: |
3b1e6264 | 324 | $(COMPILE) -c $< |
add1fb05 | 325 | |
3b1e6264 | 326 | mostlyclean-compile: |
25161728 | 327 | -rm -f *.o core *.core |
add1fb05 | 328 | |
3b1e6264 | 329 | clean-compile: |
add1fb05 | 330 | |
3b1e6264 | 331 | distclean-compile: |
25161728 | 332 | -rm -f *.tab.c |
add1fb05 | 333 | |
3b1e6264 | 334 | maintainer-clean-compile: |
add1fb05 | 335 | |
3b1e6264 ILT |
336 | .c.lo: |
337 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
d7ace307 | 338 | |
3b1e6264 ILT |
339 | .s.lo: |
340 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
39620b71 | 341 | |
3b1e6264 ILT |
342 | .S.lo: |
343 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
344 | ||
345 | mostlyclean-libtool: | |
25161728 | 346 | -rm -f *.lo |
3b1e6264 ILT |
347 | |
348 | clean-libtool: | |
25161728 | 349 | -rm -rf .libs _libs |
3b1e6264 ILT |
350 | |
351 | distclean-libtool: | |
352 | ||
353 | maintainer-clean-libtool: | |
794a16b0 | 354 | |
3b1e6264 | 355 | mostlyclean-libLTLIBRARIES: |
824155e8 | 356 | |
3b1e6264 | 357 | clean-libLTLIBRARIES: |
25161728 | 358 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
40db6118 | 359 | |
3b1e6264 | 360 | distclean-libLTLIBRARIES: |
add1fb05 | 361 | |
3b1e6264 ILT |
362 | maintainer-clean-libLTLIBRARIES: |
363 | ||
364 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |
365 | @$(NORMAL_INSTALL) | |
366 | $(mkinstalldirs) $(libdir) | |
367 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
368 | if test -f $$p; then \ | |
25161728 ILT |
369 | echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p"; \ |
370 | $(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(libdir)/$$p; \ | |
3b1e6264 ILT |
371 | else :; fi; \ |
372 | done | |
373 | ||
374 | uninstall-libLTLIBRARIES: | |
375 | $(NORMAL_UNINSTALL) | |
376 | list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
377 | $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$$p; \ | |
378 | done | |
379 | ||
380 | libopcodes.la: $(libopcodes_la_OBJECTS) $(libopcodes_la_DEPENDENCIES) | |
381 | $(LINK) -rpath $(libdir) $(libopcodes_la_LDFLAGS) $(libopcodes_la_OBJECTS) $(libopcodes_la_LIBADD) $(LIBS) | |
382 | ||
383 | tags: TAGS | |
384 | ||
25161728 ILT |
385 | ID: $(HEADERS) $(SOURCES) $(LISP) |
386 | here=`pwd` && cd $(srcdir) \ | |
387 | && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) | |
3b1e6264 | 388 | |
25161728 | 389 | TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP) |
3b1e6264 ILT |
390 | tags=; \ |
391 | here=`pwd`; \ | |
25161728 ILT |
392 | list='$(SOURCES) $(HEADERS)'; \ |
393 | unique=`for i in $$list; do echo $$i; done | \ | |
394 | awk ' { files[$$0] = 1; } \ | |
395 | END { for (i in files) print i; }'`; \ | |
396 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ | |
397 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS) | |
3b1e6264 ILT |
398 | |
399 | mostlyclean-tags: | |
400 | ||
401 | clean-tags: | |
402 | ||
403 | distclean-tags: | |
25161728 | 404 | -rm -f TAGS ID |
3b1e6264 ILT |
405 | |
406 | maintainer-clean-tags: | |
407 | ||
408 | distdir = $(PACKAGE)-$(VERSION) | |
409 | top_distdir = $(distdir) | |
410 | ||
411 | # This target untars the dist file and tries a VPATH configuration. Then | |
412 | # it guarantees that the distribution is self-contained by making another | |
413 | # tarfile. | |
414 | distcheck: dist | |
25161728 | 415 | -rm -rf $(distdir) |
3b1e6264 ILT |
416 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz |
417 | mkdir $(distdir)/=build | |
418 | mkdir $(distdir)/=inst | |
419 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
420 | cd $(distdir)/=build \ | |
421 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
422 | && $(MAKE) \ | |
423 | && $(MAKE) dvi \ | |
424 | && $(MAKE) check \ | |
425 | && $(MAKE) install \ | |
426 | && $(MAKE) installcheck \ | |
427 | && $(MAKE) dist | |
25161728 | 428 | -rm -rf $(distdir) |
3b1e6264 ILT |
429 | @echo "========================"; \ |
430 | echo "$(distdir).tar.gz is ready for distribution"; \ | |
431 | echo "========================" | |
432 | dist: distdir | |
433 | -chmod -R a+r $(distdir) | |
434 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
25161728 | 435 | -rm -rf $(distdir) |
3b1e6264 ILT |
436 | dist-all: distdir |
437 | -chmod -R a+r $(distdir) | |
438 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) | |
25161728 | 439 | -rm -rf $(distdir) |
3b1e6264 | 440 | distdir: $(DISTFILES) |
25161728 | 441 | -rm -rf $(distdir) |
3b1e6264 ILT |
442 | mkdir $(distdir) |
443 | -chmod 777 $(distdir) | |
444 | @for file in $(DISTFILES); do \ | |
445 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
446 | test -f $(distdir)/$$file \ | |
447 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
448 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
449 | done | |
450 | info: | |
451 | dvi: | |
25161728 | 452 | check: |
3b1e6264 ILT |
453 | $(MAKE) |
454 | installcheck: | |
455 | install-info: | |
456 | install-exec: install-libLTLIBRARIES | |
457 | @$(NORMAL_INSTALL) | |
458 | ||
459 | install-data: | |
460 | @$(NORMAL_INSTALL) | |
461 | ||
462 | install: install-exec install-data all | |
463 | @: | |
464 | ||
465 | uninstall: uninstall-libLTLIBRARIES | |
466 | ||
467 | all: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h | |
468 | ||
469 | install-strip: | |
470 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install | |
471 | installdirs: | |
472 | $(mkinstalldirs) $(libdir) | |
473 | ||
474 | ||
475 | mostlyclean-generic: | |
25161728 | 476 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
3b1e6264 ILT |
477 | |
478 | clean-generic: | |
25161728 | 479 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
3b1e6264 ILT |
480 | |
481 | distclean-generic: | |
25161728 ILT |
482 | -rm -f Makefile $(DISTCLEANFILES) |
483 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
484 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
3b1e6264 ILT |
485 | |
486 | maintainer-clean-generic: | |
25161728 ILT |
487 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
488 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |
3b1e6264 ILT |
489 | mostlyclean: mostlyclean-hdr mostlyclean-noinstLIBRARIES \ |
490 | mostlyclean-compile mostlyclean-libtool \ | |
491 | mostlyclean-libLTLIBRARIES mostlyclean-tags \ | |
492 | mostlyclean-generic | |
493 | ||
494 | clean: clean-hdr clean-noinstLIBRARIES clean-compile clean-libtool \ | |
495 | clean-libLTLIBRARIES clean-tags clean-generic \ | |
496 | mostlyclean | |
497 | ||
498 | distclean: distclean-hdr distclean-noinstLIBRARIES distclean-compile \ | |
499 | distclean-libtool distclean-libLTLIBRARIES \ | |
500 | distclean-tags distclean-generic clean | |
25161728 ILT |
501 | -rm -f config.status |
502 | -rm -f libtool | |
3b1e6264 ILT |
503 | |
504 | maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstLIBRARIES \ | |
505 | maintainer-clean-compile maintainer-clean-libtool \ | |
506 | maintainer-clean-libLTLIBRARIES maintainer-clean-tags \ | |
507 | maintainer-clean-generic distclean | |
508 | @echo "This command is intended for maintainers to use;" | |
509 | @echo "it deletes files that may require special tools to rebuild." | |
25161728 | 510 | -rm -f config.status |
3b1e6264 ILT |
511 | |
512 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ | |
513 | maintainer-clean-hdr mostlyclean-noinstLIBRARIES \ | |
514 | distclean-noinstLIBRARIES clean-noinstLIBRARIES \ | |
515 | maintainer-clean-noinstLIBRARIES mostlyclean-compile distclean-compile \ | |
516 | clean-compile maintainer-clean-compile mostlyclean-libtool \ | |
517 | distclean-libtool clean-libtool maintainer-clean-libtool \ | |
518 | mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ | |
519 | clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ | |
520 | uninstall-libLTLIBRARIES install-libLTLIBRARIES tags mostlyclean-tags \ | |
521 | distclean-tags clean-tags maintainer-clean-tags distdir info dvi \ | |
522 | installcheck install-info install-exec install-data install uninstall \ | |
523 | all installdirs mostlyclean-generic distclean-generic clean-generic \ | |
524 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean | |
525 | ||
526 | ||
527 | disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h | |
528 | $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c | |
529 | ||
530 | stamp-lib: libopcodes.la | |
531 | cp .libs/libopcodes.a libopcodes.tmp | |
532 | $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a | |
533 | touch stamp-lib | |
534 | ||
535 | libopcodes.a: stamp-lib ; @true | |
536 | ||
bfc10abe DE |
537 | # start-sanitize-cygnus |
538 | cgen: | |
3b7029b1 | 539 | $(SHELL) $(srcdir)/cgen.sh opcodes $(srcdir) $(CGENDIR) $(CGENFLAGS) $(SCHEME) $(SCHEMEFLAGS) $(arch) |
bfc10abe DE |
540 | touch stamp-${arch} |
541 | ||
542 | .PHONY: cgen | |
543 | ||
544 | # For now, require developers to configure with --enable-maintainer-mode. | |
545 | # ??? Do we need to use a different option? | |
546 | m32r-opc.h m32r-opc.c m32r-asm.c m32r-dis.c: @MAINT@ stamp-m32r | |
547 | @true | |
548 | stamp-m32r: $(CGENFILES) $(CGENDIR)/m32r.cpu $(CGENDIR)/m32r.opc | |
549 | $(MAKE) cgen arch=m32r prefix=m32r | |
550 | # end-sanitize-cygnus | |
551 | ||
3b1e6264 ILT |
552 | # start-sanitize-tic80 |
553 | tic80-dis.lo: tic80-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \ | |
554 | $(INCDIR)/opcode/tic80.h | |
555 | tic80-opc.lo: tic80-opc.c $(INCDIR)/opcode/tic80.h | |
556 | # end-sanitize-tic80 | |
add1fb05 | 557 | |
54cc8ed4 | 558 | # start-sanitize-sky |
a6616528 | 559 | dvp-dis.lo: dvp-dis.c $(INCDIR)/dis-asm.h ../bfd/bfd.h \ |
37130f11 DE |
560 | $(INCDIR)/opcode/dvp.h |
561 | dvp-opc.lo: dvp-opc.c $(INCDIR)/opcode/dvp.h | |
562 | ||
563 | mips-dis.lo: mips-dis.c | |
564 | $(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/mips-dis.c | |
54cc8ed4 DE |
565 | # end-sanitize-sky |
566 | ||
f76db60b ILT |
567 | # This dependency stuff is copied from BFD. |
568 | ||
569 | .dep: dep.sed $(CFILES) $(HFILES) config.h | |
570 | rm -f .dep1 | |
571 | $(MAKE) DEP=$(DEP) .dep1 | |
572 | sed -f dep.sed < .dep1 > .dep | |
573 | ||
574 | .dep1: $(CFILES) | |
575 | rm -f .dep2 .dep2a | |
576 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 | |
577 | echo > .dep2a | |
3b1e6264 | 578 | $(DEP) -f .dep2a $(INCLUDES) $(CFLAGS) $? |
f76db60b ILT |
579 | sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2 |
580 | rm -f .dep2a | |
581 | $(srcdir)/../move-if-change .dep2 .dep1 | |
582 | ||
583 | dep.sed: dep-in.sed config.status | |
584 | sed <$(srcdir)/dep-in.sed >dep.sed \ | |
585 | -e 's!@BFD_H@!$(BFD_H)!' \ | |
586 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
587 | -e 's!@BFDDIR@!$(BFDDIR)!' \ | |
588 | -e 's!@SRCDIR@!$(srcdir)!' | |
589 | ||
590 | dep: .dep | |
591 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile | |
592 | cat .dep >> tmp-Makefile | |
593 | $(srcdir)/../move-if-change tmp-Makefile Makefile | |
594 | ||
595 | dep-in: .dep | |
596 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in | |
597 | cat .dep >> tmp-Makefile.in | |
598 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in | |
599 | ||
3b1e6264 ILT |
600 | dep-am: .dep |
601 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am | |
602 | cat .dep >> tmp-Makefile.am | |
603 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am | |
604 | ||
605 | .PHONY: dep dep-in dep-am | |
bb6dafe9 | 606 | |
add1fb05 SC |
607 | # What appears below is generated by a hacked mkdep using gcc -MM. |
608 | ||
609 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
610 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
3b1e6264 | 611 | a29k-dis.lo: a29k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 612 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/a29k.h |
3b1e6264 | 613 | alpha-dis.lo: alpha-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
f76db60b | 614 | config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/alpha.h |
3b1e6264 | 615 | alpha-opc.lo: alpha-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/alpha.h \ |
f76db60b | 616 | $(BFD_H) |
3b1e6264 | 617 | arm-dis.lo: arm-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
ab0bd049 DE |
618 | $(INCDIR)/ansidecl.h arm-opc.h $(INCDIR)/coff/internal.h \ |
619 | $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h | |
3b1e6264 ILT |
620 | cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/libiberty.h \ |
621 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
622 | cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
623 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
624 | cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
625 | $(BFD_H) $(INCDIR)/opcode/cgen.h | |
626 | d10v-dis.lo: d10v-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h \ | |
bb6dafe9 | 627 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
628 | d10v-opc.lo: d10v-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/d10v.h |
629 | dis-buf.lo: dis-buf.c sysdep.h config.h $(INCDIR)/dis-asm.h \ | |
f76db60b | 630 | $(BFD_H) |
3b1e6264 ILT |
631 | disassemble.lo: disassemble.c $(INCDIR)/ansidecl.h \ |
632 | $(INCDIR)/dis-asm.h $(BFD_H) | |
633 | h8300-dis.lo: h8300-dis.c $(INCDIR)/opcode/h8300.h \ | |
634 | $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/ansidecl.h | |
635 | h8500-dis.lo: h8500-dis.c h8500-opc.h $(INCDIR)/dis-asm.h \ | |
f76db60b | 636 | $(BFD_H) $(INCDIR)/ansidecl.h |
3b1e6264 | 637 | hppa-dis.lo: hppa-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b | 638 | $(BFD_H) $(BFDDIR)/libhppa.h $(INCDIR)/opcode/hppa.h |
3b1e6264 | 639 | i386-dis.lo: i386-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 640 | $(INCDIR)/ansidecl.h sysdep.h config.h |
3b1e6264 | 641 | i960-dis.lo: i960-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 642 | $(INCDIR)/ansidecl.h |
3b1e6264 | 643 | m32r-asm.lo: m32r-asm.c sysdep.h config.h $(BFD_H) \ |
9c03036a | 644 | m32r-opc.h $(INCDIR)/opcode/cgen.h |
3b1e6264 ILT |
645 | m32r-dis.lo: m32r-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
646 | $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h | |
647 | m32r-opc.lo: m32r-opc.c sysdep.h config.h $(INCDIR)/libiberty.h \ | |
9c03036a | 648 | $(BFD_H) m32r-opc.h $(INCDIR)/opcode/cgen.h |
3b1e6264 | 649 | m68k-dis.lo: m68k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
f76db60b | 650 | $(INCDIR)/ansidecl.h $(INCDIR)/floatformat.h $(INCDIR)/opcode/m68k.h |
3b1e6264 ILT |
651 | m68k-opc.lo: m68k-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m68k.h |
652 | m88k-dis.lo: m88k-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ | |
f76db60b | 653 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/m88k.h |
3b1e6264 | 654 | mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b ILT |
655 | $(BFD_H) $(INCDIR)/opcode/mips.h $(BFDDIR)/elf-bfd.h \ |
656 | $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ | |
657 | $(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h | |
3b1e6264 ILT |
658 | mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h |
659 | mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h | |
660 | m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \ | |
f76db60b | 661 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
662 | m10200-opc.lo: m10200-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h |
663 | m10300-dis.lo: m10300-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h \ | |
f76db60b | 664 | $(INCDIR)/dis-asm.h $(BFD_H) |
3b1e6264 ILT |
665 | m10300-opc.lo: m10300-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10300.h |
666 | ns32k-dis.lo: ns32k-dis.c $(BFD_H) $(INCDIR)/ansidecl.h \ | |
f76db60b | 667 | sysdep.h config.h $(INCDIR)/dis-asm.h $(INCDIR)/opcode/ns32k.h |
3b1e6264 | 668 | ppc-dis.lo: ppc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
f76db60b | 669 | config.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/opcode/ppc.h |
3b1e6264 ILT |
670 | ppc-opc.lo: ppc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/ppc.h |
671 | sh-dis.lo: sh-dis.c sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) \ | |
f76db60b | 672 | $(INCDIR)/ansidecl.h |
3b1e6264 | 673 | sparc-dis.lo: sparc-dis.c $(INCDIR)/ansidecl.h sysdep.h \ |
bb6dafe9 ILT |
674 | config.h $(INCDIR)/opcode/sparc.h $(INCDIR)/dis-asm.h \ |
675 | $(BFD_H) $(INCDIR)/libiberty.h | |
3b1e6264 | 676 | sparc-opc.lo: sparc-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/sparc.h |
ab0bd049 DE |
677 | tic30-dis.lo: tic30-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \ |
678 | $(INCDIR)/ansidecl.h $(INCDIR)/opcode/tic30.h | |
3b1e6264 | 679 | w65-dis.lo: w65-dis.c w65-opc.h $(INCDIR)/dis-asm.h \ |
f76db60b | 680 | $(BFD_H) $(INCDIR)/ansidecl.h |
3b1e6264 | 681 | z8k-dis.lo: z8k-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \ |
f76db60b | 682 | $(BFD_H) z8k-opc.h |
3b1e6264 | 683 | z8kgen.lo: z8kgen.c sysdep.h config.h |
add1fb05 | 684 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
3b1e6264 ILT |
685 | |
686 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
687 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
688 | .NOEXPORT: |