diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-01-04 02:01:18 -0600 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-23 14:23:04 +0000 |
commit | 14c6bb798d6bebc80f07e863236adbaf8d156a9c (patch) | |
tree | 551a4b641906c2626af844fa3239c1b2b1ff0ad3 /lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile | |
parent | 75d93937965ec4df70d37df6d4feea04577c996b (diff) | |
download | rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.tar.gz rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.zip |
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile b/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile new file mode 100644 index 0000000000..93f599fb5b --- /dev/null +++ b/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile | |||
@@ -0,0 +1,32 @@ | |||
1 | |||
2 | CFLAGS=-O2 -Wall -Wextra -DHAVE_CONFIG_H | ||
3 | INCLUDES=-I. -I../ -I../.. -I../../include | ||
4 | |||
5 | SOURCES = dump_modes.c \ | ||
6 | ../modes.c \ | ||
7 | ../cwrs.c \ | ||
8 | ../rate.c \ | ||
9 | ../entcode.c \ | ||
10 | ../entenc.c \ | ||
11 | ../entdec.c \ | ||
12 | ../mathops.c \ | ||
13 | ../mdct.c \ | ||
14 | ../kiss_fft.c | ||
15 | |||
16 | ifdef HAVE_ARM_NE10 | ||
17 | CC = gcc | ||
18 | CFLAGS += -mfpu=neon | ||
19 | INCLUDES += -I$(NE10_INCDIR) -DHAVE_ARM_NE10 -DOPUS_ARM_PRESUME_NEON_INTR | ||
20 | LIBS = -L$(NE10_LIBDIR) -lNE10 | ||
21 | SOURCES += ../arm/celt_ne10_fft.c \ | ||
22 | dump_modes_arm_ne10.c \ | ||
23 | ../arm/armcpu.c | ||
24 | endif | ||
25 | |||
26 | all: dump_modes | ||
27 | |||
28 | dump_modes: | ||
29 | $(PREFIX)$(CC) $(CFLAGS) $(INCLUDES) -DCUSTOM_MODES_ONLY -DCUSTOM_MODES $(SOURCES) -o $@ $(LIBS) -lm | ||
30 | |||
31 | clean: | ||
32 | rm -f dump_modes | ||