genode/repos/libports/src/app/avplay/target.mk
2014-05-27 11:14:42 +02:00

22 lines
519 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 swscale
LIBS += sdl libc libm config_args
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