summaryrefslogtreecommitdiffstats
path: root/client_examples/Makefile.am
blob: 83750abb37867ea55dbf84759e1cf14af7d84dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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

SDLvncviewer_CFLAGS=`sdl-config --cflags`

SDLvncviewer_LDFLAGS=`sdl-config --libs`
endif

noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT)