mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
619672a8e4
Differential Revision: https://phabricator.services.mozilla.com/D195157
25 lines
723 B
Makefile
25 lines
723 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
ifdef GNU_AS
|
|
ifeq ($(TARGET_CPU),arm)
|
|
|
|
armfrag-gnu.s: armopts-gnu.S
|
|
armidct-gnu.s: armopts-gnu.S
|
|
armloop-gnu.s: armopts-gnu.S
|
|
|
|
# armopts needs a specific rule, because arm2gnu.pl will always add the .S
|
|
# suffix when translating the files that include it.
|
|
armopts-gnu.S: $(srcdir)/lib/arm/armopts.s
|
|
$(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
|
|
# For all others, we can use an implicit rule
|
|
%-gnu.s: $(srcdir)/lib/arm/%.s
|
|
$(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
|
|
|
|
endif
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|