summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-01 21:19:20 +0100
committerwm4 <wm4@nowhere>2013-03-28 21:46:17 +0100
commit6ef06aa145067b816aaf3b941aba11e36bfca545 (patch)
tree116401ac1bc8fd443e936cd8ae5e8f1424afdd51 /Makefile
parent16e951c2cdfa6710f0d5cc77b513e0f2a5f1377d (diff)
downloadmpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.bz2
mpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.xz
vo_opengl: split into multiple files, convert to new option API
gl_video.c contains all rendering code, gl_lcms.c the .icc loader and creation of 3D LUT (and all LittleCMS specific code). vo_opengl.c is reduced to interfacing between the various parts.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 12154f87e9..f15bb6849d 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,8 @@ SOURCES-$(DIRECT3D) += video/out/vo_direct3d.c \
video/out/w32_common.c
SOURCES-$(DSOUND) += audio/out/ao_dsound.c
SOURCES-$(GL) += video/out/gl_common.c video/out/gl_osd.c \
- video/out/vo_opengl.c \
+ video/out/vo_opengl.c video/out/gl_lcms.c \
+ video/out/gl_video.c \
video/out/vo_opengl_old.c \
video/out/pnm_loader.c
@@ -371,8 +372,8 @@ demux/ebml.c: demux/ebml_defs.c
demux/ebml_defs.c: TOOLS/matroska.pl $(MKVLIB_DEPS)
./$< --generate-definitions > $@
-video/out/vo_opengl.c: video/out/vo_opengl_shaders.h
-video/out/vo_opengl_shaders.h: TOOLS/file2string.pl video/out/vo_opengl_shaders.glsl
+video/out/gl_video.c: video/out/gl_video_shaders.h
+video/out/gl_video_shaders.h: TOOLS/file2string.pl video/out/gl_video_shaders.glsl
./$^ >$@
sub/osd_libass.c: sub/osd_font.h
@@ -447,7 +448,7 @@ clean:
-$(RM) core/input/input_conf.h
-$(RM) video/out/vdpau_template.c
-$(RM) demux/ebml_types.h demux/ebml_defs.c
- -$(RM) video/out/vo_opengl_shaders.h
+ -$(RM) video/out/gl_video_shaders.h
-$(RM) sub/osd_font.h
distclean: clean