diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/libopus.make')
-rw-r--r-- | lib/rbcodec/codecs/libopus/libopus.make | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libopus/libopus.make b/lib/rbcodec/codecs/libopus/libopus.make new file mode 100644 index 0000000000..1df52dbe4f --- /dev/null +++ b/lib/rbcodec/codecs/libopus/libopus.make | |||
@@ -0,0 +1,24 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id$ | ||
8 | # | ||
9 | |||
10 | # libopus | ||
11 | OPUSLIB := $(CODECDIR)/libopus.a | ||
12 | OPUSLIB_SRC := $(call preprocess, $(RBCODECLIB_DIR)/codecs/libopus/SOURCES) | ||
13 | OPUSLIB_OBJ := $(call c2obj, $(OPUSLIB_SRC)) | ||
14 | |||
15 | # codec specific compilation flags | ||
16 | $(OPUSLIB) : CODECFLAGS += -DHAVE_CONFIG_H \ | ||
17 | -I$(RBCODECLIB_DIR)/codecs/libopus \ | ||
18 | -I$(RBCODECLIB_DIR)/codecs/libopus/celt \ | ||
19 | -I$(RBCODECLIB_DIR)/codecs/libopus/silk \ | ||
20 | -I$(RBCODECLIB_DIR)/codecs/libopus/silk/fixed | ||
21 | |||
22 | $(OPUSLIB): $(OPUSLIB_OBJ) | ||
23 | $(SILENT)$(shell rm -f $@) | ||
24 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null | ||