From 00901a2eb9ec569157fad8a531a1de037ac0e2de Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 7 Jun 2004 17:47:54 +0000 Subject: add vnc2mpg, a program which makes a movie from a VNC desktop using FFMPEG --- client_examples/Makefile.am | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'client_examples/Makefile.am') diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am index d2a3e29..83750ab 100644 --- a/client_examples/Makefile.am +++ b/client_examples/Makefile.am @@ -1,6 +1,15 @@ DEFINES=-I.. -g -Wall LDADD = ../libvncclient/libvncclient.a +if WITH_FFMPEG +FFMPEG_HOME=@with_ffmpeg@ + +vnc2mpg_CFLAGS=-I$(FFMPEG_HOME)/libavformat -I$(FFMPEG_HOME)/libavcodec +vnc2mpg_LDADD=$(LDADD) $(FFMPEG_HOME)/libavformat/libavformat.a $(FFMPEG_HOME)/libavcodec/libavcodec.a -lm + +FFMPEG_CLIENT=vnc2mpg +endif + if HAVE_LIBSDL SDLVIEWER=SDLvncviewer @@ -9,5 +18,7 @@ SDLvncviewer_CFLAGS=`sdl-config --cflags` SDLvncviewer_LDFLAGS=`sdl-config --libs` endif -noinst_PROGRAMS=ppmtest $(SDLVIEWER) +noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT) + + -- cgit v1.2.1