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/.
5 include $(topsrcdir
)/config
/rules.mk
10 # These flags are a lie; they're just used to enable the requisite
11 # opcodes; actual arch detection is done at runtime.
12 ASFLAGS
= -march
=armv7-a
-mfpu
=neon
14 celt_pitch_xcorr_arm-gnu.
$(ASM_SUFFIX
): celt
/arm
/armopts-gnu.S
16 # armopts needs a specific rule, because arm2gnu.pl will always add the .S
17 # suffix when translating the files that include it.
18 celt
/arm
/armopts-gnu.S
: celt
/arm
/armopts.s
$(call mkdir_deps
,celt
/arm
) $(GLOBAL_DEPS
)
19 $(PERL
) $(srcdir)/celt
/arm
/arm2gnu.pl
< $< > $@
20 # For all others, we can use an implicit rule with the configured $(ASM_SUFFIX).
21 %-gnu.
$(ASM_SUFFIX
): celt
/arm
/%.s
$(GLOBAL_DEPS
)
22 $(PERL
) $(srcdir)/celt
/arm
/arm2gnu.pl
< $< > $@