diff options
author | Alan Modra <amodra@gmail.com> | 2013-06-17 11:51:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-06-17 11:51:13 +0000 |
commit | de40ceb6d5f3b7a5a9d145bfb326c28b425e073d (patch) | |
tree | 53a736eef8e3658091a91b891710631394609571 /opcodes/Makefile.am | |
parent | 6c74eac210f0aaafe3e9fa66e71719b615975c5f (diff) | |
download | gdb-de40ceb6d5f3b7a5a9d145bfb326c28b425e073d.zip gdb-de40ceb6d5f3b7a5a9d145bfb326c28b425e073d.tar.gz gdb-de40ceb6d5f3b7a5a9d145bfb326c28b425e073d.tar.bz2 |
* Makefile.am (mips-opc.lo): Add rules to create automatic
dependency files. Pass archdefs.
(micromips-opc.lo, mips16-opc.lo): Likewise.
* Makefile.in: Regenerate.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r-- | opcodes/Makefile.am | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 4a63810..827c96e 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -573,13 +573,43 @@ $(srcdir)/rl78-decode.c: @MAINT@ $(srcdir)/rl78-decode.opc opc2c$(EXEEXT_FOR_BUI ./opc2c$(EXEEXT_FOR_BUILD) $(srcdir)/rl78-decode.opc > $(srcdir)/rl78-decode.c micromips-opc.lo: micromips-opc.c - $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $< +if am__fastdepCC + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) \ + -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ @archdefs@ $< + mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +else +if AMDEP + source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +endif + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ @archdefs@ $< +endif mips-opc.lo: mips-opc.c - $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $< +if am__fastdepCC + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) \ + -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ @archdefs@ $< + mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +else +if AMDEP + source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +endif + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ @archdefs@ $< +endif mips16-opc.lo: mips16-opc.c - $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ $< +if am__fastdepCC + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) \ + -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ @archdefs@ $< + mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +else +if AMDEP + source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +endif + $(LTCOMPILE) $(NO_WMISSING_FIELD_INITIALIZERS) -c -o $@ @archdefs@ $< +endif $(srcdir)/rx-decode.c: @MAINT@ $(srcdir)/rx-decode.opc opc2c$(EXEEXT_FOR_BUILD) ./opc2c$(EXEEXT_FOR_BUILD) $(srcdir)/rx-decode.opc > $(srcdir)/rx-decode.c |