summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2011-10-15 18:44:00 +0200
committerUoti Urpala <uau@mplayer2.org>2011-11-26 20:04:16 +0200
commit421c840b3c061de89b426244fe75237a73f765de (patch)
tree78306817be89c68a6f380078c5d278255e24f99b /Makefile
parent4a8ee6d9a4266589b25a817eb9fbc71a11704bc8 (diff)
downloadmpv-421c840b3c061de89b426244fe75237a73f765de.tar.bz2
mpv-421c840b3c061de89b426244fe75237a73f765de.tar.xz
vo_gl: add native mac osx Cocoa backend for vo_gl
Add native Cocoa code to display an OpenGL window. Some of the code is based on the OpenGL parts of vo_corevideo but I took the time to remove old code based on Carbon. There is autodetection in the configure script but you can use --enable[disable]-cocoa to enable[disable] this.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f7422c34c..9ccc15946a 100644
--- a/Makefile
+++ b/Makefile
@@ -456,6 +456,7 @@ SRCS_MPLAYER-$(GGI) += libvo/vo_ggi.c
SRCS_MPLAYER-$(GIF) += libvo/vo_gif89a.c
SRCS_MPLAYER-$(GL) += libvo/gl_common.c libvo/vo_gl.c \
pnm_loader.c
+SRCS_MPLAYER-$(GL_COCOA) += libvo/cocoa_common.m
SRCS_MPLAYER-$(GL_SDL) += libvo/sdl_common.c
SRCS_MPLAYER-$(GL_WIN32) += libvo/w32_common.c
SRCS_MPLAYER-$(GL_X11) += libvo/x11_common.c