1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libtheora/lib/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 + 1.9 +ifdef GNU_AS 1.10 +ifeq ($(CPU_ARCH),arm) 1.11 + 1.12 +# These flags are a lie; they're just used to enable the requisite 1.13 +# opcodes; actual arch detection is done at runtime. 1.14 +ASFLAGS = -march=armv7-a -mfpu=neon 1.15 + 1.16 +armfrag-gnu.$(ASM_SUFFIX): armopts-gnu.S 1.17 +armidct-gnu.$(ASM_SUFFIX): armopts-gnu.S 1.18 +armloop-gnu.$(ASM_SUFFIX): armopts-gnu.S 1.19 + 1.20 +# armopts needs a specific rule, because arm2gnu.pl will always add the .S 1.21 +# suffix when translating the files that include it. 1.22 +armopts-gnu.S: arm/armopts.s 1.23 + $(PERL) $(srcdir)/arm/arm2gnu.pl < $< > $@ 1.24 +# For all others, we can use an implicit rule with the configured $(ASM_SUFFIX). 1.25 +%-gnu.$(ASM_SUFFIX): arm/%.s 1.26 + $(PERL) $(srcdir)/arm/arm2gnu.pl < $< > $@ 1.27 + 1.28 +endif 1.29 +endif 1.30 + 1.31 +include $(topsrcdir)/config/rules.mk