INCLUDES+=-I@abs_top_srcdir@/xbmc/cores/dvdplayer

SRCS  = DVDVideoCodec.cpp
SRCS += DVDVideoCodecFFmpeg.cpp
SRCS += DVDVideoCodecLibMpeg2.cpp
SRCS += DVDVideoPPFFmpeg.cpp

ifeq (@USE_VDPAU@,1)
SRCS += VDPAU.cpp
endif
ifeq (@USE_VAAPI@,1)
SRCS += VAAPI.cpp
endif
ifeq ($(findstring osx,@ARCH@),osx)
SRCS += DVDVideoCodecVDA.cpp
SRCS += VDA.cpp
endif
ifeq (@USE_OPENMAX@,1)
SRCS += OpenMax.cpp
SRCS += OpenMaxVideo.cpp
SRCS += DVDVideoCodecOpenMax.cpp
endif
ifeq (@USE_IMXVPU@,1)
SRCS += DVDVideoCodecIMX.cpp
endif
ifeq (@USE_LIBAMCODEC@,1)
SRCS += AMLCodec.cpp
SRCS += DVDVideoCodecAmlogic.cpp
INCLUDES += -I$(prefix)/include/amcodec
INCLUDES += -I$(prefix)/include/amplayer
endif

ifeq (@USE_ANDROID@,1)
SRCS += DVDVideoCodecAndroidMediaCodec.cpp
endif
ifeq (@USE_LIBSTAGEFRIGHT@,1)
SRCS += DVDVideoCodecStageFright.cpp
endif

ifeq (@USE_MMAL@,1)
SRCS += MMALCodec.cpp
endif

LIB=Video.a

include @abs_top_srcdir@/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))

