• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AM_CPPFLAGS = -I$(top_srcdir)
2LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@
3
4if WITH_FFMPEG
5FFMPEG_HOME=@with_ffmpeg@
6
7if HAVE_MP3LAME
8MP3LAME_LIB=-lmp3lame
9endif
10
11vnc2mpg_CFLAGS=-I$(FFMPEG_HOME)/libavformat -I$(FFMPEG_HOME)/libavcodec -I$(FFMPEG_HOME)/libavutil
12vnc2mpg_LDADD=$(LDADD) $(FFMPEG_HOME)/libavformat/libavformat.a $(FFMPEG_HOME)/libavcodec/libavcodec.a $(MP3LAME_LIB) -lm
13
14FFMPEG_CLIENT=vnc2mpg
15endif
16
17if HAVE_LIBSDL
18SDLVIEWER=SDLvncviewer
19
20SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
21SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c scrap.h
22
23# thanks to autoconf, this looks ugly
24SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS)
25endif
26
27if HAVE_LIBGTK
28GTKVIEWER=gtkvncviewer
29gtkvncviewer_SOURCES=gtkvncviewer.c
30gtkvncviewer_CFLAGS=$(GTK_CFLAGS)
31gtkvncviewer_LDADD=$(LDADD) $(GTK_LIBS)
32endif
33
34
35noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(GTKVIEWER) $(FFMPEG_CLIENT) backchannel
36
37
38
39