summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authordscho <dscho>2004-01-29 13:33:03 +0000
committerdscho <dscho>2004-01-29 13:33:03 +0000
commite0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69 (patch)
tree41bc35faf0ff0868f7993942adde98cbccd3846d /Makefile.am
parent34fc97a52add15a0b3060fac23bad6bc5324403a (diff)
downloadlibtdevnc-e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69.tar.gz
libtdevnc-e0cbabec292fbc8058d98c93fcc8d3cf5b8f5d69.zip
Honour the check for libz, libjpeg again
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index dda93ca..359012d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,11 +18,18 @@ EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
tableinitcmtemplate.c tabletrans24template.c \
zrleencodetemplate.c
+if HAVE_LIBZ
+ZLIBSRCS = zlib.c zrle.c zrleoutstream.c zrlepalettehelper.c
+if HAVE_LIBJPEG
+JPEGSRCS = tight.c
+endif
+endif
+
LIB_SRCS = main.c rfbserver.c rfbregion.c auth.c sockets.c \
stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
- zlib.c tight.c httpd.c cursor.c font.c \
+ httpd.c cursor.c font.c \
draw.c selbox.c d3des.c vncauth.c cargs.c \
- zrle.c zrleoutstream.c zrlepalettehelper.c
+ $(ZLIBSRCS) $(JPEGSRCS)
libvncserver_a_SOURCES=$(LIB_SRCS)