mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
5c634ab869
MozReview-Commit-ID: 1MK0Kud51vR --HG-- extra : rebase_source : de7a7f11bfbbac1e8eccc34de39dd2d88d803b03 extra : amend_source : d7eddb71b050e0576e783c6ce8c67f66cfd88e13
22 lines
735 B
Makefile
22 lines
735 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/.
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
ifdef GNU_AS
|
|
ifeq ($(CPU_ARCH),arm)
|
|
|
|
celt_pitch_xcorr_arm-gnu.s: celt/arm/armopts-gnu.S
|
|
|
|
# armopts needs a specific rule, because arm2gnu.pl will always add the .S
|
|
# suffix when translating the files that include it.
|
|
celt/arm/armopts-gnu.S: celt/arm/armopts.s $(call mkdir_deps,celt/arm) $(GLOBAL_DEPS)
|
|
$(PERL) $(srcdir)/celt/arm/arm2gnu.pl < $< > $@
|
|
# For all others, we can use an implicit rule
|
|
%-gnu.s: celt/arm/%.s $(GLOBAL_DEPS)
|
|
$(PERL) $(srcdir)/celt/arm/arm2gnu.pl < $< > $@
|
|
|
|
endif
|
|
endif
|