SRCS  = BaseRenderer.cpp
SRCS += OverlayRenderer.cpp
SRCS += OverlayRendererUtil.cpp
SRCS += OverlayRendererGUI.cpp
SRCS += RenderCapture.cpp
SRCS += RenderManager.cpp
SRCS += RenderFlags.cpp

ifeq ($(findstring arm,@ARCH@),arm)
SRCS += yuv2rgb.neon.S
endif

ifeq (@USE_OPENGL@,1)
SRCS += LinuxRendererGL.cpp
SRCS += OverlayRendererGL.cpp
endif

ifeq (@USE_OPENGLES@,1)
SRCS += LinuxRendererGLES.cpp
SRCS += OverlayRendererGL.cpp
endif

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

LIB = VideoRenderer.a

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