committed by
Norman Feske
parent
7459fad8a3
commit
2a7572d374
20
lib/mk/libvorbis.mk
Normal file
20
lib/mk/libvorbis.mk
Normal 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
|
||||
Reference in New Issue
Block a user