ports of Xiph's Ogg, Vorbis, FLAC libraries

https://xiph.org/

Ref #47
This commit is contained in:
Emery Hemingway
2016-10-15 16:10:39 +02:00
committed by Norman Feske
parent 7459fad8a3
commit 2a7572d374
13 changed files with 158 additions and 0 deletions

20
lib/mk/libvorbis.mk Normal file
View File

@@ -0,0 +1,20 @@
include $(REP_DIR)/lib/import/import-libvorbis.mk
LIBVORBIS_SRC_DIR = $(LIBVORBIS_PORT_DIR)/src/lib/libvorbis/lib
INC_DIR += $(LIBVORBIS_SRC_DIR)
# filter the test programs
FILTER_OUT = barmel.c tone.c psytune.c
SRC_C = $(filter-out $(FILTER_OUT), $(notdir $(wildcard $(LIBVORBIS_SRC_DIR)/*.c)))
SRC_C += $(notdir $(wildcard $(LIBVORBIS_SRC_DIR)/books/*.c))
SRC_C += $(notdir $(wildcard $(LIBVORBIS_SRC_DIR)/modes/*.c))
LIBS = libogg libc
vpath %.c $(LIBVORBIS_SRC_DIR)
vpath %.c $(LIBVORBIS_SRC_DIR)/books
vpath %.c $(LIBVORBIS_SRC_DIR)/modes
SHARED_LIB = yes