2012-05-29 19:52:43 +04:00
|
|
|
# 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/.
|
2008-07-30 10:38:23 +04:00
|
|
|
|
|
|
|
|
2010-11-08 10:47:34 +03:00
|
|
|
ifdef GNU_AS
|
2014-01-23 11:50:30 +04:00
|
|
|
ifeq ($(CPU_ARCH),arm)
|
2010-11-08 10:47:34 +03:00
|
|
|
|
2016-03-01 21:47:19 +03:00
|
|
|
armfrag-gnu.s: armopts-gnu.S
|
|
|
|
armidct-gnu.s: armopts-gnu.S
|
|
|
|
armloop-gnu.s: armopts-gnu.S
|
2010-11-08 10:47:34 +03:00
|
|
|
|
|
|
|
# armopts needs a specific rule, because arm2gnu.pl will always add the .S
|
|
|
|
# suffix when translating the files that include it.
|
2014-11-18 20:58:00 +03:00
|
|
|
armopts-gnu.S: lib/arm/armopts.s
|
|
|
|
$(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
|
2016-03-01 21:47:19 +03:00
|
|
|
# For all others, we can use an implicit rule
|
|
|
|
%-gnu.s: lib/arm/%.s
|
2014-11-18 20:58:00 +03:00
|
|
|
$(PERL) $(srcdir)/lib/arm/arm2gnu.pl < $< > $@
|
2010-11-08 10:47:34 +03:00
|
|
|
|
2008-07-30 10:38:23 +04:00
|
|
|
endif
|
2009-06-19 07:03:45 +04:00
|
|
|
endif
|
2008-07-30 10:38:23 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|