From fae73079310eef9dce9737f2e37ff4b80c8830ee Mon Sep 17 00:00:00 2001 From: Kovensky Date: Wed, 7 Nov 2012 11:49:44 -0300 Subject: Port several python scripts to Perl file2string.pl and vdpau_functions.pl are direct ports. matroska.py was reimplemented as the Parse::Matroska module in CPAN, and matroska.pl was made a client of Parse::Matroska. A copy of Parse::Matroska is included in TOOLS/lib, and matroska.pl looks there first when trying to load the module. osxbundle.py was not ported since I have no means to verify it. Python is always available on OSX though, so there is no harm in removing the check for it on configure. --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3f32e5639f..c8b82d8f95 100644 --- a/Makefile +++ b/Makefile @@ -349,31 +349,31 @@ mpv$(EXESUF): $(CC) -o $@ $^ $(EXTRALIBS) codec-cfg.c: codecs.conf.h -codecs.conf.h: TOOLS/file2string.py etc/codecs.conf +codecs.conf.h: TOOLS/file2string.pl etc/codecs.conf ./$^ >$@ input/input.c: input/input_conf.h -input/input_conf.h: TOOLS/file2string.py etc/input.conf +input/input_conf.h: TOOLS/file2string.pl etc/input.conf ./$^ >$@ libvo/vo_vdpau.c: libvo/vdpau_template.c -libvo/vdpau_template.c: TOOLS/vdpau_functions.py +libvo/vdpau_template.c: TOOLS/vdpau_functions.pl ./$< > $@ libmpdemux/ebml.c libmpdemux/demux_mkv.c: libmpdemux/ebml_types.h -libmpdemux/ebml_types.h: TOOLS/matroska.py +libmpdemux/ebml_types.h: TOOLS/matroska.pl ./$< --generate-header > $@ libmpdemux/ebml.c: libmpdemux/ebml_defs.c -libmpdemux/ebml_defs.c: TOOLS/matroska.py +libmpdemux/ebml_defs.c: TOOLS/matroska.pl ./$< --generate-definitions > $@ libvo/vo_opengl.c: libvo/vo_opengl_shaders.h -libvo/vo_opengl_shaders.h: TOOLS/file2string.py libvo/vo_opengl_shaders.glsl +libvo/vo_opengl_shaders.h: TOOLS/file2string.pl libvo/vo_opengl_shaders.glsl ./$^ >$@ sub/osd_libass.c: sub/osd_font.h -sub/osd_font.h: TOOLS/file2string.py sub/osd_font.pfb +sub/osd_font.h: TOOLS/file2string.pl sub/osd_font.pfb ./$^ >$@ # ./configure must be rerun if it changed -- cgit v1.2.3