File: Makefile.am

package info (click to toggle)
libvncserver 0.9.7-2%2Bdeb6u2
  • links: PTS
  • area: main
  • in suites: squeeze-lts
  • size: 4,072 kB
  • ctags: 5,049
  • sloc: ansic: 27,108; sh: 10,822; makefile: 152
file content (29 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@

if WITH_FFMPEG
FFMPEG_HOME=@with_ffmpeg@

if HAVE_MP3LAME
MP3LAME_LIB=-lmp3lame
endif

vnc2mpg_CFLAGS=-I$(FFMPEG_HOME)/libavformat -I$(FFMPEG_HOME)/libavcodec -I$(FFMPEG_HOME)/libavutil
vnc2mpg_LDADD=$(LDADD) $(FFMPEG_HOME)/libavformat/libavformat.a $(FFMPEG_HOME)/libavcodec/libavcodec.a $(MP3LAME_LIB) -lm

FFMPEG_CLIENT=vnc2mpg
endif

if HAVE_LIBSDL
SDLVIEWER=SDLvncviewer

SDLvncviewer_CFLAGS=$(SDL_CFLAGS)

# thanks to autoconf, this looks ugly
SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS)
endif

noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT) backchannel