Makefile.in 701 B

12345678910111213141516171819202122232425
  1. # This Source Code Form is subject to the terms of the Mozilla Public
  2. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4. ifdef GNU_AS
  5. ifeq ($(CPU_ARCH),arm)
  6. armfrag-gnu.s: armopts-gnu.S
  7. armidct-gnu.s: armopts-gnu.S
  8. armloop-gnu.s: armopts-gnu.S
  9. # armopts needs a specific rule, because arm2gnu.pl will always add the .S
  10. # suffix when translating the files that include it.
  11. armopts-gnu.S: lib/arm/armopts.s
  12. $(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
  13. # For all others, we can use an implicit rule
  14. %-gnu.s: lib/arm/%.s
  15. $(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
  16. endif
  17. endif
  18. include $(topsrcdir)/config/rules.mk