INCLUDES+=-I/home/marillat/src/xbmc-13.0~alpha9/xbmc/cores/dvdplayer

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

ifeq (1,1)
SRCS += VDPAU.cpp
endif
ifeq (1,1)
SRCS += VAAPI.cpp
endif
ifeq (1,1)
SRCS += CrystalHD.cpp
SRCS += DVDVideoCodecCrystalHD.cpp
endif
ifeq ($(findstring osx,i486-linux),osx)
SRCS += DVDVideoCodecVDA.cpp
endif
ifeq (0,1)
SRCS += OpenMax.cpp
SRCS += OpenMaxVideo.cpp
SRCS += DVDVideoCodecOpenMax.cpp
endif
ifeq (,1)
SRCS += StageFrightVideo.cpp
SRCS += StageFrightVideoPrivate.cpp
SRCS += DVDVideoCodecStageFright.cpp
INCLUDES += -I${prefix}/opt/android-source/frameworks/base/include
INCLUDES += -I${prefix}/opt/android-source/frameworks/base/native/include
INCLUDES += -I${prefix}/opt/android-source/frameworks/base/include/media/stagefright
INCLUDES += -I${prefix}/opt/android-source/frameworks/base/include/media/stagefright/openmax
INCLUDES += -I${prefix}/opt/android-source/system/core/include
INCLUDES += -I${prefix}/opt/android-source/libhardware/include
endif

ifeq (,1)
SRCS += AMLCodec.cpp
SRCS += DVDVideoCodecAmlogic.cpp
INCLUDES += -I$(prefix)/include/amcodec
INCLUDES += -I$(prefix)/include/amplayer
endif

ifeq (,1)
SRCS += DVDVideoCodecAndroidMediaCodec.cpp
endif

LIB=Video.a

include /home/marillat/src/xbmc-13.0~alpha9/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))

ifeq (,1)
CXXFLAGS += -Wno-multichar -fno-rtti
endif

