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