genode/repos/libports/src/app/avplay/target.mk
Josef Söntgen 6ca8f4c174 sdl: remove deprecated API usage
In addition framebuffer resizing is now also supported.

Fixes #2583.
2017-11-30 11:23:16 +01:00

22 lines
526 B
Makefile

include $(REP_DIR)/lib/import/import-av.inc
TARGET = avplay
SRC_C = avplay.c cmdutils.c libc_dummies.c
LIBS += avfilter avformat avcodec avutil avresample swscale
LIBS += sdl sdlmain libc libm
CC_WARN += -Wno-parentheses -Wno-switch -Wno-uninitialized \
-Wno-format-zero-length -Wno-pointer-sign
LIBAV_PORT_DIR := $(call select_from_ports,libav)
# version.h
INC_DIR += $(PRG_DIR)
# config.h
INC_DIR += $(REP_DIR)/src/lib/libav
CC_C_OPT += -DLIBAV_VERSION=\"0.8\"
vpath %.c $(LIBAV_PORT_DIR)/src/lib/libav