xref: /aosp_15_r20/external/liblc3/test/neon/makefile.mk (revision 49fe348c0058011ee60b6957cdd9d52742df84bc)
1*49fe348cSAndroid Build Coastguard Worker#
2*49fe348cSAndroid Build Coastguard Worker# Copyright 2022 Google LLC
3*49fe348cSAndroid Build Coastguard Worker#
4*49fe348cSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
5*49fe348cSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
6*49fe348cSAndroid Build Coastguard Worker# You may obtain a copy of the License at:
7*49fe348cSAndroid Build Coastguard Worker#
8*49fe348cSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0
9*49fe348cSAndroid Build Coastguard Worker#
10*49fe348cSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
11*49fe348cSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
12*49fe348cSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*49fe348cSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
14*49fe348cSAndroid Build Coastguard Worker# limitations under the License.
15*49fe348cSAndroid Build Coastguard Worker#
16*49fe348cSAndroid Build Coastguard Worker
17*49fe348cSAndroid Build Coastguard Workertest_neon_src += \
18*49fe348cSAndroid Build Coastguard Worker    $(TEST_DIR)/neon/test_neon.c \
19*49fe348cSAndroid Build Coastguard Worker    $(TEST_DIR)/neon/ltpf_neon.c \
20*49fe348cSAndroid Build Coastguard Worker    $(TEST_DIR)/neon/mdct_neon.c \
21*49fe348cSAndroid Build Coastguard Worker    $(SRC_DIR)/tables.c
22*49fe348cSAndroid Build Coastguard Worker
23*49fe348cSAndroid Build Coastguard Workertest_neon_include += $(SRC_DIR)
24*49fe348cSAndroid Build Coastguard Workertest_neon_ldlibs += m
25*49fe348cSAndroid Build Coastguard Worker
26*49fe348cSAndroid Build Coastguard Worker$(eval $(call add-bin,test_neon))
27*49fe348cSAndroid Build Coastguard Worker
28*49fe348cSAndroid Build Coastguard Workertest_neon: $(test_neon_bin)
29*49fe348cSAndroid Build Coastguard Worker	@echo "  RUN     $(notdir $<)"
30*49fe348cSAndroid Build Coastguard Worker	$(V)$<
31*49fe348cSAndroid Build Coastguard Worker
32*49fe348cSAndroid Build Coastguard Workertest: test_neon
33