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
8 ifeq ($(TARGET_CPU
),arm
)
10 celt_pitch_xcorr_arm-gnu.s
: celt
/arm
/armopts-gnu.S
12 # armopts needs a specific rule, because arm2gnu.pl will always add the .S
13 # suffix when translating the files that include it.
14 celt
/arm
/armopts-gnu.S
: $(srcdir)/celt
/arm
/armopts.s
$(call mkdir_deps
,celt
/arm
) $(GLOBAL_DEPS
)
15 $(PERL
) $(srcdir)/celt
/arm
/arm2gnu.pl
< $< > $@
16 # For all others, we can use an implicit rule
17 %-gnu.s
: $(srcdir)/celt
/arm
/%.s
$(GLOBAL_DEPS
)
18 $(PERL
) $(srcdir)/celt
/arm
/arm2gnu.pl
< $< > $@